/* =========================================================
   KELLY McCARTHY — Florida Coastal Real Estate
   "Coastal Atelier" — a light fashion-editorial identity.
   Outfit (display) · Manrope (text) · gold / black / silver
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-padding-top: 96px; }

:root {
  --paper: #FAF7F1;       /* warm ivory base */
  --paper-2: #F2ECE1;     /* sand */
  --black: #100F0D;
  --ink: #1c1a16;         /* darker for stronger contrast */
  --muted: #565049;       /* darker body/secondary text — more readable */
  --hair: #DCD3C4;        /* hairline */
  --silver: #C7C7CB;

  --gold: #B8912F;        /* richer antique gold */
  --gold-deep: #79601b;   /* deep gold for text — readable on cream */
  --gold-light: #F3E5B0;  /* champagne highlight */
  /* polished metallic "gold-foil" gradient with a champagne sheen band */
  --gold-grad: linear-gradient(122deg, #7d611b 0%, #b8912f 18%, #e7cd7e 40%, #f7ecc4 50%, #dcb85f 60%, #a9812c 82%, #6f571a 100%);

  --serif: 'Outfit', 'Manrope', system-ui, -apple-system, sans-serif;
  --sans: 'Manrope', system-ui, sans-serif;

  --shell: 1240px;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  font-family: var(--sans);
  font-size: 17px; line-height: 1.72; font-weight: 400;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 300; padding: 0.7rem 1rem; background: var(--black); color: var(--paper); font-size: 0.85rem; transform: translateY(-160%); opacity: 0; transition: 0.22s; }
.skip-link:focus { transform: none; opacity: 1; outline: none; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.g { color: var(--gold-deep); }

/* gallery frame — a thin gold inset border around the viewport */
.page-frame { position: fixed; inset: 14px; border: 1px solid rgba(184,145,47,0.38); pointer-events: none; z-index: 90; }
@media (max-width: 700px) { .page-frame { inset: 8px; } }

/* --- Type scale --- */
.kicker {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-deep);
}
.kicker__dot { width: 7px; height: 7px; background: var(--gold-grad); transform: rotate(45deg); flex-shrink: 0; }

.h-xl, .h-lg, .h-md { font-family: var(--serif); font-weight: 560; line-height: 1.08; letter-spacing: 0; color: var(--ink); }
.h-xl { font-size: clamp(2.5rem, 6vw, 4.8rem); }
.h-lg { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.h-md { font-size: clamp(1.65rem, 3vw, 2.5rem); }

.section { padding: clamp(3.5rem, 8vw, 7.5rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3.5rem) 0; }

.head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.head .kicker { margin-bottom: 1.4rem; }
.head--split { max-width: none; display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: end; }
.head__note { font-family: var(--sans); font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--muted); line-height: 1.6; }

