:root {
  --ink: #27382e;
  --ink-soft: #3c4d42;
  --paper: #f4f2eb;
  --sand: #e6e8df;
  --muted: #4e584c;
  --line: #d5d7cc;
  --white: #fffcf6;
  --header: 100px;
  --measure: 68ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
html:has(body.home) { scroll-padding-top: 112px; }
body.pac:not(.home):not(.flatpac-page) { padding-top: var(--header); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: Manrope, "Segoe UI", sans-serif; font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; }
p { margin: 0 0 1rem; }
.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  z-index: 20;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: var(--header);
  min-height: var(--header);
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
  padding: 0 4%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: background-color 0.35s ease, border-color 0.35s ease, height 0.35s ease, color 0.35s ease;
}
body.admin-bar .site-header { top: 32px; }
body.home .site-header {
  height: 100px;
  background: transparent;
  border-bottom-color: transparent;
  color: #fff;
}
body.home .site-header.is-scrolled,
body.home .site-header.is-open {
  height: 100px;
  background: #fff;
  border-bottom-color: var(--line);
  color: var(--ink);
}
.logo { display: flex; align-items: center; flex: 0 0 auto; align-self: center; padding: 0; height: 100%; }
.site-header .logo { height: 100%; }
.footer-brand .logo { height: auto; align-self: flex-start; }
.site-header .logo-img { width: auto; height: 96px; }
.site-footer .logo-img { width: 158px; height: auto; }
.logo-light { display: none; }
body.home .site-header:not(.is-scrolled):not(.is-open) .logo-ink { display: none; }
body.home .site-header:not(.is-scrolled):not(.is-open) .logo-light { display: block; }
.nav-toggle {
  display: none;
  align-self: center;
  min-height: 44px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid var(--ink);
}
.site-nav { display: flex; align-items: stretch; flex: 1; min-width: 0; }
.nav-list {
  display: flex;
  align-items: stretch;
  gap: 22px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list > li { display: flex; align-items: center; }
.nav-list a {
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.01em;
}
.nav-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-list .current-menu-item > a { text-decoration: underline; text-underline-offset: 4px; }
.nav-list .menu-flatpac { margin-left: auto; align-items: center; }
.nav-list .menu-flatpac a {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 176px;
  height: 75px;
  min-height: 0;
  padding: 8px 16px;
  border: 1px solid #111;
  border-radius: 0;
  background-color: transparent;
  background-image: url("../images/flatpac/flatpac-logo.png"), linear-gradient(#e4e1da, #e4e1da);
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: 142px auto, auto;
  background-origin: content-box, border-box;
  background-clip: content-box, border-box;
  color: transparent;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  overflow: hidden;
}
.flatpac-nav-note { display: none; }
.nav-list .menu-flatpac a:hover,
.nav-list .menu-flatpac.current-menu-item > a {
  background-image: url("../images/flatpac/flatpac-logo.png"), linear-gradient(#d9d6cf, #d9d6cf);
  color: transparent;
  text-decoration: none;
}
.nav-list .menu-enquire { margin-left: 10px; }
.nav-list .menu-enquire a,
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 18px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border: 1px solid var(--ink);
  cursor: pointer;
}
.nav-list .menu-enquire a { min-height: 40px; padding: 0 14px; }
body.home .site-header:not(.is-scrolled):not(.is-open) .nav-list a { color: #fff; }
body.home .site-header:not(.is-scrolled):not(.is-open) .nav-list .menu-flatpac a,
body.home .site-header:not(.is-scrolled):not(.is-open) .nav-list .menu-flatpac a:hover {
  color: transparent;
}
body.home .site-header:not(.is-scrolled):not(.is-open) .menu-enquire a {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 252, 246, 0.85);
}
body.home .site-header .menu-flatpac { align-items: center; }
body.home .site-header .menu-flatpac a,
body.home .site-header .menu-flatpac a:hover {
  align-self: center;
  width: 176px;
  height: 75px;
  padding: 8px 16px;
  background-size: 142px auto, auto;
}
body.home .site-header:not(.is-scrolled):not(.is-open) .nav-toggle { color: #fff; border-color: #fff; }
.btn.light { background: var(--paper); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  font-size: 15px;
}
.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  color: var(--muted);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: #1c2822;
  overflow: hidden;
}
.hero-slides, .hero-shade { position: absolute; inset: 0; }
.hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero-slides img.is-active { opacity: 1; }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(16, 24, 20, 0.78), rgba(16, 24, 20, 0.28) 58%, rgba(16, 24, 20, 0.18)),
    linear-gradient(0deg, rgba(16, 24, 20, 0.45), transparent 55%);
}
.hero-copy { position: relative; padding: 64px 6% 108px; max-width: 980px; }
.hero .eyebrow { color: #efece3; }
.hero h1 { font-size: clamp(36px, 4.2vw, 56px); margin: 0 0 18px; max-width: 14em; }
.hero-line { display: block; }
.hero-copy p { max-width: 42ch; font-size: 18px; }
.hero-support-short { display: none; }
.hero-controls {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.hero-dots { display: flex; gap: 8px; }
.hero-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--white);
  background: transparent;
}
.hero-dots button[aria-selected="true"] { background: var(--white); }
.hero-pause {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 252, 246, 0.7);
  min-height: 40px;
  padding: 0 12px;
}

.strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 16px 6%;
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
}
.strip span:first-child { justify-self: start; }
.strip-made { justify-self: center; text-align: center; }
.strip span:last-child { justify-self: end; text-align: right; }
.section { padding: 52px 6%; }
.intro { padding-top: 36px; padding-bottom: 8px; text-align: center; }
.intro .entry { margin-left: auto; margin-right: auto; }
.work-home { padding-top: 28px; }
.intro {
  display: grid;
  grid-template-columns: 0.7fr 1.6fr;
  gap: 40px;
}
.intro { display: block; }
.intro h2, .entry h2, .section-head h2 { font-size: clamp(28px, 3.2vw, 44px); margin: 0 0 12px; }
.entry { max-width: var(--measure); }
.entry > *:first-child { margin-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 20px; }
.feature-grid, .work-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }
.feature-lead { grid-row: span 2; }
.project-card a { text-decoration: none; display: block; }
.project-card img { width: 100%; height: 320px; object-fit: cover; object-position: center 40%; }
.feature-lead img { height: 560px; object-position: center 45%; }
.caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-top: 12px;
}
.caption strong, .caption em { display: block; font-style: normal; }
.caption em { color: var(--muted); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }
.services {
  border-top: 1px solid var(--line);
  padding-top: 40px;
  padding-bottom: 44px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.services h2 { font-size: 28px; margin: 0 0 10px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 44px); }
