/* =====================================================================
   United Realty Group — David Pichardo
   Luxury monochrome (black / white / champagne gold) matched to logo.
   Built per the high-end-visual-design (taste-skill) directives.
   ===================================================================== */

:root {
  /* Palette — United Realty Group · luxury monochrome (matched to logo) */
  --cream:        #F5F4F1;   /* warm off-white background */
  --cream-2:      #E9E7E1;   /* soft panel tone */
  --paper:        #FFFFFF;
  --ink:          #101010;   /* near-black, matches logo */
  --ink-soft:     #3C3A37;
  --muted:        #8C8983;
  --line:         rgba(16, 16, 16, 0.12);
  --line-soft:    rgba(16, 16, 16, 0.07);

  /* Accents — restrained champagne gold for "Luxury Real Estate" */
  --bronze:       #B0935C;   /* gold accent (on dark) */
  --bronze-deep:  #8C6F3C;   /* gold text (readable on light) */
  --bronze-glow:  rgba(176, 147, 92, 0.20);
  --sage:         #5F6B57;   /* form success */
  --espresso:     #0D0D0D;   /* true black for dark sections */

  /* Motion */
  --ease:         cubic-bezier(0.32, 0.72, 0, 1);
  --ease-soft:    cubic-bezier(0.22, 1, 0.36, 1);

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  --radius-xl: 2rem;
  --radius-lg: 1.4rem;
  --shell-pad: 0.5rem;

  --maxw: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* ---------- Film grain overlay (fixed, non-interactive) ---------- */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Ambient gradient orbs ---------- */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.orb--bronze {
  width: 44vw; height: 44vw; top: -10vw; right: -8vw;
  background: radial-gradient(circle at 30% 30%, var(--bronze-glow), transparent 70%);
}
.orb--sage {
  width: 40vw; height: 40vw; bottom: -12vw; left: -10vw;
  background: radial-gradient(circle at 50% 50%, rgba(16, 16, 16, 0.05), transparent 70%);
}

/* ===================================================================
   SHARED PRIMITIVES
   =================================================================== */

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.66rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.26em;
  color: var(--bronze-deep);
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(6px);
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--bronze);
  box-shadow: 0 0 0 4px var(--bronze-glow);
}