.textlink { font-family: var(--sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 4px; transition: 0.3s var(--ease); }
.textlink:hover { color: var(--gold-deep); letter-spacing: 0.2em; }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem; font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; padding: 1rem 1.9rem; border: 1px solid transparent; transition: all 0.35s var(--ease); }
.btn--sm { padding: 0.72rem 1.35rem; font-size: 0.72rem; }
.btn--gold { background: var(--gold-grad); color: #1a1408; box-shadow: 0 14px 32px rgba(120,94,26,0.30); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(120,94,26,0.42); }
.btn--line { background: transparent; color: var(--ink); border-color: rgba(33,31,27,0.3); }
.btn--line:hover { border-color: var(--ink); background: rgba(33,31,27,0.04); }
.btn--dark { background: var(--black); color: var(--paper); border-color: var(--black); }
.btn--dark:hover { background: var(--gold-deep); border-color: var(--gold-deep); transform: translateY(-2px); }
.arr { display: inline-block; transition: transform 0.4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* --- Header --- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: 0.4s var(--ease); padding: 0.7rem 0; }
.header.is-scrolled { background: rgba(250,247,241,0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 14px 40px rgba(16,15,13,0.07); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header__brand { position: relative; line-height: 0; }
.header__logo { height: 54px; width: auto; border-radius: 3px; transition: height 0.4s var(--ease), opacity 0.4s var(--ease); }
.header.is-scrolled .header__logo { height: 42px; }
/* dark-bg logo shows over the video at top; light-bg logo when scrolled onto paper */
.header__logo--light { position: absolute; top: 0; left: 0; opacity: 0; mix-blend-mode: multiply; }
.header.is-scrolled .header__logo--dark { opacity: 0; }
.header.is-scrolled .header__logo--light { opacity: 1; }
.header__nav { display: flex; gap: 2rem; margin-left: auto; }
/* over-video state: light nav text until the header gains its paper background (home only) */
.header:not(.is-scrolled):not(.header--solid) .navlink { color: #fff; }
.header:not(.is-scrolled):not(.header--solid) .navlink:hover { color: var(--gold-light); }
.header:not(.is-scrolled):not(.header--solid) .navlink::after { background: var(--gold-light); }
.header:not(.is-scrolled):not(.header--solid) .burger span { background: #fff; }

/* solid header — used on every page except the home video hero */
.header--solid { background: rgba(250,247,241,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 14px 40px rgba(16,15,13,0.07); }
.header--solid .header__logo { height: 44px; }
.header--solid .header__logo--dark { opacity: 0; }
.header--solid .header__logo--light { opacity: 1; }
.header--solid .navlink { color: var(--ink); }
.navlink.is-active { color: var(--gold-deep); }
.navlink { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; position: relative; padding: 4px 0; transition: color 0.3s; }
.navlink::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold-deep); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease-out); }
.navlink:hover { color: var(--gold-deep); }
.navlink:hover::after, .navlink.is-active::after { transform: scaleX(1); }
.header__cta { margin-left: 0.5rem; }
.burger { display: none; flex-direction: column; gap: 6px; width: 30px; padding: 6px 2px; }
.burger span { height: 1.5px; width: 100%; background: var(--ink); transition: 0.3s var(--ease); }
.burger.is-open span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

.drawer { position: fixed; inset: 0; z-index: 95; background: var(--paper); display: flex; flex-direction: column; justify-content: center; gap: 0.5rem; padding: var(--pad); transform: translateY(-100%); transition: transform 0.5s var(--ease); }
.drawer.is-open { transform: none; }
.drawer a { font-family: var(--serif); font-size: 2rem; padding: 0.4rem 0; border-bottom: 1px solid var(--hair); }
.drawer a:hover { color: var(--gold-deep); }

/* --- Hero (full-bleed video banner) --- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: #0b0b0c; overflow: hidden; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0.8; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(8,7,5,0.82) 0%, rgba(8,7,5,0.5) 42%, rgba(8,7,5,0.16) 72%, rgba(8,7,5,0.32) 100%),
    linear-gradient(to bottom, rgba(8,7,5,0.35) 0%, transparent 26%, transparent 62%, rgba(8,7,5,0.55) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-top: 6rem; }
.hero__copy { max-width: 760px; animation: rise 1.1s var(--ease-out) both; }
.hero .kicker { margin-bottom: 1.6rem; }
.kicker--light { color: #fff; }
.kicker--light .kicker__dot { background: var(--gold-light); }
.hero__title { font-family: var(--serif); font-weight: 600; font-size: clamp(3rem, 8.2vw, 6.4rem); line-height: 1.0; letter-spacing: -0.01em; margin-bottom: 1.4rem; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,0.35); }
.hero__title .g { display: inline-block; font-style: normal; font-weight: 500; line-height: 1.22; padding: 0 0.18em 0.14em 0; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__tag { font-family: var(--sans); font-size: clamp(0.82rem, 1vw, 0.98rem); letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.8rem; }
.hero__lead { font-size: 1.15rem; line-height: 1.6; font-weight: 500; color: rgba(255,255,255,0.94); max-width: 500px; margin-bottom: 2.4rem; text-shadow: 0 1px 12px rgba(0,0,0,0.45); }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; max-width: 500px; }
.btn--glass { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.btn--glass:hover { background: rgba(255,255,255,0.18); border-color: #fff; }
.hero__scroll { position: absolute; bottom: 2.4rem; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--gold-light), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 40%; background: var(--gold-light); animation: scrolldash 2s var(--ease) infinite; }
@media (max-width: 600px) { .hero__scroll { display: none; } }

/* coordinate ticker */
.ticker { border-bottom: 1px solid var(--hair); padding: 1.1rem 0; display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap; font-family: var(--serif); font-style: normal; font-size: clamp(1.1rem, 2vw, 1.55rem); color: var(--ink); }
.ticker i { color: var(--gold); font-style: normal; font-size: 0.55em; align-self: center; }

/* --- Intro --- */
.intro__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.intro__statement { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 2.9rem); line-height: 1.18; letter-spacing: -0.005em; color: var(--ink); }
.intro__statement .g { font-style: normal; }
.intro__note p { color: var(--muted); margin-bottom: 1.5rem; font-size: 1.02rem; }

/* --- Services editorial index --- */
.srv-list { border-top: 1px solid var(--hair); }
.srv { display: grid; grid-template-columns: auto 64px 1fr auto; gap: clamp(1.2rem, 3vw, 3rem); align-items: center; padding: clamp(1.6rem, 3vw, 2.6rem) 0.5rem; border-bottom: 1px solid var(--hair); transition: padding 0.4s var(--ease), background 0.4s var(--ease); }
.srv:hover { padding-left: 1.4rem; padding-right: 1.4rem; background: rgba(193,154,75,0.05); }
.srv__no { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 500; color: transparent; -webkit-text-stroke: 1px var(--gold); letter-spacing: 0.02em; }
.srv__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(193,154,75,0.3); background: rgba(193,154,75,0.07); transition: 0.4s var(--ease); }
.srv__icon svg { width: 28px; height: 28px; }
.srv:hover .srv__icon { background: rgba(193,154,75,0.18); transform: scale(1.05); }
.srv__body { max-width: 620px; }
.srv__body h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 500; margin-bottom: 0.3rem; }
.srv__body p { color: var(--muted); font-size: 0.98rem; }
.srv__arr { font-size: 1.3rem; color: var(--gold-deep); transition: transform 0.4s var(--ease); }
.srv:hover .srv__arr { transform: translateX(6px); }

