/* Saddlehorn Exteriors: Rooferz-style layout, western finish */

:root {
  --bg: #17120e;
  --bg-deep: #0f0b08;
  --surface: #211a14;
  --surface-2: #2c2219;
  --line: rgba(239, 226, 198, 0.14);
  --line-strong: rgba(239, 226, 198, 0.3);

  --cream: #efe2c6;
  --cream-dim: rgba(239, 226, 198, 0.72);
  --paper: #f2e8d0;
  --paper-2: #e7d9b8;
  --ink: #1b140e;

  --brass: #c9a35a;
  --brass-hi: #e3c47f;
  --leather: #6b4426;
  --red: #a8341e;
  --red-hi: #c0432a;

  --font-display: "Rokkitt", "Rockwell", Georgia, serif;
  --font-label: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-wood: "Rye", "Rokkitt", serif;

  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
  --bar: 38px; /* preview bar height; set to 0px when the bar is removed */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--bar);
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 3px; }

/* leather grain over everything, very quiet */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: var(--cream); color: var(--ink); padding: 0.6rem 1rem; font-family: var(--font-label); letter-spacing: 0.08em; text-transform: uppercase; }
.skip:focus { top: 1rem; }

/* ---------- type ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-label);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
}
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--brass); }
.kicker--center { justify-content: center; }
.kicker--center::after { content: ""; width: 34px; height: 1px; background: var(--brass); }

.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--cream);
  text-align: center;
}
.h2--left { text-align: left; }
.lede { margin-top: 1rem; max-width: 46ch; margin-inline: auto; text-align: center; color: var(--cream-dim); font-size: 1.05rem; }
.lede--left { text-align: left; margin-inline: 0; }

/* ---------- buttons: leather plaque with stitching ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  font-family: var(--font-label);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed currentColor;
  border-radius: 2px;
  opacity: 0.38;
  pointer-events: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--red { background: var(--red); color: #f6e9cf; box-shadow: 0 10px 24px -12px rgba(168, 52, 30, 0.9), inset 0 -2px 0 rgba(0, 0, 0, 0.22); }
.btn--red:hover { background: var(--red-hi); }
.btn--ghost { background: rgba(23, 18, 14, 0.45); color: var(--cream); box-shadow: inset 0 0 0 1px var(--brass); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: var(--brass); color: var(--ink); }
.btn--outline { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--outline:hover { background: var(--cream); color: var(--ink); }
.btn--sm { padding: 0.65rem 1.25rem; font-size: 0.8rem; }
.btn--block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 11, 8, 0.78), rgba(15, 11, 8, 0));
  transition: opacity 0.3s;
  pointer-events: none;
}
.site-header.is-scrolled { background: rgba(23, 18, 14, 0.94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line), 0 12px 30px -18px #000; }
.site-header.is-scrolled::before { opacity: 0; }
.site-header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); max-width: calc(var(--wrap) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; }
.brand__mark { height: 36px; width: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5)); }
.brand__text { font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; color: var(--cream); white-space: nowrap; }
.brand__text em { font-style: normal; color: var(--brass); font-weight: 700; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav a:not(.btn) { font-family: var(--font-label); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream-dim); padding: 0.4rem 0; position: relative; transition: color 0.2s; }
.nav a:not(.btn):not(.nav__phone)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav a:not(.btn):hover { color: var(--cream); }
.nav a:not(.btn):not(.nav__phone):hover::after { transform: scaleX(1); }
.nav__phone { color: var(--brass) !important; letter-spacing: 0.1em !important; display: none; }
@media (min-width: 1180px) { .nav__phone { display: inline; } }

.header-call, .menu-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--bar));
  min-height: calc(100svh - var(--bar));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #000;
  padding: clamp(5.5rem, 10vw, 7rem) var(--pad) clamp(5rem, 8vw, 6rem);
}
.hero__media { position: absolute; inset: 0; z-index: 0; background: #000; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.82) contrast(1.06) saturate(0.92) sepia(0.12); }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 13, 8, 0.55) 0%, rgba(20, 13, 8, 0.22) 38%, rgba(15, 10, 6, 0.82) 100%); }
.hero__vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 46%, transparent 32%, rgba(8, 5, 3, 0.62) 100%); pointer-events: none; }

.hero__content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: clamp(1.1rem, 2.4vw, 1.7rem); max-width: 760px; }
.hero__logo-wrap { position: relative; width: clamp(250px, 34vw, 450px); animation: fadeScale 1.1s var(--ease) 0.05s both; }
.hero__logo-wrap::before { content: ""; position: absolute; inset: -14% -18%; background: radial-gradient(closest-side, rgba(227, 196, 127, 0.3), rgba(227, 196, 127, 0) 72%); z-index: -1; }
.hero__logo { width: 100%; height: auto; filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 2px rgba(0, 0, 0, 0.5)); }

.hero__tagline { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.7rem 1rem; font-family: var(--font-label); font-size: clamp(0.82rem, 1.4vw, 1.02rem); font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(239, 226, 198, 0.9); animation: fadeUp 1s var(--ease) 0.28s both; }
.hero__tagline i { font-style: normal; color: var(--brass); font-size: 0.7em; letter-spacing: 0; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; animation: fadeUp 1s var(--ease) 0.45s both; }

.hero__areas { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.35rem 1.1rem; padding: 1.05rem var(--pad); background: linear-gradient(0deg, rgba(10, 7, 4, 0.82), rgba(10, 7, 4, 0)); font-family: var(--font-label); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--cream-dim); }
.hero__areas i { font-style: normal; color: var(--brass); font-size: 0.8em; letter-spacing: 0; }

@keyframes fadeScale { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- sections ---------- */
.section { position: relative; z-index: 2; padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.stitch { position: relative; z-index: 2; height: 0; margin-inline: var(--pad); border-top: 2px dashed rgba(201, 163, 90, 0.35); }

/* about */
.about { background: var(--bg); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem) clamp(2rem, 6vw, 5rem); align-items: center; }
.about__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 5.6vw, 4.5rem); line-height: 0.96; text-transform: uppercase; color: var(--cream); }
.about__title em { font-style: normal; color: var(--brass-hi); }
.about__copy { display: flex; flex-direction: column; gap: 1.1rem; }
.about__copy p { font-size: 1.1rem; line-height: 1.75; color: var(--cream-dim); }
.about__copy .btn { align-self: flex-start; margin-top: 0.6rem; }

