/* ==========================================================================
   Memar Interiors - homepage concept
   Palette: taken from their own material. Elementor global colors on
   memarinteriors.com are #000000 (primary/secondary/accent), #7A7A7A (text),
   #FFFFFF. Their logo is a black script wordmark. The site carries no hue,
   so neither does this. Emphasis is weight, size, and hairline rule.
   Type: Cinzel (display) + Questrial (body), assigned centrally.
   ========================================================================== */

:root {
  /* Ink family (their own literals: #000, #101010, #333, #7A7A7A, #dadada) */
  --ink:          #101010;
  --ink-2:        #191919;
  --ink-3:        #242424;
  --paper:        #ffffff;
  --paper-2:      #f4f4f2;
  --paper-3:      #e9e9e6;
  /* Their own text grey is #7A7A7A. At caption sizes on the light bands that
     lands at 3.9:1, so it is deepened within their own neutral family for text
     use rather than replaced. */
  --grey:         #676767;
  --grey-dark:    #5a5a5a;
  --rule:         rgba(16, 16, 16, 0.16);
  --rule-strong:  rgba(16, 16, 16, 0.32);

  /* On dark */
  --on-ink:        #ffffff;
  --on-ink-soft:   rgba(255, 255, 255, 0.78);
  --on-ink-mute:   rgba(255, 255, 255, 0.58);
  --rule-light:    rgba(255, 255, 255, 0.24);
  --rule-light-2:  rgba(255, 255, 255, 0.42);

  --font-display: "Cinzel", Georgia, "Times New Roman", serif;
  --font-body:    "Questrial", "Helvetica Neue", Arial, sans-serif;

  --wrap:        min(90%, 1180px);
  --wrap-narrow: min(90%, 820px);
  --wrap-wide:   min(94%, 1480px);

  --pad-section: clamp(4.5rem, 9vw, 8.5rem);
  --pad-tight:   clamp(3rem, 6vw, 5rem);
  --nav-h:       74px;

  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-slow:   cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------- base --- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

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

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0;
  line-height: 1.14;
  letter-spacing: -0.015em;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--ink); color: var(--paper); }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.wrap        { width: var(--wrap);        margin-inline: auto; }
.wrap-narrow { width: var(--wrap-narrow); margin-inline: auto; }
.wrap-wide   { width: var(--wrap-wide);   margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--on-ink);
  padding: 0.9rem 1.4rem;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------- shared pieces --- */

/* One named kicker system, used only where a section genuinely opens a new
   movement. Not an eyebrow on every band. */
.kicker {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.kicker--center { justify-content: center; }
.kicker--center::before,
.kicker--center::after {
  content: "";
  width: clamp(28px, 7vw, 74px);
  flex: 0 0 auto;
  height: 1px;
  background: var(--rule);
}
.kicker--light { color: var(--on-ink-mute); }
.kicker--light::before,
.kicker--light::after { background: var(--rule-light); }

.lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: var(--grey-dark);
  max-width: 68ch;
}
.lede--light { color: var(--on-ink-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.1rem 1.9rem;
  min-height: 48px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--on-ink);
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
              border-color 0.4s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--on-ink); }

