:root {
  --bg: #f1f0eb;
  --paper: #f8f7f2;
  --ink: #1f211f;
  --muted: #6d706c;
  --line: rgba(31, 33, 31, .14);
  --line-dark: rgba(31, 33, 31, .32);
  --side: 230px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .13em;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--side);
  border-right: 1px solid var(--line);
  background: rgba(241, 240, 235, .86);
  backdrop-filter: blur(16px);
  z-index: 10;
  display: grid;
  grid-template-rows: 150px 1fr 210px;
  padding: 58px 34px 40px;
}
.logo {
  font-size: 29px;
  font-weight: 700;
  letter-spacing: .18em;
}
.logo span {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .2em;
}
.index-nav {
  align-self: center;
  display: grid;
  gap: 30px;
}
.index-nav a {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  transition: color .35s ease, transform .35s ease;
}
.index-nav a.active {
  color: var(--ink);
  transform: translateX(4px);
}
.index-nav a.active::before {
  content: "";
  grid-column: 1 / 3;
  width: 72px;
  height: 1px;
  background: var(--ink);
  margin-bottom: -18px;
  transform: translateX(30px);
}
.studio-info {
  align-self: end;
  font-size: 10px;
  line-height: 1.95;
  color: var(--muted);
  font-weight: 700;
}
.studio-info strong { color: var(--ink); }
.studio-info small { display: block; margin-top: 22px; color: var(--ink); }
.page {
  margin-left: var(--side);
  min-height: 100vh;
}
.topbar {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 6;
  width: calc(100% - var(--side));
  height: 76px;
  padding: 32px 56px;
  display: flex;
  justify-content: flex-end;
  gap: 50px;
}
.topbar nav {
  display: flex;
  gap: 58px;
  font-size: 10px;
  font-weight: 700;
}
.topbar button {
  width: 30px;
  border: 0;
  background: transparent;
  display: grid;
  gap: 7px;
  align-content: start;
  padding: 0;
}
.topbar button span {
  height: 1px;
  background: var(--ink);
}
.hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: 27% 45% 28%;
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  padding: 132px 54px 68px 72px;
}
.label {
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}
h1, h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  text-transform: none;
  letter-spacing: -.03em;
  line-height: .95;
}
h1 { font-size: clamp(58px, 5.5vw, 94px); }
.hero-copy p:not(.label),
.project-copy p,
.philosophy p:not(.label),
.materials p,
.inquiry-copy p {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.9;
  text-transform: none;
  letter-spacing: .03em;
}
.hero-copy p:not(.label) {
  max-width: 330px;
  margin: 34px 0 42px;
}
.line-link,
form button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}
.line-link span,
form button span {
  width: 52px;
  height: 1px;
  background: currentColor;
  transition: width .35s ease;
}
.line-link:hover span,
form button:hover span { width: 76px; }
.hero-photo { margin: 0; overflow: hidden; }
.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(.66) contrast(.96) brightness(1.05);
  animation: quietZoom 22s ease-in-out infinite alternate;
}
.plan-ui {
  position: relative;
  padding: 76px 50px 44px;
  overflow: hidden;
}
.plan-ui img {
  width: 100%;
  margin-top: 44px;
  opacity: .72;
}
.plan-ui button {
  position: absolute;
  right: 56px;
  bottom: 92px;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 34px;
}
.plan-ui p {
  position: absolute;
  right: 56px;
  bottom: 28px;
  margin: 0;
  font-size: 20px;
  letter-spacing: .22em;
}
.plan-ui span { color: var(--muted); }
.works {
  display: grid;
  grid-template-columns: 220px repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 52px 54px 58px;
  border-bottom: 1px solid var(--line);
}
.section-head {
  padding-top: 6px;
}
.project {
  display: grid;
  grid-template-columns: 42% 58%;
  background: rgba(255,255,255,.24);
  transition: background .35s ease;
}
.project:hover { background: rgba(255,255,255,.45); }
.project-copy {
  padding: 28px 22px;
}
.project-copy b {
  font-size: 14px;
  color: var(--muted);
}
.project-copy h2 {
  margin-top: 18px;
  font-size: 19px;
  line-height: 1.05;
}
.project-copy p { margin-top: 22px; }
.project img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  filter: saturate(.65) contrast(.96);
  transition: transform .55s ease;
}
.project:hover img { transform: translateX(4px) scale(1.015); }
.split {
  display: grid;
  grid-template-columns: 24% 24% 22% 30%;
  align-items: start;
  border-bottom: 1px solid var(--line);
}
.philosophy,
.materials {
  padding: 58px 54px;
}
.philosophy h2 {
  font-size: clamp(28px, 2.5vw, 42px);
}
.philosophy p:not(.label) { margin-top: 34px; }
.philo-image {
  width: 100%;
  height: 340px;
  min-height: 300px;
  object-fit: cover;
  filter: saturate(.65) contrast(.95);
}
.materials h2 {
  font-size: 31px;
  margin-bottom: 24px;
}
.material-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-self: start;
  padding: 58px 48px 44px 0;
}
.material-grid figure { margin: 0; }
.material-grid img {
  width: 100%;
  height: 160px;
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(.65) contrast(.96);
}
.material-grid figcaption {
  margin-top: 16px;
  text-align: center;
  font-size: 9px;
  font-weight: 800;
}
.inquiry {
  display: grid;
  grid-template-columns: 32% 35% 33%;
  min-height: 260px;
}
form {
  padding: 44px 54px;
}
form label {
  display: block;
  margin-bottom: 19px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}
input, textarea, select {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  background: transparent;
  padding: 9px 0;
  font: 500 13px/1.5 var(--sans);
  color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--ink); }
form button {
  border: 0;
  background: transparent;
  padding: 12px 0 0;
  cursor: pointer;
}
.inquiry > img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  filter: saturate(.62) contrast(.96);
}
.inquiry-copy {
  padding: 70px 58px;
}
.inquiry-copy h2 {
  font-size: clamp(30px, 2.5vw, 43px);
}
.inquiry-copy a {
  display: inline-block;
  margin-top: 30px;
  font-size: 12px;
  font-weight: 800;
}
@keyframes quietZoom {
  from { transform: scale(1.01); }
  to { transform: scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 1180px) {
  :root { --side: 170px; }
  .topbar nav { gap: 30px; }
  .hero { grid-template-columns: 34% 66%; }
  .plan-ui { grid-column: 1 / -1; min-height: 260px; padding-top: 20px; }
  .plan-ui img { max-width: 520px; margin-left: auto; }
  .works { grid-template-columns: 1fr; }
  .split, .inquiry { grid-template-columns: 1fr 1fr; }
  .material-grid { padding: 40px; }
}
@media (max-width: 760px) {
  :root { --side: 0px; }
  .sidebar { display: none; }
  .page { margin-left: 0; }
  .topbar {
    position: static;
    width: 100%;
    height: auto;
    padding: 26px 22px;
  }
  .topbar nav { display: none; }
  .hero, .split, .inquiry { grid-template-columns: 1fr; }
  .hero-copy, .philosophy, .materials, form, .inquiry-copy { padding: 44px 24px; }
  .hero-photo img { min-height: 330px; }
  .plan-ui { padding: 20px 24px 42px; }
  .works { padding: 44px 24px; }
  .project { grid-template-columns: 1fr; }
  .project img { height: auto; aspect-ratio: 4 / 3; }
  .material-grid { grid-template-columns: repeat(2, 1fr); padding: 24px; }
}
