/* ==========================================================================
   KÖV Simply Interiors — site stylesheet
   Palette from the KÖV Brand Playbook v1.0
   ========================================================================== */

:root{
  color-scheme: light;

  --ink:        #101820;  /* PMS Black 6C */
  --ink-soft:   #3D4A55;
  --ink-mute:   #6B7A86;
  --blue:       #577693;  /* PMS 5415C */
  --blue-deep:  #3E5A73;
  --blue-200:   #C7D8E5;
  --blue-100:   #E6EFF5;
  --blue-50:    #F3F8FB;
  --paper:      #FFFFFF;
  --paper-soft: #FAFCFD;
  --line:       #DCE6ED;
  --line-soft:  #EAF0F4;
  --stone:      #949A90;  /* PMS 7539C */
  --gold:       #F3D03E;  /* PMS 129C */

  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --body: "Figtree", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --label: "Archivo Narrow", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --shell: 1180px;
  --section: clamp(4.5rem, 9vw, 8rem);
}

*, *::before, *::after{ box-sizing: border-box; }

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4{ font-family: var(--display); font-weight: 400; text-wrap: balance; margin: 0; letter-spacing: -0.01em; color: var(--ink); }
p{ margin: 0; }
a{ color: inherit; }
img{ max-width: 100%; }
:focus-visible{ outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.shell{ width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link{ position: absolute; left: -9999px; }
.skip-link:focus{ left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: .6rem 1rem; }

/* ---------- Tone scopes ---------- */
.tone-dark{
  --ink: #FFFFFF;
  --ink-soft: rgba(230,238,244,0.78);
  --ink-mute: rgba(230,238,244,0.58);
  --line: rgba(255,255,255,0.16);
  --line-soft: rgba(255,255,255,0.10);
  --blue: #A9C4D8;
  --blue-deep: #C7D8E5;
  --blue-200: rgba(255,255,255,0.30);
  --blue-100: rgba(169,196,216,0.16);
  --paper: rgba(255,255,255,0.04);
  --paper-soft: rgba(255,255,255,0.05);
  --stone: rgba(230,238,244,0.55);
  color: #E6EEF4;
}
.tone-light{
  --ink: #101820;
  --ink-soft: #3D4A55;
  --ink-mute: #6B7A86;
  --line: #DCE6ED;
  --line-soft: #EAF0F4;
  --blue: #577693;
  --blue-deep: #3E5A73;
  --blue-200: #C7D8E5;
  --blue-100: #E6EFF5;
  --paper: #FFFFFF;
  --paper-soft: #FAFCFD;
  --stone: #949A90;
  color: var(--ink);
}

/* ---------- Brand marks ---------- */
.lockup{ display: inline-flex; align-items: center; text-decoration: none; }
.lockup img{ display: block; height: 38px; width: auto; }
.site-footer .lockup img{ height: 46px; }

.dots{ display: inline-flex; gap: 5px; align-items: center; }
.dots i{ width: 6px; height: 6px; border-radius: 50%; background: var(--blue); display: block; }
.dots.gold i{ background: var(--gold); }

.eyebrow{
  font-family: var(--label); font-weight: 700; text-transform: uppercase;
  font-size: 0.73rem; letter-spacing: 0.2em; color: var(--blue);
  display: inline-flex; align-items: center; gap: 0.7rem;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--body); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  padding: 0.85rem 1.6rem; border-radius: 2px; border: 1px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .2s ease, box-shadow .25s ease;
}
.btn-solid{ background: var(--blue); color: #fff; }
.btn-solid:hover{ background: var(--blue-deep); }
.btn-ghost{ background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover{ border-color: var(--blue); color: var(--blue-deep); }
.tone-dark .btn-solid{ background: #fff; color: #101820; }
.tone-dark .btn-solid:hover{ background: var(--blue-deep); color: #101820; }
.tone-dark .btn-ghost{ color: #fff; border-color: rgba(255,255,255,0.32); }
.tone-dark .btn-ghost:hover{ color: #fff; border-color: #fff; }
.tone-light .btn-solid{ background: var(--blue); color: #fff; }
.tone-light .btn-solid:hover{ background: var(--blue-deep); color: #fff; }
.tone-light .btn-ghost{ color: var(--ink); border-color: var(--line); }
.btn-wide{ padding-inline: 2.4rem; }
.btn-row{ display: flex; justify-content: center; margin-top: clamp(2.25rem, 4vw, 3.25rem); }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled{ box-shadow: 0 6px 24px rgba(16,24,32,0.08); }
.header-inner{ display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 0.9rem; }
.nav{ display: flex; align-items: center; gap: 2rem; }
.nav > * { position: relative; }
.nav a, .nav .nav-toggle{
  text-decoration: none; font-family: var(--body); font-size: 0.875rem; font-weight: 500;
  color: var(--ink-soft); padding-block: 0.35rem; background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.35rem; position: relative;
}
.nav a::after, .nav .nav-toggle::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.22,.61,.36,1);
}
.nav a:hover::after, .nav a:focus-visible::after,
.nav .nav-toggle:hover::after, .nav .nav-toggle[aria-expanded="true"]::after{ transform: scaleX(1); }
.nav a[aria-current="page"]{ color: var(--ink); }
.nav a[aria-current="page"]::after{ transform: scaleX(1); background: var(--blue); }
.nav .caret{ width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px,-2px); transition: transform .25s ease; }
.nav .nav-toggle[aria-expanded="true"] .caret{ transform: rotate(-135deg) translate(-2px,-2px); }

.nav-menu{
  position: absolute; top: calc(100% + 0.75rem); left: -1rem; min-width: 13rem;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(16,24,32,0.12);
  list-style: none; margin: 0; padding: 0.4rem; display: grid; gap: 0.1rem;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav-item.open .nav-menu, .nav-item:hover .nav-menu{ opacity: 1; visibility: visible; transform: none; }
.nav-menu a{ display: block; padding: 0.55rem 0.8rem; font-size: 0.875rem; color: var(--ink-soft); }
.nav-menu a::after{ display: none; }
.nav-menu a:hover{ background: var(--blue-50); color: var(--ink); }

.header-cta{ display: flex; align-items: center; gap: 1.5rem; flex: 0 0 auto; }
.header-cta .btn{ white-space: nowrap; }
.cta-short{ display: none; }

.menu-btn{ display: none; background: none; border: 0; cursor: pointer; padding: .5rem; margin-right: -.5rem; }
.menu-btn span{ display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 4px 0; transition: transform .25s ease, opacity .25s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1){ transform: translateY(5.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3){ transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 940px){
  .menu-btn{ display: block; }
  .nav{
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch;
    gap: 0; padding: 0.5rem var(--gutter) 1.25rem; display: none;
  }
  .nav.open{ display: flex; }
  .nav a, .nav .nav-toggle{ padding-block: 0.85rem; border-bottom: 1px solid var(--line-soft); justify-content: space-between; }
  .nav a::after, .nav .nav-toggle::after{ display: none; }
  .nav-menu{
    position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none;
    padding: 0 0 0.5rem 0.9rem; display: none;
  }
  .nav-item.open .nav-menu{ display: grid; }
  .nav-item:hover .nav-menu{ display: none; }
  .nav-item.open .nav-menu{ display: grid; }
}
@media (max-width: 560px){
  .header-inner{ gap: 0.6rem; }
  .header-cta{ gap: 0.75rem; }
  .header-cta .btn{ padding: 0.7rem 1rem; font-size: 0.8rem; }
  .cta-long{ display: none; }
  .cta-short{ display: inline; }
  .lockup img{ height: 30px; }
}

/* ---------- Hero ---------- */
.hero{ position: relative; overflow: hidden; background: #0C141B; isolation: isolate; }
.hero-media{ position: absolute; top: 0; left: 0; right: 0; bottom: -16%; z-index: -1; will-change: transform; }
.hero-media img{ width: 100%; height: 100%; object-fit: cover; object-position: 54% 58%; filter: saturate(0.94) contrast(1.02); }
.hero-media::after{
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(10,17,23,0.90) 0%, rgba(12,21,28,0.80) 32%, rgba(16,30,41,0.52) 60%, rgba(22,40,53,0.30) 100%),
    linear-gradient(180deg, rgba(10,17,23,0.48) 0%, rgba(10,17,23,0.05) 30%, rgba(10,17,23,0.10) 62%, rgba(10,17,23,0.62) 100%);
}
@media (max-width: 760px){
  .hero-media::after{
    background:
      linear-gradient(180deg, rgba(10,17,23,0.74) 0%, rgba(10,17,23,0.62) 42%, rgba(10,17,23,0.78) 100%),
      linear-gradient(100deg, rgba(10,17,23,0.34) 0%, rgba(10,17,23,0.12) 100%);
  }
}
.hero-inner{ position: relative; padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.hero-copy{ max-width: 44rem; }
.hero h1{ font-size: clamp(2.7rem, 6.2vw, 4.5rem); line-height: 1.02; margin-top: 1.4rem; }
.hero h1 em{ font-style: italic; color: var(--blue); }
.hero .lede{ margin-top: 1.5rem; font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--ink-soft); max-width: 36rem; }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.5rem; }

/* compact hero for interior pages */
.page-hero{ background: #16222C; padding-block: clamp(3.25rem, 7vw, 5.5rem); }
.page-hero h1{ font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.08; margin-top: 1.1rem; }
.page-hero p{ margin-top: 1.1rem; color: var(--ink-soft); max-width: 40rem; font-size: 1.02rem; }
/* location pages carry only the name, so it runs larger to hold the band */
.loc-hero{ padding-block: clamp(3.75rem, 8vw, 6.5rem); }
.loc-hero h1{ font-size: clamp(2.9rem, 7vw, 5.25rem); line-height: 1.0; margin-top: 1.25rem; }
.crumbs{ font-family: var(--label); font-weight: 600; text-transform: uppercase; font-size: 0.68rem; letter-spacing: 0.16em; color: var(--ink-mute); margin-bottom: 1.25rem; }
.crumbs a{ text-decoration: none; }
.crumbs a:hover{ color: #fff; }

/* ---------- Image placeholders ---------- */
.ph{
  position: relative; width: 100%; max-width: 100%;
  background: linear-gradient(145deg, var(--blue-100) 0%, #F7FAFC 55%, var(--blue-100) 100%);
  border: 1px solid var(--blue-200);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.7rem; text-align: center; padding: 1.5rem; overflow: hidden;
}
.ph::after{ content: ""; position: absolute; inset: 9px; border: 1px solid rgba(87,118,147,0.16); pointer-events: none; }
.ph .ph-mark{ width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--blue); position: relative; opacity: .7; }
.ph .ph-mark::before, .ph .ph-mark::after{ content: ""; position: absolute; top: -10px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.ph .ph-mark::before{ left: 4px; }
.ph .ph-mark::after{ right: 4px; }
.ph .ph-label{ font-family: var(--label); font-weight: 700; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.17em; color: var(--blue-deep); line-height: 1.5; }
.ph .ph-note{ font-size: 0.78rem; color: var(--ink-mute); max-width: 22rem; line-height: 1.5; }
.tone-dark .ph{
  background: linear-gradient(145deg, rgba(169,196,216,0.12) 0%, rgba(255,255,255,0.035) 55%, rgba(169,196,216,0.12) 100%);
  border-color: rgba(255,255,255,0.18);
}
.tone-dark .ph::after{ border-color: rgba(255,255,255,0.10); }

/* ---------- Section frame ---------- */
section{ scroll-margin-top: 6rem; }
.band{ padding-block: var(--section); }
.band-soft{ background: var(--paper-soft); }
.band-tint{ background: var(--blue-50); }
.band-ink{ background: #101820; }
.band-deep{ background: #16222C; }
.band-slate{ background: #3E5A73; }
.sec-head{ max-width: 42rem; }
.sec-head h2{ font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.12; margin-top: 1.1rem; }
.sec-head p{ margin-top: 1.1rem; color: var(--ink-soft); font-size: 1.02rem; }
.sec-head.wide{ max-width: 48rem; }
/* headline whose second sentence must sit on its own line */
.sec-head.headline-wide{ max-width: 60rem; }
.sec-head.headline-wide h2{ font-size: clamp(1.85rem, 3.1vw, 2.5rem); text-wrap: normal; }
.sec-head.headline-wide p{ max-width: 42rem; }
.sec-head h2 .line{ display: block; }

/* ---------- Offerings ---------- */
.offerings{ display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.offer{ position: relative; padding: 2.25rem 1.75rem 2.5rem; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); transition: background-color .35s ease; }
.offer:last-child{ border-right: 0; }
.offer::before{
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.22,.61,.36,1);
}
.offer:hover{ background: var(--blue-50); }
.offer:hover::before{ transform: scaleX(1); }
.offer .num{ font-family: var(--label); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.2em; color: var(--stone); transition: color .3s ease; }
.offer h3{ font-size: 1.5rem; margin-top: 0.75rem; transition: color .3s ease; }
.offer p{ margin-top: 0.7rem; font-size: 0.92rem; color: var(--ink-soft); }
.offer:hover h3{ color: var(--blue-deep); }
.offer:hover .num{ color: var(--blue); }
.offer .tags{
  margin-top: 1.1rem; padding-top: 0.9rem; border-top: 1px solid var(--line-soft);
  font-family: var(--label); font-weight: 600; text-transform: uppercase; font-size: 0.65rem;
  letter-spacing: 0.13em; color: var(--blue-deep); line-height: 1.7;
}
@media (max-width: 980px){
  .offerings{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .offer:nth-child(2n){ border-right: 0; }
}
@media (max-width: 560px){
  .offerings{ grid-template-columns: 1fr; }
  .offer{ border-right: 0; padding-inline: 0; }
}

/* ---------- Approach ---------- */
.ethos-grid{ display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.pull{ font-family: var(--display); font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.32; color: var(--ink); border-left: 2px solid var(--gold); padding-left: 1.5rem; margin-top: 1.25rem; }
.ethos-body{ margin-top: 1.75rem; color: var(--ink-soft); display: grid; gap: 1.1rem; max-width: 34rem; }
.ethos-mark{ display: block; width: 92px; height: auto; margin-top: clamp(2.25rem, 4vw, 3.25rem); }
@media (max-width: 900px){ .ethos-mark{ width: 76px; margin-top: 2rem; } }
.values{ display: grid; border-top: 1px solid var(--line); }
.value{ padding-block: 1.5rem; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.value .dots{ margin-top: 0.55rem; }
.value .dots i{ transition: transform .35s cubic-bezier(.22,.61,.36,1); }
.value:hover .dots i:first-child{ transform: translateX(-3px); }
.value:hover .dots i:last-child{ transform: translateX(3px); }
.value h3{ font-size: 1.18rem; font-family: var(--body); font-weight: 600; letter-spacing: 0; }
.value p{ margin-top: 0.35rem; font-size: 0.93rem; color: var(--ink-soft); }
@media (max-width: 900px){ .ethos-grid{ grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.steps{ display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1.75rem, 4vw, 3.25rem); margin-top: clamp(2.5rem, 5vw, 3.75rem); }
.step{ padding-top: 1.75rem; position: relative; }
.step::before{ content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--blue); transform-origin: left; }
.step:nth-child(2)::before{ background: var(--blue-200); }
.step:nth-child(3)::before{ background: var(--gold); }
.step .num{ font-family: var(--label); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.2em; color: var(--ink-mute); }
.step h3{ font-size: 1.45rem; margin-top: 0.6rem; }
.step p{ margin-top: 0.7rem; font-size: 0.93rem; color: var(--ink-soft); }
@media (max-width: 760px){ .steps{ grid-template-columns: 1fr; } }

/* ---------- Work / gallery ---------- */
/* Row one stretches: the feature photo sets the row height and the tile beside it
   fills to match, so the two images finish on the same line. */
.work-grid{ display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); align-items: stretch; }
.work-item{ display: flex; flex-direction: column; }
.work-item .shot-fixed{ flex: 0 0 auto; }
.work-item .ph{ aspect-ratio: 3 / 2; transition: transform .5s cubic-bezier(.22,.61,.36,1), box-shadow .5s ease, border-color .35s ease; }
.work-item.feature{ grid-column: span 2; }
.work-item.feature .ph{ aspect-ratio: 16 / 10; }
.work-item.portrait .ph{ aspect-ratio: 4 / 5; }
.work-item:hover .ph{ transform: translateY(-5px); box-shadow: 0 18px 38px rgba(16,24,32,0.10); border-color: var(--blue); }
.tone-dark .work-item:hover .ph{ box-shadow: 0 20px 44px rgba(0,0,0,0.38); }
.work-cap{ margin-top: 0.8rem; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.work-cap h3{ font-size: 1.05rem; font-family: var(--body); font-weight: 600; transition: color .3s ease; }
.work-cap span{ font-family: var(--label); font-weight: 600; text-transform: uppercase; font-size: 0.66rem; letter-spacing: 0.14em; color: var(--ink-mute); white-space: nowrap; }
.work-item.feature .work-cap{ justify-content: flex-start; gap: 1.25rem; }
.work-item:hover .work-cap h3{ color: var(--blue-deep); }
@media (max-width: 860px){
  .work-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .work-item.feature{ grid-column: span 2; }
  .work-item.portrait .ph{ aspect-ratio: 3 / 2; }
}
@media (max-width: 560px){
  .work-grid{ grid-template-columns: 1fr; }
  .work-item.feature{ grid-column: span 1; }
}

/* photos in the home Recent Work grid — fixed crop boxes */
.shot-fixed{ position: relative; overflow: hidden; display: block; width: 100%; aspect-ratio: 3 / 2; cursor: zoom-in; border: 0; padding: 0; background: var(--blue-100); }
.work-item.feature .shot-fixed{ aspect-ratio: 16 / 10; }
.work-item.portrait .shot-fixed{ aspect-ratio: 4 / 5; }
/* row one only: the tile beside the feature drops its fixed ratio and grows to match it */
.work-item.portrait .shot-fixed{ aspect-ratio: auto; flex: 1 1 0%; min-height: 0; }
/* lift the photo out of flow so its natural size can't set the row height */
.work-item.portrait .shot-fixed img{ position: absolute; inset: 0; }
@media (max-width: 860px){
  /* once the feature owns its own row there is nothing to match, so the ratio comes back */
  .work-item.portrait .shot-fixed{ aspect-ratio: 3 / 2; flex: 0 0 auto; }
}
.shot-fixed img{ width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.22,.61,.36,1); }
.shot-fixed::after{ content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); pointer-events: none; transition: box-shadow .35s ease; }
.work-item:hover .shot-fixed img{ transform: scale(1.045); }
.work-item:hover .shot-fixed::after{ box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4); }

/* gallery page — masonry columns so portraits and landscapes both sit naturally */
.gallery-group + .gallery-group{ margin-top: clamp(3rem, 6vw, 4.5rem); }
.gallery-head{ display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.gallery-head h2{ font-size: clamp(1.5rem, 2.6vw, 2rem); }
.gallery-head .count{ font-family: var(--label); font-weight: 600; text-transform: uppercase; font-size: 0.68rem; letter-spacing: 0.16em; color: var(--ink-mute); }
/* Six-column base: every photo spans 2 (a third of the width). A section whose
   count isn't a multiple of three widens its last row, so nothing ends ragged. */
.gallery-grid{
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.25rem; margin-top: 1.75rem;
}
.shot{
  display: block; width: 100%; padding: 0; border: 0; background: var(--blue-100);
  position: relative; overflow: hidden; cursor: zoom-in;
  grid-column: span 2; aspect-ratio: 3 / 2;
}
.shot.span-3{ grid-column: span 3; }
.shot.span-6{ grid-column: span 6; aspect-ratio: 21 / 9; }
.shot img{ display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transition: transform .7s cubic-bezier(.22,.61,.36,1); }
@media (max-width: 900px){
  /* two up — every section holds an even count, so rows stay full */
  .gallery-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot, .shot.span-3, .shot.span-6{ grid-column: span 1; aspect-ratio: 3 / 2; }
}
@media (max-width: 560px){
  .gallery-grid{ grid-template-columns: 1fr; }
  .shot, .shot.span-3, .shot.span-6{ grid-column: span 1; }
}
.shot::after{ content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); pointer-events: none; transition: box-shadow .35s ease; }
.shot:hover img, .shot:focus-visible img{ transform: scale(1.04); }
.shot:hover::after{ box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4); }

/* lightbox */
.lightbox{
  position: fixed; inset: 0; z-index: 200; background: rgba(8,13,18,0.95);
  display: none; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3.5rem);
}
.lightbox.open{ display: flex; }
.lightbox img{ max-width: 100%; max-height: 86vh; object-fit: contain; box-shadow: 0 30px 90px rgba(0,0,0,0.6); }
.lb-btn{
  position: absolute; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.22);
  color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; transition: background-color .2s ease, border-color .2s ease;
}
.lb-btn:hover{ background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.5); }
.lb-close{ top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lb-prev{ left: clamp(0.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lb-next{ right: clamp(0.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lb-caption{
  position: absolute; bottom: clamp(0.85rem, 2.5vw, 1.75rem); left: 0; right: 0; text-align: center;
  font-family: var(--label); font-weight: 600; text-transform: uppercase; letter-spacing: 0.17em;
  font-size: 0.7rem; color: rgba(255,255,255,0.72);
}

/* ---------- Location pages ---------- */
.loc-grid{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px){ .loc-grid{ grid-template-columns: 1fr; } }

/* Address / Phone / Follow are sized and set to match "Hours of Operation",
   with the brand blue kept on the headings and black on the values. */
.info-list{ display: grid; gap: clamp(2rem, 3.5vw, 2.75rem); margin-top: 0; }
.info-block h3{
  font-family: var(--display); font-weight: 400; text-transform: none;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem); letter-spacing: -0.01em; line-height: 1.15;
  color: var(--blue); margin-bottom: 1.25rem;
}
.info-block p, .info-block a{ font-size: 0.95rem; color: var(--ink); text-decoration: none; }
.info-block a:hover{ color: var(--blue-deep); }
.info-block .big{ font-family: var(--body); font-size: 0.95rem; line-height: 1.75; color: var(--ink); }
.loc-hours h2{
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem); letter-spacing: -0.01em; line-height: 1.15;
  color: var(--blue); margin-bottom: 1.25rem;
}

.hours{ width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours th, .hours td{ text-align: left; padding: 0.55rem 0; border-bottom: 1px solid var(--line-soft); font-weight: 400; color: var(--ink-soft); }
.hours th{ font-weight: 500; color: var(--ink); width: 11rem; }
.hours td{ font-variant-numeric: tabular-nums; }
.hours td.closed{ color: var(--ink-mute); font-style: italic; }
.hours tr:last-child th, .hours tr:last-child td{ border-bottom: 0; }
.hours-note{ margin-top: 1.1rem; font-size: 0.85rem; color: var(--ink-mute); max-width: 28rem; }
.map-link{ margin-top: 0.5rem; }
.map-link a{
  font-family: var(--label); font-weight: 700; text-transform: uppercase; font-size: 0.68rem;
  letter-spacing: 0.15em; color: var(--blue); text-decoration: none;
  border-bottom: 1px solid var(--blue-200); padding-bottom: 2px; transition: color .25s ease, border-color .25s ease;
}
.map-link a:hover{ color: var(--blue-deep); border-color: var(--blue); }

.social-row{ display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
.social-chip{
  display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none;
  border: 1px solid var(--line); padding: 0.5rem 0.85rem; border-radius: 2px;
  font-size: 0.95rem; color: var(--ink); transition: border-color .25s ease, color .25s ease, transform .25s ease;
}
.social-chip:hover{ border-color: var(--blue); color: var(--blue-deep); transform: translateY(-1px); }
.social-chip svg{ width: 16px; height: 16px; fill: currentColor; flex: 0 0 auto; }

.team-grid{ display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.5rem; margin-top: clamp(2.25rem, 4vw, 3rem); }
.team-grid.two-up{ grid-template-columns: repeat(2, minmax(0,1fr)); max-width: 580px; }
.team-card .ph{ aspect-ratio: 4 / 5; }
.team-photo{ position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--blue-100); }
.team-photo img{ width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; transition: transform .7s cubic-bezier(.22,.61,.36,1); }
.team-photo::after{ content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16); pointer-events: none; }
.team-card:hover .team-photo img{ transform: scale(1.04); }
.team-card .name{ margin-top: 0.85rem; font-family: var(--body); font-weight: 600; font-size: 1rem; }
.team-card .role{ font-family: var(--label); font-weight: 600; text-transform: uppercase; font-size: 0.66rem; letter-spacing: 0.14em; color: var(--ink-mute); margin-top: 0.15rem; }
@media (max-width: 860px){ .team-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 460px){ .team-grid, .team-grid.two-up{ grid-template-columns: 1fr; } }

.locations-index{ display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1.5rem, 3.5vw, 2.5rem); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (max-width: 760px){ .locations-index{ grid-template-columns: 1fr; } }
.loc-card{ background: var(--paper); border: 1px solid var(--line); padding: clamp(1.75rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: 1rem;
  transition: transform .45s cubic-bezier(.22,.61,.36,1), border-color .35s ease, box-shadow .45s ease; }
.loc-card:hover{ transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 18px 38px rgba(16,24,32,0.08); }
.loc-card h3{ font-size: 1.75rem; }

/* placeholder note line */
.todo{
  margin-top: 0.5rem; padding-top: 0.85rem; border-top: 1px dashed var(--blue-200);
  font-size: 0.8rem; color: var(--ink-mute); display: flex; gap: 0.6rem; align-items: flex-start;
}
.todo strong{ font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.66rem; color: var(--blue-deep); white-space: nowrap; padding-top: 0.12rem; }

/* ---------- Consultation ---------- */
.consult-grid{ display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 4.5rem); align-items: start; }
.consult-grid h2{ font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.12; margin-top: 1.1rem; }
.promise{ display: grid; gap: 1.1rem; margin-top: 2rem; padding: 0; list-style: none; }
.promise li{ display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: start; font-size: 0.95rem; color: var(--ink-soft); }
.promise .dots{ margin-top: 0.5rem; }
.form-card{ background: #fff; padding: clamp(1.5rem, 3.5vw, 2.5rem); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(16,24,32,0.07); }
.field-row{ display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.field{ display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1rem; }
.field label{ font-family: var(--label); font-weight: 700; text-transform: uppercase; font-size: 0.66rem; letter-spacing: 0.14em; color: var(--ink-soft); transition: color .25s ease; }
.field:focus-within label{ color: var(--blue-deep); }
.field input, .field select, .field textarea{
  font-family: var(--body); font-size: 0.95rem; color: var(--ink);
  background: var(--paper-soft); border: 1px solid var(--line); border-radius: 2px;
  padding: 0.7rem 0.85rem; width: 100%; transition: border-color .18s, background-color .18s;
}
.field textarea{ min-height: 6.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus{ background: #fff; border-color: var(--blue); }
.form-foot{ display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 0.5rem; }
.form-foot .fine{ font-size: 0.78rem; color: var(--ink-mute); max-width: 20rem; }
.form-note{ margin-top: 1.25rem; padding: 0.75rem 0.9rem; border-left: 2px solid var(--gold); background: #FEFBEE; font-size: 0.78rem; color: var(--ink-soft); }
.form-success{ display: none; text-align: center; padding: 2rem 1rem; }
.form-success h3{ font-size: 1.6rem; margin-top: 1rem; }
.form-success p{ margin-top: 0.75rem; color: var(--ink-soft); font-size: 0.95rem; max-width: 26rem; margin-inline: auto; }
.is-sent .form-body{ display: none; }
.is-sent .form-success{ display: block; }
@media (max-width: 880px){ .consult-grid{ grid-template-columns: 1fr; } }
@media (max-width: 520px){ .field-row{ grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer{ background: #3E5A73; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-top{ display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.8fr)); gap: clamp(2rem, 5vw, 4rem); padding-bottom: 2.75rem; border-bottom: 1px solid var(--line); }
.footer-tag{ margin-top: 1.25rem; font-family: var(--display); font-style: italic; font-size: 1.05rem; color: var(--blue-deep); }
.footer-blurb{ margin-top: 1rem; font-size: 0.88rem; color: var(--ink-soft); max-width: 26rem; }
.footer-col h4{ font-family: var(--label); font-weight: 700; text-transform: uppercase; font-size: 0.68rem; letter-spacing: 0.17em; color: #fff; }
.footer-col ul{ list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a{ font-size: 0.88rem; color: var(--ink-soft); text-decoration: none; transition: color .25s ease; }
.footer-col a:hover{ color: #fff; }
.footer-bottom{ display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; padding-top: 1.75rem; font-size: 0.78rem; color: var(--ink-mute); }
.footer-col li a + a{ color: var(--blue-deep); }
.legal-todo{ font-style: italic; }
@media (max-width: 980px){ .footer-top{ grid-template-columns: minmax(0,1.2fr) repeat(3, minmax(0,0.8fr)); gap: 2rem; } }
@media (max-width: 760px){ .footer-top{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px){ .footer-top{ grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */
html{ scroll-behavior: smooth; }
.js .reveal{
  opacity: 0; transform: translateY(20px);
  transition: opacity .75s cubic-bezier(.22,.61,.36,1) var(--d, 0ms), transform .75s cubic-bezier(.22,.61,.36,1) var(--d, 0ms);
}
.js .reveal.in{ opacity: 1; transform: none; }
.hero-media img{ transform-origin: 55% 60%; }
.js .hero-media img{ animation: kov-drift 24s cubic-bezier(.2,.5,.3,1) forwards; }
@keyframes kov-drift{ from{ transform: scale(1.09); } to{ transform: scale(1); } }
.scroll-progress{ position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.scroll-progress span{ display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue) 0%, var(--blue-200) 70%, var(--gold) 100%); }
.btn:hover{ transform: translateY(-1px); }
.btn-solid:hover{ box-shadow: 0 10px 22px rgba(16,24,32,0.18); }
.btn-arrow{ display: inline-block; transition: transform .25s cubic-bezier(.22,.61,.36,1); }
.btn:hover .btn-arrow{ transform: translateX(4px); }
.js .step::before{ transform: scaleX(0); transition: transform .9s cubic-bezier(.22,.61,.36,1) calc(var(--d, 0ms) + 140ms); }
.js .step.in::before{ transform: scaleX(1); }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .js .reveal{ opacity: 1 !important; transform: none !important; }
  .js .step::before{ transform: none !important; }
  .js .hero-media img{ animation: none !important; transform: none !important; }
  .btn:hover, .loc-card:hover, .work-item:hover .ph{ transform: none !important; }
}

/* two-up tablet layout: an odd-numbered section widens its last photo so the row fills */
@media (max-width: 900px) and (min-width: 561px){
  .gallery-grid.fill-two .shot:last-child{ grid-column: span 2; aspect-ratio: 16 / 9; }
}

/* consultation form: spam honeypot + failure message */
.hp{ position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error{
  margin-top: 1.25rem; padding: 0.75rem 0.9rem; border-left: 2px solid #B4453F;
  background: #FDF2F1; font-size: 0.85rem; color: #7A2B27;
}
.form-foot .btn[disabled]{ opacity: .65; pointer-events: none; }

/* placeholder option reads as a prompt until a real showroom is chosen */
.field select:has(option[value=""]:checked){ color: var(--ink-mute); }
