:root {
  --navy: #122D5A;
  --navy-deep: #0C1F40;
  --green: #0B9A5B;
  --green-ink: #07774A;
  --cream: #F4F1EC;
  --paper: #FBFAF7;
  --stone: #E7E2DA;
  --ink: #151B26;
  --ink-2: #4A5261;
  --line: rgba(18, 45, 90, .1);
  --display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: "Mulish", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; scrollbar-color: var(--navy) var(--cream); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); accent-color: var(--green); caret-color: var(--green); -webkit-font-smoothing: antialiased; }
::selection { background: var(--green); color: #fff; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 300; text-wrap: balance; }
p { margin: 0; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -64px; background: var(--navy); color: #fff; padding: 12px 16px; z-index: 50; }
.skip:focus { top: 16px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; font: 500 .8125rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.btn-green { background: var(--green-ink); color: #fff; }
.btn-green:hover { background: #fff; color: var(--navy); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--green-ink); }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: var(--cream); border-bottom: 1px solid rgba(18, 45, 90, .12); }
.head-row { display: flex; align-items: center; gap: 40px; height: 72px; padding: 0 var(--pad); }
.brand { margin-right: auto; display: flex; align-items: center; min-height: 48px; }
.brand img { height: 40px; width: auto; }
.head-nav { display: flex; gap: 40px; }
.head-nav a { font: 500 .8125rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding: 16px 0; }
.head-nav a:hover { color: var(--green-ink); }
.head-cta { min-height: 44px; padding: 0 20px; }

/* ---------- hero: navy half + photo half, wordmark switches colour at the seam ---------- */
.hero { position: relative; background: var(--navy); display: grid; grid-template-columns: 1fr 1fr; height: max(680px, min(900px, calc(100svh - 72px))); color: #fff; overflow: hidden; }
.hero-navy { background: var(--navy); }
.hero-photo { position: relative; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-inner { position: absolute; inset: 0; z-index: 2; padding: 0 var(--pad); display: flex; flex-direction: column; justify-content: center; }
.hero-word { margin: 0; }
.hw-hills { position: relative; display: block; font-weight: 200; text-transform: uppercase; font-size: 11.1vw; line-height: .9; letter-spacing: -0.005em; white-space: nowrap; }
.hw-layer { display: block; }
.hw-light { color: #fff; clip-path: inset(-10% 50% -10% -2%); }
.hw-dark { position: absolute; inset: 0; color: var(--navy); clip-path: inset(-10% -2% -10% 50%); }
.hw-tiling { display: flex; align-items: center; gap: 1.1vw; margin-top: 2vw; width: 44vw; }
.hw-t { font-weight: 800; font-size: 3.4vw; line-height: 1; letter-spacing: .32em; margin-right: -.32em; color: var(--green); text-transform: uppercase; }
.spear { flex: 1; height: .9vw; min-height: 6px; fill: var(--green); }
.lede { margin-top: 56px; max-width: calc(50% - 64px); font-size: 1.3125rem; line-height: 1.55; color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; max-width: calc(50% - 64px); }

/* letters settle in like tiles being laid */
.js .hw-hills .l { display: inline-block; opacity: 0; transform: translateY(.28em) rotate(-3deg); }
.js .spear-l { transform: scaleX(0); transform-origin: right center; }
.js .spear-r { transform: scaleX(0); transform-origin: left center; }
.js .hw-t, .js .hero .lede, .js .hero .actions { opacity: 0; transform: translateY(12px); }
.laid .hw-hills .l { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d) * 45ms); }
.laid .spear { transform: none; transition: transform 1.1s var(--ease) .55s; }
.laid .hw-t, .laid .hero .lede, .laid .hero .actions { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.laid .hw-t { transition-delay: .5s; }
.laid .hero .lede { transition-delay: .75s; }
.laid .hero .actions { transition-delay: .9s; }

/* intro */
.intro { padding: 136px 0 128px; }
.intro-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 80px; align-items: end; }
.intro h2 { font-size: clamp(2.25rem, 1.2rem + 3vw, 4.25rem); line-height: 1.05; letter-spacing: -0.03em; color: var(--navy); }
.intro-copy p { color: var(--ink-2); font-size: 1.125rem; max-width: 46ch; }
.intro-copy p + p { margin-top: 16px; }

/* shared giant service word */
.big-word { font: 200 clamp(4rem, 1rem + 11vw, 12rem)/.86 var(--display); text-transform: uppercase; letter-spacing: -0.02em; margin-left: -0.05em; }

/* bathrooms: split, navy panel beside a tall photo */
.split { display: grid; grid-template-columns: 45fr 55fr; min-height: max(680px, 92svh); background: var(--navy); color: #fff; }
.split-panel { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 96px var(--pad) 72px; }
.split .big-word { font-size: 9vw; }
.split h3 { font-weight: 500; font-size: 1.375rem; line-height: 1.25; }
.split-panel p:not(.big-word) { margin-top: 12px; max-width: 42ch; color: #fff; font-size: 1.0625rem; }
.split-photo { position: relative; overflow: hidden; }
.split-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }

/* kitchens: full-bleed band */
.band { position: relative; min-height: max(560px, 88svh); overflow: hidden; color: #fff; background: var(--navy-deep); display: flex; align-items: flex-end; }
.band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 31, 64, .82) 0%, rgba(12, 31, 64, .35) 40%, rgba(12, 31, 64, 0) 70%); }
.band-copy { position: relative; z-index: 1; padding: 0 var(--pad) 64px; width: 100%; text-align: right; }
.band h3 { margin-top: 24px; font-weight: 500; font-size: 1.375rem; line-height: 1.25; }
.band-copy p:last-child { margin: 8px 0 0 auto; max-width: 46ch; color: #fff; font-size: 1.0625rem; }

.reveal-on .band .band-img, .reveal-on .split .split-photo img { transform: scale(1.08); transition: transform 1.6s var(--ease); }
.reveal-on .band.in .band-img, .reveal-on .split.in .split-photo img { transform: none; }

/* floors + outdoors: drag strip */
.strip { padding: 128px 0 112px; background: var(--cream); overflow: hidden; }
.strip-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; padding: 0 var(--pad); max-width: 1360px; margin: 0 auto; }
.strip .big-word { color: var(--navy); font-size: clamp(3.5rem, 1rem + 7.4vw, 8.5rem); }
.strip h3 { font-weight: 500; font-size: 1.375rem; line-height: 1.25; color: var(--ink); }
.strip-copy p { margin-top: 12px; color: var(--ink-2); font-size: 1.0625rem; max-width: 44ch; }
.strip-nav { display: flex; gap: 8px; margin-top: 32px; }
.strip-btn { width: 56px; height: 56px; display: grid; place-items: center; background: transparent; border: 1px solid rgba(18, 45, 90, .35); color: var(--navy); cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease); }
.strip-btn:hover { background: var(--navy); color: #fff; }
.strip-track { display: flex; gap: 16px; margin-top: 80px; padding: 0 var(--pad) 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); scrollbar-width: thin; scrollbar-color: var(--navy) transparent; cursor: grab; user-select: none; }
.strip-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.strip-card { flex: none; scroll-snap-align: start; }
.strip-land { width: min(680px, 46vw); }
.strip-port { width: min(400px, 28vw); }
.strip-card img { width: 100%; height: 500px; object-fit: cover; pointer-events: none; }
.strip-card p { margin-top: 16px; font: 500 .8125rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }

/* recent work: photos laid on a grout grid */
.gallery { padding: 128px 0; background: var(--paper); }
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.gallery h2 { font-weight: 200; font-size: clamp(3rem, 1rem + 5.6vw, 6.5rem); line-height: .9; letter-spacing: -0.03em; color: var(--navy); text-transform: uppercase; }
.placeholder-note { color: var(--ink-2); font-size: .9375rem; }
.grout {
  display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 96px; margin-top: 56px;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: calc(100% / 12) 96px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.grout li { padding: 8px; will-change: translate; }
.grout img { width: 100%; height: 100%; object-fit: cover; }
.reveal-on .grout li { opacity: 0; transition: opacity 1s var(--ease); }
.reveal-on .grout li.in { opacity: 1; }

/* also on the job list */
.more { padding: 128px 0; }
.more-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
.more h2 { position: sticky; top: 120px; font-size: clamp(2rem, 1.2rem + 2vw, 3.25rem); letter-spacing: -0.02em; color: var(--navy); line-height: 1.1; }
.more-list { border-top: 1px solid rgba(18, 45, 90, .25); }
.more-list li { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: 32px 0; border-bottom: 1px solid rgba(18, 45, 90, .25); }
.more-list h3 { font-size: clamp(1.5rem, 1rem + 1.2vw, 2rem); letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); }
.more-list p { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.5; }

/* how we work: two colour halves */
.how { display: grid; grid-template-columns: 1fr 1fr; color: #fff; background: var(--navy-deep); }
.how-half { padding: 112px var(--pad); min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; }
.how-navy { background: var(--navy-deep); }
.how-green { background: var(--green-ink); }
.how h3 { font-size: clamp(2.25rem, 1.2rem + 2.6vw, 3.75rem); letter-spacing: -0.03em; line-height: 1.02; }
.how p { margin-top: 20px; font-size: 1.125rem; max-width: 38ch; color: #fff; }

/* values */
.values { padding: 128px 0; background: var(--stone); }
.values h2 { font-weight: 200; font-size: clamp(2.5rem, 1.2rem + 4.2vw, 5.5rem); line-height: 1.02; letter-spacing: -0.035em; color: var(--navy); max-width: 16ch; }
.values p { margin-top: 32px; font-size: 1.1875rem; color: var(--ink-2); max-width: 52ch; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); color: #fff; }
.contact-photo { position: relative; min-height: 640px; }
.contact-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-copy { padding: 112px var(--pad); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.contact h2 { font-size: clamp(2.25rem, 1.2rem + 2.6vw, 3.75rem); letter-spacing: -0.03em; line-height: 1.04; }
.contact-copy > p { margin-top: 24px; color: #fff; font-size: 1.125rem; max-width: 42ch; }
.contact-email { display: inline-flex; align-items: center; min-height: 48px; margin: 32px 0 24px; font: 500 clamp(1.125rem, .8rem + 1vw, 1.5rem)/1.3 var(--display); word-break: break-word; }
.contact-email:hover { color: var(--green); }

/* footer */
.site-foot { padding: 88px 0 32px; background: var(--cream); }
.foot-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 48px; }
.foot-brand img { width: 170px; height: auto; }
.foot-h { font: 500 .8125rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin-bottom: 16px; }
.foot-col li { color: var(--ink-2); }
.foot-col a { display: inline-block; padding: 6px 0; text-decoration: none; }
.foot-col a:hover { color: var(--green-ink); text-decoration: underline; }
.foot-col li:not(:has(a)) { padding: 6px 0; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(18, 45, 90, .15); color: var(--ink-2); font-size: .9375rem; }

/* ---------- tablet and below ---------- */
@media (max-width: 1024px) {
  .head-nav { display: none; }
  .intro-grid, .strip-head, .more-grid { grid-template-columns: 1fr; gap: 32px; }
  .more h2 { position: static; }
  .hero { display: flex; flex-direction: column; height: auto; }
  .hero-navy { display: none; }
  .hero-inner { position: static; order: 1; padding: 56px var(--pad) 48px; }
  .hero-photo { order: 2; height: 70vw; max-height: 620px; min-height: 280px; }
  .hw-hills { font-size: 12.5vw; white-space: normal; }
  .hw-dark { display: none; }
  .hw-light { clip-path: none; }
  .hw-tiling { width: 100%; margin-top: 20px; gap: 12px; }
  .hw-t { font-size: 6.4vw; }
  .spear { height: 8px; }
  .lede, .actions { max-width: none; }
  .lede { margin-top: 32px; }
  .split { grid-template-columns: 1fr; }
  .split-photo { min-height: 70vw; }
  .split .big-word { font-size: 15vw; }
  .strip-land { width: 72vw; }
  .strip-port { width: 46vw; }
  .strip-card img { height: 420px; }
}

/* ---------- phone ---------- */
@media (max-width: 640px) {
  :root { --pad: 16px; }
  .head-row { height: 64px; gap: 12px; }
  .brand img { height: 32px; }
  .head-cta { min-height: 48px; padding: 0 16px; }
  .hw-hills { font-size: 15vw; line-height: .92; }
  .hw-t { font-size: 7.6vw; }
  .lede { font-size: 1.125rem; }
  .actions { flex-direction: column; }
  .actions .btn { width: 100%; }
  .intro, .more, .values, .strip, .gallery { padding: 80px 0; }
  .split-panel { padding: 64px var(--pad) 48px; gap: 32px; }
  .split .big-word { font-size: 17vw; }
  .band { min-height: 520px; }
  .band-copy { padding-bottom: 40px; text-align: left; }
  .band-copy p:last-child { margin-left: 0; }
  .big-word { font-size: 12.6vw; }
  .strip .big-word { font-size: 14vw; }
  .strip-track { margin-top: 40px; }
  .strip-land { width: 84vw; }
  .strip-port { width: 60vw; }
  .strip-card img { height: 340px; }
  .grout { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 168px; background-size: 50% 168px; margin-top: 40px; }
  .grout li { grid-column: auto !important; grid-row: span 1 !important; padding: 6px; translate: none !important; }
  .grout li:nth-child(4n + 1) { grid-row: span 2 !important; }
  .more-list li { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .how, .contact { grid-template-columns: 1fr; }
  .how-half { padding: 72px var(--pad); min-height: 0; }
  .contact-photo { min-height: 300px; }
  .contact-copy { padding: 72px var(--pad); }
  .foot-grid { grid-template-columns: 1fr; gap: 40px; }
  .foot-col a, .foot-base a { display: inline-flex; align-items: center; min-height: 48px; padding: 0; }
  .foot-base { font-size: 1rem; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .js .hw-hills .l, .js .spear, .js .hw-t, .js .hero .lede, .js .hero .actions { opacity: 1; transform: none; }
}
.hw-hills .w { display: inline-block; white-space: nowrap; }