.section-title {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(2.1rem, 5.2vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-title em { color: var(--bronze-deep); font-variation-settings: "opsz" 120; }
.section-title--light { color: var(--cream); }
.section-title--light em { color: var(--bronze); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans); font-weight: 500; font-size: 0.92rem;
  cursor: pointer; border: none; background: none;
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.btn:active { transform: scale(0.98); }

.btn--pill {
  border-radius: 999px; padding: 0.7rem 0.7rem 0.7rem 1.3rem;
}
.btn--ghost {
  border-radius: 999px; padding: 0.85rem 1.4rem;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255,255,255,0.4);
}
.btn--ghost:hover { background: var(--paper); box-shadow: 0 18px 40px -22px rgba(0, 0, 0,0.4); }

.btn--solid {
  background: var(--espresso); color: var(--cream);
  box-shadow: 0 22px 50px -26px rgba(0, 0, 0,0.85);
}
.btn--solid:hover { background: #000; }

.btn--block { width: 100%; justify-content: center; padding: 1rem 1.4rem; }

/* Button-in-button trailing icon */
.btn__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 999px;
  background: rgba(255,255,255,0.14);
  transition: transform 0.5s var(--ease), background-color 0.4s var(--ease);
}
.btn--ghost .btn__icon, .btn--pill:not(.btn--solid) .btn__icon { background: rgba(0, 0, 0,0.06); }
.btn__icon svg { width: 16px; height: 16px; }
.btn:hover .btn__icon { transform: translate(3px, -3px) scale(1.05); }
.btn--block .btn__icon { margin-left: 0.2rem; }

/* ===================================================================
   NAV — Fluid floating island
   =================================================================== */
.nav-shell {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; justify-content: center;
  padding: 1.4rem 1rem 0;
}
.nav {
  width: 100%; max-width: var(--maxw);
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.55rem 0.6rem 0.55rem 1.1rem;
  border-radius: 999px;
  background: rgba(245, 244, 241, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 20px 50px -30px rgba(0, 0, 0,0.5);
  transition: box-shadow 0.5s var(--ease), background-color 0.5s var(--ease);
}
.nav-shell.is-scrolled .nav {
  background: rgba(245, 244, 241, 0.88);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 24px 60px -28px rgba(0, 0, 0,0.6);
}

.nav__brand { display: flex; align-items: center; gap: 0.7rem; margin-right: auto; }
.nav__logo {
  height: 2.45rem; width: auto; display: block;
  transition: transform 0.5s var(--ease);
}
.nav__brand:hover .nav__logo { transform: scale(1.03); }

.nav__links { list-style: none; display: flex; gap: 0.4rem; }
.nav__links a {
  position: relative; display: inline-block;
  padding: 0.5rem 0.95rem; border-radius: 999px;
  font-size: 0.9rem; font-weight: 500; color: var(--ink-soft);
  transition: color 0.35s var(--ease), background-color 0.35s var(--ease);
}
.nav__links a:hover { color: var(--ink); background: rgba(0, 0, 0,0.05); }

.nav__cta { white-space: nowrap; }

.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  width: 2.6rem; height: 2.6rem; border-radius: 999px;
  align-items: center; justify-content: center;
  background: rgba(0, 0, 0,0.05); cursor: pointer;
}
.nav__burger span {
  display: block; width: 18px; height: 1.6px; border-radius: 2px;
  background: var(--ink);
  transition: transform 0.45s var(--ease), opacity 0.3s var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(3.3px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-3.3px) rotate(-45deg); }

/* ---------- Mobile overlay menu ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 39;
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem 2rem 3rem;
  background: rgba(245, 244, 241, 0.85);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.menu-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.menu-overlay__links { list-style: none; display: flex; flex-direction: column; gap: 0.2rem; }
.menu-overlay__links a {
  font-family: var(--serif); font-size: clamp(2.4rem, 12vw, 3.6rem);
  font-weight: 350; letter-spacing: -0.02em; color: var(--ink);
  display: inline-block; padding: 0.3rem 0;
}
.menu-overlay__links a:hover { color: var(--bronze-deep); }
.menu-overlay__links li, .menu-overlay__foot {
  opacity: 0; transform: translateY(48px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--i) * 60ms);
}
.menu-overlay.is-open .menu-overlay__links li,
.menu-overlay.is-open .menu-overlay__foot { opacity: 1; transform: translateY(0); }
.menu-overlay__foot {
  margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.4rem;
  font-size: 1rem; color: var(--ink-soft);
}
.menu-overlay__foot a:hover { color: var(--bronze-deep); }

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative; z-index: 1;
  min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: center;
  max-width: var(--maxw); margin: 0 auto;
  padding: 9rem 1.6rem 5rem;
}
.hero__inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.hero__content { min-width: 0; }

.hero__title {
  font-family: var(--serif); font-weight: 340;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 0.98; letter-spacing: -0.035em;
  margin: 1.6rem 0 0;
  overflow-wrap: break-word;
}
.hero__title em { color: var(--bronze-deep); font-variation-settings: "opsz" 144; }

.hero__lede {
  max-width: 34rem; margin-top: 1.8rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft); font-weight: 400;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.4rem; }

.hero__stats {
  display: flex; flex-wrap: wrap; gap: 2.2rem;
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid var(--line);
}

/* Hero portrait */
.hero__portrait { position: relative; }
.frame--hero { transform: rotate(1.6deg); max-width: 27rem; margin-left: auto; }
.frame--hero:hover { transform: rotate(0deg); }
.frame--hero .frame__inner {
  background: linear-gradient(170deg, var(--cream-2) 0%, #ffffff 55%);
  aspect-ratio: 1024 / 1240;
}
.frame--hero .frame__inner img { aspect-ratio: 1024 / 1240; object-position: 50% 12%; }
.frame__chip {
  position: absolute; top: -4.1rem; left: -1rem;
  font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600;
  color: var(--ink); background: var(--cream);
  padding: 0.5rem 0.9rem; border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px -20px rgba(0, 0, 0,0.6);
}
.stat dt { font-family: var(--serif); font-size: 1.4rem; font-weight: 450; letter-spacing: -0.01em; }
.stat dd { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 0.2rem; }

.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.28em; color: var(--muted);
}
.hero__scroll-line {
  width: 1px; height: 42px;
  background: linear-gradient(var(--bronze), transparent);
  animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* ===================================================================
   ABOUT
   =================================================================== */
.about { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 7rem 1.6rem; }
.about__grid {
  display: grid; grid-template-columns: 0.85fr 1fr; gap: 4.5rem; align-items: center;
}

/* Double-bezel portrait frame */
.frame {
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  padding: var(--shell-pad);
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0,0.55);
  transform: rotate(-1.4deg);
  transition: transform 0.7s var(--ease);
}
.frame:hover { transform: rotate(0deg); }
.frame__inner {
  position: relative; overflow: hidden;
  border-radius: calc(var(--radius-xl) - var(--shell-pad));
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.4);
  background: var(--cream-2);
}
.frame__inner img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 361 / 480; }
.frame__badge {
  position: absolute; left: 0.8rem; bottom: 0.8rem; right: 0.8rem;
  display: flex; flex-direction: column;
  padding: 0.9rem 1.1rem; border-radius: 1.1rem;
  background: rgba(0, 0, 0,0.55);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--cream);
}
.frame__badge-name { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.frame__badge-role { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.2em; opacity: 0.75; margin-top: 0.15rem; }

/* About quote / credential panel (double-bezel) */
.quote-card {
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  padding: var(--shell-pad);
  box-shadow: 0 50px 100px -60px rgba(0, 0, 0,0.55);
  transform: rotate(-1.2deg);
  transition: transform 0.7s var(--ease);
}
.quote-card:hover { transform: rotate(0deg); }
.quote-card__inner {
  position: relative;
  border-radius: calc(var(--radius-xl) - var(--shell-pad));
  background: var(--espresso); color: var(--cream);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.12);
  padding: clamp(2rem, 3.5vw, 3rem);
  overflow: hidden;
}
.quote-card__inner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 80% 0%, rgba(154,116,55,0.28), transparent 60%);
}
.quote-card__mark {
  font-family: var(--serif); font-size: 5rem; line-height: 0.7;
  color: var(--bronze); display: block;
}
.quote-card__text {
  position: relative; font-family: var(--serif); font-weight: 350;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.3;
  letter-spacing: -0.01em; margin-top: 0.6rem;
}
.quote-card__sign { position: relative; margin-top: 1.8rem; }
.quote-card__name { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--bronze); }
.quote-card__role { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(245, 244, 241,0.6); }
.quote-card__stats {
  position: relative; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem; margin-top: 2rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(245, 244, 241,0.14);
}
.quote-card__stats li { display: flex; flex-direction: column; gap: 0.15rem; }
.quote-card__stats span { font-family: var(--serif); font-size: 1.15rem; color: var(--cream); }
.quote-card__stats em { font-size: 0.72rem; font-style: normal; color: rgba(245, 244, 241,0.6); }