/* --- About --- */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.about__media::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(193,154,75,0.55); transform: translate(-16px,16px); pointer-events: none; }
.about__tab { position: absolute; top: 1.2rem; right: -1px; background: var(--black); color: var(--paper); font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; padding: 0.6rem 1rem; }
.about__copy .kicker { margin-bottom: 1.3rem; }
.about__copy .h-md { margin-bottom: 1.4rem; }
.about__copy p { color: var(--muted); margin-bottom: 1.2rem; }
.checks { list-style: none; margin: 1.8rem 0 2.2rem; display: grid; gap: 0.9rem; }
.checks li { display: flex; align-items: center; gap: 0.8rem; font-size: 0.98rem; color: var(--ink); }
.checks svg { width: 20px; height: 20px; flex-shrink: 0; }

/* --- Experience band --- */
.xp__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.xp__copy .kicker { margin-bottom: 1.3rem; }
.xp__copy .h-md { margin-bottom: 1.3rem; }
.xp__copy > p { color: var(--muted); margin-bottom: 1.6rem; }
.xp__media { position: relative; }
.xp__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%; }
.xp__media::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(193,154,75,0.55); transform: translate(16px,16px); pointer-events: none; }
.xp__tab { position: absolute; left: 1.2rem; bottom: 1.2rem; background: var(--black); color: var(--paper); font-family: var(--serif); font-style: normal; font-size: 0.9rem; padding: 0.55rem 1rem; }

/* --- Stats --- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.stat { text-align: center; padding: 2.4rem 1rem; border-right: 1px solid var(--hair); }
.stat:last-child { border-right: none; }
.stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; color: var(--gold-deep); margin-bottom: 0.5rem; }
.stat b i { font-style: normal; font-size: 0.5em; }
.stat span { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: var(--muted); }

/* --- About value props --- */
.vals { display: flex; flex-wrap: wrap; gap: 1.8rem 2.4rem; margin: 1.8rem 0 2.2rem; }
.val { display: flex; flex-direction: column; gap: 0.15rem; position: relative; padding-left: 1.1rem; }
.val::before { content: ''; position: absolute; left: 0; top: 0.45rem; width: 7px; height: 7px; background: var(--gold-grad); transform: rotate(45deg); }
.val b { font-family: var(--serif); font-weight: 500; font-size: 1.12rem; color: var(--ink); }
.val span { font-size: 0.8rem; color: var(--muted); }

/* --- Areas (Gulf Coast cards, no coords) --- */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.area { position: relative; overflow: hidden; aspect-ratio: 4/5; display: block; }
.area img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.area:hover img { transform: scale(1.06); }
.area__veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,10,7,0.86) 0%, rgba(12,10,7,0.3) 46%, rgba(12,10,7,0.04) 100%); }
.area::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(227,197,126,0.45); opacity: 0; transition: opacity 0.4s var(--ease); pointer-events: none; }
.area:hover::after { opacity: 1; }
.area__txt { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.4rem; color: #fff; display: flex; flex-direction: column; gap: 0.3rem; }
.area__txt b { font-family: var(--serif); font-weight: 500; font-size: clamp(1.45rem, 2.1vw, 1.95rem); line-height: 1.04; }
.area__txt em { font-style: normal; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); }

