:root {
  --navy: #1d3759;
  --ink: #20252b;
  --muted: #65707b;
  --paper: #f7f7f5;
  --line: #d9ddd9;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --sans: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
}

a { color: inherit; }

img { display: block; width: 100%; height: 100%; object-fit: cover; }

.site-header {
  min-height: 76px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(247, 247, 245, 0.96);
  border-bottom: 1px solid var(--line);
}

.site-name {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

nav { display: flex; gap: 1.5rem; }
nav a { color: var(--navy); font-size: 0.9rem; text-decoration: none; }
nav a:hover, .text-link:hover { opacity: 0.65; }

.hero {
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) 1.14fr;
  background: #fff;
}

.hero-copy {
  padding: clamp(4rem, 9vw, 9rem) clamp(2rem, 6vw, 7rem);
  align-self: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3 { color: var(--navy); font-family: var(--serif); font-weight: 500; line-height: 1.35; }
h1 { margin: 0 0 1.7rem; font-size: clamp(2.4rem, 5vw, 4.75rem); letter-spacing: 0.05em; }
h2 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.3rem); }
h3 { margin: 0 0 1rem; font-size: clamp(1.4rem, 2.4vw, 2rem); }
p { margin: 0; }

.hero-copy > p:not(.eyebrow) { max-width: 28rem; }
.hero-image { margin: 0; min-height: 500px; }