.btn--on-dark {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
.btn--on-dark:hover { background: transparent; color: var(--on-ink); }

.btn--ghost-dark {
  background: transparent;
  border-color: var(--rule-light-2);
  color: var(--on-ink);
}
.btn--ghost-dark:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.btn__mark {
  width: 18px;
  height: 1px;
  background: currentColor;
  flex: 0 0 auto;
  transition: width 0.4s var(--ease);
}
.btn:hover .btn__mark { width: 30px; }

/* Text link with a rule that draws on hover */
.tlink {
  display: inline-block;
  text-decoration: none;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.85rem 0 0.75rem;
  min-height: 44px;
  line-height: 1.6;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 calc(100% - 0.7rem);
  transition: background-size 0.45s var(--ease);
}
.tlink:hover { background-size: 100% 1px; }

/* ---------------------------------------------------------------- nav --- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.nav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--rule-light);
  opacity: 1;
  transition: background 0.45s var(--ease);
}
.nav.is-stuck {
  background: var(--paper);
  box-shadow: 0 12px 34px -22px rgba(16, 16, 16, 0.45);
}
.nav.is-stuck::after { background: var(--rule); }

.nav__inner {
  width: var(--wrap-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

.nav__logo { justify-self: center; line-height: 0; }
.nav__logo img {
  width: auto;
  height: 34px;
  max-width: 190px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.45s var(--ease);
}
.nav.is-stuck .nav__logo img { filter: none; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__link {
  text-decoration: none;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-ink);
  padding: 0.6rem 0;
  position: relative;
  transition: color 0.45s var(--ease), opacity 0.3s var(--ease);
}
.nav.is-stuck .nav__link { color: var(--ink); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease);
}
.nav__link:hover::after { width: 100%; }

.nav__phone {
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--on-ink);
  white-space: nowrap;
  transition: color 0.45s var(--ease);
}
.nav.is-stuck .nav__phone { color: var(--ink); }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  justify-self: end;
}
.burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--on-ink);
  position: relative;
  transition: background 0.45s var(--ease);
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 1px;
  background: inherit;
  transition: transform 0.4s var(--ease);
}
.burger span::before { top: -7px; }
.burger span::after  { top: 7px; }
.nav.is-stuck .burger span { background: var(--ink); }

/* Drawer. The close control lives INSIDE the drawer so it shares the
   drawer's stacking context and can never be painted over by it. */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  padding: 1.25rem 0 3rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.drawer.is-open { opacity: 1; visibility: visible; }

.drawer__top {
  width: var(--wrap);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(var(--nav-h) - 1.25rem);
}
.drawer__logo img {
  width: auto;
  height: 30px;
  max-width: 165px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.drawer__close {
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  color: var(--on-ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.drawer__close svg { width: 18px; height: 18px; }

.drawer__body {
  width: var(--wrap);
  margin-inline: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  overflow-y: auto;
}
.drawer__link {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 7vw, 2.1rem);
  color: var(--on-ink);
  text-decoration: none;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--rule-light);
}
.drawer__foot {
  width: var(--wrap);
  margin-inline: auto;
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.drawer__foot a {
  color: var(--on-ink-soft);
  text-decoration: none;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  padding-block: 0.4rem;
}

/* --------------------------------------------------------------- hero --- */
/* Photograph reads clean at the top; the headline sits in an ink lintel
   band beneath it. No scrim over the picture, so the picture survives. */

.hero {
  height: 100vh;
  height: 100svh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: var(--ink);
}

.hero__frame {
  position: relative;
  overflow: hidden;
  min-height: 0;
}
.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}
/* Just enough darkening under the fixed nav for white links to hold, gone
   by 26% so the photograph is not veiled. */
.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 26%;
  background: linear-gradient(to bottom, rgba(16, 16, 16, 0.82), rgba(16, 16, 16, 0.36) 48%, rgba(16, 16, 16, 0));
  pointer-events: none;
}

.hero__lintel {
  background: var(--ink);
  color: var(--on-ink);
  padding: clamp(2.25rem, 3.6vw, 3rem) 0 clamp(2.25rem, 3.4vw, 2.9rem);
  position: relative;
}
.hero__lintel::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--rule-light-2);
  transition: width 1.4s var(--ease-slow) 0.15s;
}
.hero.is-in .hero__lintel::before { width: min(94%, 1480px); }

.hero__inner {
  width: var(--wrap);
  margin-inline: auto;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: 0.005em;
  max-width: 23ch;
  margin: 0 auto;
  text-wrap: balance;
}