/* --- Reviews quote wall --- */
.quotes { columns: 3; column-gap: 2rem; }
.q { break-inside: avoid; margin-bottom: 2rem; padding: 2rem 1.9rem; background: #fff; border: 1px solid var(--hair); position: relative; }
.q__mark { position: absolute; top: 0.4rem; right: 1.2rem; font-family: var(--serif); font-size: 4rem; line-height: 1; color: var(--gold); opacity: 0.25; }
.q blockquote { font-family: var(--serif); font-size: 1.12rem; line-height: 1.62; font-style: normal; font-weight: 420; color: var(--ink); margin-bottom: 1.2rem; }
.q figcaption { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.q figcaption i { color: var(--muted); font-style: normal; font-weight: 500; }

/* --- Panels (forms) --- */
.panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; background: var(--paper-2); padding: clamp(2rem, 4vw, 3.5rem); border: 1px solid var(--hair); }
.panel__intro .kicker { margin-bottom: 1.3rem; }
.panel__intro .h-md { margin-bottom: 1.2rem; }
.panel__intro p { color: var(--muted); }
.form { display: grid; gap: 1.4rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.fld { display: flex; flex-direction: column; gap: 0.5rem; }
.fld label { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.fld input, .fld textarea { font-family: var(--sans); font-size: 0.95rem; color: var(--ink); padding: 0.8rem 0; background: transparent; border: none; border-bottom: 1px solid var(--hair); transition: border-color 0.3s; }
.fld input:focus, .fld textarea:focus { outline: none; border-bottom-color: var(--gold-deep); }
.fld textarea { resize: vertical; min-height: 96px; }
.form .btn { justify-self: start; margin-top: 0.4rem; }
.form__status { font-size: 0.85rem; min-height: 1.2em; color: var(--gold-deep); font-weight: 600; }

.contacts { list-style: none; margin-top: 2rem; display: grid; gap: 1.3rem; }
.contacts li { display: flex; align-items: center; gap: 1rem; }
.ci { width: 44px; height: 44px; flex: 0 0 44px; padding: 11px; border-radius: 50%; border: 1px solid rgba(193,154,75,0.3); background: rgba(193,154,75,0.07); }
.contacts li > span { display: flex; flex-direction: column; }
.contacts i { font-style: normal; font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.contacts a, .contacts li > span > span:last-child { font-size: 1rem; color: var(--ink); }
.contacts a:hover { color: var(--gold-deep); }

/* --- CTA (dark bookend) --- */
.cta { background: var(--black); color: var(--paper); text-align: center; padding: clamp(4rem, 8vw, 7rem) 0; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, rgba(193,154,75,0.22), transparent 55%); }
.cta__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.cta__logo { height: 120px; width: auto; border-radius: 6px; }
.cta .h-xl { color: var(--paper); }
.cta .g { color: var(--gold-light); font-style: normal; }

/* --- Contact (dark bookend) --- */
.contact-dark { background: var(--black); color: var(--paper); padding: clamp(3.5rem, 7vw, 6.5rem) 0; position: relative; overflow: hidden; }
.contact-dark::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 12% 110%, rgba(193,154,75,0.2), transparent 50%); pointer-events: none; }
.contact-dark__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-dark__logo { height: 88px; width: auto; border-radius: 5px; margin-bottom: 1.8rem; }
.contact-dark .h-lg { color: var(--paper); margin: 1rem 0 1.2rem; }
.contact-dark .g { color: var(--gold-light); font-style: normal; }
.contact-dark__intro > p { color: rgba(255,255,255,0.74); max-width: 420px; }
.contact-dark .contacts { margin-top: 1.8rem; }
.contact-dark .contacts i { color: var(--gold-light); }
.contact-dark .contacts a, .contact-dark .contacts li > span > span:last-child { color: #fff; }
.contact-dark .contacts a:hover { color: var(--gold-light); }
.contact-dark .ci { border-color: rgba(227,197,126,0.4); background: rgba(227,197,126,0.1); }
.form--dark .fld label { color: rgba(255,255,255,0.6); }
.form--dark .fld input, .form--dark .fld textarea { color: #fff; border-bottom-color: rgba(255,255,255,0.25); }
.form--dark .fld input:focus, .form--dark .fld textarea:focus { border-bottom-color: var(--gold-light); }
.form--dark .form__status { color: var(--gold-light); }

/* --- Footer --- */
.footer { background: var(--paper-2); border-top: 1px solid var(--hair); padding: clamp(3rem, 5vw, 4.5rem) 0 1.6rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1.6fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--hair); }
.footer__name { font-family: var(--serif); font-size: 2rem; font-weight: 500; margin-bottom: 0.9rem; }
.footer__name .g { font-style: normal; }
.footer__brand p { color: var(--muted); max-width: 340px; font-family: var(--serif); font-style: normal; }
.footer__social { display: flex; gap: 0.8rem; margin-top: 1.4rem; }
.footer__social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--black); color: var(--paper); transition: 0.3s var(--ease); }
.footer__social a:hover { background: var(--gold-grad); color: #1a1408; transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer__links h4 { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink); margin-bottom: 1.2rem; }
.footer__links a, .footer__links span { display: block; font-size: 0.92rem; color: var(--muted); margin-bottom: 0.6rem; transition: color 0.3s; }
.footer__links a:hover { color: var(--gold-deep); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.6rem; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* --- Page hero (inner pages) --- */
.page-hero { position: relative; padding: clamp(8rem, 14vh, 10.5rem) 0 clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--hair); overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -60px; top: -40px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(193,154,75,0.12), transparent 65%); pointer-events: none; }
.page-hero .kicker { margin-bottom: 1.3rem; }
.page-hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 6.5vw, 5.2rem); line-height: 0.98; letter-spacing: -0.005em; }
.page-hero__title .g { font-style: normal; }
.page-hero__sub { margin-top: 1.2rem; max-width: 560px; font-size: 1.08rem; color: var(--muted); }