.about__media { grid-column: 1 / -1; margin: 0; }
.about__plate {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: clamp(280px, 38vw, 420px);
  padding: 2.5rem 1.5rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(201, 163, 90, 0.16), transparent 60%),
    linear-gradient(135deg, #2c2118, #1a130d 70%);
  border: 1px solid var(--line-strong);
}
.about__plate::before { content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(201, 163, 90, 0.4); pointer-events: none; }
.about__plate img { width: clamp(160px, 22vw, 260px); height: auto; filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.6)); margin-bottom: 0.8rem; }
.about__plate-label { font-family: var(--font-wood); font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: var(--brass-hi); letter-spacing: 0.04em; }
.about__plate-note { font-family: var(--font-label); font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--cream-dim); }

/* services */
.services { background: var(--bg-deep); }
.services__head { margin-bottom: clamp(2.2rem, 4vw, 3.4rem); text-align: center; }
.service-rows { border-top: 1px solid var(--line); }
.service-rows li { border-bottom: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: clamp(58px, 9vw, 96px) 1fr auto; align-items: center; gap: clamp(0.75rem, 3vw, 2.5rem); padding: clamp(1.3rem, 2.8vw, 2.1rem) 0; transition: background 0.4s var(--ease), padding 0.4s var(--ease); }
.service-row:hover { background: linear-gradient(90deg, rgba(168, 52, 30, 0.14), transparent 70%); padding-left: clamp(0.4rem, 1.6vw, 1.2rem); }
.service-row__num { font-family: var(--font-wood); font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1; color: rgba(201, 163, 90, 0.5); transition: color 0.3s; }
.service-row:hover .service-row__num { color: var(--brass-hi); }
.service-row__body { display: flex; flex-direction: column; gap: 0.3rem; }
.service-row__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.55rem, 3.4vw, 2.6rem); line-height: 1; text-transform: uppercase; color: var(--cream); transition: color 0.3s; }
.service-row:hover .service-row__name { color: var(--brass-hi); }
.service-row__desc { font-size: 0.98rem; color: var(--cream-dim); }
.service-row__arrow { color: rgba(239, 226, 198, 0.35); transition: transform 0.4s var(--ease), color 0.3s; }
.service-row:hover .service-row__arrow { transform: translateX(8px); color: var(--red-hi); }

