/* ==========================================================================
   Beren Floor — site stylesheet
   Hand-authored, no build step, no third-party CSS framework.

   Palette : espresso / alabaster ground with a brushed-bronze accent
   Type    : Marcellus (display) over Jost (body and UI)
   ========================================================================== */

:root {
  /* Ground and ink */
  --espresso:      #1C1614;
  --espresso-soft: #2A211D;
  --espresso-line: rgba(247, 244, 239, 0.14);
  --alabaster:     #F7F4EF;
  --alabaster-2:   #EFEAE2;
  --sand:          #DDD4C7;
  --sand-soft:     #E8E1D6;

  /* Accent */
  --bronze:        #A67C3D;
  --bronze-deep:   #8A6631;
  --bronze-light:  #C9A56A;
  --bronze-wash:   #F1E9DC;

  /* Text */
  --ink:           #1C1614;
  --clay:          #6C6058;
  --clay-light:    #8B8078;
  --on-dark:       #F1ECE4;
  --on-dark-muted: #A79C91;

  /* Semantics */
  --ok:            #4A6B4E;
  --alert:         #97402F;

  /* Type */
  --display: "Marcellus", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body:    "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --gutter:  clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 8.5rem);
  --shell:   78rem;

  /* Motion */
  --ease:    cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------- reset */

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

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

body {
  margin: 0;
  background: var(--alabaster);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.012em;
  text-wrap: balance;
  margin: 0;
}

h1 { font-size: clamp(2.65rem, 6.4vw, 4.9rem); }
h2 { font-size: clamp(1.95rem, 4vw, 3.05rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.25; }
h4 { font-size: 1.05rem; line-height: 1.3; }

p { margin: 0; }

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--bronze); color: #fff; }

/* --------------------------------------------------------------- layout */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--narrow { max-width: 48rem; }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }

.section--dark {
  background: var(--espresso);
  color: var(--on-dark);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--on-dark); }
.section--dark .lead, .section--dark p { color: var(--on-dark-muted); }
.section--dark .eyebrow { color: var(--bronze-light); }
.section--dark .rule { background: var(--espresso-line); }

.section--tint { background: var(--alabaster-2); }

.stack { display: flex; flex-direction: column; gap: 1.25rem; }
.stack--sm { gap: 0.65rem; }
.stack--lg { gap: 2rem; }

.rule { height: 1px; background: var(--sand); border: 0; margin: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--espresso);
  color: var(--on-dark);
  padding: 0.75rem 1.25rem;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------- type bits */

.eyebrow {
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  color: var(--clay);
  max-width: 42ch;
}

.prose { max-width: 40rem; display: flex; flex-direction: column; gap: 1.15rem; }
.prose p { color: var(--clay); }
.section--dark .prose p { color: var(--on-dark-muted); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 1px;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
  will-change: transform;
}

.btn--solid { background: var(--bronze); color: #FFFDF9; }
.btn--solid:hover { background: var(--bronze-deep); transform: translateY(-2px); }

.btn--outline { border-color: var(--sand); color: var(--ink); }
.btn--outline:hover { border-color: var(--bronze); color: var(--bronze); transform: translateY(-2px); }

.btn--light { border-color: var(--espresso-line); color: var(--on-dark); }
.btn--light:hover { background: var(--on-dark); color: var(--espresso); transform: translateY(-2px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}
.link-arrow::after {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: currentColor;
  transition: width 0.35s var(--ease);
}
.link-arrow:hover::after { width: 2.6rem; }

/* --------------------------------------------------------------- header */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5.25rem;
}

.header.is-solid,
.header.is-open {
  background: var(--alabaster);
  border-bottom-color: var(--sand-soft);
}

.wordmark {
  font-family: var(--display);
  font-size: 1.3rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark);
  transition: color 0.4s var(--ease);
  white-space: nowrap;
}
.wordmark small {
  display: block;
  font-family: var(--body);
  font-size: 0.55rem;
  letter-spacing: 0.32em;
  color: var(--bronze-light);
  margin-top: 0.15rem;
}
.header.is-solid .wordmark,
.header.is-open .wordmark,
.header--static .wordmark { color: var(--ink); }
.header.is-solid .wordmark small,
.header.is-open .wordmark small,
.header--static .wordmark small { color: var(--bronze); }

