/* ==========================================================================
   Venue 650 — 650 Sixth St SW, Winter Haven, FL
   Single stylesheet. No other CSS files, no inline <style>.

   Proportions measured from thehaleymansion.com computed styles:
     content row 1080px · wide row 1400px · body 15px/25.5px (1.7)
     buttons 1px border, 3px radius, transparent ground
   Palette drawn from the venue's own V650 monogram and photography.
   Typefaces are deliberately none of the reference's.
   ========================================================================== */

/* --- 1. Tokens ----------------------------------------------------------- */

:root {
  /* Gilt — the exact family of the venue's own script monogram */
  --gilt:        #a98149;  /* accent: large text and ornament only (3.55:1) */
  --gilt-deep:   #7d5c2e;  /* small text that must clear 4.5:1 (6.10:1) */
  --gilt-dark:   #5e4420;  /* hover + current — hover darkens, never lightens */
  --gilt-soft:   #c9a878;  /* hairlines, ornament */

  /* Neutrals — warm, taken from polished concrete and black steel */
  --ink:         #201d19;
  --body-text:   #4f4a43;
  --muted:       #7a7267;  /* lightest text permitted — 4.74:1 */
  --chalk:       #faf8f4;
  --chalk-deep:  #f0ebe2;
  --night:       #17150f;

  --garden:      #5d6b4d;  /* secondary — garden sections only */

  --line:        rgba(32, 29, 25, .13);
  --line-light:  rgba(255, 255, 255, .22);

  /* Luxury is bought with space. This is the single biggest lever on the page. */
  --section-y:   clamp(4.5rem, 10vw, 9.5rem);

  --serif:  "Prata", "Times New Roman", serif;
  --script: "Italianno", cursive;
  --sans:   "Jost", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);   /* exponential — settles, never bounces */
}

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

/* --- 2. Base ------------------------------------------------------------- */

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

body {
  margin: 0;
  font: 400 15px/1.7 var(--sans);   /* Jost 300 goes thin and grey at 15px */
  color: var(--body-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  /* No overflow-x:hidden — it would break the sticky masthead. Overflow is
     prevented at source instead, and verified at every breakpoint. */
}

/* Only 300/400/500 of Jost are loaded — a default <strong> would ask for 700
   and get a synthesised bold. 500 is the real emphasis weight here. */
strong, b { font-weight: 500; color: var(--ink); }

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

a { color: var(--gilt-deep); text-decoration: none; }
a:hover { color: var(--gilt-dark); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  line-height: 1.22;
  letter-spacing: .005em;
}

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

::selection { background: var(--gilt-soft); color: var(--night); }

:focus-visible {
  outline: 2px solid var(--gilt-deep);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: #fff; color: var(--gilt-dark);
  padding: .8rem 1.3rem; font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase;
}
.skip:focus { left: 1rem; top: 1rem; }

.sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- 3. Measure ---------------------------------------------------------- */

.wrap        { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2rem); }
.wrap--wide  { max-width: 1400px; }
/* measured in px, not ch: the lede is serif and larger than the body font, so a
   ch measure taken from the body font sets it far too narrow */
.wrap--text  { max-width: 660px; }

.section     { padding: var(--section-y) 0; }
.section--chalk { background: var(--chalk); }
.section--deep  { background: var(--chalk-deep); }
.section--night { background: var(--night); color: rgba(255,255,255,.8); }
.section--tight { padding-top: calc(var(--section-y) * .55); }

/* A faint paper tooth over the tinted grounds */
.section--chalk, .section--deep { position: relative; }
.section--chalk::before, .section--deep::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}
.section--chalk > *, .section--deep > * { position: relative; }

/* --- 4. Headings, ledes, labels ------------------------------------------ */

.h-script {
  font-family: var(--script);
  font-weight: 400;
  color: var(--gilt);
  line-height: 1;
  font-size: clamp(2.9rem, 6.4vw, 4.6rem);
  padding-bottom: .12em;      /* Italianno descends far below the baseline */
  margin: 0;
  text-wrap: balance;
}
.h-script--light { color: var(--gilt-soft); }

/* Prata is a Didone: at display sizes its default fit is loose and its leading
   is airy. Tighten both — the hairline serifs do the work, not the spacing. */
