/* Hayley Baker Studio
   Editorial static site for photography and keepsake sculpture.
*/
:root {
  --paper: #f3eee7;
  --paper-warm: #fbf8f2;
  --paper-cool: #e4e7e1;
  --ink: #161310;
  --ink-soft: #4d4740;
  --muted: #83776b;
  --line: rgba(22, 19, 16, 0.14);
  --line-strong: rgba(22, 19, 16, 0.32);
  --eucalypt: #526256;
  --clay: #995f49;
  --plum: #5a3a45;
  --blue: #375a66;
  --warm-clay: #b18952;
  --white: #fffaf3;
  --shadow: 0 26px 80px rgba(25, 20, 15, 0.16);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", "Menlo", "Consolas", monospace;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --max: 1480px;
  --gutter: 32px;
  --mouse-x: 50%;
  --mouse-y: 50%;
}

* { box-sizing: border-box; }
html {
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  margin: 0;
  min-height: 100%;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  background:
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(153, 95, 73, .11), transparent 24rem),
    linear-gradient(135deg, var(--paper-warm), var(--paper) 45%, var(--paper-cool));
  color: var(--ink);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(22, 19, 16, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(22, 19, 16, .03) 1px, transparent 1px);
  background-size: 8.333% 100%, 100% 92px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.72), rgba(0,0,0,.08));
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
main,
header,
footer { position: relative; z-index: 2; }
::selection { background: var(--ink); color: var(--paper-warm); }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 16px;
  left: 16px;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  padding: 18px var(--gutter);
  transition: transform .5s var(--ease);
}
.site-header.is-hidden { transform: translateY(-112%); }
.project-detail .site-header:not(.is-scrolled) .brand,
.project-detail .site-header:not(.is-scrolled) .site-nav a,
.project-detail .site-header:not(.is-scrolled) .header-email,
.project-detail .site-header:not(.is-scrolled) .menu-toggle { color: var(--white); }
.project-detail .site-header:not(.is-scrolled) .header-email,
.project-detail .site-header:not(.is-scrolled) .menu-toggle { border-color: rgba(255, 250, 243, .68); }
.nav-shell {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 62px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  border: 1px solid transparent;
  padding: 10px 12px 10px 18px;
  transition: background .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease), backdrop-filter .45s var(--ease);
}
.site-header.is-scrolled .nav-shell {
  background: rgba(251, 248, 242, .78);
  border-color: rgba(22, 19, 16, .13);
  box-shadow: 0 14px 50px rgba(24, 20, 16, .08);
  backdrop-filter: blur(18px);
}
.brand {
  justify-self: start;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: max-content;
  color: var(--ink);
}
.brand-line {
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1;
  letter-spacing: .01em;
  font-weight: 400;
  text-transform: none;
}
.brand-rule {
  width: 96px;
  height: 1px;
  background: currentColor;
  opacity: .5;
  transform-origin: left;
  transition: width .55s var(--ease), opacity .55s var(--ease);
}
.brand:hover .brand-rule { width: 142px; opacity: .85; }
.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 30px;
  text-transform: uppercase;
  font-size: .73rem;
  letter-spacing: .09em;
}
.site-nav a {
  position: relative;
  color: rgba(22, 19, 16, .72);
  padding: 10px 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  transition: transform .45s var(--ease);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.header-email,
.btn,
.small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  background: transparent;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .74rem;
  line-height: 1;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.header-email:hover,
.btn:hover,
.small-btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn.secondary:hover { background: var(--eucalypt); border-color: var(--eucalypt); }
.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: transparent;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  width: 18px;
  height: 1px;
  display: block;
  background: currentColor;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.menu-toggle span { position: relative; }
.menu-toggle span::before,
.menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { transform: translateY(-6px); }
.menu-toggle span::after { transform: translateY(6px); }
body.menu-open .menu-toggle span { background: transparent; }
body.menu-open .menu-toggle span::before { transform: rotate(45deg); background: currentColor; }
body.menu-open .menu-toggle span::after { transform: rotate(-45deg); background: currentColor; }

.menu-panel {
  position: fixed;
  z-index: 55;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(320px, 44vw) 1fr;
  background: var(--paper-warm);
  pointer-events: none;
  opacity: 0;
  transition: opacity .45s var(--ease);
}
body.menu-open .menu-panel {
  opacity: 1;
  pointer-events: auto;
}
.menu-image {
  position: relative;
  min-height: 100%;
  background: var(--eucalypt);
  overflow: hidden;
}
.menu-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  opacity: .86;
  transition: opacity .55s var(--ease), transform .7s var(--ease);
}
.menu-content {
  padding: 120px var(--gutter) 42px;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
}
.menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 700px;
}
.menu-links a {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid rgba(22, 19, 16, .1);
  font-family: var(--serif);
  font-size: 4rem;
  line-height: .98;
  transition: color .35s var(--ease), transform .35s var(--ease);
}
.menu-links a span {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--muted);
}
.menu-links a:hover {
  color: var(--clay);
  transform: translateX(18px);
}
.menu-foot {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink-soft);
  font-size: .9rem;
}
.menu-foot a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.hero {
  min-height: 100svh;
  max-width: var(--max);
  margin: 0 auto;
  padding: 126px var(--gutter) 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: 54px;
  align-items: end;
}
.hero-copy {
  align-self: center;
  padding-top: 80px;
}
.eyebrow,
.kicker,
.project-meta,
.mini-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--muted);
}
.eyebrow::before,
.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}
.display-title {
  margin: 22px 0 24px;
  max-width: 920px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 6rem;
  line-height: .95;
  letter-spacing: 0;
}
.display-title.narrow { max-width: 760px; }
.lead {
  max-width: 690px;
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.lead.small {
  font-size: 1rem;
  max-width: 540px;
}
.hero-actions,
.section-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}
.hero-media {
  position: relative;
  height: min(720px, 72svh);
  min-height: 560px;
}
.hero-main-image,
.hero-detail-image {
  position: absolute;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--paper-cool);
}
.hero-main-image {
  inset: 0 12% 8% 0;
  transform: translate3d(calc(var(--hero-x, 0) * .6px), calc(var(--hero-y, 0) * .5px), 0);
}
.hero-detail-image {
  right: 0;
  bottom: 0;
  width: 44%;
  aspect-ratio: 4 / 5;
  border: 10px solid var(--paper-warm);
  transform: translate3d(calc(var(--hero-x, 0) * -1px), calc(var(--hero-y, 0) * -.7px), 0);
}
.hero-main-image img,
.hero-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}
.hero-note-card {
  position: absolute;
  left: 8%;
  bottom: 0;
  width: 300px;
  padding: 18px;
  background: rgba(255, 250, 243, .84);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  color: var(--ink-soft);
}
.hero-note-card p { margin: 0; }

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 168px var(--gutter) 82px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 48px;
  align-items: end;
  min-height: 62svh;
}
.page-hero.centered {
  grid-template-columns: minmax(0, 980px);
  justify-content: center;
  text-align: center;
}
.page-hero.centered .eyebrow { justify-content: center; }
.page-hero.centered .eyebrow::before { display: none; }
.hero-note {
  border-left: 1px solid var(--line-strong);
  padding-left: 24px;
  color: var(--ink-soft);
}
.hero-note p { margin: 0 0 16px; }
.hero-note p:last-child { margin-bottom: 0; }

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 94px var(--gutter);
}
.section.compact { padding-top: 68px; padding-bottom: 68px; }
.section.rule { border-top: 1px solid var(--line); }
.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}
.section-title,
.split-title {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 3.8rem;
  line-height: 1;
  letter-spacing: 0;
}
.section-title.wide,
.split-title.wide { max-width: 900px; }
.body-copy {
  color: var(--ink-soft);
  font-size: 1.02rem;
}
.body-copy p { margin: 0 0 18px; }

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(320px, .86fr) minmax(0, 1.14fr);
  gap: 64px;
  align-items: center;
}
.editorial-grid.reverse {
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, .86fr);
}
.copy-panel {
  max-width: 690px;
}
.image-frame {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 340px;
  background: var(--paper-cool);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(calc(var(--parallax, 0) * 1px)) scale(1.08);
}
.image-frame.portrait { aspect-ratio: 4 / 5.4; }
.image-frame.landscape { aspect-ratio: 16 / 10; }
.image-frame.square { aspect-ratio: 1 / 1; }
.image-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  background: rgba(255, 250, 243, .78);
  border: 1px solid rgba(255, 250, 243, .42);
  backdrop-filter: blur(14px);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .68rem;
}