.nav { display: none; align-items: center; gap: 2rem; }

.nav a {
  position: relative;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark);
  transition: color 0.4s var(--ease);
  padding-block: 0.4rem;
}
.header.is-solid .nav a,
.header--static .nav a { color: var(--ink); }

.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--bronze);
  transition: width 0.35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--bronze); }

.header__side { display: flex; align-items: center; gap: 1.25rem; }

.lang {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--on-dark-muted);
  transition: color 0.4s var(--ease);
}
.header.is-solid .lang,
.header--static .lang { color: var(--clay-light); }
.lang a:hover { color: var(--bronze); }
.lang [aria-current] { color: var(--bronze); }
.lang span { opacity: 0.4; }

.burger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  margin-right: -0.5rem;
}
.burger i {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--on-dark);
  transition: background-color 0.4s var(--ease), transform 0.3s var(--ease), opacity 0.2s;
}
.header.is-solid .burger i,
.header.is-open .burger i,
.header--static .burger i { background: var(--ink); }
.header.is-open .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header.is-open .burger i:nth-child(2) { opacity: 0; }
.header.is-open .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  display: none;
  border-top: 1px solid var(--sand-soft);
  padding-block: 1.5rem 2.5rem;
  background: var(--alabaster);
}
.header.is-open .drawer { display: block; }
.drawer ul { display: flex; flex-direction: column; }
.drawer a {
  display: block;
  padding: 0.9rem 0;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--ink);
  border-bottom: 1px solid var(--sand-soft);
}
.drawer a:hover { color: var(--bronze); }

@media (min-width: 62rem) {
  .nav { display: flex; }
  .burger { display: none; }
  .drawer { display: none !important; }
}

/* --------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: min(94vh, 54rem);
  display: flex;
  align-items: flex-end;
  background: var(--espresso);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroDrift 22s var(--ease) forwards;
}

@keyframes heroDrift {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(18, 13, 11, 0.92) 0%, rgba(18, 13, 11, 0.55) 45%, rgba(18, 13, 11, 0.28) 100%);
}

/* This element is also the .shell, so its max-width must stay the shell width —
   otherwise the auto side margins centre the text instead of aligning it to the
   page gutter. The measure is applied to the children instead. */
.hero__body {
  padding-block: clamp(4rem, 12vh, 8rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
  color: var(--on-dark);
}
.hero__body > * { max-width: 46rem; }
.hero__body h1 { color: #FFFDF9; }
.hero__body .lead { color: rgba(241, 236, 228, 0.82); max-width: 38ch; }
.hero__body .eyebrow { color: var(--bronze-light); }

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(2rem, 6vh, 3.5rem);
  display: none;
  writing-mode: vertical-rl;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(241, 236, 228, 0.6);
}
.hero__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 3.5rem;
  margin-top: 0.9rem;
  background: linear-gradient(to bottom, var(--bronze-light), transparent);
}
@media (min-width: 62rem) { .hero__scroll { display: flex; align-items: center; } }

/* Interior page header, used where there is no full hero. */
.pagehead {
  padding-top: clamp(9rem, 16vh, 12rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background: var(--alabaster);
}
.pagehead__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.pagehead__inner > * { max-width: 46rem; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay-light);
}
.crumbs a:hover { color: var(--bronze); }
.crumbs span { opacity: 0.45; }

/* --------------------------------------------------------------- editorial split */

.split {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr 1fr; }
  .split--wide-right { grid-template-columns: 1fr 1.15fr; }
}

.frame {
  position: relative;
  overflow: hidden;
  background: var(--alabaster-2);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--square { aspect-ratio: 1; }

.frame--offset::after {
  content: "";
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  width: 42%;
  height: 34%;
  border-left: 1px solid var(--bronze-light);
  border-bottom: 1px solid var(--bronze-light);
  opacity: 0.7;
  pointer-events: none;
}

/* --------------------------------------------------------------- stats */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--sand);
  border-block: 1px solid var(--sand);
}
@media (min-width: 48rem) { .stats { grid-template-columns: repeat(4, 1fr); } }