.h-title {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.14;
  letter-spacing: -.014em;
  margin: 0;
  text-wrap: balance;
}
.h-title--light { color: #fff; }

.lede {
  font-family: var(--serif);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.72;
  color: var(--ink);
  text-wrap: pretty;
}

.center { text-align: center; }
.center .mark { margin-left: auto; margin-right: auto; }

/* --- 5. The mark — this site's one ornament ------------------------------
   A brass hairline scored outward from a hollow diamond: the bracket of a
   steel truss, drawn at the weight of an engraved plate. It follows every
   section heading on every page.
   ------------------------------------------------------------------------ */

.mark {
  display: block; position: relative;
  width: min(220px, 62%); height: 10px;
  margin: 1.35rem auto 1.6rem;
}
.mark::before, .mark::after {
  content: ""; position: absolute; top: 50%;
  height: 1px; width: calc(50% - 13px);
  background: var(--gilt-soft);
}
.mark::before {
  left: 0; transform-origin: right center;
  background: linear-gradient(to right, rgba(201,168,120,0), var(--gilt-soft));
}
.mark::after {
  right: 0; transform-origin: left center;
  background: linear-gradient(to left, rgba(201,168,120,0), var(--gilt-soft));
}
.mark > i {
  position: absolute; left: 50%; top: 50%;
  width: 9px; height: 9px; margin: -5px 0 0 -5px;
  border: 1px solid var(--gilt);
  transform: rotate(45deg);
}

.mark--left { margin-left: 0; width: 150px; }
.mark--left::before { display: none; }
.mark--left > i { left: 4px; }
.mark--left::after { right: 0; width: calc(100% - 22px); }

/* Over photography the gilt hairline disappears into bright ground, and a white
   one disappears into white drapery — so the light variant is white and carries
   the same shadow the lettering does. */
.mark--light { filter: drop-shadow(0 1px 4px rgba(0,0,0,.7)); }
.mark--light::before { background: linear-gradient(to right, rgba(255,255,255,0), #fff); }
.mark--light::after  { background: linear-gradient(to left,  rgba(255,255,255,0), #fff); }
.mark--light > i     { border-color: #fff; }

/* --- 6. Buttons ---------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px; font-weight: 400;
  letter-spacing: .26em; text-transform: uppercase;
  padding: 1.1rem 2.7rem .95rem;   /* optical: uppercase sits high in its box */
  text-indent: .26em;              /* recentre against the trailing letterspace */
  border: 1px solid var(--gilt);
  border-radius: 3px;                 /* measured from the reference */
  background: transparent;
  color: var(--gilt-deep);
  cursor: pointer;
  transition: background-color .45s var(--ease), color .45s var(--ease),
              border-color .45s var(--ease);
}
.btn:hover { background: var(--gilt); border-color: var(--gilt); color: #fff; }

.btn--light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--ink); }

.btn--solid { background: var(--gilt); border-color: var(--gilt); color: #fff; }
.btn--solid:hover { background: var(--gilt-dark); border-color: var(--gilt-dark); color: #fff; }

.btns { display: flex; flex-wrap: wrap; gap: .9rem; }
.center .btns { justify-content: center; }

.link-more {
  display: inline-block;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gilt-deep);
  border-bottom: 1px solid rgba(169,129,73,.4);
  padding-bottom: 3px;
  transition: border-color .35s var(--ease), color .35s var(--ease);
}
.link-more:hover { color: var(--gilt-dark); border-bottom-color: var(--gilt-dark); }

/* --- 7. Header ----------------------------------------------------------- */

.topbar {
  background: var(--night);
  color: rgba(255,255,255,.62);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 1.6rem; min-height: 38px; flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,.8); }
.topbar a:hover { color: var(--gilt-soft); }
.topbar .dot { color: var(--gilt); }

.masthead {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 60;
  transition: box-shadow .6s var(--ease-out);
}
.masthead__inner {
  display: flex; flex-direction: column; align-items: center;
  padding: 1.9rem 0 0;
  transition: padding .6s var(--ease-out);
}

.brand { display: inline-block; text-align: center; line-height: 1; }
.brand img {
  width: clamp(140px, 18vw, 200px); margin: 0 auto;
  transition: width .6s var(--ease-out);
}
.brand__sub {
  display: block;
  font-size: 9.5px; letter-spacing: .42em; text-transform: uppercase;
  color: var(--muted); margin-top: .6rem; padding-left: .42em;
  transition: opacity .4s var(--ease-out), max-height .6s var(--ease-out),
              margin-top .6s var(--ease-out);
  max-height: 2rem; opacity: 1;
}

/* Condensed on scroll — the monogram shrinks, the locality line retires, and
   the navigation stays within reach for the whole page. */
.masthead.is-condensed { box-shadow: 0 10px 40px -18px rgba(32,29,25,.3); }
.masthead.is-condensed .masthead__inner { padding-top: .9rem; }
.masthead.is-condensed .brand img { width: clamp(104px, 11vw, 128px); }
.masthead.is-condensed .brand__sub { opacity: 0; max-height: 0; margin-top: 0; }
.masthead.is-condensed .nav__list { margin-top: .85rem; padding-bottom: .85rem; }

.nav { width: 100%; }
.nav__list {
  list-style: none; margin: 1.35rem 0 0; padding: 0 0 1.1rem;
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: clamp(1rem, 2.6vw, 2.2rem);
}
.nav__list a {
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gilt-deep); position: relative; padding-bottom: 5px;
  text-indent: .24em;
}
.nav__list a::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: 0;
  height: 1px; background: var(--gilt-dark);
  transition: left .4s var(--ease), right .4s var(--ease);
}
.nav__list a:hover { color: var(--gilt-dark); }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { left: 0; right: 0; }
.nav__list a[aria-current="page"] { color: var(--gilt-dark); }

.nav__toggle {
  display: none;
  margin: 1.1rem auto 1.2rem;
  background: none; border: 1px solid var(--line);
  border-radius: 3px; padding: .6rem 1.2rem;
  font-family: var(--sans); font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gilt-deep); cursor: pointer;
}

/* --- 8. Hero ------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 920px);
  display: grid; place-items: center;
  overflow: hidden;
  background: var(--night);
  text-align: center;
}
.hero__media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.02);
}
/* A soft pool of shade behind the lettering, so the photograph keeps its
   brightness at the edges while the type stays legible over white drapery. */
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 57% at 50% 52%, rgba(23,21,15,.56), rgba(23,21,15,0) 74%),
    linear-gradient(to bottom, rgba(23,21,15,.5) 0%, rgba(23,21,15,.2) 34%,
                    rgba(23,21,15,.26) 62%, rgba(23,21,15,.62) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 4vw, 2rem);
  max-width: 940px;
}
/* The reference sets its hero script at 86px. Match that confidence — a timid
   script over a full-bleed photograph reads as a caption, not a title. */
