/* ==========================================================================
   Signature Property Solutions — beige / grey / brown with gold accent.
   Single committed light theme; dark sections are used deliberately.
   ========================================================================== */

:root {
  --ink:        #191512;
  --ink-2:      #241d18;
  --ink-3:      #33291f;
  --brown:      #4a3a2c;
  --brown-soft: #6d5a46;
  --gold:       #a8813e;
  --gold-2:     #c19a55;
  --gold-lt:    #dcc08a;
  --cream:      #fbf8f3;
  --beige:      #f2ebe0;
  --beige-2:    #e8dfd0;
  --sand:       #d9cbb5;
  --grey:       #7b736a;
  --grey-lt:    #a49b90;
  --line:       rgba(74, 58, 44, .16);
  --line-lt:    rgba(255, 255, 255, .16);
  --white:      #fff;

  --shadow-sm: 0 1px 2px rgba(25,21,18,.05), 0 4px 14px rgba(25,21,18,.05);
  --shadow-md: 0 2px 6px rgba(25,21,18,.06), 0 18px 44px rgba(25,21,18,.10);
  --shadow-lg: 0 4px 12px rgba(25,21,18,.08), 0 34px 80px rgba(25,21,18,.16);

  /* Type system — modern luxury.
     display : Jost carries Latin, Anuphan carries Thai (geometric skeletons, same voice)
     sans    : IBM Plex Sans Thai reads both scripts comfortably at paragraph length
     wordmark: Marcellus matches the inscribed roman capitals of the gold logo */
  --display:  'Jost', 'Anuphan', system-ui, sans-serif;
  --sans:     'IBM Plex Sans Thai', 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wordmark: 'Marcellus', Georgia, serif;

  --wrap: 1240px;
  --gap: clamp(1rem, 2.4vw, 2rem);
  --sec-y: clamp(3.5rem, 7vw, 6.5rem);
  --r-sm: 4px;
  --r: 8px;
  --r-lg: 14px;
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  margin: 0; font-family: var(--display);
  line-height: 1.24; font-weight: 500; letter-spacing: -.008em;
  text-wrap: balance;
}
p, .sec-lead, .phead-lead { text-wrap: pretty; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* Small tracked labels hold language-dependent copy. Latin wants the wide,
   engraved spacing; Thai marks fall apart at that tracking, so it gets far less. */
:root { --track-label: .26em; }
html[lang="th"] { --track-label: .08em; }

/* Large type sits lighter — at display sizes weight reads as loudness, not authority. */
.hero-t, .phead-in h1 { font-weight: 400; letter-spacing: -.018em; }
.sec-title, .cta-in h2 { font-weight: 500; letter-spacing: -.014em; }
h3, h4 { font-weight: 500; letter-spacing: -.004em; }

.wrap { width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.4rem, 820px); }
.sec { padding-block: var(--sec-y); scroll-margin-top: 90px; }
.sec--beige { background: var(--beige); }
.sec--dark { background: var(--ink); color: var(--beige); }
.sec--dark .sec-title, .sec--dark h2, .sec--dark h3 { color: var(--cream); }
.sec--dark .sec-lead { color: rgba(242,235,224,.72); }
.sec-foot { margin-top: clamp(2rem, 4vw, 3rem); text-align: center; }
.empty { padding: 3rem 0; text-align: center; color: var(--grey); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--cream); padding: .8rem 1.2rem;
}
.skip:focus { left: 1rem; top: 1rem; }