.stat {
  background: var(--alabaster);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.stat dt {
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay-light);
}
.stat dd {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.section--dark .stats { background: var(--espresso-line); border-color: var(--espresso-line); }
.section--dark .stat { background: var(--espresso); }
.section--dark .stat dd { color: var(--on-dark); }
.section--dark .stat dt { color: var(--on-dark-muted); }

/* --------------------------------------------------------------- product cards */

.cards {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}

.card { display: flex; flex-direction: column; gap: 1.15rem; }

.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--alabaster-2);
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.card:hover .card__media img { transform: scale(1.06); }

.card__index {
  position: absolute;
  top: 1rem; left: 1rem;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: #FFFDF9;
  background: rgba(28, 22, 20, 0.55);
  padding: 0.35rem 0.6rem;
  backdrop-filter: blur(6px);
}

.card h3 { transition: color 0.3s var(--ease); }
.card:hover h3 { color: var(--bronze); }
.card p { font-size: 0.95rem; color: var(--clay); }

.section--dark .card p { color: var(--on-dark-muted); }

/* --------------------------------------------------------------- feature grid */

.features {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}
.feature {
  background: var(--alabaster);
  box-shadow: 0 0 0 1px var(--sand);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.feature__no {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--bronze);
  font-variant-numeric: tabular-nums;
}
.feature p { font-size: 0.95rem; color: var(--clay); }

.section--dark .feature { background: var(--espresso); box-shadow: 0 0 0 1px var(--espresso-line); }
.section--dark .feature p { color: var(--on-dark-muted); }

/* --------------------------------------------------------------- applications */

.apps {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.app {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--espresso);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.app img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.2s var(--ease);
}
.app::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(18, 13, 11, 0.9), rgba(18, 13, 11, 0.15) 65%);
}
.app:hover img { transform: scale(1.07); }
.app__body { padding: clamp(1.25rem, 2.5vw, 1.75rem); color: var(--on-dark); display: flex; flex-direction: column; gap: 0.4rem; }
.app__body h3 { color: #FFFDF9; }
.app__body p { font-size: 0.88rem; color: rgba(241, 236, 228, 0.78); }

/* --------------------------------------------------------------- gallery */

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.filters a {
  padding: 0.55rem 1.1rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--sand);
  color: var(--clay);
  transition: all 0.3s var(--ease);
}
.filters a:hover { border-color: var(--bronze); color: var(--bronze); }
.filters a[aria-current] { background: var(--espresso); border-color: var(--espresso); color: var(--on-dark); }

.mosaic {
  display: grid;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--alabaster-2);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 1.1rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: #FFFDF9;
  background: linear-gradient(to top, rgba(18, 13, 11, 0.82), transparent);
}

/* --------------------------------------------------------------- specs table */

.specs { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.specs th, .specs td { text-align: left; padding: 0.95rem 0; border-bottom: 1px solid var(--sand); vertical-align: top; }
.specs th { width: 45%; font-weight: 400; color: var(--clay); }
.specs td { color: var(--ink); font-variant-numeric: tabular-nums; }

.pending {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  background: var(--bronze-wash);
  border: 1px dashed var(--bronze-light);
  padding: 0.2rem 0.55rem;
}

.notice {
  border-left: 2px solid var(--bronze);
  background: var(--bronze-wash);
  padding: 1.1rem 1.35rem;
  font-size: 0.92rem;
  color: var(--clay);
}

/* --------------------------------------------------------------- checklist */

.ticks { display: flex; flex-direction: column; gap: 0.85rem; }
.ticks li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.85rem;
  align-items: start;
  font-size: 0.98rem;
  color: var(--clay);
}
.ticks li::before {
  content: "";
  width: 0.4rem; height: 0.4rem;
  margin-top: 0.62rem;
  border-radius: 50%;
  background: var(--bronze);
}
.section--dark .ticks li { color: var(--on-dark-muted); }

.steps { display: flex; flex-direction: column; }
.step {
  display: grid;
  gap: 0.5rem 1.75rem;
  padding-block: 1.6rem;
  border-bottom: 1px solid var(--sand);
}
@media (min-width: 44rem) { .step { grid-template-columns: 12rem 1fr; } }
.step:first-child { border-top: 1px solid var(--sand); }
.step dt { font-family: var(--display); font-size: 1.15rem; }
.step dd { margin: 0; color: var(--clay); font-size: 0.97rem; }

/* --------------------------------------------------------------- accordion */