.project-index {
  display: grid;
  border-top: 1px solid var(--line-strong);
}
.project-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) .55fr .55fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  isolation: isolate;
  transition: color .35s var(--ease), padding-left .5s var(--ease), border-color .35s var(--ease);
}
.project-row::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) * -1);
  z-index: -1;
  background: linear-gradient(90deg, rgba(82, 98, 86, .075), transparent 72%);
  opacity: 0;
  transform: scaleX(.985);
  transform-origin: left;
  transition: opacity .45s var(--ease), transform .55s var(--ease);
}
.project-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1;
  transition: transform .55s var(--ease), color .35s var(--ease);
}
.project-row span {
  color: var(--ink-soft);
  font-size: .9rem;
  transition: color .35s var(--ease), transform .55s var(--ease), opacity .35s var(--ease);
}
.project-row::after {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
  transform: scaleX(.45);
  transform-origin: right;
  transition: transform .45s var(--ease), width .45s var(--ease);
}
.project-row:hover,
.project-row:focus-visible,
.project-row.is-hovered {
  padding-left: 18px;
  border-color: rgba(22, 19, 16, .22);
}
.project-row:hover::before,
.project-row:focus-visible::before,
.project-row.is-hovered::before {
  opacity: 1;
  transform: scaleX(1);
}
.project-row:hover h3,
.project-row:focus-visible h3,
.project-row.is-hovered h3 {
  transform: translateX(10px);
}
.project-row:hover span,
.project-row:focus-visible span,
.project-row.is-hovered span {
  color: var(--ink);
}
.project-row:hover::after,
.project-row:focus-visible::after,
.project-row.is-hovered::after {
  width: 54px;
  transform: scaleX(1);
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
}
.service-item {
  min-height: 360px;
  padding: 26px;
  border-right: 1px solid var(--line);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.service-item:last-child { border-right: 0; }
.service-item svg {
  width: 56px;
  height: 56px;
  color: var(--eucalypt);
}
.service-item h3 {
  margin: 0;
  align-self: end;
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 1;
}
.service-item p {
  margin: 0;
  color: var(--ink-soft);
}
.service-item::before {
  content: "";
  position: absolute;
  inset: var(--my, 50%) auto auto var(--mx, 50%);
  width: 240px;
  height: 240px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(82, 98, 86, .18), transparent 68%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.service-item:hover::before { opacity: 1; }

.feature-band {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: rgba(22, 19, 16, .72);
}
.feature-track {
  display: flex;
  gap: 46px;
  width: max-content;
  padding: 18px 0;
  animation: marquee 34s linear infinite;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
}
.feature-track span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 46px;
  background: var(--clay);
}
@keyframes marquee { to { transform: translateX(-50%); } }

.process-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 44px;
  max-width: 1000px;
  margin: 0 auto;
}
.process-path {
  position: sticky;
  top: 150px;
  height: 620px;
}
.process-path svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.path-base,
.path-progress {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.path-base { stroke: rgba(22, 19, 16, .12); }
.path-progress {
  stroke: var(--clay);
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--path-progress, 0));
}
.process-steps {
  display: grid;
  gap: 18px;
}
.process-step {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 26px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.step-index {
  font-family: var(--mono);
  color: var(--clay);
  font-size: .85rem;
}
.process-step h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 2.35rem;
  line-height: 1;
  font-weight: 400;
}
.process-step p { margin: 0; color: var(--ink-soft); max-width: 680px; }
.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.step-tags span {
  border: 1px solid var(--line);
  padding: 6px 9px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .64rem;
  color: var(--muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.filter-btn {
  border: 1px solid var(--line-strong);
  background: transparent;
  min-height: 38px;
  padding: 0 14px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .7rem;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.filter-btn.is-active,
.filter-btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.project-card {
  grid-column: span 4;
  display: grid;
  gap: 14px;
  min-width: 0;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.project-card.large { grid-column: span 6; }
.project-card.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(.98);
}
.project-card figure {
  margin: 0;
  overflow: hidden;
  background: var(--paper-cool);
  aspect-ratio: 4 / 5;
}
.project-card.large figure { aspect-ratio: 16 / 11; }
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.project-card:hover img { transform: scale(1.06); }
.project-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.05;
  font-weight: 400;
}
.project-card p { margin: 4px 0 0; color: var(--ink-soft); }

.deliverables {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.deliverable {
  border-top: 1px solid var(--line-strong);
  padding-top: 22px;
}
.deliverable h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}
.deliverable ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
}
.deliverable li { margin-bottom: 10px; }

.material-board {
  display: grid;
  grid-template-columns: .82fr 1.18fr .7fr;
  gap: 18px;
  align-items: stretch;
}
.material-panel {
  min-height: 430px;
  overflow: hidden;
  background: var(--paper-cool);
}
.material-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.material-note {
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 243, .52);
  display: grid;
  align-content: space-between;
}
.material-note h3 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1;
}
.material-strip {
  display: grid;
  grid-template-columns: 1.05fr .78fr .95fr;
  gap: 10px;
  align-items: end;
  margin: 26px 0 8px;
}
.material-strip img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border: 1px solid rgba(22, 19, 16, .12);
  filter: saturate(.88) contrast(.96);
}
.material-strip img:nth-child(2) {
  height: 236px;
}
.material-strip img:nth-child(3) {
  height: 166px;
}
.material-note p { margin: 20px 0 0; color: var(--ink-soft); }

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .8fr);
  gap: 42px;
  align-items: center;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  padding: 42px 0;
}
.contact-panel h2 {
  margin: 12px 0 16px;
  font-family: var(--serif);
  font-size: 4rem;
  line-height: .98;
  font-weight: 400;
}
.email-link {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--serif);
  font-size: 2.15rem;
  line-height: 1.1;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
}