.ic { width: 1.25em; height: 1.25em; flex: none; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .78em 1.5em;
  font-family: var(--display); font-size: .95rem; font-weight: 500; line-height: 1.2;
  letter-spacing: .015em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-bd); border-radius: var(--r-sm);
  cursor: pointer; text-align: center;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.btn .ic { width: 1.1em; height: 1.1em; transition: transform .22s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn-sm { padding: .58em 1.05em; font-size: .875rem; }
.btn-lg { padding: .95em 1.9em; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

.btn-gold { --btn-bg: var(--gold); --btn-fg: #fff; --btn-bd: var(--gold); box-shadow: var(--shadow-sm); }
.btn-gold:hover { --btn-bg: var(--gold-2); --btn-bd: var(--gold-2); box-shadow: var(--shadow-md); }
.btn-outline { --btn-fg: var(--brown); --btn-bd: var(--line); }
.btn-outline:hover { --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-bd: var(--ink); }
.btn-outline-light { --btn-fg: var(--cream); --btn-bd: rgba(255,255,255,.4); }
.btn-outline-light:hover { --btn-bg: rgba(255,255,255,.12); --btn-bd: rgba(255,255,255,.7); }
.btn-ghost { --btn-fg: var(--brown); --btn-bd: transparent; }
.btn-ghost:hover { --btn-bd: var(--line); --btn-bg: var(--beige); }
.btn-line { --btn-bg: #06c755; --btn-fg: #fff; --btn-bd: #06c755; }
.btn-line:hover { --btn-bg: #05b34c; --btn-bd: #05b34c; }

.link-more {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--display); font-size: .875rem; font-weight: 500; color: var(--gold);
  letter-spacing: .03em;
}
.link-more .ic { width: 1em; height: 1em; transition: transform .22s ease; }

/* ---------------------------------------------------------------- topbar */
.topbar { background: var(--ink); color: rgba(242,235,224,.82); font-size: .8125rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar-tag {
  font-family: var(--display); font-weight: 500; letter-spacing: var(--track-label);
  text-transform: uppercase; font-size: .72rem; color: var(--gold-lt);
}
.topbar-right { display: flex; align-items: center; gap: 1.4rem; }
.topbar-item { display: inline-flex; align-items: center; gap: .45em; transition: color .2s; white-space: nowrap; }
.topbar-item:hover { color: var(--gold-lt); }
.topbar-item .ic { width: 1em; height: 1em; opacity: .8; }
.lang-link { border-left: 1px solid rgba(255,255,255,.16); padding-left: 1.4rem; }
@media (max-width: 900px) { .topbar-tag { display: none; } .topbar-in { justify-content: flex-end; } }
@media (max-width: 560px) { .topbar-right .topbar-item:not(.lang-link):not([href^="tel"]) { display: none; } }

/* ---------------------------------------------------------------- header */
.site-head {
  position: sticky; top: 0; z-index: 90;
  background: rgba(251,248,243,.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.site-head.is-stuck { box-shadow: var(--shadow-sm); }
.head-in { display: flex; align-items: center; gap: 1.25rem; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); flex: none; }
.logo-mark { width: 40px; height: 33px; color: var(--gold); flex: none; }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--wordmark); font-size: 1.4rem; font-weight: 400; letter-spacing: .21em; }
.brand-sub {
  font-family: var(--display); font-size: .54rem; font-weight: 500;
  letter-spacing: .32em; color: var(--brown-soft); margin-top: .42em;
}
.brand--sm .logo-mark { width: 34px; height: 28px; }
.brand--sm .brand-name { font-size: 1.2rem; }

.nav { display: flex; gap: .3rem; margin-inline: auto; }
.nav-a {
  position: relative; padding: .55rem .85rem;
  font-family: var(--display); font-size: .95rem; letter-spacing: .012em; color: var(--brown);
  border-radius: var(--r-sm); transition: color .2s, background .2s;
}
.nav-a::after {
  content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .3rem; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
}
.nav-a:hover { color: var(--ink); }
.nav-a:hover::after, .nav-a.is-on::after { transform: scaleX(1); }
.nav-a.is-on { color: var(--ink); font-weight: 500; }

.head-cta { display: flex; align-items: center; gap: .5rem; flex: none; }
.burger {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: .5rem; cursor: pointer; color: var(--ink);
}
.burger .ic { width: 1.4rem; height: 1.4rem; }
.burger-close { display: none; }
.burger[aria-expanded="true"] .burger-open { display: none; }
.burger[aria-expanded="true"] .burger-close { display: block; }

@media (max-width: 1080px) { .nav { display: none; } .burger { display: block; margin-left: auto; } .head-cta { display: none; } }
@media (max-width: 520px) { .brand-name { font-size: 1.18rem; letter-spacing: .14em; } .brand-sub { font-size: .5rem; } .head-in { min-height: 64px; } }

.mobile-nav { border-top: 1px solid var(--line); background: var(--cream); padding: .5rem 1.2rem 1.4rem; }
.mnav-a {
  display: flex; align-items: center; justify-content: space-between;
  padding: .95rem .2rem; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-size: 1.05rem; color: var(--brown);
}
.mnav-a .ic { width: 1rem; height: 1rem; color: var(--gold); }
.mnav-a.is-on { color: var(--ink); font-weight: 500; }
.mnav-foot { margin-top: 1.2rem; display: grid; gap: .8rem; }
.mnav-lang { display: inline-flex; align-items: center; justify-content: center; gap: .5em; color: var(--brown); font-size: .95rem; }

/* ------------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; background: var(--ink); }
.hero-track { position: relative; }
.hero-s {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .9s ease, visibility .9s;
}
.hero-s:first-child { position: relative; }
.hero-s.is-on { opacity: 1; visibility: visible; z-index: 2; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
/* Blurred copy fills the frame; the real photo is fully contained — never cropped. */
.hero-blur {
  position: absolute; inset: -6%; width: 112%; height: 112%;
  object-fit: cover; filter: blur(38px) saturate(1.15) brightness(.5); transform: scale(1.06);
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: center;
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(15,12,10,.88) 0%, rgba(15,12,10,.62) 42%, rgba(15,12,10,.18) 72%, rgba(15,12,10,.42) 100%),
    linear-gradient(to top, rgba(15,12,10,.6), transparent 46%);
}
.hero-in {
  position: relative; z-index: 3;
  min-height: clamp(520px, 76vh, 780px);
  display: flex; align-items: center;
  padding-block: clamp(3rem, 8vw, 6rem);
}
.hero-copy { max-width: 46rem; color: var(--cream); }
.hero-t {
  font-size: clamp(2.1rem, 5.4vw, 4rem);
  line-height: 1.12; color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,.4);
  margin-bottom: .6em;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.75;
  color: rgba(250,246,240,.86); max-width: 40rem; margin-bottom: 2rem;
  text-shadow: 0 1px 16px rgba(0,0,0,.5);
}
.hero-acts { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-nav {
  position: absolute; top: 50%; z-index: 5; transform: translateY(-50%);
  width: 48px; height: 48px; display: grid; place-items: center;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%; color: #fff; cursor: pointer;
  transition: background .22s, border-color .22s;
  backdrop-filter: blur(6px);
}
.hero-nav:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.55); }
.hero-prev { left: clamp(.6rem, 2vw, 1.6rem); }
.hero-prev .ic { transform: rotate(180deg); }
.hero-next { right: clamp(.6rem, 2vw, 1.6rem); }
@media (max-width: 720px) {
  .hero-nav { display: none; }
  /* Portrait viewport: pin the (uncropped) photo to the top so the copy sits
     over the blurred band instead of floating in empty space. */
  .hero-img { object-position: center top; }
  .hero-in { min-height: clamp(470px, 70vh, 660px); align-items: flex-end; padding-bottom: 4.2rem; }
  .hero-shade { background:
    linear-gradient(to top, rgba(15,12,10,.94) 0%, rgba(15,12,10,.76) 38%, rgba(15,12,10,.22) 72%, rgba(15,12,10,.5) 100%); }
}

.hero-dots {
  position: absolute; left: 50%; bottom: 1.6rem; z-index: 5; transform: translateX(-50%);
  display: flex; gap: .5rem;
}
.hero-dot { background: none; border: 0; padding: .45rem .25rem; cursor: pointer; }
.hero-dot span { display: block; width: 30px; height: 2px; background: rgba(255,255,255,.34); transition: background .3s, width .3s; }
.hero-dot.is-on span { background: var(--gold-lt); width: 46px; }

/* ------------------------------------------------------------- trust strip */
.strip { background: var(--ink-2); color: rgba(242,235,224,.9); }
.strip-in {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,.09);
}
.strip-i {
  display: flex; align-items: center; justify-content: center; gap: .7rem;
  padding: 1.15rem 1rem; background: var(--ink-2);
  font-size: .875rem; text-align: center;
}
.strip-i .ic { color: var(--gold-2); width: 1.35rem; height: 1.35rem; }
@media (max-width: 900px) { .strip-in { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .strip-in { grid-template-columns: 1fr; } .strip-i { justify-content: flex-start; } }

/* --------------------------------------------------------- section header */
.sec-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.sec-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  font-family: var(--display); font-size: .72rem; font-weight: 500;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--gold); margin-bottom: .9rem;
}
.eyebrow--light { color: var(--gold-lt); }
.sec-title { font-size: clamp(1.7rem, 3.4vw, 2.7rem); color: var(--ink); margin-bottom: .55em; }
.sec-lead { font-size: 1.03rem; color: var(--grey); max-width: 42rem; }
.sec-head.center .sec-lead { margin-inline: auto; }