.about__body .section-title { margin: 1.1rem 0 0; }
.about__lead { font-size: 1.18rem; color: var(--ink); margin-top: 1.6rem; font-weight: 500; }
.about__text { color: var(--ink-soft); margin-top: 1rem; }

.about__pillars { list-style: none; margin: 2rem 0; display: flex; flex-direction: column; gap: 0.2rem; }
.about__pillars li {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 0; border-top: 1px solid var(--line-soft);
}
.about__pillars li:last-child { border-bottom: 1px solid var(--line-soft); }
.about__pillar-num { font-family: var(--serif); font-size: 0.85rem; color: var(--bronze-deep); width: 1.8rem; }
.about__pillar-text { font-size: 0.98rem; color: var(--ink); }

/* ===================================================================
   SERVICES
   =================================================================== */
.services { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 5rem 1.6rem 7rem; }
.services__head { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 3rem; }

.services__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

/* Double-bezel service cards */
.svc {
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  padding: var(--shell-pad);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.svc--feature { grid-row: span 2; }
.svc:hover { transform: translateY(-6px); box-shadow: 0 50px 90px -55px rgba(0, 0, 0,0.6); }

.svc__inner {
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  padding: 2.2rem;
  border-radius: calc(var(--radius-xl) - var(--shell-pad));
  background: var(--paper);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.6);
  overflow: hidden;
}
.svc--feature .svc__inner { padding: 2.6rem; justify-content: flex-end; min-height: 22rem; }