.project-hero {
  min-height: 100svh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.project-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
.project-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 9, 8, .64), rgba(10, 9, 8, .18) 54%, rgba(10, 9, 8, .28));
}
.project-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 140px var(--gutter) 70px;
}
.project-hero .project-meta { color: rgba(255, 250, 243, .78); }
.project-hero h1 {
  margin: 18px 0 0;
  max-width: 900px;
  font-family: var(--serif);
  font-size: 6rem;
  line-height: .95;
  font-weight: 400;
}
.project-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 60px;
  align-items: start;
}
.project-facts {
  border-top: 1px solid var(--line-strong);
  display: grid;
}
.project-facts div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.project-facts dt {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .7rem;
}
.project-facts dd { margin: 0; color: var(--ink-soft); }
.case-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.case-gallery .image-frame:nth-child(1) { grid-column: span 7; }
.case-gallery .image-frame:nth-child(2) { grid-column: span 5; }
.case-gallery .image-frame:nth-child(3) { grid-column: 3 / span 8; }
.next-project {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  border-top: 1px solid var(--line-strong);
  padding-top: 28px;
}
.next-project h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 3.4rem;
  line-height: 1;
  font-weight: 400;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 58px var(--gutter) 30px;
  border-top: 1px solid var(--line-strong);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr);
  gap: 40px;
}
.footer-wordmark {
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
}
.footer-email {
  display: inline-block;
  margin-top: 22px;
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 64px;
  color: var(--muted);
  font-size: .8rem;
}