/* ------------------------------------------------------------------ frame */
/* Universal non-cropping image frame: blurred fill + contained photo. */
.frame {
  position: relative; aspect-ratio: var(--ar, 4/3); overflow: hidden;
  background: var(--beige-2); border-radius: var(--r);
}
.frame-blur {
  position: absolute; inset: -8%; width: 116%; height: 116%;
  object-fit: cover; filter: blur(26px) saturate(1.1) brightness(.94); transform: scale(1.05);
}
.frame-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.frame--empty { display: grid; place-items: center; color: var(--sand); }
.frame--empty .ic { width: 2.4rem; height: 2.4rem; }

/* ---------------------------------------------------------- service cards */
.svc-grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.svc-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--sand); }
.svc-card:hover .frame-img { transform: scale(1.045); }
.svc-frame { border-radius: 0; }
.svc-body { position: relative; padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.svc-icon {
  position: absolute; top: -25px; right: 1.4rem;
  width: 50px; height: 50px; display: grid; place-items: center;
  background: var(--ink); color: var(--gold-lt); border-radius: 50%;
  box-shadow: var(--shadow-md);
}
.svc-icon .ic { width: 1.4rem; height: 1.4rem; }
.svc-title { font-size: 1.2rem; color: var(--ink); padding-right: 3rem; }
.svc-ex { font-size: .92rem; color: var(--grey); line-height: 1.7; flex: 1; }
.svc-card .link-more { margin-top: .3rem; }
.svc-card:hover .link-more .ic { transform: translateX(4px); }

/* ---------------------------------------------------------- project cards */
.proj-grid { display: grid; gap: clamp(1.1rem, 2.2vw, 1.9rem); grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.proj-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
.proj-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.proj-card:hover .frame-img { transform: scale(1.045); }
.proj-frame { border-radius: 0; }
.proj-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.proj-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem;
  font-family: var(--display); font-weight: 500; font-size: .73rem;
  letter-spacing: var(--track-label); text-transform: uppercase; color: var(--gold); margin: 0;
}
.proj-meta .dot { color: var(--sand); }
.proj-title { font-size: 1.24rem; color: var(--ink); }
.proj-sum { font-size: .92rem; color: var(--grey); line-height: 1.7; flex: 1; margin: 0; }
.proj-card .link-more { margin-top: .25rem; }
.proj-card:hover .link-more .ic { transform: translateX(4px); }

/* ---------------------------------------------------------------- why/dark */
.why-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.why-media { position: relative; }
.why-a { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.why-b {
  position: absolute; right: -6%; bottom: -12%; width: 56%;
  border-radius: var(--r-lg); border: 6px solid var(--ink); box-shadow: var(--shadow-lg);
}
.why-acts { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-media { order: -1; margin-bottom: 2.5rem; }
  .why-b { right: 0; bottom: -8%; width: 46%; }
}

.ticks { display: grid; gap: .7rem; margin-top: 1.6rem; }
.ticks li { display: flex; gap: .75rem; align-items: flex-start; font-size: .96rem; line-height: 1.65; }
.ticks .ic { color: var(--gold); width: 1.05rem; height: 1.05rem; margin-top: .42em; }
.ticks--light li { color: rgba(242,235,224,.9); }
.ticks--light .ic { color: var(--gold-2); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.1); }
.stat { background: var(--ink); padding: 2rem 1.2rem; text-align: center; }
.stat strong {
  display: block; font-family: var(--display); font-weight: 300;
  font-size: clamp(2.3rem, 4.8vw, 3.4rem); letter-spacing: -.02em;
  color: var(--gold-lt); line-height: 1; font-variant-numeric: tabular-nums;
}
.stat span { display: block; margin-top: .7rem; font-size: .84rem; color: rgba(242,235,224,.7); letter-spacing: .04em; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------------------- promos */
.promo-grid { display: grid; gap: clamp(1.1rem, 2.2vw, 1.8rem); grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.promo {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .35s, box-shadow .35s;
}
.promo:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.promo:hover .frame-img { transform: scale(1.045); }
.promo-frame { border-radius: 0; }
.promo-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.badge {
  align-self: flex-start; padding: .28em .85em; border-radius: 100px;
  background: var(--ink); color: var(--gold-lt); font-family: var(--display);
  font-size: .68rem; letter-spacing: var(--track-label); text-transform: uppercase; font-weight: 500;
}
.promo-body h3 { font-size: 1.18rem; color: var(--ink); }
.promo-body p { font-size: .92rem; color: var(--grey); line-height: 1.7; flex: 1; margin: 0; }

/* ------------------------------------------------------------------ quotes */
.quote-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.quote { margin: 0; padding: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.quote-mark { width: 2rem; height: 2rem; color: var(--sand); margin-bottom: .8rem; }
.quote blockquote { margin: 0 0 1.2rem; font-size: 1.02rem; line-height: 1.8; color: var(--ink-2); }
.quote figcaption { font-size: .88rem; color: var(--grey); }
.quote figcaption strong { display: block; color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------------- FAQ */
.faq { display: grid; gap: .7rem; }
.faq-i { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq-i summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem; cursor: pointer; list-style: none;
  font-size: 1.02rem; font-weight: 500; color: var(--ink);
}
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary .ic { color: var(--gold); transition: transform .3s ease; flex: none; }
.faq-i[open] summary .ic { transform: rotate(180deg); }
.faq-a { padding: 0 1.4rem 1.35rem; color: var(--grey); font-size: .96rem; line-height: 1.8; }

/* ---------------------------------------------------------------- contact */
.contact-split { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 920px) { .contact-split { grid-template-columns: 1fr; } }

.cmeth { display: grid; gap: .6rem; margin-top: 1.6rem; }
.cmeth a, .cmeth-static {
  display: flex; align-items: center; gap: 1rem;
  padding: .95rem 1.15rem; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .22s, transform .22s, box-shadow .22s;
}
.cmeth a:hover { border-color: var(--gold); transform: translateX(3px); box-shadow: var(--shadow-sm); }
.cmeth .ic { color: var(--gold); width: 1.3rem; height: 1.3rem; }
.cmeth strong { display: block; font-weight: 500; color: var(--ink); font-size: .98rem; line-height: 1.4; }
.cmeth em {
  display: block; font-style: normal; font-family: var(--display); font-weight: 500;
  font-size: .73rem; color: var(--grey-lt); letter-spacing: var(--track-label);
  text-transform: uppercase; margin-top: .2rem;
}
.sec--dark .cmeth a, .sec--dark .cmeth-static,
.aside-card--dark .cmeth a, .aside-card--dark .cmeth-static {
  background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14);
}
.aside-card--dark .cmeth strong { color: var(--cream); }

.map { margin-top: 1.4rem; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.map iframe { display: block; }
.map-link {
  display: flex; align-items: center; justify-content: center; gap: .4em;
  padding: .8rem 1rem; font-family: var(--display); font-size: .88rem; font-weight: 500;
  color: var(--gold); border-top: 1px solid var(--line); transition: background .2s;
}
.map-link:hover { background: var(--beige); }
.map-note {
  margin: 0; padding: .8rem 1rem; font-size: .82rem; color: var(--grey);
  border-top: 1px solid var(--line); line-height: 1.6;
}

.contact-form-wrap {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow-md);
}
.form-h { font-size: 1.5rem; color: var(--ink); margin-bottom: .5rem; }
.form-lead { color: var(--grey); font-size: .95rem; margin-bottom: 1.6rem; }

.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cf-full { grid-column: 1 / -1; }
@media (max-width: 560px) { .cf-grid { grid-template-columns: 1fr; } }
.cf-f { display: grid; gap: .42rem; }
.cf-f > span { font-family: var(--display); font-size: .85rem; font-weight: 500; color: var(--brown); letter-spacing: .025em; }
.cf-f em { color: var(--gold); font-style: normal; }
.cf-f input, .cf-f select, .cf-f textarea {
  font: inherit; font-size: .96rem; color: var(--ink);
  padding: .72rem .9rem; background: var(--cream);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .2s, background .2s, box-shadow .2s;
  width: 100%;
}
.cf-f textarea { resize: vertical; min-height: 96px; line-height: 1.7; }
.cf-f input:focus, .cf-f select:focus, .cf-f textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
  box-shadow: 0 0 0 3px rgba(168,129,62,.14);
}
.cf-f input[aria-invalid="true"] { border-color: #c0453b; box-shadow: 0 0 0 3px rgba(192,69,59,.12); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.cf-note { font-size: .8rem; color: var(--grey-lt); margin: 0; flex: 1; min-width: 200px; }
.cf-msg { margin: 1rem 0 0; font-size: .92rem; padding: 0; }
.cf-msg.ok { color: #1e7a4a; background: #eaf6ef; border: 1px solid #bfe3cf; padding: .85rem 1rem; border-radius: var(--r-sm); }
.cf-msg.err { color: #a3352b; background: #fbeceb; border: 1px solid #f0c9c5; padding: .85rem 1rem; border-radius: var(--r-sm); }

/* -------------------------------------------------------------- CTA band */
.cta-band { background: linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%); color: var(--cream); }
.cta-in {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: center; padding-block: clamp(3rem, 6vw, 4.5rem);
}
.cta-in h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: #fff; margin-bottom: .5em; }
.cta-lead { color: rgba(242,235,224,.75); font-size: 1.02rem; margin: 0; }
.cta-acts { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: flex-end; }
@media (max-width: 860px) { .cta-in { grid-template-columns: 1fr; } .cta-acts { justify-content: flex-start; } }

/* ------------------------------------------------------------- page heads */
.phead { position: relative; overflow: hidden; background: var(--ink); color: var(--cream); }
.phead--plain { background: var(--beige); color: var(--ink); }
.phead-bg { position: absolute; inset: 0; }
.phead-frame { height: 100%; aspect-ratio: auto !important; border-radius: 0; }
.phead-frame .frame-blur { filter: blur(30px) brightness(.42) saturate(1.1); }
.phead-frame .frame-img { object-fit: cover; opacity: .5; }
.phead--tint .phead-frame .frame-img { opacity: .22; }
.phead::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(15,12,10,.9), rgba(15,12,10,.55) 60%, rgba(15,12,10,.35));
}
.phead--plain::after { display: none; }
.phead-in {
  position: relative; z-index: 2;
  padding-block: clamp(2.6rem, 6vw, 5rem);
  max-width: 56rem;
}
.phead-in h1 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); color: inherit; margin-bottom: .4em; }
.phead--plain .phead-in h1 { color: var(--ink); }
.phead-lead { font-size: clamp(1rem, 1.5vw, 1.14rem); color: rgba(250,246,240,.82); max-width: 44rem; margin: 0; }
.phead--plain .phead-lead { color: var(--grey); }
.phead-icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.2rem;
  border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: var(--gold-lt);
}
.phead-icon .ic { width: 1.5rem; height: 1.5rem; }