/* --- Reviews summary + show-more --- */
.rev-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.6rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.rev-summary__score { font-family: var(--serif); font-weight: 600; font-size: 3rem; line-height: 1; color: var(--gold-deep); }
.rev-summary__stars { width: 118px; height: 19px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><polygon points='10,1 12.6,6.9 19,7.6 14.2,12 15.6,18.4 10,15 4.4,18.4 5.8,12 1,7.6 7.4,6.9' fill='%23c9a53f'/></svg>"); background-size: 19px 19px; background-repeat: repeat-x; }
.rev-summary__meta { font-size: 0.9rem; color: var(--muted); }
.rev-summary__meta b { color: var(--ink); font-weight: 600; }
.rev-summary__g { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.04em; }
.rev-summary__g svg { width: 16px; height: 16px; }

.q__stars { width: 92px; height: 15px; margin-bottom: 1rem; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><polygon points='10,1 12.6,6.9 19,7.6 14.2,12 15.6,18.4 10,15 4.4,18.4 5.8,12 1,7.6 7.4,6.9' fill='%23c9a53f'/></svg>"); background-size: 15px 15px; background-repeat: repeat-x; }

.quotes-wrap { position: relative; }
.quotes-wrap.is-clamped { max-height: 1380px; overflow: hidden; }
.quotes-wrap.is-clamped::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; background: linear-gradient(to bottom, transparent, var(--paper)); pointer-events: none; }
.more-row { text-align: center; margin-top: 2.4rem; }

/* --- Footer credit --- */
.footer__credit { color: var(--muted); }
.footer__credit a { color: var(--gold-deep); font-weight: 600; }
.footer__credit a:hover { text-decoration: underline; }

/* --- Sticky mobile call/text bar --- */
.callbar { display: none; }
.callbar a {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  color: #fff; font-family: var(--sans); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; padding: 0.75rem 0; border-radius: 9px;
}
.callbar a:first-child { background: var(--gold-grad); color: #1a1408; }
.callbar a:not(:first-child) { border: 1px solid rgba(255,255,255,0.28); }
.callbar svg { width: 17px; height: 17px; }

/* --- Legal / privacy content --- */
.legal { max-width: 760px; }
.legal p { color: var(--muted); margin-bottom: 1.2rem; }
.legal h2 { margin: 2.2rem 0 0.6rem; }
.legal a { color: var(--gold-deep); text-decoration: underline; }

/* --- Reveal --- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes sway { 0%,100% { transform: rotate(0deg); } 50% { transform: rotate(1.6deg); } }
@keyframes scrolldash { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } .reveal { opacity: 1; transform: none; } }

/* --- Brand logo lockup (custom, replaces the raster image) --- */
.brand { display: inline-flex; align-items: center; gap: 0.7rem; line-height: 1; text-decoration: none; }
.brand__mark { width: 46px; height: 46px; flex: 0 0 46px; display: block; transition: all 0.4s var(--ease); }
.brand__mark svg { width: 100%; height: 100%; display: block; }
.brand__wm { display: flex; flex-direction: column; gap: 3px; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.24rem; letter-spacing: 0.01em; color: var(--ink); white-space: nowrap; }
.brand__tag { font-family: var(--sans); font-size: 0.55rem; font-weight: 600; letter-spacing: 0.27em; text-transform: uppercase; color: var(--gold-deep); white-space: nowrap; }
.header.is-scrolled .brand__mark, .header--solid .brand__mark { width: 40px; flex-basis: 40px; height: 40px; }
/* over the video hero (home, top) — light treatment */
.header:not(.is-scrolled):not(.header--solid) .brand__name { color: #fff; }
.header:not(.is-scrolled):not(.header--solid) .brand__tag { color: var(--gold-light); }
/* stacked variant on dark sections */
.brand--stack { flex-direction: column; align-items: flex-start; gap: 0.85rem; margin-bottom: 1.8rem; }
.brand--stack .brand__mark { width: 66px; height: 66px; flex-basis: 66px; }
.brand--stack .brand__name { font-size: 2rem; color: #fff; }
.brand--stack .brand__tag { color: var(--gold-light); letter-spacing: 0.3em; }
@media (max-width: 420px) {
  .brand__mark { width: 40px; height: 40px; flex-basis: 40px; }
  .brand__name { font-size: 1.05rem; }
  .brand__tag { font-size: 0.5rem; letter-spacing: 0.22em; }
}

/* --- Global no-overflow guards --- */
html, body { max-width: 100%; }
img, svg, video { max-width: 100%; }
h1, h2, h3, .h-xl, .h-lg, .h-md, .hero__title, .page-hero__title,
.srv__body h3, .area__txt b, .footer__name, .intro__statement { overflow-wrap: break-word; }
.contacts a, .footer__links a, .footer__contact-line a, .q blockquote { overflow-wrap: anywhere; }

/* --- Responsive --- */
@media (max-width: 1000px) {
  .xp__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .xp__media { max-width: 460px; order: -1; }
  .head--split { grid-template-columns: 1fr; gap: 1.2rem; align-items: start; }
  .about { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__media { max-width: 460px; }
  .intro__grid { grid-template-columns: 1fr; }
  .panel { grid-template-columns: 1fr; }
  .contact-dark__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .quotes { columns: 2; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .header__nav, .header__cta { display: none; }
  .burger { display: flex; }
  .callbar {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
    background: rgba(16,15,13,0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(227,197,126,0.25);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  }
  .footer__bottom { padding-bottom: 5rem; }
  .srv { grid-template-columns: auto 1fr auto; gap: 1.2rem; }
  .srv__icon { display: none; }
  .srv__body h3 { font-size: 1.4rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--hair); }
  /* hero fits small screens cleanly */
  .hero { min-height: 88vh; min-height: 88svh; }
  .hero__inner { padding-top: 5rem; }
  .hero__lead { font-size: 1.02rem; max-width: 100%; }
  .hero__tag { letter-spacing: 0.22em; }
  .kicker { letter-spacing: 0.2em; flex-wrap: wrap; }
  .hero__actions { flex-direction: column; align-items: stretch; max-width: 340px; }
  .hero__actions .btn { width: 100%; }
  .rev-summary { gap: 0.6rem 1rem; }
  .rev-summary__score { font-size: 2.4rem; }
  .quotes-wrap.is-clamped { max-height: 1750px; }
}
@media (max-width: 560px) {
  :root { --pad: 1.15rem; }
  .quotes { columns: 1; }
  .areas { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: 1fr 1fr; }
  .footer__bottom { justify-content: center; text-align: center; }
  .hero__badge { left: 0; }
  .about__tab, .xp__tab { font-size: 0.58rem; padding: 0.5rem 0.8rem; letter-spacing: 0.16em; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .hero__actions .btn { width: 100%; }
  .btn { padding: 0.95rem 1.4rem; }
  .page-hero__title { font-size: clamp(2.3rem, 11vw, 3rem); }
}
@media (max-width: 380px) {
  .footer__links { grid-template-columns: 1fr; }
  .btn { font-size: 0.74rem; letter-spacing: 0.1em; }
}
