@import url("https://api.fontshare.com/v2/css?f[]=clash-grotesk@300,400,500,600,700&display=swap");

:root {
  --bg: #1B1B19;
  --fg: #D6C9B1;
  --fg-strong: #EBE4D5;
  --muted: #A89F8C;
  --line: rgba(214,201,177,0.14);
  --accent: #F7E857;
  --noir: #000000;
  --sable: #D6C9B1;
  --charcoal: #1B1B19;
  --card: #0F0F0E;
  --max: 1440px;
  --gutter: clamp(20px, 4vw, 56px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Clash Grotesk", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Sable section — used to be #EDE7DB; now light brand color */
.bg-sand { background: var(--sable); color: var(--charcoal); }
.bg-sand .eyebrow, .bg-sand .muted { color: #5b5345; }
.bg-sand .lead.muted { color: #5b5345; }
.bg-sand .feature p { color: #2A2620; }
/* prop-card and use-case have their own dark background — keep their text light */
.bg-sand .pullquote em { color: var(--charcoal); }
.bg-sand .position { border-bottom-color: rgba(27,27,25,0.14); }
.bg-sand .positions { border-top-color: rgba(27,27,25,0.14); }

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

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

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

/* ---------- Typography ---------- */
.display, h1, h2, h3 {
  font-family: "Clash Grotesk", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.02;
  color: var(--fg-strong);
}
h1 { font-size: clamp(48px, 9vw, 144px); font-weight: 500; }
h2 { font-size: clamp(36px, 6vw, 88px); font-weight: 500; }
h3 { font-size: clamp(24px, 3vw, 40px); letter-spacing: -0.005em; font-weight: 500; }

/* Brand accent — yellow highlight for emphasis words (replaces the previous serif italic) */
.serif { color: var(--accent); font-style: normal; font-weight: 400; }

.eyebrow {
  font-family: "DIN Alternate", "DIN", "Saira Condensed", "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
}

p { font-size: clamp(15px, 1.1vw, 18px); }
.lead { font-size: clamp(20px, 1.8vw, 28px); line-height: 1.4; max-width: 32ch; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.bleed { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background .3s, color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-light { color: var(--fg-strong); }
.nav.is-scrolled { background: rgba(27,27,25,0.92); backdrop-filter: blur(10px); color: var(--fg); border-bottom-color: var(--line); }
.nav.is-scrolled.is-light { color: var(--fg-strong); }

.nav-brand { display: inline-flex; align-items: center; }
.nav-brand img { height: 54px; width: auto; display: block; }

.nav-links { display: flex; gap: 32px; align-items: center; font-size: 14px; }
.nav-links a { opacity: .85; transition: opacity .2s, color .2s; }
.nav-links a:hover { opacity: 1; color: var(--accent); }

.lang-toggle { display: flex; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; }
.lang-toggle a { opacity: .5; }
.lang-toggle a.is-active { opacity: 1; }

.book-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--accent); color: var(--charcoal);
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform .2s, background .2s;
}
.book-btn:hover { background: #FFF270; transform: translateY(-1px); }

@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav-links.mobile-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); color: var(--fg); padding: 24px var(--gutter); gap: 18px; border-top: 1px solid var(--line); }
}

.nav-toggle { display: none; font-size: 22px; }
@media (max-width: 800px) { .nav-toggle { display: block; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  overflow: hidden;
  color: #fff;
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.78);
}
.hero-content {
  position: absolute; inset: auto 0 0 0;
  padding: var(--gutter);
  padding-bottom: clamp(40px, 6vw, 90px);
  display: flex; align-items: end; justify-content: space-between; gap: 40px;
  flex-wrap: wrap;
}
.hero h1 { max-width: 14ch; }
.hero-meta { font-size: 13px; opacity: .85; max-width: 28ch; line-height: 1.5; }
.hero-meta .eyebrow { color: rgba(255,255,255,.7); margin-bottom: 8px; display: block; }

/* ---------- Sections ---------- */
section { padding: clamp(64px, 9vw, 140px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: clamp(40px, 5vw, 80px); flex-wrap: wrap; }
.section-head .eyebrow { display: block; margin-bottom: 14px; }

/* ---------- Property grid ---------- */
.props { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 900px) { .props { grid-template-columns: 1fr; } }

.prop-card {
  position: relative; overflow: hidden;
  background: var(--noir);
  color: var(--fg);
  border-radius: 2px;
  display: flex; flex-direction: column;
  transition: transform .3s;
}
.prop-card:hover { transform: translateY(-4px); }
.prop-card .img-wrap { aspect-ratio: 4/5; overflow: hidden; }
.prop-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.prop-card:hover img { transform: scale(1.04); }
.prop-card .body { padding: 24px 20px 28px; }
.prop-card h3 { margin-bottom: 6px; }
.prop-card .city { font-family: "DIN Alternate", "Saira Condensed", sans-serif; font-size: 12px; color: var(--accent); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.prop-card .blurb { font-size: 15px; margin-top: 14px; color: var(--fg); }
.prop-card .more { display: inline-block; margin-top: 18px; font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--accent); color: var(--accent); padding-bottom: 2px; }

/* ---------- Editorial split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.split img { aspect-ratio: 4/5; object-fit: cover; width: 100%; border-radius: 2px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.gallery img, .gallery video { aspect-ratio: 1/1; object-fit: cover; width: 100%; height: 100%; display: block; }
.gallery .span2 { grid-column: span 2; aspect-ratio: 1/1; }
.gallery .span3 { grid-column: span 3; aspect-ratio: 3/2; }
.gallery .tall { grid-row: span 2; aspect-ratio: 1/2; }
@media (max-width: 800px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery .span2, .gallery .span3 { grid-column: span 2; aspect-ratio: 4/3; } .gallery .tall { grid-row: span 1; aspect-ratio: 4/3; } }

/* ---------- Feature list ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; border-top: 1px solid var(--line); padding-top: 40px; }
@media (max-width: 800px) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature h4 { font-family: "Clash Grotesk", sans-serif; font-size: 18px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.005em; color: var(--fg-strong); }
.feature p { font-size: 14px; color: var(--fg); }

/* ---------- Quote / pullquote ---------- */
.pullquote { max-width: 22ch; font-family: "Clash Grotesk", sans-serif; font-weight: 300; font-size: clamp(28px, 4vw, 56px); line-height: 1.15; color: var(--fg-strong); }
.pullquote em { font-style: normal; color: var(--accent); }

/* ---------- Sticky book bar (property pages) ---------- */
.sticky-book {
  position: sticky; bottom: 16px; z-index: 30;
  margin: 0 var(--gutter) 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--noir); color: var(--fg);
  padding: 14px 22px; border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.sticky-book .label { font-family: "DIN Alternate", "Saira Condensed", sans-serif; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.sticky-book .price { font-family: "Clash Grotesk", sans-serif; font-size: 18px; font-weight: 500; color: var(--fg-strong); }

/* ---------- Footer ---------- */
footer {
  background: var(--noir); color: var(--fg);
  padding: clamp(60px, 7vw, 100px) 0 40px;
  margin-top: 0;
  border-top: 1px solid var(--line);
}
footer .grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
@media (max-width: 1000px) { footer .grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; } }
@media (max-width: 600px) { footer .grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
footer h5 { font-family: "DIN Alternate", "Saira Condensed", sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: 0.22em; margin-bottom: 18px; color: var(--accent); font-weight: 700; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
footer ul a:hover { color: var(--accent); }
footer .copyline { display: flex; justify-content: space-between; gap: 24px; padding-top: 30px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); flex-wrap: wrap; }
footer img.logo { width: 280px; opacity: .95; margin-bottom: 18px; }
footer .tagline { font-family: "Clash Grotesk", sans-serif; font-size: 28px; font-weight: 400; color: var(--fg-strong); margin-bottom: 18px; letter-spacing: -0.01em; line-height: 1.15; }
footer .tagline em { font-style: normal; color: var(--accent); }

/* ---------- Marquee strip ---------- */
.marquee {
  background: var(--accent); color: var(--charcoal);
  padding: 14px 0; overflow: hidden;
  border-top: 1px solid var(--charcoal); border-bottom: 1px solid var(--charcoal);
}
.marquee-track { display: flex; gap: 48px; white-space: nowrap; animation: scroll 40s linear infinite; font-family: "DIN Alternate", "Saira Condensed", sans-serif; font-size: 16px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; }
.marquee span::before { content: "→"; display: inline-block; transform: rotate(-45deg); transform-origin: center; margin-right: 14px; }
.ne-arrow { display: inline-block; transform: rotate(-45deg); transform-origin: center; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: "Clash Grotesk", sans-serif; font-weight: 500; font-size: clamp(18px, 2vw, 24px); letter-spacing: -0.005em; color: var(--fg-strong); }
.faq-list summary:hover { color: var(--accent); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 28px; font-weight: 300; color: var(--accent); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin-top: 16px; max-width: 70ch; color: var(--fg); }
.faq-list details p a { color: var(--accent); border-bottom: 1px solid var(--accent); }
.faq-cat { margin-bottom: clamp(40px, 5vw, 80px); }
.faq-cat h3 { margin-bottom: 24px; }

/* ---------- Position list (careers) ---------- */
.positions { border-top: 1px solid var(--line); }
.position { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); transition: background .2s; }
@media (max-width: 800px) { .position { grid-template-columns: 1fr 1fr; gap: 12px; } .position .arrow { grid-column: 2; text-align: right; } }
.position:hover { background: rgba(200,77,44,.04); }
.position h4 { font-family: "Clash Grotesk", sans-serif; font-weight: 500; font-size: 22px; letter-spacing: -0.005em; color: var(--fg-strong); }
.position .meta { font-family: "DIN Alternate", "Saira Condensed", sans-serif; font-size: 12px; color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; }
.position .arrow { font-size: 22px; color: var(--accent); }
.position:hover { background: rgba(247,232,87,0.04); }
.position:hover h4 { color: var(--accent); }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 36px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
@media (max-width: 800px) { .stat:nth-child(2) { border-right: none; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.stat .num { font-family: "Clash Grotesk", sans-serif; font-size: clamp(48px, 6vw, 88px); font-weight: 500; letter-spacing: -0.025em; line-height: 1; color: var(--fg-strong); }
.stat .num.accent { color: var(--accent); }
.stat .label { font-family: "DIN Alternate", "Saira Condensed", sans-serif; font-size: 12px; color: var(--muted); margin-top: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; }

/* ---------- Use case cards ---------- */
.use-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 800px) { .use-cases { grid-template-columns: 1fr; } }
.use-case { background: var(--bg); padding: 36px 28px; min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; }
.use-case .icon { font-family: "DIN Alternate", "Saira Condensed", monospace; font-size: 14px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.use-case h4 { font-family: "Clash Grotesk", sans-serif; font-weight: 500; font-size: 22px; margin-top: 14px; letter-spacing: -0.005em; color: var(--fg-strong); }
.use-case p { font-size: 14px; color: var(--fg); margin-top: 8px; }

/* ---------- Form ---------- */
.form-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: span 2; }
.form label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 8px; }
.form input, .form textarea, .form select {
  width: 100%; font: inherit; font-size: 16px;
  background: transparent; color: var(--fg);
  border: none; border-bottom: 1px solid var(--fg);
  padding: 8px 0; outline: none;
  border-radius: 0;
  transition: border-color .2s;
}
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--accent); }
.form textarea { min-height: 120px; resize: vertical; }
.form select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%231A1814' fill='none' stroke-width='1.5'/></svg>"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px; }
.form .submit-row { grid-column: span 2; margin-top: 20px; }
.form button {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--charcoal);
  padding: 16px 32px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  transition: background .2s, transform .2s;
}
.form button:hover { background: #FFF270; transform: translateY(-1px); }

.contact-card { background: var(--noir); padding: 32px; border-radius: 2px; border: 1px solid var(--line); }
.contact-card h4 { font-family: "Clash Grotesk", sans-serif; font-size: 22px; font-weight: 500; margin-bottom: 18px; letter-spacing: -0.005em; color: var(--fg-strong); }
.contact-card .row { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-card .row:last-child { border-bottom: none; }
.contact-card .label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }
.contact-card .val { font-size: 16px; margin-top: 4px; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.muted { color: var(--muted); }
.spacer-l { height: clamp(60px, 8vw, 120px); }