.crumbs { margin-bottom: 1.4rem; font-size: .82rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; }
.crumbs li { display: flex; align-items: center; gap: .5rem; color: rgba(250,246,240,.6); }
.crumbs li + li::before { content: '/'; color: rgba(250,246,240,.35); }
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--gold-lt); }
.crumbs [aria-current] { color: var(--gold-lt); }
.phead--plain .crumbs li { color: var(--grey); }
.phead--plain .crumbs li + li::before { color: var(--sand); }
.phead--plain .crumbs [aria-current] { color: var(--brown); }
.phead--plain .crumbs a:hover { color: var(--gold); }

.pmeta { display: flex; flex-wrap: wrap; gap: 2.2rem; margin-top: 2rem; }
.pmeta dt {
  font-family: var(--display); font-weight: 500; font-size: .7rem;
  letter-spacing: var(--track-label); text-transform: uppercase; color: var(--gold-lt); margin-bottom: .4rem;
}
.pmeta dd { font-size: 1rem; color: rgba(250,246,240,.94); }

/* ------------------------------------------------------------- article */
.article-split { display: grid; grid-template-columns: 1fr 360px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 960px) { .article-split { grid-template-columns: 1fr; } }
.article { font-size: 1.04rem; line-height: 1.9; color: var(--ink-2); max-width: 46rem; }
.article p { margin-bottom: 1.35em; }
.article--lead p:first-child { font-size: 1.16rem; color: var(--ink); }
.about-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .about-split { grid-template-columns: 1fr; } }
.about-media .frame { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }

.aside { display: grid; gap: 1.2rem; position: sticky; top: 100px; }
@media (max-width: 960px) { .aside { position: static; } }
.aside-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-sm);
}
.aside-card h2 { font-size: 1.1rem; color: var(--ink); letter-spacing: .01em; }
.aside-card .ticks { margin-top: 1.1rem; margin-bottom: 1.5rem; }
.aside-card--dark { background: var(--ink); border-color: transparent; color: var(--beige); }
.aside-card--dark h2 { color: var(--cream); }
.aside-card--dark .cmeth { margin-top: 1.1rem; }
.aside-p { color: rgba(242,235,224,.75); font-size: .95rem; margin: .8rem 0 1.3rem; }

/* ------------------------------------------------------------- filters */
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); }
.chip {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .52em 1.05em; font-family: var(--display); font-size: .875rem; color: var(--brown);
  background: var(--white); border: 1px solid var(--line); border-radius: 100px;
  transition: background .2s, color .2s, border-color .2s;
}
.chip .ic { width: 1em; height: 1em; color: var(--gold); }
.chip:hover { border-color: var(--gold); }
.chip.is-on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip.is-on .ic { color: var(--gold-lt); }

/* ------------------------------------------------------------- masonry */
/* Natural aspect ratios — images are never cropped in the gallery. */
.masonry { columns: 4 260px; column-gap: 1rem; }
@media (max-width: 720px) { .masonry { column-gap: .65rem; } }
.mtile {
  display: block; width: 100%; padding: 0; margin: 0 0 1rem; cursor: zoom-in;
  background: var(--beige-2); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; break-inside: avoid;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s;
}
.mtile img { width: 100%; height: auto; display: block; }
.mtile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sand); }