.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.3rem;
  border: 1px solid var(--navy);
  font-size: 0.9rem;
  text-decoration: none;
}
.button-primary { background: var(--navy); color: #fff; }
.button-secondary { color: var(--navy); background: transparent; }
.button-light { background: #fff; border-color: #fff; color: var(--navy); }
.button:hover { transform: translateY(-2px); }

.statement {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(5rem, 12vw, 10rem) 2rem;
}
.statement > p:last-child { max-width: 44rem; margin-top: 1.7rem; font-size: clamp(1rem, 1.4vw, 1.2rem); }

.works, .services { padding: clamp(5rem, 9vw, 9rem) 5vw; }
.works { background: #fff; }
.section-heading { max-width: 1180px; margin: 0 auto clamp(3rem, 6vw, 5rem); }

.work-card {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3.5rem 0;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(250px, 0.75fr);
  gap: clamp(2rem, 6vw, 7rem);
  border-top: 1px solid var(--line);
}
.work-card:last-child { border-bottom: 1px solid var(--line); }
.work-card-reverse .work-images { order: 2; }
.work-card-reverse .work-copy { order: 1; }

.work-images {
  min-height: 390px;
  display: grid;
  grid-template-columns: 1fr 0.74fr;
  gap: 0.8rem;
}
.work-images img:first-child { height: 100%; }
.work-images img:last-child { height: 78%; align-self: end; }
.work-images-wide img:first-child { height: 78%; align-self: start; }
.work-images-wide img:last-child { height: 100%; }
.work-copy { align-self: center; }
.work-number { margin-bottom: 0.8rem; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.12em; }
.work-copy > p:not(.work-number):not(.award) { margin-bottom: 1.25rem; }
.award { margin: 1.25rem 0; color: var(--muted); font-size: 0.85rem; line-height: 1.7; }
.text-link { color: var(--navy); font-size: 0.92rem; text-underline-offset: 0.32em; }

.services { background: var(--paper); }
.service-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-grid article { min-height: 225px; padding: clamp(1.5rem, 3vw, 3rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.service-grid h3 { font-size: 1.35rem; }
.service-grid p { font-size: 0.93rem; line-height: 1.75; }

.contact { padding: clamp(5rem, 10vw, 9rem) 5vw; text-align: center; color: #fff; background: var(--navy); }
.contact .eyebrow, .contact h2 { color: #fff; }
.contact > p:not(.eyebrow):not(.contact-note) { max-width: 38rem; margin: 1.2rem auto 2rem; }
.contact-note { margin-top: 1.2rem; font-size: 0.75rem; opacity: 0.72; }

.site-footer { padding: 2.5rem 5vw; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--muted); background: #fff; font-size: 0.78rem; }
.site-footer .site-name { font-size: 1rem; }

@media (max-width: 760px) {
  .site-header { min-height: 64px; padding: 0 1.4rem; }
  nav { gap: 0.85rem; }
  nav a { font-size: 0.75rem; }
  .hero { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { padding: 5rem 1.5rem 3.5rem; }
  .hero-image { min-height: 350px; }
  .statement, .works, .services { padding-left: 1.5rem; padding-right: 1.5rem; }
  .work-card, .work-card-reverse { grid-template-columns: 1fr; gap: 2rem; padding: 2.75rem 0; }
  .work-card-reverse .work-images, .work-card-reverse .work-copy { order: initial; }
  .work-images { min-height: 290px; gap: 0.55rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 0; }
  .contact { padding-left: 1.5rem; padding-right: 1.5rem; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 2rem 1.5rem; }
}

.site-logo {
  display: block;
  width: 150px;
  height: 48px;
  overflow: hidden;
}

.site-logo img,
.footer-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.footer-logo {
  width: 108px;
  height: 52px;
  object-fit: cover;
}

@media (max-width: 760px) {
  .site-logo { width: 116px; height: 40px; }
}

.site-logo img,
.footer-logo {
  object-fit: contain;
}

/* Hero and header revision */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 120px;
  padding: 0;
  transition: min-height 260ms ease, background-color 260ms ease;
}
.header-inner {
  width: min(100% - clamp(3rem, 8vw, 10rem), 1280px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo { width: 148px; height: 82px; transition: width 260ms ease, height 260ms ease; }
.site-header.is-compact { min-height: 72px; background: rgba(247, 247, 245, 0.98); }
.site-header.is-compact .site-logo { width: 76px; height: 42px; }
.site-header nav { gap: clamp(1rem, 2.2vw, 2rem); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(720px, calc(100svh - 120px));
  grid-template-columns: minmax(320px, 0.92fr) 1.08fr;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4.5rem, 9vw, 9rem) 0 clamp(4.5rem, 9vw, 9rem) max(2rem, calc((100vw - 1280px) / 2));
  background: linear-gradient(90deg, #fff 0%, #fff 73%, rgba(255,255,255,0.92) 82%, rgba(255,255,255,0) 100%);
}
.hero-copy h1 { max-width: 8.4em; margin: 0 0 2rem; font-size: clamp(3rem, 5.15vw, 5.25rem); }
.hero-label { color: var(--navy); font-size: 0.78rem; font-weight: 600; letter-spacing: .16em; }
.hero-intro { max-width: 27rem; margin-top: .6rem; font-size: 0.98rem; }
.hero-carousel { position: relative; min-height: 100%; }
.slides, .slide { position: absolute; inset: 0; margin: 0; }
.slide { opacity: 0; transition: opacity 1050ms ease; }
.slide.is-active { opacity: 1; }
.slide img { object-position: center; }
.hero-carousel::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.44) 0%, rgba(255,255,255,0) 32%); pointer-events: none; }
.carousel-controls { position: absolute; z-index: 2; right: 1.5rem; bottom: 1.35rem; display: flex; align-items: center; gap: .75rem; color: #fff; }
.carousel-button, .carousel-dot { border: 0; color: inherit; background: transparent; cursor: pointer; }
.carousel-button { width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.72); font-size: 1rem; }
.carousel-dots { display: flex; gap: .4rem; }
.carousel-dot { width: 18px; height: 18px; padding: 0; position: relative; }
.carousel-dot::after { content: ""; position: absolute; inset: 7px 2px; background: rgba(255,255,255,.55); transition: background-color 160ms ease; }
.carousel-dot.is-active::after { background: #fff; }

@media (max-width: 760px) {
  .site-header { min-height: 82px; }
  .header-inner { width: calc(100% - 2.5rem); }
  .site-logo { width: 92px; height: 56px; }
  .site-header.is-compact { min-height: 64px; }
  .site-header.is-compact .site-logo { width: 70px; height: 40px; }
  .site-header nav { gap: .8rem; }
  .site-header nav a { font-size: .7rem; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 4.5rem 1.5rem 3.2rem; background: #fff; }
  .hero-copy h1 { font-size: clamp(2.7rem, 11vw, 4rem); }
  .hero-carousel { min-height: 400px; }
  .hero-carousel::before { background: linear-gradient(180deg, rgba(255,255,255,.2), transparent 26%); }
}

/* Blend the carousel into the title area */
.hero { display: block; }
.hero-carousel {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 36%;
}
.hero-copy {
  z-index: 2;
  width: 61%;
  min-height: min(720px, calc(100svh - 120px));
  background: linear-gradient(90deg, #fff 0%, #fff 57%, rgba(255,255,255,.94) 70%, rgba(255,255,255,.64) 82%, rgba(255,255,255,0) 100%);
}
.hero-carousel::before {
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.82) 17%, rgba(255,255,255,0) 41%);
}
.hero-copy h1 { margin-bottom: 0; }

@media (max-width: 760px) {
  .hero-carousel { position: relative; inset: auto; min-height: 400px; }
  .hero-copy { width: 100%; min-height: 0; background: #fff; }
}

/* Fixed, translucent and centred header */
html { scroll-padding-top: 120px; }
.site-header {
  position: fixed;
  width: 100%;
  min-height: 120px;
  background: rgba(247, 247, 245, .68);
  border-bottom-color: rgba(217, 221, 217, .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.header-inner { width: min(calc(100% - 3rem), 1420px); }
.site-header.is-compact { background: rgba(247, 247, 245, .84); }

/* A title-first hero with a smaller photo area */
.hero { min-height: 100svh; }
.hero-carousel { left: 47%; }
.hero-copy {
  width: 67%;
  min-height: 100svh;
  background: linear-gradient(90deg, #fff 0%, #fff 56%, rgba(255,255,255,.95) 68%, rgba(255,255,255,.65) 83%, rgba(255,255,255,0) 100%);
}
.hero-copy h1 { max-width: 6em; font-size: clamp(3.25rem, 5.8vw, 6rem); }
.hero-carousel::before { background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.84) 23%, rgba(255,255,255,0) 52%); }

@media (max-width: 760px) {
  html { scroll-padding-top: 82px; }
  .header-inner { width: calc(100% - 2.5rem); }
  .hero { min-height: 0; }
  .hero-copy { width: 100%; min-height: 0; }
  .hero-carousel { left: auto; }
}

/* Tighter header and a wider visible photo field */
@media (min-width: 761px) {
  .header-inner { width: min(70vw, 1420px); }
  .hero-carousel { left: 35%; }
  .hero-copy {
    width: 55%;
    background: linear-gradient(90deg, #fff 0%, #fff 46%, rgba(255,255,255,.93) 57%, rgba(255,255,255,0) 72%);
  }
  .hero-carousel::before {
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.7) 16%, rgba(255,255,255,0) 36%);
  }
}

/* Interior pages */
.page-main { padding-top: 120px; }
.page-hero { max-width: 1180px; margin: 0 auto; padding: clamp(6rem, 12vw, 11rem) 2rem clamp(4rem, 8vw, 7rem); background: #fff; }
.page-hero h1 { max-width: 12em; margin-bottom: 1.4rem; }
.page-hero > p:last-child { max-width: 34rem; }
.page-content { max-width: 1180px; margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 2rem; }
.value-block { background: var(--paper); max-width: none; padding-left: max(2rem, calc((100vw - 1180px) / 2)); padding-right: max(2rem, calc((100vw - 1180px) / 2)); }
.value-block p { max-width: 43rem; margin-top: 1.5rem; font-size: 1.1rem; }
.detail-grid, .work-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.detail-grid > div { padding: 1.6rem 1.4rem; border-top: 1px solid var(--line); }
.detail-grid h2 { font-size: 1.35rem; margin-bottom: .9rem; }
.award-block { border-top: 1px solid var(--line); }
.small { margin-top: 1rem; color: var(--muted); font-size: .82rem; }
.work-category { border-top: 1px solid var(--line); }
.work-category > h2 { margin-bottom: 2rem; }
.work-list { grid-template-columns: repeat(2, 1fr); }
.work-list article { padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.work-list img { height: clamp(220px, 28vw, 360px); margin-bottom: 1.1rem; }
.work-list h3 { font-size: 1.45rem; }
.text-only article { padding: 2rem 0; }
.price-group { border-top: 1px solid var(--line); }
.price-group dl { margin: 2rem 0 0; }
.price-group dl > div { display:flex; justify-content:space-between; gap:1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.price-group dt, .price-group dd { margin: 0; }
.price-group dd { color: var(--navy); font-family: var(--serif); }
.page-cta { text-align: center; background: var(--paper); max-width: none; }
.page-cta h2 { margin-bottom: 2rem; font-size: clamp(1.6rem, 3vw, 2.5rem); }
.form-section { max-width: 760px; }
.form-section form { display: grid; gap: 1.3rem; }
.form-section label { display: grid; gap: .45rem; color: var(--navy); font-size: .9rem; }
.form-section input, .form-section select, .form-section textarea { width: 100%; padding: .85rem; border: 1px solid var(--line); border-radius: 0; color: var(--ink); font: inherit; background: #fff; }
.form-section button { justify-self: start; margin-top: .5rem; }
@media (max-width: 760px) { .page-main { padding-top: 82px; } .page-hero, .page-content { padding-left: 1.5rem; padding-right: 1.5rem; } .detail-grid, .work-list { grid-template-columns: 1fr; } }

/* Home opening: the existing multi-image carousel remains behind the brand */
body.home .site-header {
  opacity: 0;
  pointer-events: none;
  transition: opacity 380ms ease, min-height 260ms ease, background-color 260ms ease;
}
body.home .site-header.is-visible { opacity: 1; pointer-events: auto; }
body.home .hero { height: 100svh; min-height: 680px; }
body.home .hero-carousel { inset: 0; left: 0; }
body.home .hero-carousel::before { background: rgba(255, 255, 255, .68); transition: background-color 320ms ease; }
body.home .hero-copy.hero-brand {
  position: relative; z-index: 3; width: 100%; min-height: 100%; padding: 8rem 2rem 4rem;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  background: transparent; transform-origin: center center; will-change: transform, opacity;
}
.hero-brand-logo { width: min(44vw, 680px); height: auto; object-fit: contain; }
body.home .hero-brand h1 {
  max-width: none; margin: clamp(2rem, 4vw, 4rem) 0 0; color: var(--navy);
  font-size: clamp(1.65rem, 3vw, 3.2rem); letter-spacing: .14em; text-align: center;
  white-space: nowrap; will-change: opacity;
}
body.home .carousel-controls { opacity: .65; }
@media (max-width: 760px) {
  body.home .hero { height: 100svh; min-height: 560px; }
  body.home .hero-copy.hero-brand { padding-top: 5rem; }
  .hero-brand-logo { width: min(78vw, 420px); }
  body.home .hero-brand h1 { font-size: clamp(1.25rem, 5vw, 1.7rem); letter-spacing: .08em; white-space: normal; }
}

/* One header panel: it folds around the same logo as the page scrolls */
body.home .site-header {
  z-index: 20;
  height: 82svh;
  min-height: 0;
  opacity: 1;
  pointer-events: auto;
  overflow: visible;
  background: rgba(247, 247, 245, .68);
  border-bottom: 1px solid rgba(217, 221, 217, .72);
  transition: height 40ms linear;
}
body.home .header-inner {
  height: 90px;
  position: relative;
  z-index: 2;
}
body.home .site-logo,
body.home .site-header.is-compact .site-logo {
  width: 76px;
  height: 42px;
  transition: none;
  transform-origin: top left;
  will-change: transform;
}
body.home .site-header nav { position: relative; z-index: 3; }
.hero-comment {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: clamp(390px, 63svh, 620px);
  width: min(90vw, 1100px);
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.8vw, 3rem);
  letter-spacing: .14em;
  line-height: 1.35;
  text-align: center;
  transform: translateX(-50%);
  will-change: opacity;
}
body.home .hero { height: 100svh; min-height: 680px; }
body.home .hero-carousel { inset: 0; left: 0; overflow: hidden; background: #fff; }
body.home .hero-carousel::before { display: none; }
body.home .slides { position: relative; height: 100%; overflow: visible; }
body.home .slide {
  position: absolute;
  inset: 0 auto;
  left: 50%;
  width: 72vw;
  height: 100%;
  opacity: 0;
  transform: translateX(-50%);
  transition: transform 850ms ease, opacity 700ms ease;
}
body.home .slide img { height: 100%; }
body.home .carousel-controls { z-index: 4; opacity: .8; }

@media (max-width: 760px) {
  body.home .site-header { height: 76svh; }
  body.home .header-inner { height: 72px; }
  body.home .site-logo, body.home .site-header.is-compact .site-logo { width: 70px; height: 40px; }
  .hero-comment { top: 51svh; width: calc(100% - 2rem); font-size: clamp(1.2rem, 5vw, 1.65rem); letter-spacing: .08em; }
  body.home .hero { height: 100svh; min-height: 560px; }
  body.home .slide { width: 82vw; }
}

/* Refined folding header: high-resolution logo, fixed navigation, linked comment */
body.home .header-inner { display: block; }
body.home .site-logo,
body.home .site-header.is-compact .site-logo {
  position: absolute;
  top: 24px;
  left: 0;
  width: 76px;
  height: 42px;
  overflow: visible;
  transition: none;
  transform-origin: top left;
}
body.home .site-logo img { object-fit: contain; }
body.home .site-header nav {
  position: absolute;
  top: 45px;
  right: 0;
  transform: translateY(-50%);
  margin: 0;
}
.hero-comment { color: #1d3759; transition: none; }
body.home .hero-carousel { position: fixed; z-index: 0; }
body.home .hero-carousel.is-released { position: absolute; }
@media (max-width: 760px) {
  body.home .site-logo, body.home .site-header.is-compact .site-logo { top: 16px; width: 70px; height: 40px; }
  body.home .site-header nav { top: 36px; }
}

/* Keep header controls at the top from the first frame. */
body.home .site-header { display: block; }
body.home .site-logo,
body.home .site-header.is-compact .site-logo { height: auto; }
body.home .hero-carousel.is-released { position: fixed; }
@media (min-width: 761px) {
  body.home .site-logo,
  body.home .site-header.is-compact .site-logo { top: 20px; }
}

/* Lower, lighter carousel field */
body.home .site-header {
  background: rgba(247, 247, 245, .34);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
body.home .hero-carousel {
  top: 90px;
  bottom: auto;
  height: 70svh;
}
body.home .slide { width: 62vw; }
.hero-comment { color: #005a76; }
@media (max-width: 760px) {
  body.home .hero-carousel { top: 72px; height: 70svh; }
  body.home .slide { width: 72vw; }
}

/* Show each source image in full, with neighbouring slides in the side space. */
body.home .site-header { background: rgba(247, 247, 245, .51); }
body.home .hero-carousel { height: 60svh; }
body.home .slide {
  top: 0;
  bottom: auto;
  width: 52vw;
  height: 60svh;
}
body.home .slide img { object-fit: contain; background: var(--paper); }
@media (max-width: 760px) {
  body.home .hero-carousel { height: 60svh; }
  body.home .slide { width: 76vw; height: 60svh; }
}

/* Restore the full-bleed carousel while controlling its height. */
body.home .hero-carousel { height: 70svh; }
body.home .slide { width: 62vw; height: 70svh; }
body.home .slide img { object-fit: cover; background: transparent; }
@media (max-width: 760px) {
  body.home .hero-carousel { height: 70svh; }
  body.home .slide { width: 72vw; height: 70svh; }
}

/* Match the opening section to the photo field; keep carousel controls on the image. */
body.home .hero { height: calc(80svh + 90px); min-height: 0; }
body.home .hero-carousel { height: 80svh; }
body.home .carousel-controls { right: 1.5rem; bottom: 1.35rem; z-index: 6; }
body.home .slide { height: 80svh; }
@media (max-width: 760px) {
  body.home .hero { height: calc(80svh + 72px); }
  body.home .hero-carousel { height: 80svh; }
  body.home .slide { height: 80svh; }
}

/* Pin the controls to the lower-right corner of the visible photo field. */
body.home .hero {
  height: calc(80svh + 90px);
  padding: 0;
  margin: 0;
  overflow: hidden;
}
body.home .carousel-controls {
  position: absolute;
  top: calc(80svh - 56px);
  right: 1.5rem;
  bottom: auto;
}
@media (max-width: 760px) {
  body.home .hero { height: calc(80svh + 72px); }
  body.home .carousel-controls { top: calc(80svh - 52px); right: 1rem; }
}

.work-project {
  margin: -.25rem 0 1.1rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.work-type {
  margin: 0 0 .55rem;
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .12em;
}
.work-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: clamp(4rem, 7vw, 6rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
  border-top: 1px solid var(--line);
}
.work-overview > div { padding: 1.4rem 1.2rem; border-top: 1px solid var(--line); }
.work-overview h2 { margin-bottom: .8rem; font-size: 1.35rem; }
.work-overview p:last-child { font-size: .92rem; line-height: 1.75; }
@media (max-width: 760px) { .work-overview { grid-template-columns: 1fr; } }

/* Bring the Home statement and case section closer to the opening image. */
body.home .statement { padding-top: clamp(3rem, 5vw, 4.5rem); padding-bottom: clamp(3rem, 5vw, 4.5rem); }
body.home .works { padding-top: clamp(3.25rem, 5vw, 4.75rem); padding-bottom: clamp(4.5rem, 7vw, 6.5rem); }

/* Keep both STONE STORY photos recognisable as horizontal scenes. */
body.home .work-card-reverse .work-images {
  min-height: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
body.home .work-card-reverse .work-images img:first-child,
body.home .work-card-reverse .work-images img:last-child {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  align-self: auto;
  object-fit: cover;
}
@media (max-width: 760px) {
  body.home .statement { padding-top: 2.75rem; padding-bottom: 2.75rem; }
  body.home .works { padding-top: 3rem; }
}

/* Content following the opening scene always sits above the fixed carousel. */
body.home .statement,
body.home .works {
  position: relative;
  z-index: 2;
}

.projects-heading {
  display: grid;
  grid-template-columns: minmax(180px, .75fr) minmax(280px, 1.25fr);
  align-items: end;
  gap: clamp(2rem, 8vw, 9rem);
}
.projects-intro { max-width: 34rem; }
.projects-intro h3 { margin-bottom: .7rem; font-size: clamp(1.15rem, 1.8vw, 1.6rem); }
.projects-intro p { font-size: .93rem; line-height: 1.8; }
@media (max-width: 760px) {
  .projects-heading { grid-template-columns: 1fr; gap: 1.35rem; }
}

/* Align the Projects title and its supporting statement as one header row. */
.projects-heading {
  grid-template-columns: fit-content(220px) minmax(0, 34rem);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 4rem);
}

/* Seat the Projects header directly above the first project divider. */
body.home .projects-heading { margin-bottom: 1rem; }

/* STONE STORY: two horizontal scenes with a staggered vertical rhythm. */
body.home .work-card-reverse .work-images {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1rem, 2vw, 1.8rem);
  min-height: 0;
}
body.home .work-card-reverse .work-images img:first-child {
  width: 82%;
  height: auto;
  aspect-ratio: 16 / 9;
}
body.home .work-card-reverse .work-images img:last-child {
  width: 62%;
  height: auto;
  margin-left: auto;
  aspect-ratio: 16 / 10;
}
@media (max-width: 760px) {
  body.home .work-card-reverse .work-images img:first-child { width: 100%; }
  body.home .work-card-reverse .work-images img:last-child { width: 78%; }
}

body.home .work-card-reverse .work-images img:first-child { width: 98%; }
body.home .work-card-reverse .work-images img:last-child { width: 74%; }
@media (max-width: 760px) {
  body.home .work-card-reverse .work-images img:first-child { width: 100%; }
  body.home .work-card-reverse .work-images img:last-child { width: 94%; }
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--navy);
}
.instagram-link svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.instagram-link .instagram-dot { fill: currentColor; stroke: none; }

/* Reserve the header-folding scroll distance before Projects starts moving. */
body.home .works { margin-top: 420px; }

/* Minimal centred footer */
.site-footer {
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 4rem 1.5rem 2.5rem;
  text-align: center;
  gap: .8rem;
}
.footer-logo { width: 118px; height: 72px; margin-bottom: .5rem; }
.footer-policy { color: var(--muted); font-size: .75rem; }
.footer-copyright { color: var(--muted); font-size: .7rem; }


/* Footer: brand, operator, policy, copyright */
.site-footer {
  gap: 0;
}
.site-footer .footer-logo {
  margin: 0 0 1.35rem;
}
.site-footer > p {
  margin: 0;
}
.site-footer > p:not(.footer-copyright) {
  color: var(--ink);
  font-size: .82rem;
  letter-spacing: .06em;
}
.footer-policy {
  display: inline-block;
  margin-top: 1.8rem;
}
.footer-copyright {
  margin-top: .55rem !important;
  letter-spacing: .025em;
}
