:root {
  --paper: #f4efe6;
  --surface: #fffaf2;
  --surface-soft: #eee5d8;
  --ink: #2b2923;
  --muted: #6d665d;
  --sage: #7f9277;
  --sage-deep: #53694f;
  --clay: #bd8171;
  --clay-deep: #9f5f51;
  --blush: #ead6d0;
  --blue: #d8e4e7;
  --teal: #dbe9e2;
  --line: rgba(43, 41, 35, 0.13);
  --line-strong: rgba(43, 41, 35, 0.22);
  --shadow: 0 18px 55px rgba(75, 60, 43, 0.12);
  --shadow-soft: 0 10px 30px rgba(75, 60, 43, 0.08);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
  --mono: "DM Mono", Consolas, monospace;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(234, 214, 208, 0.62), transparent 26rem),
    radial-gradient(circle at 88% 4%, rgba(216, 228, 231, 0.56), transparent 24rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 14px; background: var(--ink); border-radius: 999px;
  color: var(--paper); transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: var(--max); min-height: 76px; margin: 0 auto; padding: 12px 28px;
  background: rgba(244, 239, 230, 0.84); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.wordmark, .nav-links a, .text-link { text-decoration: none; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; font-weight: 600; letter-spacing: -0.01em; }
.wordmark-mark { display: grid; width: 36px; height: 36px; place-items: center; background: var(--ink); border-radius: 50%; color: var(--paper); font-family: var(--serif); font-size: 18px; font-style: italic; }
.nav-links { display: flex; gap: clamp(16px, 3vw, 34px); font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; }
.nav-links a, .text-link { position: relative; color: var(--muted); transition: color 180ms ease; }
.nav-links a::after, .text-link::after { position: absolute; right: 0; bottom: -4px; left: 0; height: 1px; background: var(--sage-deep); content: ""; transform: scaleX(0); transform-origin: right; transition: transform 200ms ease; }
.nav-links a:hover, .text-link:hover { color: var(--sage-deep); }
.nav-links a:hover::after, .text-link:hover::after { transform: scaleX(1); transform-origin: left; }

.hero {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(290px, 0.62fr); gap: clamp(36px, 7vw, 88px);
  align-items: center; max-width: var(--max); min-height: calc(100svh - 76px); margin: 0 auto;
  padding: clamp(56px, 8vw, 110px) 28px;
}
.eyebrow { margin: 0 0 20px; color: var(--sage-deep); font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.hero h1, .section-heading h2, .studio h2, .about h2, .contact h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -0.025em; line-height: 1.02; }
.hero h1 { max-width: 13.8ch; font-size: clamp(48px, 7.1vw, 88px); }
.hero-intro { max-width: 58ch; margin: 30px 0 0; color: var(--muted); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 36px; }

.button { display: inline-flex; gap: 10px; align-items: center; justify-content: center; min-height: 52px; padding: 0 23px; border: 1px solid var(--ink); border-radius: 999px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-decoration: none; text-transform: uppercase; transition: background 200ms ease, color 200ms ease, transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease; }
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: var(--sage-deep); border-color: var(--sage-deep); }
.button-soft { background: rgba(255, 250, 242, 0.74); border-color: var(--line-strong); color: var(--sage-deep); }
.text-link { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }

.currently-card { align-self: center; padding: clamp(24px, 4vw, 34px); background: rgba(255, 250, 242, 0.78); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.currently-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.currently-top .eyebrow { margin: 0; }
.status-dot { width: 11px; height: 11px; background: var(--sage); border-radius: 50%; box-shadow: 0 0 0 7px rgba(127, 146, 119, 0.15); }
.currently-list { display: grid; gap: 18px; padding: 24px 0; }
.currently-row { display: grid; gap: 4px; }
.currently-label { color: var(--clay-deep); font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; }
.currently-value { font-family: var(--serif); font-size: clamp(25px, 3vw, 34px); font-weight: 400; line-height: 1.05; }
.mini-profile { display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: center; padding-top: 20px; border-top: 1px solid var(--line); }
.mini-profile img { width: 58px; height: 58px; object-fit: cover; border: 1px solid var(--line); border-radius: 50%; background: var(--surface-soft); }
.mini-profile p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }

.section-pad { max-width: var(--max); margin: 0 auto; padding: clamp(74px, 9vw, 118px) 28px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 0.38fr); gap: 40px; align-items: end; margin-bottom: 44px; }
.section-heading h2, .about h2, .contact h2 { max-width: 12.5ch; font-size: clamp(40px, 5.2vw, 68px); }
.section-note { margin: 0 0 8px; color: var(--muted); font-size: 16px; line-height: 1.6; }