.hero__sub {
  margin: clamp(1.1rem, 2vw, 1.5rem) auto 0;
  max-width: 56ch;
  color: var(--on-ink-soft);
  font-size: clamp(0.9375rem, 1.35vw, 1.0625rem);
  line-height: 1.7;
}

.hero__cta {
  margin-top: clamp(1.6rem, 3vw, 2.3rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

/* Orchestrated entrance: the one authored motion moment on the page. */
.hero__frame img,
.hero h1,
.hero__sub,
.hero__cta { will-change: transform, opacity; }

/* ------------------------------------------------------------- intro --- */

.intro {
  padding: var(--pad-section) 0;
  background: var(--paper);
}
.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.intro h2 {
  font-size: clamp(1.5rem, 3.1vw, 2.5rem);
  max-width: 14ch;
}
.intro__body { max-width: 62ch; }
.intro__body p { color: var(--grey-dark); }

.facts {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.facts__item {
  padding: clamp(1.5rem, 2.6vw, 2.1rem) clamp(0.75rem, 2vw, 2rem);
  border-right: 1px solid var(--rule);
}
.facts__item:last-child { border-right: 0; }
.facts__label {
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 0.6rem;
}
.facts__value {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.35;
  margin: 0;
}

/* ----------------------------------------------------------- projects --- */

.projects {
  padding: var(--pad-section) 0;
  background: var(--paper-2);
}
.projects__head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.projects__head h2 {
  font-size: clamp(1.5rem, 3.1vw, 2.4rem);
  max-width: 20ch;
  margin-inline: auto;
}
.projects__head p { margin-top: 1.1rem; margin-inline: auto; text-align: center; }

.plates {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}
.plate {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ink);
  text-decoration: none;
  color: var(--on-ink);
  grid-column: span 2;
}
.plate--wide { grid-column: span 3; }
.plate--tall { grid-column: span 3; }

.plate__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.plate--wide .plate__img { aspect-ratio: 16 / 10; }
.plate--tall .plate__img { aspect-ratio: 16 / 10; }

.plate__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-slow);
}
.plate:hover .plate__img img { transform: scale(1.045); }

/* The engraved address plate. Their project names are literal street
   addresses, so the label is set like something cut into stone. */
.plate__label {
  position: absolute;
  left: clamp(0.85rem, 1.5vw, 1.25rem);
  bottom: clamp(0.85rem, 1.5vw, 1.25rem);
  right: clamp(0.85rem, 1.5vw, 1.25rem);
  background: rgba(16, 16, 16, 0.88);
  padding: 0.85rem clamp(0.9rem, 1.6vw, 1.3rem);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  transition: background 0.45s var(--ease), color 0.45s var(--ease);
}
.plate:hover .plate__label { background: var(--paper); color: var(--ink); }

.plate__name {
  font-family: var(--font-display);
  font-size: clamp(0.8125rem, 1.35vw, 1rem);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.plate__meta {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.62;
  white-space: nowrap;
}

/* --------------------------------------------------------- full bleed --- */

.bleed {
  position: relative;
  height: clamp(300px, 56vh, 560px);
  overflow: hidden;
}
.bleed img {
  position: relative;
  width: 100%;
  height: 120%;
  top: -10%;
  object-fit: cover;
}

/* ----------------------------------------------------------- services --- */

.svc { background: var(--paper); }
.svc__band { padding: var(--pad-section) 0; }
.svc__band + .svc__band { border-top: 1px solid var(--rule); }

.svc__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.svc__band--flip .svc__media { order: 2; }

/* An offset hairline frame sitting behind the photograph. Reads as a
   deliberate architectural device rather than a border on a card. */
.svc__media { position: relative; }
.svc__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3.1;
  object-fit: cover;
}
.svc__media::before {
  content: "";
  position: absolute;
  inset: clamp(14px, 2vw, 26px) auto auto clamp(-26px, -2vw, -14px);
  width: 100%;
  height: 100%;
  border: 1px solid var(--rule-strong);
  pointer-events: none;
}
.svc__band--flip .svc__media::before {
  inset: clamp(14px, 2vw, 26px) clamp(-26px, -2vw, -14px) auto auto;
  left: auto;
}