.hero__script {
  color: #fff;
  font-size: clamp(3.2rem, 7.6vw, 6rem);
  text-shadow: 0 2px 26px rgba(0,0,0,.42);
}
.hero__title {
  font-size: clamp(.98rem, 1.7vw, 1.2rem);
  letter-spacing: .34em; text-transform: uppercase;
  font-family: var(--sans); font-weight: 400;
  color: #fff; margin-top: .5rem;
  padding-left: .34em;            /* optical: tracking adds a tail on the right */
}
.hero__note {
  margin-top: 1.5rem; color: rgba(255,255,255,.85);
  font-size: 14px; letter-spacing: .04em;
}
.hero .btns { margin-top: 2rem; }

.hero--page { min-height: clamp(340px, 46vh, 470px); }
.hero--page .hero__script { font-size: clamp(2.6rem, 5.4vw, 4rem); }

/* --- 9. Tiles — the gateway row ------------------------------------------ */

.tiles {
  display: grid; gap: 2px;
  grid-template-columns: repeat(5, 1fr);
}
.tile {
  position: relative; display: block;
  min-height: clamp(280px, 30vw, 440px);
  overflow: hidden; background: var(--night);
}
/* A gilt hairline draws inward on hover — the frame of a plate, not a border */
.tile__frame {
  position: absolute; inset: 14px; z-index: 2;
  border: 1px solid rgba(201,168,120,.85);
  opacity: 0; transform: scale(1.04);
  transition: opacity .6s var(--ease-out), transform .8s var(--ease-out);
  pointer-events: none;
}
.tile:hover .tile__frame, .tile:focus-visible .tile__frame {
  opacity: 1; transform: none;
}
.tile__media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.001);
  transition: transform 1.6s var(--ease), filter 1.6s var(--ease);
  filter: saturate(.92);
}
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(23,21,15,.18), rgba(23,21,15,.62));
  transition: background .6s var(--ease);
}
.tile:hover .tile__media { transform: scale(1.07); filter: saturate(1); }
.tile:hover::after { background: linear-gradient(to bottom, rgba(23,21,15,.1), rgba(23,21,15,.5)); }

