:root {
  --ivory: #f6f2e9;
  --paper: #eae7de;
  --ink: #111c2b;
  --charcoal: #101b2a;
  --sage: #aebc9f;
  --sage-deep: #718467;
  --clay: #dccbc0;
  --line: rgba(17, 28, 43, .18);
  --line-light: rgba(246, 242, 233, .2);
  --display: "Alef", sans-serif;
  --body: "Heebo", Arial, sans-serif;
  --page: min(100% - 64px, 1380px);
  --space: clamp(96px, 10vw, 164px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
}

body.dark-theme {
  --ivory: #1c2220;
  --paper: #252c29;
  --ink: #f3efe5;
  --charcoal: #09111d;
  --sage: #91a386;
  --sage-deep: #b7c4ab;
  --clay: #554f48;
  --line: rgba(243, 239, 229, .16);
}

body.dark-theme .section-index,
body.dark-theme .project-category-description,
body.dark-theme .project-list-description,
body.dark-theme .method-heading p:last-child,
body.dark-theme .method-step p,
body.dark-theme .contact-action > p,
body.dark-theme .footer-grid > p,
body.dark-theme .footer-grid > span {
  opacity: .9;
}

body.dark-theme .project-detail-category,
body.dark-theme .project-detail-jump,
body.dark-theme .project-case-study h3,
body.dark-theme .guidance-closing,
body.dark-theme .guidance-title h2 em,
body.dark-theme h2 em,
body.dark-theme h3 em {
  color: #c9d5bc;
}

body.dark-theme .hero,
body.dark-theme .hero-heading h1,
body.dark-theme .hero-subheading,
body.dark-theme .hero .eyebrow,
body.dark-theme .hero .text-link {
  color: #202724;
}

body.dark-theme .hero-heading h1 em {
  color: #718467;
}

body.dark-theme .hero-intro .lead {
  color: #29312e;
}

@media (min-width: 1051px) {
  body.dark-theme .site-header:not(.scrolled) {
    color: #202724;
  }

  body.dark-theme .site-header:not(.scrolled) .theme-toggle {
    border-color: rgba(17, 28, 43, .18);
  }
}

body.menu-open,
body.modal-open { overflow: hidden; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, blockquote, figure { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 700; line-height: .98; letter-spacing: -.035em; }
h3 { font-family: var(--display); font-weight: 400; line-height: .98; letter-spacing: -.035em; }
h1 em, h2 em, h3 em { color: var(--sage-deep); font-weight: 400; }

.page-width { width: var(--page); margin-inline: auto; }
.section-ivory { background: var(--ivory); color: var(--ink); }
.section-paper { background: var(--paper); color: var(--ink); }
.section-sage { background: var(--sage); color: #18201e; }
.section-charcoal { background: var(--charcoal); color: #f6f2e9; }

.skip-link {
  position: fixed; z-index: 200; top: 10px; right: 10px; padding: 8px 14px;
  background: var(--ivory); transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: 88px; padding: 0 32px;
  display: grid; grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center; direction: ltr; color: var(--ink); transition: .35s ease;
}
.site-header.scrolled {
  height: 70px; background: color-mix(in srgb, var(--ivory) 92%, transparent);
  color: var(--ink); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; }
.brand-name { font-size: 16px; font-weight: 600; line-height: 1.08; letter-spacing: .04em; }
.brand-logo { width: 58px; height: 58px; object-fit: cover; border-radius: 12px; }
.brand-name { font-size: 16px; }

.site-nav { display: flex; gap: clamp(22px, 2.5vw, 42px); align-items: center; direction: rtl; font-size: 16px; }
.site-nav a, .text-link { position: relative; }
.site-nav a::after, .text-link::after {
  content: ""; position: absolute; right: 0; bottom: -5px; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.site-nav a:hover::after, .site-nav a:focus-visible::after,
.text-link:hover::after, .text-link:focus-visible::after { transform: scaleX(1); }
.header-actions { justify-self: end; display: flex; gap: 10px; align-items: center; direction: rtl; }
.theme-toggle { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.menu-toggle { display: none; background: none; border: 0; }

.button {
  min-height: 52px; padding: 13px 22px; display: inline-flex; align-items: center; justify-content: center;
  gap: 24px; border: 1px solid currentColor; font-size: 16px; font-weight: 500;
  transition: transform .25s var(--ease), background .25s, color .25s;
}
.button:hover, .button:focus-visible { transform: translateY(-3px); }
.button-small { min-height: 42px; padding: 9px 17px; font-size: 16px; }
.button-dark { background: var(--charcoal); color: #f6f2e9; border-color: var(--charcoal); }
.button-sage { background: var(--sage); color: #18201e; border-color: var(--sage); }
.button-large { min-height: 62px; padding-inline: 28px; }
.text-link { display: inline-flex; gap: 12px; align-items: center; width: max-content; font-size: 16px; font-weight: 500; }
.button-row { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.eyebrow { font-size: 16px; font-weight: 600; letter-spacing: .07em; }
.section-index { font-size: 17px; font-weight: 600; letter-spacing: .07em; line-height: 1.4; }
.section-index { opacity: .62; }
.lead { font-size: clamp(20px, 2vw, 27px); line-height: 1.55; font-weight: 300; }

.hero { min-height: 100svh; position: relative; padding: 132px 0 72px; overflow: hidden; color: var(--ink); background: #f7f4ed; }
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: none; }
.hero-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    rgba(248, 246, 240, 0) 0%,
    rgba(248, 246, 240, .08) 40%,
    rgba(248, 246, 240, .72) 72%,
    rgba(248, 246, 240, .92) 100%
  );
}
.hero-grid {
  position: relative; z-index: 2;
  min-height: calc(100svh - 204px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, .9fr);
  grid-template-areas: "heading intro";
  align-items: center;
  gap: clamp(70px, 10vw, 170px);
}
.hero-heading { grid-area: heading; width: min(100%, 720px); }
.hero-heading h1 { margin: 18px 0 0; font-size: clamp(72px, 7.5vw, 124px); line-height: 1.08; color: #202724; }
.hero-heading h1 em { display: inline-block; margin-top: .08em; color: var(--sage-deep); font-size: 1.3em; line-height: .88; }
.hero-subheading { margin: 34px 0 0; color: #202724; font-size: clamp(18px, 1.55vw, 23px); font-weight: 600; white-space: nowrap; }
.hero-intro { grid-area: intro; width: min(100%, 520px); justify-self: start; direction: rtl; }
.hero-intro .lead { margin-bottom: 34px; font-size: clamp(20px, 1.65vw, 25px); line-height: 1.62; color: #29312e; }
.hero .text-link { color: #202724; }
.hero .button-dark {
  min-height: 44px;
  padding: 10px 19px;
  background: #202724;
  color: #f8f5ed;
  border-color: #202724;
  font-size: 16px;
}
.hero .button-row { gap: 22px; }
.hero-note,
.scroll-cue { display: none; }
.hero-art { position: relative; min-height: 520px; grid-row: 1 / 3; grid-column: 3; }
.paper { position: absolute; padding: 28px; box-shadow: 0 26px 70px rgba(20, 26, 24, .13); }
.paper small { font-size: 10px; letter-spacing: .08em; }
.paper-note { top: 15%; right: 0; width: 62%; height: 45%; background: rgba(250,247,239,.94); color: #111c2b; transform: rotate(5deg); animation: float-note 7s ease-in-out infinite; }
.paper-note p { margin-top: 48px; font-family: var(--display); font-size: clamp(28px, 3vw, 48px); line-height: 1; }
.paper-note i { display: block; width: 70%; height: 1px; margin-top: 14px; background: rgba(24,32,30,.2); }
.paper-plan { bottom: 7%; left: 0; width: 70%; height: 51%; background: rgba(16,27,42,.95); color: #f6f2e9; transform: rotate(-4deg); animation: float-plan 8s ease-in-out infinite; }
.paper-plan strong { display: block; margin-top: 54px; font-family: var(--display); font-size: clamp(34px, 3.3vw, 55px); line-height: .95; }
.paper-plan span { position: absolute; bottom: 24px; right: 28px; font-size: 11px; opacity: .62; }
.art-stamp { position: absolute; z-index: 3; left: 4%; top: 18%; width: 92px; height: 92px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); color: #111c2b; font: 400 30px var(--display); transform: rotate(8deg); animation: float-stamp 6s ease-in-out infinite; }
.orbit { position: absolute; border: 1px solid rgba(248,243,233,.25); border-radius: 50%; animation: orbit-pulse 8s ease-in-out infinite; }
.orbit-one { width: 380px; height: 380px; top: 8%; left: -4%; }
.orbit-two { width: 180px; height: 180px; bottom: 2%; right: 7%; }
[data-depth] { translate: var(--parallax-x, 0) var(--parallax-y, 0); transition: translate .35s var(--ease); }
.scroll-cue { position: absolute; z-index: 3; left: 32px; bottom: 30px; display: flex; gap: 12px; font-size: 11px; writing-mode: vertical-rl; }
.hero > .scroll-cue { display: none; }

@keyframes float-note { 0%,100% { transform: translate3d(0,0,0) rotate(5deg); } 50% { transform: translate3d(0,-13px,0) rotate(3.5deg); } }
@keyframes float-plan { 0%,100% { transform: translate3d(0,0,0) rotate(-4deg); } 50% { transform: translate3d(7px,11px,0) rotate(-2.5deg); } }
@keyframes float-stamp { 0%,100% { transform: translate3d(0,0,0) rotate(8deg); } 50% { transform: translate3d(-7px,-10px,0) rotate(13deg); } }
@keyframes orbit-pulse { 0%,100% { opacity: .42; transform: scale(1); } 50% { opacity: .8; transform: scale(1.035); } }

.ways, .guidance, .design, .about, .projects, .faq { padding: var(--space) 0; }
.about { padding-top: clamp(70px, 7vw, 112px); }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 8vw; align-items: end; margin-bottom: clamp(70px, 9vw, 130px); }
.section-heading .section-index { grid-column: 1 / -1; }
.section-heading h2 { margin: 0; font-size: clamp(48px, 6vw, 88px); }
.section-heading > p:last-child { max-width: 520px; margin: 0; }
.ways .section-heading h2 em { display: inline-block; font-size: 1.12em; }
.ways-intro { max-width: 540px; display: grid; gap: 34px; align-self: end; }
.ways-intro div { display: grid; gap: 4px; }
.ways-intro strong { font: 400 clamp(25px, 2.2vw, 34px)/1.2 var(--display); }
.ways-intro p { margin: 0; font-size: 18px; line-height: 1.65; }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.path-card { position: relative; min-height: 520px; border: 1px solid var(--line); padding: 30px; display: grid; grid-template-rows: auto 1fr; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.path-card:hover { transform: translateY(-8px); box-shadow: 0 28px 80px rgba(20,26,24,.1); }
.path-guidance { background: var(--sage); color: #18201e; }
.path-studio { background: var(--ivory); }
.ways .card-topline { display: flex; justify-content: space-between; font-size: 16px; font-weight: 500; letter-spacing: .05em; }
.card-art { min-height: 330px; position: relative; }
.guidance-art { display: flex; justify-content: center; align-items: center; gap: 13px; font-size: 12px; }
.guidance-art span { width: 82px; height: 82px; display: grid; place-items: center; border: 1px solid rgba(24,32,30,.3); border-radius: 50%; }
.guidance-art i { width: 45px; height: 1px; background: rgba(24,32,30,.35); }
.sheet { position: absolute; width: 48%; height: 70%; top: 14%; left: 25%; border: 1px solid var(--line); }
.sheet.back { background: var(--sage); transform: translate(-28px, 13px) rotate(-7deg); }
.sheet.middle { background: var(--clay); transform: translate(24px, 8px) rotate(6deg); }
.sheet.front { background: var(--charcoal); color: #f6f2e9; padding: 24px; box-shadow: 0 22px 60px rgba(20,26,24,.2); }
.sheet.front small { font-size: 8px; }
.sheet.front strong { display: block; margin-top: 50px; font: 400 clamp(26px, 3vw, 45px)/.92 var(--display); }
.ways .card-copy { max-width: 590px; padding: 36px 2vw 12px; align-self: center; }
.ways .card-title { margin: 0 0 24px; font-size: clamp(44px, 4.3vw, 66px); font-weight: 700; line-height: 1.02; }
.ways .card-subtitle { margin: 0 0 22px; font: 400 clamp(28px, 2.7vw, 40px)/1.18 var(--display); letter-spacing: -.025em; }
.ways .card-subtitle em { color: var(--sage-deep); font-style: normal; }
.ways .card-description { margin-bottom: 0; font-size: 18px; line-height: 1.75; }
.ways .card-description p { margin-bottom: 12px; }
.ways .card-description a { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ways .card-copy .text-link { margin-top: 30px; font-size: 16px; }

.guidance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px 8vw; }
.guidance-title h2 { font-size: clamp(52px, 6vw, 88px); }
.guidance-title h2 em { color: var(--sage-deep); font-weight: 400; }
.guidance-title h2 em strong { font-size: 1.06em; font-weight: 700; }
.guidance-copy { padding-top: 70px; max-width: 560px; }
.guidance-points { display: grid; gap: 30px; margin-top: 42px; }
.guidance-points > div { padding-top: 20px; border-top: 1px solid var(--line); }
.guidance-points h3 { margin: 0 0 8px; font-size: clamp(27px, 2.3vw, 35px); line-height: 1.15; }
.guidance-points p { margin: 0; font-size: 18px; line-height: 1.7; }
.guidance-closing { margin: 42px 0 0; color: var(--sage-deep); font-size: clamp(20px, 1.7vw, 24px); font-weight: 600; line-height: 1.55; }
.teach-panel { grid-column: 1 / -1; margin-top: 40px; padding: clamp(35px, 5vw, 75px); background: var(--paper); display: grid; grid-template-columns: .75fr 1.25fr; gap: 7vw; }
.teach-intro h3 { font-size: clamp(38px, 4vw, 58px); line-height: 1.05; }
.teach-list { list-style: none; padding: 0; margin: 0; }
.teach-list li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.teach-list li:last-child { border-bottom: 1px solid var(--line); }
.teach-list span { font-size: 12px; opacity: .55; }
.teach-list p { margin: 0; }
.teach-list strong { display: block; font: 400 25px var(--display); }

.method { padding: var(--space) 0; }
.method-heading { display: grid; grid-template-columns: 1fr .72fr; gap: 8vw; margin-bottom: 80px; align-items: end; }
.method-heading .section-index { grid-column: 1 / -1; }
.method-heading h2 { margin: 0; font-size: clamp(56px, 7vw, 100px); }
.method-heading p:last-child { margin: 0; max-width: 480px; opacity: .72; }
.method-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.method-step { display: grid; grid-template-columns: 48px 76px .6fr 1fr; gap: 28px; align-items: center; min-height: 155px; border-bottom: 1px solid var(--line-light); transition: padding .35s var(--ease), background .35s; }
.method-step:hover { padding-inline: 20px; background: rgba(255,255,255,.025); }
.method-number { font-size: 14px; opacity: .5; }
.method-step small { font-size: 14px; letter-spacing: .15em; color: var(--sage); }
.method-step h3 { margin: 3px 0 0; font-size: clamp(35px, 4vw, 58px); }
.method-step p { margin: 0; max-width: 480px; opacity: .72; }
.method-icon { position: relative; width: 62px; height: 62px; display: grid; place-items: center; border: 1px solid rgba(246,242,233,.18); border-radius: 18px; transition: background .35s var(--ease), transform .35s var(--ease); }
.method-icon img { position: absolute; width: 39px; height: 39px; object-fit: contain; transition: opacity .3s ease, transform .4s var(--ease); }
.method-icon .icon-dark { opacity: 0; }
.method-step:hover .method-icon { background: var(--sage); transform: rotate(-4deg) scale(1.06); }
.method-step:hover .icon-bright { opacity: 0; transform: scale(.75); }
.method-step:hover .icon-dark { opacity: 1; transform: scale(1.04); }

.design-grid { display: grid; grid-template-columns: .85fr 1fr; gap: 70px 8vw; }
.design-heading h2 { font-size: clamp(54px, 6vw, 90px); }
.design-heading h2 em { color: var(--paper); }
.design-heading > p:last-child { max-width: 520px; }
.materials { border-top: 1px solid rgba(24,32,30,.25); }
.materials article { display: grid; grid-template-columns: 45px .65fr 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid rgba(24,32,30,.25); }
.materials span { font-size: 11px; opacity: .55; }
.materials h3 { margin: 0; font-size: 28px; line-height: 1.2; }
.materials p { margin: 0; font-size: 18px; }
.editorial-object { grid-column: 1 / -1; margin-top: 34px; display: grid; }
.design-image-placeholder { width: 100%; height: auto; object-fit: cover; display: block; }

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "image text";
  gap: clamp(48px, 6vw, 90px);
  align-items: center;
  direction: ltr;
}
.about-portrait { grid-area: image; position: relative; width: 100%; direction: rtl; }
.about-portrait img { width: 100%; height: auto; display: block; }
.about-copy { grid-area: text; direction: rtl; }
.about-copy h2 { font-size: clamp(50px, 5.5vw, 82px); }
.about-copy blockquote { margin: 45px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); font: 400 clamp(25px, 3vw, 38px)/1.45 var(--display); }

.projects-intro {
  max-width: 560px;
  display: grid;
  gap: 14px;
}
.projects-intro p {
  margin: 0;
}
.project-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
}
.project-category-card {
  appearance: none;
  width: 100%;
  min-height: 390px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--ink);
  text-align: right;
  cursor: pointer;
  display: grid;
  grid-template-rows: 128px 132px 1fr;
  gap: 0;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.project-category-card:hover,
.project-category-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 24px 70px rgba(20,26,24,.1);
  border-color: color-mix(in srgb, var(--sage-deep) 45%, var(--line));
}
.project-category-card:focus-visible,
.project-list-item:focus-visible,
.project-modal-close:focus-visible {
  outline: 2px solid var(--sage-deep);
  outline-offset: 5px;
}
.project-category-title {
  align-self: start;
  min-height: 128px;
  font-family: var(--display);
  font-size: clamp(30px, 2.4vw, 42px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.035em;
}
.project-category-description {
  align-self: start;
  padding-top: 18px;
  font-size: 18px;
  line-height: 1.65;
  opacity: .74;
}
.project-category-action {
  align-self: end;
  width: max-content;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--sage-deep);
}
.project-library-modal,
.project-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  padding: 32px;
  align-items: center;
  justify-content: center;
}
.project-library-modal.is-open,
.project-detail-modal.is-open { display: flex; }
.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 22, .58);
  backdrop-filter: blur(10px);
}
.project-library-panel,
.project-detail-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 1120px);
  height: min(86svh, 860px);
  max-height: min(86svh, 860px);
  background: var(--ivory);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 30px 100px rgba(8, 14, 22, .28);
  overflow: hidden;
}
.project-library-panel {
  display: block;
}
.project-modal-scroll {
  height: 100%;
  max-height: 100%;
  overflow: auto;
}
.project-library-scroll {
  padding: clamp(80px, 6vw, 104px) clamp(34px, 4vw, 62px) clamp(34px, 4vw, 62px);
}
.project-detail-scroll {
  display: grid;
  grid-template-columns: minmax(360px, .54fr) minmax(0, .46fr);
  column-gap: clamp(54px, 5.5vw, 72px);
  row-gap: 18px;
  padding: clamp(80px, 6vw, 104px) clamp(34px, 4vw, 64px) clamp(34px, 4vw, 64px);
}
.project-modal-close {
  position: fixed;
  top: calc(7svh + 24px);
  right: max(56px, calc((100vw - 1120px) / 2 + 24px));
  margin: 0;
  z-index: 310;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ivory);
  color: var(--ink);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}
.project-library-heading {
  max-width: 780px;
  margin-bottom: clamp(36px, 5vw, 70px);
}
.project-library-heading h2,
.project-detail-content h2 {
  margin: 0 0 20px;
  font-size: clamp(45px, 5vw, 78px);
}
.project-library-heading p:last-child,
.project-detail-description {
  margin: 0;
  font-size: 20px;
  line-height: 1.65;
}
.project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.project-list-item {
  appearance: none;
  min-height: 190px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: right;
  cursor: pointer;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  align-items: stretch;
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.project-list-item:hover,
.project-list-item:focus-visible {
  transform: translateY(-4px);
  background: color-mix(in srgb, var(--paper) 70%, transparent);
  border-color: color-mix(in srgb, var(--sage-deep) 45%, var(--line));
}
.project-thumbnail {
  aspect-ratio: 1 / 1;
  min-height: auto;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--sage) 55%, transparent), transparent 58%),
    linear-gradient(180deg, var(--paper), color-mix(in srgb, var(--ivory) 70%, var(--clay)));
  overflow: hidden;
}
.project-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.project-list-copy {
  display: grid;
  min-width: 0;
  align-content: center;
  gap: 12px;
  padding: 24px 28px 24px 24px;
}
.project-list-title {
  font-family: var(--display);
  min-width: 0;
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.035em;
}
.project-list-description {
  min-width: 0;
  font-size: 18px;
  line-height: 1.65;
  opacity: .74;
}
.project-detail-figure {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  margin: 0;
}
.project-detail-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  grid-column: 1;
  grid-row: 1;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--sage) 55%, transparent), transparent 58%),
    linear-gradient(180deg, var(--paper), color-mix(in srgb, var(--ivory) 70%, var(--clay)));
  border: 1px solid var(--line);
  color: color-mix(in srgb, var(--ink) 50%, transparent);
  font-size: 18px;
  overflow: hidden;
}
.project-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.project-detail-content {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  display: grid;
  gap: 20px;
  padding-top: 0;
}
.project-detail-category {
  margin: 0;
  color: var(--sage-deep);
  font-size: 16px;
  font-weight: 600;
}
.project-detail-description {
  max-width: 720px;
  margin-bottom: 0;
}
.project-detail-jump {
  width: max-content;
  margin-top: 10px;
  color: var(--sage-deep);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.project-case-study {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  margin-top: 0;
  border-top: 1px solid var(--line);
}
.project-case-study section {
  padding: clamp(34px, 4vw, 52px) 0;
  border-bottom: 1px solid var(--line);
}
.project-case-study h3 {
  margin: 0 0 12px;
  color: var(--sage-deep);
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.2;
}
.project-case-study p {
  max-width: 980px;
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
}

.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 9vw; }
.faq-heading h2 { font-size: clamp(54px, 6vw, 90px); }
.accordion { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 27px 0 27px 50px; cursor: pointer; list-style: none; font: 400 clamp(23px, 2.5vw, 32px) var(--display); }
summary::-webkit-details-marker { display: none; }
summary span { position: absolute; left: 5px; transition: transform .3s var(--ease); }
details[open] summary span { transform: rotate(45deg); }
details p { max-width: 700px; padding: 0 0 28px; margin: 0; }