.svc__text h2 {
  font-size: clamp(1.4rem, 2.9vw, 2.25rem);
  max-width: 15ch;
}
.svc__text p { margin-top: 1.2rem; color: var(--grey-dark); max-width: 56ch; }

.svc__list {
  list-style: none;
  margin: clamp(1.6rem, 3vw, 2.2rem) 0 0;
  padding: 0;
  columns: 2;
  column-gap: clamp(1.2rem, 2.5vw, 2.2rem);
}
.svc__list li {
  break-inside: avoid;
  padding: 0.62rem 0;
  border-top: 1px solid var(--rule);
  font-size: 0.9375rem;
  color: var(--ink);
}
.svc__more { margin-top: clamp(1.5rem, 3vw, 2rem); }

/* ------------------------------------------------------------ reviews --- */

.reviews {
  padding: var(--pad-section) 0;
  background: var(--ink);
  color: var(--on-ink);
}
.reviews__head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.reviews__head h2 {
  font-size: clamp(1.5rem, 3.1vw, 2.4rem);
  max-width: 22ch;
  margin-inline: auto;
}

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78vw, 400px);
  gap: clamp(1rem, 2vw, 1.6rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--rule-light-2) transparent;
}
.rail::-webkit-scrollbar { height: 3px; }
.rail::-webkit-scrollbar-track { background: var(--rule-light); }
.rail::-webkit-scrollbar-thumb { background: var(--rule-light-2); }

.quote {
  scroll-snap-align: start;
  border-top: 1px solid var(--rule-light-2);
  padding: clamp(1.4rem, 2.4vw, 1.9rem) 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.quote__text {
  font-size: 0.9375rem;
  line-height: 1.78;
  color: var(--on-ink-soft);
  margin: 0;
}
.quote__who {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  letter-spacing: 0.03em;
}
.quote__src {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-ink-mute);
  margin-top: 0.35rem;
  display: block;
}

.rail__hint {
  margin-top: 1.4rem;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-ink-mute);
  text-align: center;
}

/* --------------------------------------------------------------- team --- */

.team { padding: var(--pad-section) 0; background: var(--paper-2); }
.team__head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.team__head h2 { font-size: clamp(1.5rem, 3.1vw, 2.4rem); }

.team__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  max-width: 940px;
  margin-inline: auto;
}
.person { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: clamp(1.1rem, 2.4vw, 1.8rem); align-items: start; }
.person__photo {
  width: 132px;
  height: 168px;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(1);
}
.person h3 { font-size: clamp(1.0625rem, 1.7vw, 1.25rem); }
.person__role {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0.6rem 0 0.9rem;
}
.person p { font-size: 0.9375rem; color: var(--grey-dark); line-height: 1.7; }

.affil {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--rule);
  text-align: center;
}
.affil__label {
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 1.8rem;
}
.affil__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.75rem, 5vw, 3.75rem);
}
.affil__row img {
  height: clamp(28px, 4.2vw, 40px);
  width: auto;
  max-width: 190px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
}
.affil__award {
  margin-top: 1.9rem;
  font-family: var(--font-display);
  font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
  letter-spacing: 0.02em;
}

/* ---------------------------------------------------------------- cta --- */

.cta {
  padding: var(--pad-section) 0;
  background: var(--ink);
  color: var(--on-ink);
  text-align: center;
}
.cta h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  max-width: 18ch;
  margin-inline: auto;
}
.cta p { margin-top: 1.2rem; }