.services p { color: var(--ink-soft); }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; background: var(--sand); }
.split-media { min-height: 460px; background: #c9cdc2; }
.split-media img { width: 100%; height: 100%; object-fit: cover; min-height: 460px; }
.split-copy { padding: 72px 8%; display: flex; flex-direction: column; justify-content: center; }
.split-copy h2 { font-size: clamp(32px, 4vw, 48px); margin: 0 0 16px; }
.flatpac {
  display: grid;
  grid-template-columns: minmax(200px, 0.7fr) 1.3fr;
  gap: 28px 36px;
  align-items: center;
  margin: 0 6% 48px;
  padding: 28px 36px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--ink);
}
.flatpac-kicker { margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; }
.flatpac-kicker a { text-decoration: none; border-bottom: 1px solid currentColor; }
.flatpac-mark {
  margin: 0;
  line-height: 0;
}
.flatpac-mark img {
  width: auto;
  height: 96px;
  max-width: 100%;
}
.flatpac-tag { margin: 0; text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; color: var(--muted); }
.flatpac h2 { font-size: clamp(28px, 3vw, 40px); margin: 0 0 10px; max-width: 16em; }
.flatpac p { max-width: 62ch; margin-bottom: 16px; }
.flatpac .eyebrow { margin-bottom: 8px; }
.flatpac-page-hero { padding: 64px 6% 8px; max-width: 980px; }
.flatpac-actions .btn-row { justify-content: center; }
.process { padding-top: 44px; padding-bottom: 48px; }
.process-head { margin-bottom: 28px; }
.process-head h2 { font-size: clamp(28px, 3.2vw, 44px); margin: 0; }
.journey {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.journey li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 16px;
  position: relative;
  padding: 0 0 22px;
}
.journey li::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 40px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.journey li:last-child { padding-bottom: 0; }
.journey li:last-child::before { display: none; }
.journey li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: 6px;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--ink-soft);
  border-bottom: 1px solid var(--ink-soft);
  transform: rotate(45deg);
}
.journey-num {
  grid-row: 1 / span 2;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.journey h3 { margin: 8px 0 4px; font-size: 20px; }
.journey p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.45; }
.contact-close, .enquire-band, .visit-note, .flatpac-actions {
  text-align: center;
  background: var(--sand);
  padding: 80px 6%;
}
.contact-close h2, .enquire-band h2, .visit-note p, .flatpac-actions h2 {
  font-size: clamp(36px, 5vw, 64px);
  margin: 0 0 16px;
}
.visit-note p { font-size: clamp(28px, 4vw, 44px); max-width: 18ch; margin-left: auto; margin-right: auto; }
.contact-lines { color: var(--muted); }
.page-hero { padding: 72px 6% 10px; max-width: 980px; }
body:has(.contact-panel) .page-hero { padding: 40px 6% 0; }
.entry-wrap:has(+ .contact-panel) { padding-top: 8px; padding-bottom: 0; }
.contact-panel { padding-top: 8px; }
.page-hero h1 { font-size: clamp(42px, 6vw, 76px); margin: 0 0 12px; }
.lede { font-size: 20px; max-width: 46ch; color: var(--ink-soft); }
.entry-wrap { padding-top: 20px; }
.entry h2 { margin-top: 1.6em; }
.entry ul, .entry ol { padding-left: 1.2em; }
.entry li { margin: 0.35em 0; }
.entry img { margin: 1.2em 0; }
.work-intro { padding: 16px 4% 0; }
.work-intro .eyebrow { margin: 0 0 8px; }
.work-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.75fr);
  gap: 16px 32px;
  align-items: end;
}
.work-intro h1 { font-size: clamp(48px, 5.6vw, 78px); margin: 0; line-height: 0.92; }
.work-intro-grid p { margin: 0 0 8px; justify-self: end; max-width: 24ch; color: var(--ink-soft); font-size: 16px; line-height: 1.4; }
.work-filters { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 16px 4% 18px; }
.work-filters a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}
.work-filters a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.work-list {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 26px 14px;
  padding: 0 4% 8px;
}
.work-tile { min-width: 0; grid-column: span 5; }
.work-tile.work-slot-0 { grid-column: span 6; }
.work-tile.work-slot-1 { grid-column: span 4; }
.work-tile.work-slot-2 { grid-column: span 4; }
.work-tile.work-slot-3 { grid-column: span 6; }
.work-tile.is-solo { grid-column: 1 / -1; }
.work-tile a { display: block; text-decoration: none; color: inherit; }
.work-photo { display: block; overflow: hidden; background: var(--sand); }
.work-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform 0.45s ease; }
.work-slot-0 .work-photo { aspect-ratio: 8 / 5; }
.work-slot-1 .work-photo { aspect-ratio: 16 / 15; }
.work-slot-2 .work-photo { aspect-ratio: 16 / 15; }
.work-slot-3 .work-photo { aspect-ratio: 8 / 5; }
.work-slot-4 .work-photo, .work-slot-5 .work-photo { aspect-ratio: 3 / 2; }
.work-tile.is-solo .work-photo { aspect-ratio: 16 / 8; }
.work-tile a:hover img { transform: scale(1.03); }
.work-label { display: block; padding-top: 10px; }
.work-name-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.work-name-row strong { font-family: Manrope, "Segoe UI", sans-serif; font-weight: 500; font-size: 20px; letter-spacing: -0.03em; }
.work-arrow { flex: 0 0 auto; transition: transform 0.2s ease; }
.work-tile a:hover .work-arrow { transform: translateX(4px); }
.work-cat { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.work-close {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 4% 8px;
  padding: 16px 22px;
  background: #e4e7dc;
}
.work-close h2 { margin: 0; font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; letter-spacing: -0.03em; }
.work-close .btn { min-height: 40px; padding: 0 14px; }
.work-page .pager { padding: 0 4% 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 6% 0; }
.filters a {
  text-decoration: none;
  border: 1px solid var(--line);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
}
.filters a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.work-grid { grid-template-columns: repeat(3, 1fr); }
.work-grid .project-card img, .feature-grid .project-card:not(.feature-lead) img { height: 280px; }
.project-intro { padding: 16px 4% 0; max-width: none; }
.project-back { margin: 0 0 12px; font-size: 14px; }
.project-back a { text-decoration: none; }
.project-back a:hover { text-decoration: underline; }
.project-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 18px 40px;
  align-items: end;
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.project-intro .eyebrow { margin: 0 0 6px; font-size: 11px; letter-spacing: 0.16em; }
.project-intro h1 { font-size: clamp(42px, 4.8vw, 68px); margin: 0; line-height: 0.95; }
.project-intro .entry { justify-self: end; max-width: 36ch; color: var(--ink-soft); font-size: 15px; line-height: 1.45; }
.project-intro .entry p { margin: 0 0 0.45rem; }
.project-intro .entry p:last-child { margin-bottom: 0; }
.project-photos { display: grid; gap: 10px; padding: 0 4% 4px; }
.project-view-row { display: flex; justify-content: flex-end; margin: -4px 0 0; }
.project-view { background: none; border: 0; padding: 2px 0 4px; color: var(--muted); font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.project-row { display: grid; gap: 10px; min-width: 0; }
.project-row.is-pair { grid-template-columns: 1fr 1fr; aspect-ratio: 2.55 / 1; }
.project-row.is-split { grid-template-columns: 3fr 2fr; aspect-ratio: 2.35 / 1; }
.project-row.is-split-flip { grid-template-columns: 2fr 3fr; aspect-ratio: 2.35 / 1; }
.project-shot { position: relative; margin: 0; min-width: 0; height: 100%; }
.project-shot a { position: relative; display: block; height: 100%; background: var(--sand); }
.project-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.project-shot.is-wide { height: auto; }
.project-shot.is-wide img { height: auto; aspect-ratio: 2.05 / 1; }
.project-shot figcaption { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.project-expand {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 28px;
  height: 28px;
  background: rgba(255, 252, 246, 0.92) center / 14px 14px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2327382e' stroke-width='1.4'%3E%3Cpath d='M6 2H2v4M10 2h4v4M14 10v4h-4M2 10v4h4'/%3E%3C/svg%3E");
  pointer-events: none;
}
.project-close {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 4% 0;
  padding: 16px 22px;
  background: #e4e7dc;
}
.project-close h2 { margin: 0; font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; letter-spacing: -0.03em; }
.project-close .btn { min-height: 40px; padding: 0 14px; }
.project-pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0 4%;
  padding: 14px 0 18px;
  border-bottom: 1px solid var(--line);
}
.project-pager a { text-decoration: none; font-size: 15px; }
.project-pager a:hover { text-decoration: underline; }
.empty-note, .pager { margin-top: 24px; }
.site-footer { padding: 48px 6% 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 24px; align-items: stretch; }
.footer-brand { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; height: 100%; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer address { font-style: normal; }
.footer-legal { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.contact-panel {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 40px;
  padding: 20px 6% 80px;
  align-items: start;
}
.contact-reach ul, .contact-place { list-style: none; padding: 0; }
.contact-reach ul { margin: 0; }
.contact-reach a, .contact-place a { text-decoration: none; border-bottom: 1px solid currentColor; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.fields .full { grid-column: 1 / -1; }
.fields label { display: block; font-size: 14px; margin-bottom: 6px; }
.fields input, .fields select, .fields textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid #c4c8bb;
  padding: 12px;
  border-radius: 0;
}
.fields small, .fine { color: var(--muted); font-size: 13px; }
.form-errors, .form-success { background: var(--white); border: 1px solid var(--line); padding: 16px 18px; margin-bottom: 18px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.lightbox { border: 0; padding: 0; background: #141b17; color: #fff; }
.lightbox[open] {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 12px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  grid-template-rows: auto minmax(0, 1fr);
  align-items: center;
  box-sizing: border-box;
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.9); }
.lightbox-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; }
.lightbox-count { margin: 0; font-size: 14px; letter-spacing: 0.04em; }
.lightbox-stage { grid-column: 2; grid-row: 2; min-width: 0; min-height: 0; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.lightbox img { width: auto; max-width: 100%; height: auto; max-height: calc(100vh - 140px); object-fit: contain; }
.lightbox-caption { margin: 0; text-align: center; font-size: 14px; line-height: 1.4; }
.lightbox-close, .lightbox-prev, .lightbox-next { cursor: pointer; }
.lightbox-close { background: #fff; color: var(--ink); border: 0; min-height: 44px; padding: 0 14px; }
.lightbox-prev { grid-column: 1; grid-row: 2; }
.lightbox-next { grid-column: 3; grid-row: 2; }
.lightbox-prev, .lightbox-next {
  justify-self: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 252, 246, 0.45);
  font-size: 32px;
  line-height: 1;
}
:focus-visible { outline: 3px solid #6d5428; outline-offset: 3px; }

@media (min-width: 1120px) {
  .journey {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0 18px;
  }
  .journey li {
    display: block;
    padding: 0 16px 0 0;
  }
  .journey li::before {
    left: 48px;
    right: -18px;
    top: 21px;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .journey li:not(:last-child)::after {
    left: auto;
    right: -14px;
    bottom: auto;
    top: 18px;
    border-bottom: 0;
    border-top: 1px solid var(--ink-soft);
    transform: rotate(45deg);
  }
  .journey-num { margin-bottom: 14px; }
  .journey h3 { margin: 0 0 6px; font-size: 18px; }
}
@media (max-width: 980px) {
  .split, .contact-panel, .footer-grid { grid-template-columns: 1fr; }
  .feature-grid, .work-grid, .service-grid, .flatpac { grid-template-columns: 1fr; }
  .feature-lead { grid-row: auto; }
  .feature-lead img, .project-card img, .work-grid .project-card img { height: 280px; }
  .project-copy { position: static; }
  .footer-grid { gap: 8px; }
}
@media (max-width: 760px) {
  :root { --header: 88px; }
  body.admin-bar .site-header { top: 46px; }
  .site-header,
  body.home .site-header,
  body.home .site-header.is-scrolled,
  body.home .site-header.is-open { height: 88px; }
  .site-header .logo-img,
  body.home .site-header .logo-img,
  body.home .site-header:not(.is-scrolled):not(.is-open) .logo-img { height: 84px; }
  html:has(body.home) { scroll-padding-top: 100px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 6% 18px;
  }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 8px; }
  .nav-list a, .nav-list .menu-enquire a { display: flex; min-height: 48px; align-items: center; justify-content: center; }
  .site-header .nav-list .menu-flatpac,
  body.home .site-header .nav-list .menu-flatpac {
    align-items: stretch;
    width: 100%;
    margin: 10px 0 0;
    order: 2;
  }
  .site-header .nav-list .menu-flatpac a,
  .site-header .nav-list .menu-flatpac a:hover,
  body.home .site-header .nav-list .menu-flatpac a,
  body.home .site-header .nav-list .menu-flatpac a:hover,
  body.home .site-header.is-open .nav-list .menu-flatpac a,
  body.home .site-header.is-scrolled .nav-list .menu-flatpac a {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    height: auto;
    min-height: 48px;
    margin: 0;
    padding: 16px 18px 18px;
    border: 1px solid #111;
    border-radius: 0;
    background: #e4e1da;
    color: var(--ink);
    overflow: visible;
    text-decoration: none;
  }
  .site-header .nav-list .menu-flatpac a::before,
  body.home .site-header .nav-list .menu-flatpac a::before {
    content: "";
    display: block;
    width: min(188px, 78%);
    aspect-ratio: 1024 / 348;
    flex: 0 0 auto;
    background: url("../images/flatpac/flatpac-logo.png") center / contain no-repeat;
  }
  .nav-list .menu-flatpac .flatpac-nav-name {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .site-header .nav-list .menu-flatpac .flatpac-nav-note {
    display: block;
    position: static;
    width: auto;
    height: auto;
    max-width: 28ch;
    margin: 0;
    padding: 0;
    overflow: visible;
    clip: auto;
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0;
    text-align: center;
    white-space: normal;
  }
  .nav-list .menu-enquire { order: 1; margin: 8px 0 0; }
  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    align-items: flex-end;
    padding-top: 0;
  }
  .hero-shade {
    background: linear-gradient(180deg, rgba(16, 24, 20, 0.12) 0%, rgba(16, 24, 20, 0.08) 42%, rgba(16, 24, 20, 0.62) 78%, rgba(16, 24, 20, 0.78) 100%);
  }
  .hero-copy { padding: 0 22px 68px; }
  .hero .eyebrow { margin-bottom: 8px; }
  .hero h1 { font-size: 32px; line-height: 1.08; letter-spacing: -0.03em; max-width: 11em; margin-bottom: 8px; }
  .hero-support-long { display: none; }
  .hero-support-short { display: block; font-size: 15px; line-height: 1.35; margin-bottom: 12px; max-width: 32ch; }
  .hero-controls { left: 22px; right: 22px; bottom: 14px; }
  .hero-pause {
    min-height: 44px;
    padding: 0 4px;
    border-color: transparent;
    background: transparent;
    color: rgba(255, 252, 246, 0.82);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.01em;
  }
  .flatpac { margin: 0 0 28px; padding: 24px 22px; }
  .flatpac-mark img { height: 72px; }
  .strip { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 8px; padding: 14px 6%; }
  .strip span:first-child, .strip-made, .strip span:last-child { justify-self: center; text-align: center; }
  .section { padding: 36px 6%; }
  .intro { padding-top: 28px; padding-bottom: 4px; }
  .work-home { padding-top: 20px; }
  .process { padding-top: 16px; padding-bottom: 32px; }
  .feature-grid, .work-grid, .service-grid, .fields { grid-template-columns: 1fr; }
  .services { padding-top: 28px; padding-bottom: 4px; }
  .services .section-head { margin-bottom: 14px; }
  .service-grid { gap: 16px; }
  .services article h2 { margin-bottom: 4px; }
  .services article p { margin-bottom: 0; }
  body:has(.contact-panel) .page-hero { padding: 8px 6% 0; }
  body:has(.contact-panel) .page-hero .eyebrow { margin-bottom: 4px; }
  body:has(.contact-panel) .page-hero h1 { font-size: 34px; margin-bottom: 4px; }
  body:has(.contact-panel) .lede { font-size: 15px; line-height: 1.35; margin: 0; max-width: 34ch; }
  .entry-wrap:has(+ .contact-panel) { display: none; }
  .contact-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 12px 6% 56px;
  }
  .contact-details { display: contents; }
  .contact-reach { order: 1; }
  .contact-form-wrap { order: 2; }
  .contact-place { order: 3; }
  .contact-reach h2 { font-size: 18px; margin: 0 0 2px; }
  .contact-reach li { margin: 0; }
  .contact-reach a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
  .contact-place p { margin: 0 0 8px; font-size: 15px; line-height: 1.4; }
  .footer-base { flex-direction: column; }
}
@media (max-width: 430px) {
  .hero h1 { font-size: 28px; max-width: none; }
  .hero .eyebrow { letter-spacing: 0.08em; font-size: 11px; }
}
.fp-hero {
  position: relative;
  min-height: min(820px, calc(100vh - var(--header)));
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.fp-hero-media, .fp-hero-shade { position: absolute; inset: 0; }
.fp-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.fp-hero-shade { background: linear-gradient(180deg, rgba(16, 22, 19, 0.18) 0%, rgba(16, 22, 19, 0.78) 100%); }
.fp-hero-copy { position: relative; z-index: 1; padding: 72px 6% 56px; max-width: 920px; }
.fp-back { margin: 0 0 18px; }
.fp-back a { color: inherit; text-underline-offset: 4px; }
.fp-wordmark {
  margin: 0 0 10px;
  font-family: Manrope, sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
  line-height: 1;
}
.fp-wordmark span { display: block; margin-top: 6px; font-size: 0.42em; font-weight: 600; letter-spacing: 0; }
.fp-logo { width: auto; max-width: 280px; max-height: 88px; margin-bottom: 12px; object-fit: contain; }
.fp-hero h1 { font-size: clamp(40px, 5.4vw, 68px); max-width: 12em; margin: 8px 0 14px; }
.fp-hero .fp-hero-copy > p { max-width: 46ch; font-size: 18px; }
.fp-note { font-size: 14px; }
.fp-page .fp-login { background: transparent; color: var(--white); border-color: var(--white); }
.fp-page .btn { height: auto; white-space: normal; text-align: left; padding-top: 12px; padding-bottom: 12px; }
.fp-band, .fp-section, .fp-close { padding: 72px 6%; }
.fp-band { background: var(--fp-accent, var(--ink)); color: var(--paper); }
.fp-band h2, .fp-section h2, .fp-close h2 { font-size: clamp(32px, 4vw, 48px); margin: 0 0 24px; max-width: 16em; }
.fp-cards, .fp-people, .fp-steps ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 24px; }
.fp-cards h3, .fp-people h3, .fp-steps h3 { margin: 0 0 8px; font-size: 22px; }
.fp-people article { border-top: 2px solid var(--fp-accent, var(--ink)); padding-top: 14px; }
.fp-steps span { display: block; margin-bottom: 8px; font-family: Manrope, sans-serif; font-weight: 700; color: var(--fp-accent, var(--ink)); }
.fp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.fp-split h3 { margin-top: 0; }
.fp-brands, .fp-prose, .fp-faqs p, .fp-close p { max-width: 68ch; }
.fp-photo-note { font-size: 13px; max-width: 42ch; opacity: 0.9; }
.fp-player { margin-top: 28px; max-width: 920px; }
.fp-player video { width: 100%; height: auto; background: #141b17; }
.fp-player-caption { color: var(--muted); font-size: 14px; }
.fp-playlist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.fp-playlist button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}
.fp-playlist button[aria-current="true"] { background: var(--fp-accent, var(--ink)); color: var(--paper); border-color: var(--fp-accent, var(--ink)); }
.fp-shot { margin: 0; }
.fp-shot img { width: min(920px, 100%); height: auto; background: #141b17; }
.fp-shot figcaption, .fp-videos figcaption { max-width: 62ch; color: var(--muted); font-size: 14px; margin-top: 8px; }
.fp-videos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.fp-frame { position: relative; padding-top: 56.25%; background: #141b17; }
.fp-frame iframe, .fp-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fp-faqs details { border-top: 1px solid var(--line); padding: 14px 0; }
.fp-faqs details:last-child { border-bottom: 1px solid var(--line); }
.fp-faqs summary { cursor: pointer; font-weight: 700; }
.fp-close { background: var(--sand); }
.fp-close .fp-wordmark { font-size: 28px; }

@media (max-width: 980px) {
  .fp-cards, .fp-people, .fp-steps ol { grid-template-columns: 1fr 1fr; }
  .fp-split, .fp-videos { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .fp-cards, .fp-people, .fp-steps ol, .fp-split { grid-template-columns: 1fr; }
  .fp-hero { min-height: 640px; }
  .fp-hero-copy, .fp-band, .fp-section, .fp-close { padding-left: 6%; padding-right: 6%; }
  .fp-hero-copy { padding-top: 36px; padding-bottom: 36px; }
  .fp-band, .fp-section, .fp-close { padding-top: 56px; padding-bottom: 56px; }
}
@media (max-width: 760px) {
  body.single-project main { overflow-x: clip; }
  .project-intro { padding: 14px 4% 0; }
  .project-intro h1 { font-size: clamp(34px, 9vw, 46px); }
  .project-intro-grid { grid-template-columns: 1fr; gap: 10px; align-items: start; }
  .project-intro .entry { justify-self: start; max-width: none; }
  .project-photos { gap: 8px; }
  .project-row.is-pair,
  .project-row.is-split,
  .project-row.is-split-flip { grid-template-columns: 1fr; aspect-ratio: auto; }
  .project-shot, .project-shot a, .project-shot img, .project-shot.is-wide img { height: auto; aspect-ratio: auto; object-fit: contain; }
  .project-close { flex-direction: column; align-items: flex-start; margin: 12px 4% 0; padding: 16px; }
  .project-pager { flex-direction: column; align-items: flex-start; gap: 12px; }
  .work-page { overflow-x: clip; }
  .work-intro { padding: 14px 4% 0; }
  .work-intro h1 { font-size: clamp(40px, 12vw, 56px); }
  .work-intro-grid { grid-template-columns: 1fr; gap: 8px; }
  .work-intro-grid p { justify-self: start; margin: 0; max-width: none; }
  .work-filters { gap: 8px 16px; padding-top: 14px; }
  .work-list { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .work-tile.work-slot-0,
  .work-tile.work-slot-1,
  .work-tile.work-slot-2,
  .work-tile.work-slot-3,
  .work-tile.work-slot-4,
  .work-tile.work-slot-5,
  .work-tile.is-solo { grid-column: 1 / -1; }
  .work-slot-0 .work-photo,
  .work-slot-1 .work-photo,
  .work-slot-2 .work-photo,
  .work-slot-3 .work-photo,
  .work-slot-4 .work-photo,
  .work-slot-5 .work-photo,
  .work-tile.is-solo .work-photo { aspect-ratio: 16 / 10; }
  .work-photo img { object-position: center 50%; }
  .work-close { flex-direction: column; align-items: flex-start; margin: 16px 4% 8px; padding: 16px; }
  .lightbox[open] {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto;
    padding: 10px 10px 14px;
  }
  .lightbox-stage { grid-column: 1 / -1; grid-row: 2; }
  .lightbox-prev { grid-column: 1; grid-row: 3; justify-self: start; }
  .lightbox-next { grid-column: 2; grid-row: 3; justify-self: end; }
  .lightbox img { max-height: calc(100vh - 168px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slides img, .site-header, .work-photo img, .work-arrow { transition: none; }
}