/* ------------------------------------------------------------- lightbox */
.lb {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: rgba(12,10,8,.95); padding: clamp(1rem, 4vw, 3rem);
}
.lb[hidden] { display: none; }
.lb-fig { margin: 0; max-width: min(1400px, 94vw); max-height: 88vh; display: flex; flex-direction: column; gap: .9rem; }
.lb-fig img { max-width: 100%; max-height: 82vh; width: auto; height: auto; object-fit: contain; margin-inline: auto; border-radius: var(--r-sm); }
.lb-fig figcaption { color: rgba(250,246,240,.7); font-size: .88rem; text-align: center; }
.lb-x, .lb-p, .lb-n {
  position: absolute; z-index: 3; display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24); color: #fff;
  transition: background .2s, border-color .2s;
}
.lb-x:hover, .lb-p:hover, .lb-n:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.5); }
.lb-x { top: clamp(.8rem, 2vw, 1.6rem); right: clamp(.8rem, 2vw, 1.6rem); }
.lb-p { left: clamp(.5rem, 2vw, 1.6rem); top: 50%; transform: translateY(-50%); }
.lb-p .ic { transform: rotate(180deg); }
.lb-n { right: clamp(.5rem, 2vw, 1.6rem); top: 50%; transform: translateY(-50%); }
@media (max-width: 620px) { .lb-p, .lb-n { top: auto; bottom: 1rem; transform: none; } }