.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.word > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform .9s var(--ease);
  transition-delay: calc(var(--i) * 34ms);
}
.is-ready .word > span,
.is-visible .word > span { transform: translateY(0); }
.reveal,
.image-frame,
.service-item,
.project-card,
.process-step,
.deliverable,
.material-panel,
.material-note {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible,
.image-frame.is-visible,
.service-item.is-visible,
.project-card.is-visible,
.process-step.is-visible,
.deliverable.is-visible,
.material-panel.is-visible,
.material-note.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.project-card.is-visible.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(.98);
}

@media (max-width: 1180px) {
  .site-nav,
  .header-email { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-shell { grid-template-columns: 1fr auto; }
  .nav-actions { grid-column: 2; }
  .hero,
  .page-hero,
  .section-header,
  .editorial-grid,
  .editorial-grid.reverse,
  .contact-panel,
  .project-intro { grid-template-columns: 1fr; }
  .hero { padding-top: 118px; }
  .hero-copy { padding-top: 0; }
  .display-title,
  .project-hero h1 { font-size: 4.8rem; }
  .service-strip { grid-template-columns: 1fr; }
  .service-item { border-right: 0; border-bottom: 1px solid var(--line); min-height: 280px; }
  .project-card,
  .project-card.large { grid-column: span 6; }
  .material-board { grid-template-columns: 1fr 1fr; }
  .material-note { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }
  body::before { background-size: 25% 100%, 100% 78px; }
  .site-header { padding: 12px var(--gutter); }
  .brand-line { font-size: 1.02rem; }
  .brand-rule { width: 74px; }
  .nav-shell { min-height: 56px; padding-left: 12px; }
  .hero {
    min-height: auto;
    padding-top: 102px;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .display-title,
  .project-hero h1 {
    font-size: 3.2rem;
    line-height: 1;
  }
  .section-title,
  .split-title,
  .contact-panel h2,
  .next-project h2 { font-size: 2.55rem; }
  .lead { font-size: 1.02rem; }
  .image-frame { min-height: 0; }
  .hero-media { height: auto; min-height: 0; aspect-ratio: 4 / 5.1; }
  .hero-main-image { inset: 0 0 12% 0; }
  .hero-detail-image { width: 44%; border-width: 6px; }
  .hero-note-card { display: none; }
  .page-hero { padding-top: 126px; min-height: auto; }
  .section { padding: 62px var(--gutter); }
  .section.compact { padding-top: 48px; padding-bottom: 48px; }
  .project-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 0;
  }
  .project-row h3 { font-size: 2rem; }
  .project-row::after { display: none; }
  .project-grid { gap: 30px; }
  .project-card,
  .project-card.large { grid-column: 1 / -1; }
  .process-wrap { grid-template-columns: 1fr; }
  .process-path { display: none; }
  .process-step { grid-template-columns: 1fr; gap: 8px; }
  .deliverables,
  .material-board,
  .footer-inner,
  .case-gallery,
  .next-project { grid-template-columns: 1fr; }
  .material-strip { grid-template-columns: 1fr; }
  .material-strip img,
  .material-strip img:nth-child(n) { height: 220px; }
  .case-gallery .image-frame:nth-child(n) { grid-column: 1 / -1; }
  .menu-panel { grid-template-columns: 1fr; }
  .menu-image { display: none; }
  .menu-content { padding-top: 100px; }
  .menu-links a {
    grid-template-columns: 42px 1fr;
    font-size: 2.8rem;
  }
  .menu-foot,
  .footer-bottom { flex-direction: column; }
  .email-link { font-size: 1.35rem; overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .word > span,
  .reveal,
  .image-frame,
  .service-item,
  .project-card,
  .process-step,
  .deliverable,
  .material-panel,
  .material-note {
    opacity: 1 !important;
    transform: none !important;
  }
}