.work { background: linear-gradient(180deg, rgba(255,250,242,0.34), rgba(244,239,230,0)); }
.case-studies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case-card { display: flex; flex-direction: column; min-height: 390px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 1px 0 rgba(255,255,255,.65) inset; transition: transform 200ms ease, box-shadow 200ms ease; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.case-number { width: fit-content; margin-bottom: 30px; padding: 7px 10px; background: var(--teal); border-radius: 999px; color: var(--sage-deep); font-family: var(--mono); font-size: 11px; }
.case-title { margin: 0; font-family: var(--serif); font-size: clamp(31px, 3.1vw, 42px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.02; }
.case-summary { margin: 18px 0 0; color: var(--ink); font-size: 18px; line-height: 1.48; }
.case-detail-copy { margin: 16px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.tag-list, .project-tags, .interest-list { list-style: none; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; }
.tag { padding: 7px 11px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: 0.03em; text-transform: uppercase; }

.studio { display: grid; grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr); gap: clamp(42px, 7vw, 88px); max-width: none; padding-right: max(28px, calc((100vw - var(--max)) / 2 + 28px)); padding-left: max(28px, calc((100vw - var(--max)) / 2 + 28px)); background: #e9e1d5; }
.studio-intro { position: sticky; top: 116px; align-self: start; }
.studio-intro > p:last-child { max-width: 36ch; margin: 24px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.project-card { padding: clamp(24px, 4vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; transition: transform 200ms ease, box-shadow 200ms ease; }
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.project-featured { grid-column: 1 / -1; min-height: 320px; background: linear-gradient(135deg, var(--surface), #f5e0d8); }
.project-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.project-status { color: var(--muted); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }
.project-mark { display: grid; width: 52px; height: 52px; flex: 0 0 auto; place-items: center; background: var(--teal); border-radius: 50%; color: var(--sage-deep); font-family: var(--serif); font-size: 21px; font-style: italic; }
.project-sun .project-mark { background: var(--blush); color: var(--clay-deep); }
.project-blue .project-mark { background: var(--blue); color: #527078; }
.project-title { margin: 26px 0 14px; font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.04; }
.project-description { max-width: 62ch; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: 0.03em; text-transform: uppercase; }
.project-tags li::before { margin-right: 6px; color: var(--sage); content: "↳"; }

.principles { background: var(--paper); }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.principle-card { padding: 26px; background: rgba(255, 250, 242, 0.62); border: 1px solid var(--line); border-radius: 22px; }
.principle-number { color: var(--clay-deep); font-family: var(--mono); font-size: 11px; letter-spacing: .05em; }
.principle-title { margin: 34px 0 12px; font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1.05; }
.principle-text { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.62; }

.about { display: grid; grid-template-columns: 0.86fr 1fr; gap: clamp(44px, 8vw, 110px); border-top: 1px solid var(--line); }
.about-copy p { margin: 0 0 20px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; }
.about-copy p:first-child { color: var(--clay-deep); font-family: var(--serif); font-size: clamp(30px, 3vw, 42px); line-height: 1.05; }
.interest-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; padding: 0; }
.interest-list li { padding: 9px 14px; background: rgba(255, 250, 242, 0.58); border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: 0.03em; text-transform: uppercase; }

.contact { max-width: none; background: var(--ink); color: var(--paper); text-align: center; }
.contact .eyebrow { color: #cbdcbe; }
.contact h2 { max-width: 15ch; margin: 0 auto; }
.contact > p:not(.eyebrow) { max-width: 58ch; margin: 24px auto 0; color: rgba(244, 239, 230, 0.72); font-size: 18px; line-height: 1.65; }
.contact-links { display: flex; gap: 26px; align-items: center; justify-content: center; margin-top: 36px; }
.button-light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.button-light:hover { background: #cbdcbe; border-color: #cbdcbe; }
.text-link-light { color: var(--paper); }
.text-link-light::after { background: #cbdcbe; }
.text-link-light:hover { color: #cbdcbe; }

.site-footer { display: flex; gap: 20px; align-items: center; justify-content: space-between; max-width: var(--max); margin: 0 auto; padding: 30px 28px; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; }
.site-footer a { text-decoration: none; transition: color 180ms ease; }
.site-footer a:hover { color: var(--sage-deep); }

.reveal { animation: rise 700ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.reveal-delay-1 { animation-delay: 80ms; } .reveal-delay-2 { animation-delay: 160ms; } .reveal-delay-3 { animation-delay: 240ms; }
.scroll-reveal { opacity: 0; transform: translateY(20px); transition: opacity 650ms ease, transform 650ms cubic-bezier(0.22, 1, 0.36, 1); }
.scroll-reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.noscript { position: fixed; right: 16px; bottom: 16px; left: 16px; z-index: 50; padding: 14px; background: var(--blush); border: 1px solid var(--line-strong); border-radius: 10px; text-align: center; }

@media (max-width: 920px) {
  .hero, .studio, .about { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .currently-card { max-width: 560px; }
  .case-studies, .principles-grid { grid-template-columns: 1fr; }
  .case-card { min-height: 0; }
  .studio-intro { position: static; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 70px; }
  body { font-size: 16px; }
  .site-header { min-height: 64px; padding: 10px 18px; }
  .wordmark > span:last-child { display: none; }
  .nav-links { gap: 12px; font-size: 10px; }
  .hero { gap: 34px; padding: 52px 18px 70px; }
  .hero h1 { max-width: 100%; font-size: clamp(42px, 12vw, 58px); }
  .hero-intro { margin-top: 24px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .currently-card { border-radius: 22px; }
  .section-pad { padding: 72px 18px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 34px; }
  .section-heading h2, .about h2, .contact h2 { max-width: 100%; font-size: clamp(38px, 11vw, 52px); }
  .case-card { padding: 23px; border-radius: 20px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-featured { min-height: 0; }
  .studio { padding-right: 18px; padding-left: 18px; }
  .contact-links { flex-direction: column; align-items: stretch; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 12px; padding: 26px 18px; }
}

@media (max-width: 430px) {
  .nav-links { gap: 9px; font-size: 9px; }
  .wordmark-mark { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