.svc__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.1rem; height: 3.1rem; border-radius: 1rem; margin-bottom: 1.4rem;
  color: var(--bronze-deep);
  background: linear-gradient(160deg, var(--cream-2), #fff);
  border: 1px solid var(--line-soft);
}
.svc__icon svg { width: 22px; height: 22px; }
.svc__title { font-family: var(--serif); font-weight: 450; font-size: 1.5rem; letter-spacing: -0.01em; }
.svc--feature .svc__title { font-size: 2.1rem; }
.svc__text { color: var(--ink-soft); margin-top: 0.7rem; font-size: 0.96rem; max-width: 32ch; }
.svc__index {
  position: absolute; top: 1.6rem; right: 1.8rem;
  font-family: var(--serif); font-size: 0.85rem; color: var(--muted);
  letter-spacing: 0.1em;
}
.svc--feature .svc__index {
  font-size: 6rem; top: auto; bottom: -1.4rem; right: 1.4rem;
  color: var(--cream-2); line-height: 1; z-index: 0;
}
.svc--feature .svc__icon, .svc--feature .svc__title, .svc--feature .svc__text { position: relative; z-index: 1; }

/* ===================================================================
   WHY — dark espresso band
   =================================================================== */
.why { position: relative; z-index: 1; padding: 0 1rem; }
.why__inner {
  max-width: var(--maxw); margin: 0 auto;
  background: var(--espresso);
  color: var(--cream);
  border-radius: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(3rem, 6vw, 6rem) clamp(1.6rem, 5vw, 5rem);
  position: relative; overflow: hidden;
  box-shadow: 0 60px 120px -60px rgba(0, 0, 0,0.8);
}
.why__inner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 80% 0%, rgba(154,116,55,0.22), transparent 60%);
}
.why__intro { max-width: 40rem; position: relative; }
.why__text { color: rgba(245, 244, 241,0.7); margin-top: 1.4rem; font-size: 1.05rem; }

.why__stats {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin-top: 3.5rem;
  border-top: 1px solid rgba(245, 244, 241,0.14); padding-top: 2.8rem;
}
.why__stat dt { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 450; color: var(--bronze); }
.why__stat dd { font-size: 0.85rem; color: rgba(245, 244, 241,0.6); margin-top: 0.4rem; }

/* ===================================================================
   CONTACT
   =================================================================== */
.contact { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 7rem 1.6rem; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }

.contact__info .section-title { margin: 1.1rem 0 0; }
.contact__lead { color: var(--ink-soft); margin-top: 1.4rem; max-width: 34ch; font-size: 1.05rem; }

.contact__details { list-style: none; margin-top: 2.6rem; display: flex; flex-direction: column; gap: 1.6rem; }
.contact__details li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__detail-ic {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.8rem; height: 2.8rem; border-radius: 0.9rem;
  color: var(--bronze-deep);
  background: rgba(255,255,255,0.6); border: 1px solid var(--line-soft);
}
.contact__detail-ic svg { width: 18px; height: 18px; }
.contact__detail-body { display: flex; flex-direction: column; }
.contact__detail-label { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--muted); margin-bottom: 0.2rem; }
.contact__detail-body a { font-size: 1.05rem; font-weight: 500; }
.contact__detail-body a:hover { color: var(--bronze-deep); }
.contact__detail-line { font-size: 0.95rem; color: var(--ink-soft); }