.tile__label {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 1.7rem;
  text-align: center; padding: 0 .6rem;
}
.tile__label .a {
  display: block; font-family: var(--script);
  font-size: clamp(2.1rem, 2.9vw, 2.75rem); line-height: 1;
  color: #fff; padding-bottom: .1em;
}
.tile__label .b {
  display: block; font-size: 10px; letter-spacing: .26em;
  text-transform: uppercase; color: rgba(255,255,255,.72); margin-top: .1rem;
}

/* --- 10. Split ----------------------------------------------------------- */

.split {
  display: grid; align-items: center;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.split--reverse .split__media { order: 2; }

.split__media { position: relative; }
/* an offset gilt plate line behind the photograph */
.split__media::before {
  content: ""; position: absolute; z-index: 0;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gilt-soft);
  opacity: .75;
}
.split--reverse .split__media::before { inset: 18px 18px -18px -18px; }
.split__media img { position: relative; z-index: 1; width: 100%; }

.split__body h2 { margin-bottom: 0; }

.caption {
  font-family: var(--serif);
  font-size: 12.5px; color: var(--muted);
  margin-top: .85rem; letter-spacing: .01em;
}

/* --- 11. Band — full-bleed photograph with lettering inside --------------- */

.band {
  position: relative; overflow: hidden;
  min-height: clamp(400px, 52vh, 580px);
  display: grid; place-items: center;
  text-align: center; background: var(--night);
}
.band__media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
/* deepest through the middle so lettering never competes with the picture */
.band__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 66% 62% at 50% 50%, rgba(23,21,15,.55), rgba(23,21,15,0) 76%),
    linear-gradient(to bottom, rgba(23,21,15,.34) 0%, rgba(23,21,15,.6) 50%,
                    rgba(23,21,15,.34) 100%);
}
.band__inner {
  position: relative; z-index: 2;
  padding: clamp(3rem, 7vw, 4.5rem) clamp(1.25rem, 4vw, 2rem);
  max-width: 780px;
}
.band__inner p { color: rgba(255,255,255,.86); }

/* --- 12. Cards ----------------------------------------------------------- */

.cards {
  display: grid; gap: clamp(1.6rem, 3.4vw, 2.8rem);
  grid-template-columns: repeat(3, 1fr);
}
.card { text-align: center; }
.card img { margin-bottom: 1.4rem; }
.card h3 { font-size: 1.2rem; }
.card .mark { width: 120px; margin-top: .9rem; margin-bottom: 1rem; }
.card p { font-size: 14.5px; }

/* --- 13. Spec — the inclusion ledger -------------------------------------- */

.spec {
  border-top: 1px solid var(--gilt-soft);
  border-bottom: 1px solid var(--gilt-soft);
  padding: clamp(2rem, 4.5vw, 3.2rem) 0;
}
.spec__head { text-align: center; margin-bottom: 2.4rem; }
.spec__head h3 { font-size: 1.45rem; }
.spec__cols {
  display: grid; gap: clamp(1.6rem, 4vw, 3.4rem);
  grid-template-columns: repeat(2, 1fr);
}
.spec__group h4 {
  font-family: var(--sans); font-size: 10.5px; font-weight: 400;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--gilt-deep);
  padding-bottom: .7rem; margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.spec__list { list-style: none; margin: 0; padding: 0; }
.spec__list li {
  position: relative; padding: .34rem 0 .34rem 1.35rem;
  font-size: 14.5px;
}
/* centred on the first line box: .34rem padding + half of 1.7 line-height */
.spec__list li::before {
  content: ""; position: absolute; left: 0; top: 1.22em;
  width: 5px; height: 5px; margin-top: -2.5px;
  border: 1px solid var(--gilt); transform: rotate(45deg);
}
.spec__list strong { font-weight: 500; color: var(--ink); }

.spec__note {
  margin-top: 2.2rem; text-align: center;
  font-size: 13.5px; color: var(--muted); font-family: var(--serif); letter-spacing: .01em;
}

/* --- 13b. Questions ------------------------------------------------------ */

.qa {
  display: grid; gap: 0 clamp(2rem, 5vw, 4rem);
  grid-template-columns: repeat(2, 1fr);
}
.qa__item { border-top: 1px solid var(--line); padding: 1.7rem 0 1.5rem; }
.qa__item h3 {
  font-size: 1.06rem; line-height: 1.3; letter-spacing: -.008em;
  margin-bottom: .6rem;
}
.qa__item p { font-size: 14.5px; margin: 0; }

/* --- 14. Facts ----------------------------------------------------------- */