.contact { padding: clamp(110px, 13vw, 200px) 0 70px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .75fr; gap: 10vw; align-items: end; }
.contact-copy h2 { font-size: clamp(65px, 8vw, 120px); margin-bottom: 0; }
.contact-action > p { font-size: 20px; opacity: .75; }
.contact-action .button { margin: 26px 0 40px; }
.contact-links { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line-light); font-size: 14px; }
.social-links { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 24px; font-size: 14px; color: var(--sage); }
.social-links a { position: relative; }
.social-links a::after { content: " ↗"; }
.site-footer { padding: 35px 0; border-top: 1px solid var(--line-light); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: 30px; font-size: 13px; }
.footer-grid > p { margin: 0; text-align: center; opacity: .58; }
.footer-grid > span { text-align: left; opacity: .58; }
.footer-meta { display: grid; gap: 10px; justify-items: end; text-align: left; opacity: .72; }
.footer-legal-links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.footer-legal-links a { text-decoration: none; }

.legal-page {
  background: var(--ivory);
  color: var(--charcoal);
}
.legal-main {
  padding-block: clamp(44px, 8vw, 92px);
}
.legal-back {
  display: inline-flex;
  margin-bottom: 34px;
  font-size: 16px;
  color: var(--sage-dark);
}
.legal-content {
  max-width: 820px;
  margin-inline: auto;
}
.legal-content h1 {
  margin: 0 0 30px;
  font-family: var(--display);
  font-size: clamp(48px, 9vw, 86px);
  line-height: .95;
}
.legal-content h2 {
  margin: 38px 0 12px;
  font-family: var(--display);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.08;
}
.legal-content p,
.legal-content li {
  font-size: 18px;
  line-height: 1.9;
}
.legal-content ul {
  margin: 12px 0 0;
  padding-inline-start: 24px;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: clamp(44px, 7vw, 96px);
  align-items: start;
}
.contact-page-copy h1,
.thank-you-card h1 {
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: clamp(58px, 10vw, 112px);
  line-height: .95;
}
.contact-page-copy > p:not(.section-index),
.thank-you-card > p {
  max-width: 620px;
}
.contact-form {
  display: grid;
  gap: 22px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  background: var(--paper);
}
.form-field,
.form-consent {
  display: grid;
  gap: 9px;
}
.form-field label,
.form-consent label {
  font-size: 16px;
  font-weight: 600;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--ink);
  font: 400 18px var(--body);
  line-height: 1.5;
  padding: 14px 16px;
}
.form-field textarea {
  resize: vertical;
  min-height: 180px;
}
.form-field small {
  color: var(--sage-dark);
  font-size: 14px;
}
.form-consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
}
.form-consent input {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  accent-color: var(--sage-dark);
}
.form-consent a {
  color: var(--sage-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.form-hidden {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.thank-you-card {
  max-width: 820px;
  min-height: 60svh;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 20px;
}
.thank-you-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .22s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  :root { --page: min(100% - 44px, 1380px); }
  .site-header {
    grid-template-columns: 1fr auto;
    background: color-mix(in srgb, var(--ivory) 94%, transparent);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
  }
  .site-nav { display: none; }
  .menu-toggle {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
  }
  .menu-toggle span { display: none; }
  .menu-toggle i { display: block; width: 24px; height: 1px; background: currentColor; }
  .site-nav.is-open {
    position: fixed;
    inset: 70px 0 0;
    z-index: 120;
    height: calc(100svh - 70px);
    max-height: calc(100svh - 70px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 14px;
    padding: 24px 28px 36px;
    overflow-y: auto;
    background: var(--ivory);
    border-top: 1px solid var(--line);
    font: 500 24px var(--body);
    line-height: 1.25;
    backdrop-filter: blur(18px);
  }
  .site-nav.is-open a {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-art { grid-column: 2; }
  .hero-intro { grid-row: 2; }
  .hero-note { grid-row: 2; }
  .guidance-grid, .design-grid { gap-inline: 5vw; }
  .project-categories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-list { grid-template-columns: 1fr; }
  .project-detail-panel { width: min(100%, 760px); }
  .project-detail-scroll { grid-template-columns: 1fr; }
  .project-detail-figure,
  .project-detail-content,
  .project-case-study { grid-column: 1; }
  .project-detail-figure { grid-row: 1; }
  .project-detail-content { grid-row: 2; align-self: start; padding-top: 0; }
  .project-case-study { grid-row: 3; }
}

@media (max-width: 760px) {
  :root { --page: min(100% - 32px, 1380px); --space: 88px; }
  body { font-size: 16px; }
  .site-header { height: 70px; padding: 0 16px; }
  .header-cta { display: none; }
  .theme-toggle { width: 38px; height: 38px; }
  .site-nav.is-open {
    gap: 10px;
    padding: 18px 22px 28px;
    font-size: 21px;
  }
  .site-nav.is-open a { padding: 8px 0; }
  .hero { min-height: 100svh; padding: 108px 0 56px; }
  .hero-video { object-position: 72% center; }
  .hero-video-overlay {
    background: linear-gradient(
      180deg,
      rgba(248, 246, 240, .82) 0%,
      rgba(248, 246, 240, .7) 58%,
      rgba(248, 246, 240, .88) 100%
    );
  }
  .hero-grid { min-height: calc(100svh - 164px); display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 38px; }
  .hero .eyebrow {
    width: max-content;
    max-width: 100%;
    padding: 4px 9px;
    color: #202724;
    background: rgba(248, 246, 240, .68);
    border-radius: 999px;
    text-shadow: 0 1px 10px rgba(248, 246, 240, .55);
  }
  .hero-heading h1 { font-size: clamp(58px, 17vw, 82px); line-height: 1.04; }
  .hero-heading h1 em { font-size: 1.25em; }
  .hero-subheading { margin-top: 25px; font-size: clamp(16px, 4.4vw, 18px); white-space: nowrap; }
  .hero-intro { padding: 0; max-width: 100%; }
  .hero-intro .lead { margin-bottom: 28px; font-size: 19px; line-height: 1.55; }
  .hero .button-row { gap: 18px; }
  .scroll-cue { display: none; }
  .section-heading, .method-heading, .guidance-grid, .design-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .section-heading { gap: 30px; }
  .ways-intro { gap: 24px; }
  .ways-intro strong { font-size: 27px; }
  .ways-intro p { font-size: 18px; }
  .section-heading h2, .guidance-title h2, .design-heading h2, .about-copy h2 { font-size: clamp(46px, 13vw, 66px); }
  .path-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 500px; padding: 22px; }
  .ways .card-copy { padding-top: 28px; }
  .ways .card-title { font-size: clamp(40px, 11vw, 54px); }
  .ways .card-subtitle { font-size: clamp(27px, 7.5vw, 35px); }
  .ways .card-description { font-size: 18px; }
  .guidance-copy { padding-top: 0; }
  .teach-panel { grid-template-columns: 1fr; padding: 28px 22px; gap: 35px; }
  .teach-list li { grid-template-columns: 38px 1fr; }
  .method-heading { gap: 30px; }
  .method-step { grid-template-columns: 34px 58px 1fr; gap: 12px; padding: 25px 0; }
  .method-step > p { grid-column: 2 / -1; }
  .method-icon { width: 50px; height: 50px; border-radius: 14px; }
  .method-icon img { width: 31px; height: 31px; }
  .materials article { grid-template-columns: 35px 1fr; }
  .materials p { grid-column: 2; }
  .editorial-object { margin-top: 20px; }
  .about-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "image";
    gap: 48px;
    direction: rtl;
  }
  .about-copy { grid-area: text; }
  .about-portrait { grid-area: image; }
  .project-categories-grid { grid-template-columns: 1fr; }
  .project-category-card { min-height: 340px; padding: 24px; grid-template-rows: 108px 120px 1fr; }
  .project-category-title { min-height: 108px; }
  .project-library-modal,
  .project-detail-modal { padding: 14px; align-items: stretch; }
  .project-library-panel,
  .project-detail-panel { height: calc(100svh - 28px); max-height: calc(100svh - 28px); }
  .project-modal-scroll { max-height: calc(100svh - 28px); }
  .project-library-scroll,
  .project-detail-scroll { padding: 76px 18px 30px; }
  .project-modal-close { top: 30px; right: 30px; width: 46px; height: 46px; }
  .project-list { grid-template-columns: 1fr; }
  .project-list-item { grid-template-columns: 1fr; }
  .project-thumbnail { min-height: 180px; }
  .project-list-copy { padding: 22px; }
  .project-detail-scroll { grid-template-columns: 1fr; row-gap: 34px; }
  .project-detail-figure { grid-row: 1; }
  .project-detail-content { grid-row: 2; align-self: start; gap: 16px; padding-top: 0; }
  .project-case-study { grid-row: 3; margin-top: 0; }
  .project-library-heading h2,
  .project-detail-content h2 { font-size: clamp(40px, 12vw, 58px); }
  .project-library-heading p:last-child,
  .project-detail-description { font-size: 18px; }
  .faq-grid { gap: 45px; }
  summary { padding-left: 38px; }
  .contact-grid { gap: 50px; }
  .contact-copy h2 { font-size: clamp(58px, 17vw, 82px); }
  .contact-links { flex-direction: column; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; text-align: right; }
  .footer-grid > p { text-align: right; }
  .footer-grid > span { text-align: right; }
  .footer-meta { justify-items: start; text-align: right; }
  .footer-legal-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-video { display: none; }
  .paper-note, .paper-plan, .art-stamp, .orbit { animation: none; }
}

.project-library-modal .project-modal-close,
.project-detail-modal .project-modal-close {
  position: fixed !important;
  top: calc(7svh + 24px) !important;
  right: max(56px, calc((100vw - 1120px) / 2 + 24px)) !important;
}

@media (max-width: 760px) {
  .project-library-modal .project-modal-close,
  .project-detail-modal .project-modal-close {
    top: 30px !important;
    right: 30px !important;
  }
}