/* Double-bezel form */
.contact__form-shell {
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  padding: var(--shell-pad);
  box-shadow: 0 50px 100px -60px rgba(0, 0, 0,0.6);
}
.contact__form {
  background: var(--paper);
  border-radius: calc(var(--radius-xl) - var(--shell-pad));
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.6);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.field label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); font-weight: 600; }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 0.98rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 0.9rem; padding: 0.85rem 1rem; resize: vertical;
  width: 100%;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #a6a39d; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238C6F3C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.6rem;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--bronze);
  background-color: #fff;
  box-shadow: 0 0 0 4px var(--bronze-glow);
}
.contact__form-note { font-size: 0.9rem; min-height: 1.2rem; }
.contact__form-note.is-ok { color: var(--sage); }
.contact__form-note.is-err { color: #b4502f; }

/* Honeypot — visually hidden, off-screen, not announced */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Sending state */
.contact__form.is-sending { opacity: 0.85; }
.btn:disabled { cursor: not-allowed; opacity: 0.65; }
.btn:disabled:hover { transform: none; }

/* ===================================================================
   FOOTER
   =================================================================== */
.footer { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 3rem 1.6rem 2.5rem; }
.footer__inner {
  display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: center;
  padding-bottom: 2.2rem; border-bottom: 1px solid var(--line);
}
.footer__brand { display: flex; align-items: center; gap: 1rem; }
.footer__logo { height: 2.6rem; width: auto; display: block; }
.footer__name { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.footer__tag { font-size: 0.8rem; color: var(--muted); }
.footer__links { display: flex; gap: 1.6rem; }
.footer__links a { font-size: 0.92rem; color: var(--ink-soft); transition: color 0.3s var(--ease); }
.footer__links a:hover { color: var(--bronze-deep); }
.footer__contact { display: flex; flex-direction: column; gap: 0.2rem; text-align: right; font-size: 0.92rem; }
.footer__contact a:hover { color: var(--bronze-deep); }
.footer__base {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: space-between;
  margin-top: 1.6rem; font-size: 0.78rem; color: var(--muted);
}

/* ===================================================================
   SCROLL REVEAL
   =================================================================== */
.reveal {
  opacity: 0; transform: translateY(38px); filter: blur(8px);
  transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--ease-soft), filter 0.9s var(--ease-soft);
  transition-delay: calc(var(--reveal-delay, 0) * 90ms);
  will-change: transform, opacity;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 980px) {
  .hero { min-height: auto; padding-top: 10.5rem; }
  .hero__inner { grid-template-columns: 1fr; gap: 2.6rem; }
  .hero__portrait { order: -1; }
  .frame--hero { margin: 0 auto; max-width: 22rem; transform: rotate(0deg); }
  /* Frame isn't rotated on mobile → needs less lift; extra headroom keeps it clear of the nav. */
  .frame__chip { top: -3rem; }
  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__media { max-width: 32rem; }
  .quote-card { transform: rotate(0deg); }
  .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
  .why__stats { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav { padding: 0.55rem 0.6rem 0.55rem 1rem; }

  .services__grid { grid-template-columns: 1fr; }
  .svc--feature { grid-row: auto; }
  .svc--feature .svc__inner { min-height: auto; }
  .svc--feature .svc__index { font-size: 4.5rem; }

  .hero { padding: 9.5rem 1.2rem 4rem; }
  .about, .services, .contact { padding-left: 1.2rem; padding-right: 1.2rem; }
  .hero__stats { gap: 1.6rem; }
  .stat { flex: 1 1 40%; }
  .frame { transform: rotate(0deg); }

  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__contact { text-align: left; }

  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .why__stats { grid-template-columns: 1fr; }
}

/* Screenshot mode — natural hero height so full page captures cleanly */
[data-shot] .hero { min-height: auto; padding-top: 11rem; }
[data-shot] .reveal { opacity: 1; transform: none; filter: none; }

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