.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
.fact { background: #fff; padding: clamp(1.4rem, 3vw, 2.1rem) 1rem; text-align: center; }
.section--chalk .fact { background: var(--chalk); }
.fact__n {
  font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  color: var(--gilt); line-height: 1;
}
.fact__l {
  display: block; margin-top: .7rem;
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
}

/* --- 15. Quotes ---------------------------------------------------------- */

.quotes { display: grid; gap: clamp(1.6rem, 3.4vw, 2.6rem); grid-template-columns: repeat(3, 1fr); }
.quote {
  background: #fff; border: 1px solid var(--line);
  padding: clamp(1.4rem, 2.4vw, 1.8rem);
  display: flex; flex-direction: column;
}
.section--chalk .quote { background: #fff; }
.quote__mark {
  font-family: var(--serif); font-size: 2.6rem; line-height: .8;
  color: var(--gilt-soft); margin-bottom: .8rem;
}
/* Prata's hairline serifs start to shimmer below 15px — this is its floor */
.quote p {
  font-family: var(--serif); font-size: 15px; line-height: 1.78;
  color: var(--ink); flex: 1; text-wrap: pretty;
}
.quote cite {
  display: block; margin-top: 1.4rem; font-style: normal;
  font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gilt-deep);
}
.quote cite small {
  display: block; margin-top: .35rem; font-size: 9.5px;
  letter-spacing: .16em; color: var(--muted);
}

/* --- 16. Recognition ----------------------------------------------------- */

.recog { display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); background: var(--line); }
.recog__item { background: var(--chalk); padding: 1.9rem 1.2rem; text-align: center; }
.recog__item .n {
  font-family: var(--serif); font-size: 1.02rem; color: var(--ink); display: block;
}
.recog__item .y {
  display: block; margin-top: .55rem;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gilt-deep);
}

/* --- 17. Gallery + lightbox ---------------------------------------------- */

.gallery { columns: 3; column-gap: 14px; }
.gallery__item {
  break-inside: avoid; margin: 0 0 14px; padding: 0;
  border: 0; background: none; cursor: zoom-in; width: 100%; display: block;
  position: relative; overflow: hidden;
}
.gallery__item img { width: 100%; transition: transform 1.2s var(--ease), filter .6s var(--ease); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(23,21,15,0); transition: background .5s var(--ease);
}
.gallery__item:hover img { transform: scale(1.045); }
.gallery__item:hover::after { background: rgba(23,21,15,.16); }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15,13,9,.94);
  display: none; place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox[open], .lightbox.is-open { display: grid; }
.lightbox img { max-width: 100%; max-height: 84vh; margin: 0 auto; }
.lightbox__cap {
  text-align: center; color: rgba(255,255,255,.72);
  font-family: var(--serif); font-size: 13.5px; letter-spacing: .01em; margin-top: 1rem;
}
.lightbox__close, .lightbox__nav {
  position: absolute; background: none; border: 1px solid rgba(255,255,255,.3);
  color: #fff; width: 46px; height: 46px; border-radius: 50%;
  cursor: pointer; font-size: 17px; line-height: 1;
  display: grid; place-items: center;
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__nav { top: 50%; margin-top: -23px; }
.lightbox__nav--prev { left: clamp(.6rem, 2.5vw, 2rem); }
.lightbox__nav--next { right: clamp(.6rem, 2.5vw, 2rem); }

/* --- 18. Forms ----------------------------------------------------------- */

.form { display: grid; gap: 1.3rem; grid-template-columns: repeat(2, 1fr); }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gilt-deep); margin-bottom: .55rem;
}
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 15px; font-weight: 400;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: .85rem 1rem;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gilt);
  box-shadow: 0 0 0 3px rgba(169,129,73,.13);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }

.form__note { font-size: 12.5px; color: var(--muted); grid-column: 1 / -1; }
.form__actions { grid-column: 1 / -1; }

/* --- 19. Contact grid ---------------------------------------------------- */

.contact-grid { display: grid; gap: clamp(1.8rem, 4vw, 3rem); grid-template-columns: repeat(3, 1fr); }
.contact-card h3 { font-size: 1.1rem; }
.contact-card .mark { width: 110px; margin: .8rem 0 1rem; }
.contact-card .mark::before { display: none; }
.contact-card .mark > i { left: 4px; }
.contact-card .mark::after { right: 0; width: calc(100% - 22px); }
.contact-card p { font-size: 14.5px; }