.accordion { border-top: 1px solid var(--sand); }
.accordion details { border-bottom: 1px solid var(--sand); }
.accordion summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.35;
  transition: color 0.3s var(--ease);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--bronze); }
.accordion summary::after {
  content: "+";
  flex: none;
  font-family: var(--body);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
  color: var(--bronze);
  transition: transform 0.3s var(--ease);
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .answer { padding-bottom: 1.6rem; max-width: 46rem; color: var(--clay); font-size: 0.98rem; }

/* --------------------------------------------------------------- contact */

.contact-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 60rem) { .contact-grid { grid-template-columns: 0.85fr 1fr; align-items: start; } }

.info-block { display: flex; flex-direction: column; gap: 0.5rem; padding-block: 1.6rem; border-bottom: 1px solid var(--sand); }
.info-block:first-child { border-top: 1px solid var(--sand); }
.info-block dt { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--clay-light); }
.info-block dd { margin: 0; font-size: 1rem; }
.info-block .note { font-size: 0.85rem; color: var(--clay-light); }
.info-block a:hover { color: var(--bronze); }

.hours { display: flex; flex-direction: column; gap: 0.4rem; }
.hours div { display: flex; justify-content: space-between; gap: 1.5rem; font-size: 0.94rem; font-variant-numeric: tabular-nums; }
.hours dt { font-size: 0.94rem; letter-spacing: 0; text-transform: none; color: var(--clay); }
.hours .closed { color: var(--clay-light); }

/* --------------------------------------------------------------- forms */

.form { display: flex; flex-direction: column; gap: 1.35rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay-light);
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}
.field label em { font-style: normal; font-size: 0.62rem; color: var(--bronze); letter-spacing: 0.12em; }

.field input, .field textarea, .field select {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--sand);
  padding: 0.7rem 0;
  border-radius: 0;
  transition: border-color 0.3s var(--ease);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field select { appearance: none; cursor: pointer; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-bottom-color: var(--bronze);
}
.field input::placeholder, .field textarea::placeholder { color: var(--clay-light); opacity: 0.75; }

.field--pair { display: grid; gap: 1.35rem; }
@media (min-width: 40rem) { .field--pair { grid-template-columns: 1fr 1fr; } }

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.field-error { font-size: 0.82rem; color: var(--alert); }

.flash {
  border-left: 2px solid var(--ok);
  background: #EEF2EC;
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.flash h3 { font-size: 1.1rem; }
.flash p { font-size: 0.93rem; color: var(--clay); }
.flash--error { border-left-color: var(--alert); background: #F6ECE9; }

.form-note { font-size: 0.82rem; color: var(--clay-light); }
.form-note a { color: var(--bronze); text-decoration: underline; text-underline-offset: 2px; }

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

.cta {
  background: var(--espresso);
  color: var(--on-dark);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.cta__inner { display: flex; flex-direction: column; gap: 1.75rem; align-items: flex-start; }
@media (min-width: 56rem) {
  .cta__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 3rem; }
  .cta__text { max-width: 34rem; }
}
.cta h2 { color: #FFFDF9; }
.cta p { color: var(--on-dark-muted); margin-top: 0.75rem; }

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

.footer { background: var(--espresso); color: var(--on-dark-muted); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; border-top: 1px solid var(--espresso-line); }
.footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 56rem) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; } }

.footer h4 {
  font-family: var(--body);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-light);
  margin-bottom: 1.1rem;
}
.footer ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer a { font-size: 0.92rem; transition: color 0.3s var(--ease); }
.footer a:hover { color: var(--on-dark); }
.footer .wordmark { color: var(--on-dark); }
.footer p { font-size: 0.92rem; line-height: 1.7; }

.footer__legal {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--espresso-line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  font-size: 0.8rem;
}
.footer__legal span { display: block; }

/* --------------------------------------------------------------- floating actions */

.floaters {
  position: fixed;
  right: clamp(0.9rem, 3vw, 1.75rem);
  bottom: clamp(0.9rem, 3vw, 1.75rem);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-end;
}

.floater {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  height: 3.25rem;
  padding-inline: 1.1rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFDF9;
  box-shadow: 0 10px 30px rgba(28, 22, 20, 0.24);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.floater:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(28, 22, 20, 0.3); }