/* ------------------------------------------------------------- footer */
.site-foot { background: var(--ink); color: rgba(242,235,224,.72); padding-top: clamp(3rem, 6vw, 4.5rem); }
.site-foot .brand { color: var(--cream); }
.site-foot .logo-mark { color: var(--gold-2); }
.site-foot .brand-sub { color: rgba(220,192,138,.72); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(1.6rem, 3.5vw, 3rem); padding-bottom: 3rem; }
@media (max-width: 980px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-tag { color: var(--gold-lt); font-size: .92rem; margin: 1.2rem 0 .8rem; letter-spacing: .02em; }
.foot-desc { font-size: .875rem; line-height: 1.8; color: rgba(242,235,224,.55); max-width: 34rem; }
.foot-social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.foot-social a {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.18); border-radius: 50%;
  transition: background .2s, border-color .2s, color .2s;
}
.foot-social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.foot-col h3 {
  font-family: var(--display); font-weight: 500; font-size: .74rem;
  letter-spacing: var(--track-label); text-transform: uppercase; color: var(--gold-lt); margin-bottom: 1.1rem;
}
.foot-col ul { display: grid; gap: .6rem; }
.foot-col li { font-size: .9rem; }
.foot-col a { color: rgba(242,235,224,.7); transition: color .2s; }
.foot-col a:hover { color: var(--gold-lt); }
.foot-contact li { display: flex; gap: .7rem; align-items: flex-start; color: rgba(242,235,224,.7); line-height: 1.6; }
.foot-contact .ic { color: var(--gold); width: 1.05rem; height: 1.05rem; margin-top: .3em; }
.foot-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-block: 1.4rem; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .8rem; color: rgba(242,235,224,.45);
}
.foot-base p { margin: 0; }
.foot-base-links { display: flex; gap: .7rem; }
.foot-base a:hover { color: var(--gold-lt); }

/* ------------------------------------------------------- sticky mobile dock */
.dock { display: none; }
@media (max-width: 780px) {
  .dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    background: rgba(25,21,18,.97); backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255,255,255,.12);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .dock-a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem;
    padding: .7rem .4rem; color: rgba(242,235,224,.86);
    font-family: var(--display); font-size: .73rem; letter-spacing: .04em;
  }
  .dock-a .ic { width: 1.25rem; height: 1.25rem; color: var(--gold-2); }
  .dock-line .ic { color: #06c755; }
  .dock-cta { background: var(--gold); color: #fff; }
  .dock-cta .ic { color: #fff; }
  body { padding-bottom: 66px; }
  .site-foot { padding-bottom: 1rem; }
}

/* ------------------------------------------------------------- reveal */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ------------------------------------------------------------- print */
@media print {
  .topbar, .site-head, .dock, .cta-band, .hero-nav, .hero-dots, .lb { display: none !important; }
  body { color: #000; background: #fff; }
  .frame-blur { display: none; }
}