.map-frame { border: 1px solid var(--line); padding: 8px; background: #fff; }
.map-frame iframe { display: block; width: 100%; height: clamp(300px, 42vh, 440px); border: 0; filter: saturate(.72); }

/* --- 20. Footer ---------------------------------------------------------- */

.footer { background: var(--night); color: rgba(255,255,255,.62); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer a { color: rgba(255,255,255,.78); }
.footer a:hover { color: var(--gilt-soft); }

.footer__top { text-align: center; padding-bottom: 2.6rem; }
/* margin:0 is load-bearing — the inherited `p` bottom margin is 1.15em, which
   at this size opened a 66px hole between the monogram and its tagline */
.footer__mono {
  margin: 0;
  font-family: var(--script); font-size: clamp(2.6rem, 5vw, 3.6rem);
  color: var(--gilt-soft); line-height: 1; padding-bottom: .1em;
}
.footer__tag {
  font-size: 10px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--gilt); margin-top: .3rem;
}

.footer__cols {
  display: grid; gap: clamp(1.6rem, 4vw, 3rem);
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
  padding-top: 2.6rem;
}
.footer__cols h4 {
  font-family: var(--sans); font-size: 10px; font-weight: 400;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--gilt-soft); margin-bottom: 1rem;
}
.footer__cols ul { list-style: none; margin: 0; padding: 0; }
.footer__cols li { margin-bottom: .5rem; font-size: 14px; }
.footer__cols p { font-size: 14px; }

.footer__base {
  border-top: 1px solid var(--line-light);
  margin-top: 2.6rem; padding-top: 1.6rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 11px; letter-spacing: .1em; color: rgba(255,255,255,.45);
}

/* --- 21. Motion ----------------------------------------------------------
   Content is visible by default. The from-state exists only under html.js,
   so a script failure can never blank the page.
   ------------------------------------------------------------------------ */

/* Type is set, not animated. Nothing written on this site slides into place.
   Only two things move on entry: the mark draws itself, and a photograph
   settles — coming to rest out of a shallow blur rather than rising up the
   page. Everything else is simply already there. */
.js .reveal img, .js img.reveal {
  opacity: 0;
  transform: scale(1.035);
  filter: blur(10px);
}
.js .reveal.is-in img, .js img.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
  transition: opacity .9s var(--ease-out), transform 1.3s var(--ease-out),
              filter 1.1s var(--ease-out);
}

.js .mark::before, .js .mark::after { transform: scaleX(0); }
.js .mark > i { transform: rotate(45deg) scale(0); }
.js .mark.is-in::before, .js .mark.is-in::after {
  transform: scaleX(1); transition: transform 1.1s var(--ease) .12s;
}
.js .mark.is-in > i {
  transform: rotate(45deg) scale(1); transition: transform .6s var(--ease);
}

.js .hero__media { animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.11); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal img, .js img.reveal { opacity: 1; transform: none; filter: none; }
  .js .mark::before, .js .mark::after { transform: scaleX(1); }
  .js .mark > i { transform: rotate(45deg) scale(1); }
  .js .hero__media { animation: none; }
  .tile__media, .gallery__item img { transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* --- 22. Breakpoints ----------------------------------------------------- */

@media (max-width: 1000px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tile:nth-child(4), .tile:nth-child(5) { grid-column: span 1; }
  .cards, .quotes, .contact-grid, .recog { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 2; }
}

@media (max-width: 860px) {
  .nav__list {
    display: none; flex-direction: column; align-items: center;
    gap: 0; padding-bottom: 1rem;
  }
  .nav__list.is-open { display: flex; }
  .nav__list li { width: 100%; text-align: center; }
  .nav__list a { display: block; padding: .85rem 0; }
  .nav__list a::after { display: none; }
  .nav__toggle { display: block; }

  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media::before,
  .split--reverse .split__media::before { inset: 12px -12px -12px 12px; }

  .footer__cols { grid-template-columns: 1fr; text-align: center; }
  .footer__base { justify-content: center; text-align: center; }
  .spec__cols { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile:nth-child(5) { grid-column: 1 / -1; min-height: 220px; }
  .cards, .quotes, .contact-grid, .recog { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .topbar .wrap { gap: .5rem; font-size: 10px; }
}

@media (max-width: 420px) {
  .facts { grid-template-columns: 1fr; }
  .btns { flex-direction: column; }
  .btn { text-align: center; }
}

@media print {
  .topbar, .nav, .hero__media, .lightbox, .btns { display: none !important; }
  body { color: #000; }
}