/* work */
.work { background: var(--bg); }
.work__head { margin-bottom: clamp(2.2rem, 4vw, 3.2rem); text-align: center; }
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(170px, 20vw, 250px); gap: 0.9rem; }
.work__item { position: relative; margin: 0; overflow: hidden; background: #000; border: 1px solid var(--line); transition: transform 0.4s var(--ease), border-color 0.4s var(--ease); }
.work__item--wide { grid-column: span 2; grid-row: span 2; }
.work__item--full { grid-column: span 3; }
.work__item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92) sepia(0.1); transition: transform 0.8s var(--ease); }
.work__item--full img { object-position: 50% 55%; }
.work__item:hover { transform: translateY(-4px); border-color: var(--brass); }
.work__item:hover img { transform: scale(1.06); }
/* brass corner brackets */
.work__item::before, .work__item::after { content: ""; position: absolute; width: 22px; height: 22px; z-index: 2; border: 0 solid var(--brass-hi); opacity: 0; transition: opacity 0.35s; pointer-events: none; }
.work__item::before { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.work__item::after { right: 10px; bottom: 10px; border-width: 0 2px 2px 0; }
.work__item:hover::before, .work__item:hover::after { opacity: 1; }
.work__action { margin-top: 2.5rem; text-align: center; }

/* service area */
.area { background: var(--bg-deep); overflow: hidden; isolation: isolate; }
.area__bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg-deep), rgba(15, 11, 8, 0.78) 30%, rgba(15, 11, 8, 0.86) 70%, var(--bg-deep)), url("../assets/img/work-town.jpg") center 60% / cover no-repeat; opacity: 1; }
.area__head { text-align: center; margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.area__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.area-card { position: relative; padding: clamp(1.6rem, 3vw, 2.4rem); background: rgba(33, 26, 20, 0.82); border: 1px solid var(--line-strong); backdrop-filter: blur(6px); transition: transform 0.4s var(--ease), border-color 0.4s; }
.area-card::before { content: ""; position: absolute; inset: 7px; border: 1px dashed rgba(201, 163, 90, 0.3); pointer-events: none; }
.area-card:hover { transform: translateY(-4px); border-color: var(--brass); }
.area-card__star { display: block; color: var(--brass); font-size: 1.1rem; margin-bottom: 0.9rem; }
.area-card h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.02; text-transform: uppercase; color: var(--cream); margin-bottom: 0.6rem; }
.area-card p { color: var(--cream-dim); }
.area__note { margin-top: 2rem; text-align: center; color: var(--cream-dim); }
.area__note a { color: var(--brass-hi); border-bottom: 1px solid rgba(227, 196, 127, 0.4); }