.floater svg { flex: none; width: 1.35rem; height: 1.35rem; fill: currentColor; }
.floater--wa { background: #1F8A5B; }
.floater--call { background: var(--espresso); }
.floater--chat { background: var(--bronze); width: 3.25rem; padding-inline: 0; justify-content: center; }
.floater--chat .floater__label { display: none; }

.floater__label { display: none; }
@media (min-width: 40rem) { .floater__label { display: inline; } }

/* --------------------------------------------------------------- chatbot */

.chat {
  position: fixed;
  right: clamp(0.9rem, 3vw, 1.75rem);
  bottom: calc(clamp(0.9rem, 3vw, 1.75rem) + 11.5rem);
  z-index: 95;
  width: min(23rem, calc(100vw - 2 * clamp(0.9rem, 3vw, 1.75rem)));
  max-height: min(32rem, calc(100vh - 12rem));
  background: var(--alabaster);
  border: 1px solid var(--sand);
  box-shadow: 0 24px 60px rgba(28, 22, 20, 0.24);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.chat.is-open { display: flex; }

.chat__head {
  background: var(--espresso);
  color: var(--on-dark);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.chat__head h3 { font-size: 1.05rem; color: #FFFDF9; }
.chat__head p { font-size: 0.72rem; color: var(--on-dark-muted); margin-top: 0.2rem; }
.chat__close { color: var(--on-dark-muted); font-size: 1.5rem; line-height: 1; padding: 0.15rem 0.35rem; }
.chat__close:hover { color: var(--on-dark); }

.chat__log {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  scroll-behavior: smooth;
}

.bubble {
  max-width: 88%;
  padding: 0.75rem 0.95rem;
  font-size: 0.9rem;
  line-height: 1.6;
  border-radius: 2px;
}
.bubble--bot { background: var(--alabaster-2); color: var(--ink); align-self: flex-start; }
.bubble--me { background: var(--espresso); color: var(--on-dark); align-self: flex-end; }
.bubble--note { font-size: 0.78rem; color: var(--clay-light); background: none; padding: 0; }

.chat__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chat__chips button {
  font-size: 0.75rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--sand);
  color: var(--clay);
  text-align: left;
  transition: all 0.25s var(--ease);
}
.chat__chips button:hover { border-color: var(--bronze); color: var(--bronze); }

.chat__handoff { display: flex; flex-direction: column; gap: 0.4rem; padding-top: 0.25rem; }
.chat__handoff a {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--bronze);
  border-bottom: 1px solid transparent;
  align-self: flex-start;
}
.chat__handoff a:hover { border-bottom-color: var(--bronze); }

.chat__form { display: flex; gap: 0.5rem; border-top: 1px solid var(--sand); padding: 0.75rem; background: var(--alabaster); }
.chat__form input {
  flex: 1;
  font: inherit;
  font-size: 0.9rem;
  border: 0;
  background: transparent;
  padding: 0.5rem 0.35rem;
}
.chat__form input:focus { outline: none; }
.chat__form button {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  padding-inline: 0.6rem;
}
.chat__form button:disabled { opacity: 0.4; cursor: default; }

/* --------------------------------------------------------------- reveal */

[data-reveal] {
  opacity: 0;
  transform: translateY(1.75rem);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

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

/* --------------------------------------------------------------- print */

@media print {
  .header, .floaters, .chat, .cta, .hero__scroll { display: none !important; }
  body { background: #fff; color: #000; }
}

/* --------------------------------------------------------------- utilities

   A deliberately tiny set. They exist so that no template needs a `style`
   attribute, which in turn lets the Content-Security-Policy forbid inline
   styles outright. Add to this list rather than reaching for `style="…"`.
   -------------------------------------------------------------------------- */

.mt-half { margin-top: 0.5rem; }
.mt-1    { margin-top: 1rem; }
.mt-2    { margin-top: 1.5rem; }
.mt-3    { margin-top: 2rem; }
.mt-4    { margin-top: 2.5rem; }
.mb-0    { margin-bottom: 0; }

.text-muted      { color: var(--clay); }
.text-muted-soft { color: var(--clay-light); }
.text-sm         { font-size: 0.9rem; }

.footer-lede { margin-top: 1.25rem; max-width: 26rem; }
.legal-heading { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
.embed-fill { width: 100%; height: 100%; border: 0; }

.section--dark .text-muted,
.section--dark .text-muted-soft { color: var(--on-dark-muted); }