.cta__rows {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--rule-light);
  max-width: 760px;
  margin-inline: auto;
}
.cta__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.15rem 0.25rem;
  border-bottom: 1px solid var(--rule-light);
  text-decoration: none;
  text-align: left;
  transition: padding-left 0.4s var(--ease);
}
a.cta__row:hover { padding-left: 0.9rem; }
.cta__row span:first-child {
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--on-ink-mute);
  flex: 0 0 auto;
}
.cta__row span:last-child {
  font-family: var(--font-display);
  font-size: clamp(0.875rem, 1.7vw, 1.125rem);
  text-align: right;
  word-break: break-word;
}
/* Cinzel renders its lowercase as small capitals, which turns an email
   address into shouting. Addresses stay in the body face. */
.cta__row .is-plain {
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}
.cta__btn { margin-top: clamp(2.25rem, 4vw, 3rem); }

/* ------------------------------------------------------------- footer --- */

.foot {
  background: var(--ink-2);
  color: var(--on-ink-mute);
  padding: clamp(2.75rem, 5vw, 4rem) 0 clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--rule-light);
}
.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.foot__logo img {
  width: auto;
  height: 34px;
  max-width: 200px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.foot__blurb { margin-top: 1.25rem; font-size: 0.875rem; line-height: 1.75; max-width: 40ch; }
.foot h4 {
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--on-ink-soft);
  margin: 0 0 1.1rem;
  font-weight: 400;
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a,
.foot__contact a {
  color: var(--on-ink-mute);
  text-decoration: none;
  font-size: 0.875rem;
  display: inline-block;
  padding-block: 0.65rem;
  transition: color 0.35s var(--ease);
}
.foot li a:hover,
.foot__contact a:hover { color: var(--on-ink); }
.foot__contact address { font-style: normal; font-size: 0.875rem; line-height: 1.8; padding-top: 0.65rem; }

.foot__base {
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-light);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.75rem;
}

/* ---------------------------------------------------------------- 404 --- */

.err {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--ink);
  color: var(--on-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
}
.err__code {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 17vw, 11rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.13);
  letter-spacing: 0.04em;
}
.err h1 { font-size: clamp(1.5rem, 4vw, 2.6rem); margin-top: clamp(1rem, 2vw, 1.5rem); }
.err p { margin: 1.4rem auto 2.25rem; max-width: 46ch; color: var(--on-ink-soft); }

/* ------------------------------------------------------------ reveals --- */

html.js .rv { opacity: 0; transform: translateY(18px); }

@media (prefers-reduced-motion: reduce) {
  html.js .rv { opacity: 1 !important; transform: none !important; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* -------------------------------------------------------- responsive --- */

@media (max-width: 1040px) {
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .nav__logo { justify-self: start; }
  .nav__phone { display: none; }
  .burger { display: flex; }

  .intro__grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .intro h2 { max-width: 20ch; }

  .svc__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .svc__band--flip .svc__media { order: 0; }

  .plates { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .plate, .plate--wide, .plate--tall { grid-column: span 2; }
  .plate__img,
  .plate--wide .plate__img,
  .plate--tall .plate__img { aspect-ratio: 4 / 3; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }

  .hero {
    height: auto;
    min-height: 100svh;
    grid-template-rows: minmax(46svh, 52svh) auto;
  }
  .hero__frame { padding-top: var(--nav-h); }
  .hero h1 { max-width: 20ch; }

  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts__item { border-right: 0; border-bottom: 1px solid var(--rule); }
  .facts__item:last-child { border-bottom: 0; }

  .plates { grid-template-columns: minmax(0, 1fr); }
  .plate, .plate--wide, .plate--tall { grid-column: span 1; }

  .svc__list { columns: 1; }

  .team__grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .person { grid-template-columns: 108px minmax(0, 1fr); }
  .person__photo { width: 108px; height: 140px; }

  .cta__row { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .cta__row span:last-child { text-align: left; }

  .foot__grid { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .foot__base { flex-direction: column; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 1.55rem; }
  .btn { padding: 1rem 1.4rem; font-size: 0.6875rem; letter-spacing: 0.16em; }
}