/* contact */
.contact { background: var(--bg); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.channels { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.8rem; }
.channel { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: var(--surface); border: 1px solid var(--line); transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s; }
.channel--static { cursor: default; }
a.channel:hover { background: var(--cream); color: var(--ink); transform: translateX(6px); border-color: var(--cream); }
.channel__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; background: var(--surface-2); border: 1px solid var(--line); color: var(--brass-hi); border-radius: 2px; transition: background 0.3s, color 0.3s; }
a.channel:hover .channel__icon { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.channel > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.channel__label { font-family: var(--font-label); font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(239, 226, 198, 0.55); }
a.channel:hover .channel__label { color: rgba(27, 20, 14, 0.6); }
.channel__val { font-family: var(--font-label); font-weight: 500; font-size: 1.05rem; letter-spacing: 0.03em; overflow-wrap: anywhere; }

.contact__form { position: relative; background: var(--paper); color: var(--ink); padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: 2px; box-shadow: 0 40px 90px -30px #000; background-image: radial-gradient(ellipse at 20% 0%, rgba(255, 255, 255, 0.4), transparent 60%), radial-gradient(ellipse at 90% 100%, rgba(120, 80, 30, 0.12), transparent 60%); }
.contact__form::before { content: ""; position: absolute; inset: 8px; border: 1px dashed rgba(107, 68, 38, 0.45); pointer-events: none; }
.form { position: relative; display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { font-family: var(--font-label); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--leather); }
.field input, .field select, .field textarea { width: 100%; padding: 0.75rem 0.85rem; font-size: 1rem; background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(107, 68, 38, 0.3); border-radius: 2px; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12'><path fill='%236b4426' d='M6 8 1 3h10z'/></svg>"); background-repeat: no-repeat; background-position: right 0.85rem center; padding-right: 2.2rem; cursor: pointer; }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(27, 20, 14, 0.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--leather); box-shadow: 0 0 0 3px rgba(201, 163, 90, 0.35); }
.field .is-invalid { border-color: var(--red); }
.form__status { min-height: 1.4em; font-size: 0.95rem; text-align: center; color: var(--leather); }
.form__status.is-error { color: var(--red); }

/* cta band */
.cta-band { position: relative; z-index: 2; background: linear-gradient(90deg, #2a1d12, #1a130d); border-top: 2px dashed rgba(201, 163, 90, 0.35); border-bottom: 1px solid var(--line); padding: clamp(2rem, 4vw, 3rem) 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.cta-band .kicker { margin-bottom: 0.4rem; }
.cta-band__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1; text-transform: uppercase; color: var(--cream); }
.cta-band__phone { display: inline-flex; align-items: center; gap: 0.8rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1; letter-spacing: 0.02em; color: var(--brass-hi); transition: color 0.2s, transform 0.2s var(--ease); }
.cta-band__phone:hover { color: var(--cream); transform: translateX(4px); }

/* footer */
.footer { position: relative; z-index: 2; background: var(--bg-deep); padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer__brand img { width: clamp(150px, 16vw, 200px); height: auto; margin-bottom: 1rem; }
.footer__brand p { font-family: var(--font-label); font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cream-dim); }
.footer__col { display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.95rem; color: var(--cream-dim); }
.footer__col h3 { font-family: var(--font-label); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--brass); margin-bottom: 0.5rem; }
.footer__col a { transition: color 0.2s; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--cream); }
.footer__legal { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: rgba(239, 226, 198, 0.5); }

/* preview bar */
.preview-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; padding: 0.55rem var(--pad); background: #0b0806; border-top: 1px solid var(--line-strong); color: var(--cream-dim); font-family: var(--font-label); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; text-align: center; line-height: 1.35; }

/* reveal on scroll (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

section[id] { scroll-margin-top: calc(var(--header-h) - 4px); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav a:not(.btn):not(.nav__phone) { letter-spacing: 0.14em; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .area__cards { grid-template-columns: 1fr; }
  .work__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; }
  .work__item--wide { grid-column: span 2; grid-row: span 1; }
  .work__item--full { grid-column: span 2; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .header-call { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line-strong); border-radius: 2px; color: var(--brass-hi); background: rgba(15, 11, 8, 0.5); }
  .menu-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 0 11px; border: 1px solid var(--line-strong); border-radius: 2px; background: rgba(15, 11, 8, 0.5); cursor: pointer; }
  .menu-toggle span { display: block; height: 2px; background: var(--cream); transition: transform 0.3s var(--ease), opacity 0.2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-header__inner { gap: 0.6rem; }
  /* backdrop-filter would make the header the containing block for the fixed menu panel */
  .site-header.is-scrolled { backdrop-filter: none; background: rgba(23, 18, 14, 0.97); }
  .brand { gap: 0.6rem; min-width: 0; }
  .brand__mark { height: 32px; }
  .brand__text { display: flex; flex-direction: column; gap: 0.18rem; font-size: 1.02rem; letter-spacing: 0.08em; }
  .brand__text em { font-size: 0.66em; letter-spacing: 0.42em; }

  .nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 59; flex-direction: column; align-items: stretch; gap: 0; padding: 1.5rem var(--pad) 5rem; background: #0f0b08; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s 0.25s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav a:not(.btn) { padding: 1.05rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 1.5rem; padding: 1.05rem; }
  .nav__phone { display: block; }
  body.menu-open { overflow: hidden; }
  .site-header.menu-is-open { background: rgba(15, 11, 8, 0.98); }
  .site-header.menu-is-open::before { opacity: 0; }
}

@media (max-width: 640px) {
  .field-row { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 44px 1fr auto; gap: 0.75rem; }
  .service-row__desc { font-size: 0.92rem; }
  .hero__areas { font-size: 0.64rem; letter-spacing: 0.16em; gap: 0.25rem 0.7rem; padding-block: 0.8rem; }
  .hero { padding-bottom: 6.5rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .preview-bar { font-size: 0.62rem; letter-spacing: 0.1em; }
}

@media (max-width: 480px) {
  .hero__tagline { flex-wrap: nowrap; gap: 0.5rem; font-size: 0.7rem; letter-spacing: 0.16em; white-space: nowrap; }
}

@media (max-width: 540px) {
  .work__grid { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .work__item--wide, .work__item--full { grid-column: span 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
