:root {
  --white: #ffffff;
  --beige-50: #faf8f3;
  --beige-100: #f2ebdd;
  --ink-900: #111111;
  --ink-700: #2b2b2b;
  --ink-500: #5b5b5b;
  --gold: #b69156;
  --gold-deep: #92723f;
  --line: rgba(17, 17, 17, 0.14);
  --radius-md: 14px;
  --radius-lg: 24px;
  --max-width: 1160px;
  --shadow-soft: 0 16px 34px rgba(0, 0, 0, 0.09);
  --shadow-luxe: 0 24px 52px rgba(20, 15, 8, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: var(--ink-900);
  background: linear-gradient(165deg, #fffdf9 0%, #f6efe3 44%, #fffdf9 100%);
  line-height: 1.6;
  padding-top: 64px; /* reserve space for fixed navbar */
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink-900);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max-width), 92%);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1800;
  width: 100%;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease, border-radius 240ms ease, width 240ms ease, top 240ms ease, left 240ms ease, right 240ms ease;
  box-sizing: border-box;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(17, 17, 17, 0.1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  border-radius: 40px;
  top: 10px;
  left: 5%;
  right: 5%;
  width: auto;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 18px;
}
.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
}
.menu li {
  list-style: none;
}
.menu a {
  color: var(--ink-900);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 6px;
}
.menu a.is-active {
  color: var(--gold-deep);
}
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 220ms ease;
}
.menu a:hover::after,
.menu a:focus-visible::after {
  width: 100%;
}
.menu .nav-cta {
  padding: 8px 14px;
  font-size: 0.82rem;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink-900);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.site-footer {
  padding: 56px 0 26px;
  background: linear-gradient(140deg, #111111, #1e1a14 70%, #111111);
  color: rgba(255, 255, 255, 0.82);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}
.footer-col h3 {
  color: #ffffff;
  margin-bottom: 12px;
}
.footer-col p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  max-width: 40ch;
}
.socials {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.socials svg {
  width: 16px;
  height: 16px;
  fill: rgba(255, 255, 255, 0.86);
}
.footer-links {
  list-style: none;
  display: grid;
  gap: 8px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}
.copyright {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.62);
}

.topbar-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}

.logo{
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.logo span {
  color: var(--gold);
}

.logo img {
  width: 100px;
  height: auto;
  display: block;
  filter: brightness(0);
  transition: filter 0.3s ease;
}
.site-footer .logo img {
  filter: brightness(0) invert(1);
}
.top-links {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.top-links a {
  color: var(--ink-700);
  font-size: 0.9rem;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  padding: 11px 18px;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(145deg, #c4a468, #a67f45);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(166, 127, 69, 0.34);
}

.btn-outline {
  background: var(--white);
  color: var(--ink-700);
  border-color: var(--line);
}

.btn-dark {
  background: var(--ink-900);
  color: var(--white);
}

.hero {
  padding: 76px 0 50px;
}

.hero-shell {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.56);
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.94), rgba(34, 30, 24, 0.88));
  color: var(--white);
  box-shadow: var(--shadow-luxe);
  padding: 34px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 24px;
}

.hero-kicker {
  color: #f5dfb2;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 10px;
}

.hero p {
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 16px;
  max-width: 54ch;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tag {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
}

.hero-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
  display: grid;
  gap: 8px;
}

.hero-card h3 {
  color: var(--white);
  font-size: 1.42rem;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.hero-card li {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.89rem;
  padding-left: 14px;
  position: relative;
}

.hero-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f2dbad;
  position: absolute;
  left: 0;
  top: 9px;
}

.section {
  padding: 62px 0;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}

.section-kicker {
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: inline-block;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--ink-500);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 240, 229, 0.86));
  box-shadow: var(--shadow-soft);
  padding: 20px;
  display: grid;
  gap: 10px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-luxe);
}

.card h3 {
  font-size: 1.45rem;
}

.card p {
  color: var(--ink-500);
  font-size: 0.92rem;
}

.card-list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.card-list li {
  color: var(--ink-700);
  font-size: 0.88rem;
  padding-left: 14px;
  position: relative;
}

.card-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 9px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  border-radius: 12px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: rgba(255, 255, 255, 0.88);
  padding: 14px;
  text-align: center;
  display: grid;
  gap: 5px;
}

.metric strong {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--ink-900);
  font-size: 1.5rem;
  line-height: 1;
}

.metric span {
  color: var(--ink-500);
  font-size: 0.82rem;
}

.cta-band {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.96), rgba(34, 30, 24, 0.92));
  color: var(--white);
  padding: 28px;
  display: grid;
  grid-template-columns: 1.2fr auto;
  align-items: center;
  gap: 14px;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: 8px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer {
  background: #0f0f0f;
  color: rgba(255, 255, 255, 0.74);
  padding: 34px 0 18px;
  margin-top: 54px;
}

.footer p {
  font-size: 0.9rem;
  text-align: center;
}

/* ─────────────────────────────────────────────────────────
   TABLET (max-width: 960px)
   ───────────────────────────────────────────────────────── */

@media (max-width: 960px) {
  .hero-shell,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

/* ─────────────────────────────────────────────────────────
   MOBILE NAV (max-width: 860px)
   ───────────────────────────────────────────────────────── */

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .menu {
    position: fixed;
    top: 64px;
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(17, 17, 17, 0.1);
    box-shadow: var(--shadow-soft);
    border-radius: 14px;
    padding: 14px;
    display: grid;
    gap: 6px;
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
    z-index: 1850;
  }

  .site-header.nav-open .menu,
  .menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .menu a {
    padding: 10px 8px;
    border-radius: 8px;
  }

  .menu .nav-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ─────────────────────────────────────────────────────────
   MOBILE OPTIMIZATION (320px - 679px)
   ───────────────────────────────────────────────────────── */

@media (max-width: 680px) {
  :root {
    font-size: 14px;
  }

  /* ─ Header Navigation ─ */
  .topbar {
    padding: 10px 0;
  }

  .topbar-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 0;
  }

  .logo {
    font-size: 1.3rem;
  }

  .top-links {
    gap: 8px;
    flex-wrap: wrap;
  }

  .top-links a {
    font-size: 0.85rem;
    padding: 6px 10px;
  }

  /* ─ Hero Section ─ */
  .hero {
    padding: 40px 0 30px;
  }

  .hero-shell {
    padding: 18px;
    gap: 16px;
    border-radius: 12px;
  }

  .hero-kicker {
    font-size: 0.7rem;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 8px;
  }

  .hero p {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }

  .hero-tags {
    gap: 6px;
  }

  .hero-tag {
    font-size: 0.75rem;
    padding: 5px 9px;
  }

  .hero-actions {
    margin-top: 12px;
    flex-direction: column;
    gap: 8px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    font-size: 0.95rem;
  }

  .hero-card {
    padding: 14px;
    border-radius: 12px;
  }

  .hero-card h3 {
    font-size: 1.1rem;
  }

  .hero-card ul {
    gap: 6px;
  }

  .hero-card li {
    font-size: 0.8rem;
    padding-left: 12px;
  }

  /* ─ Section Spacing ─ */
  .section {
    padding: 50px 0;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .section-head h2 {
    font-size: clamp(1.5rem, 4.5vw, 2rem);
    margin-bottom: 8px;
  }

  .section-head p {
    font-size: 0.85rem;
  }

  .section-kicker {
    font-size: 0.7rem;
  }

  /* ─ Grid Layout ─ */
  .grid-3,
  .metric-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .grid-2 {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  /* ─ Cards ─ */
  .card {
    padding: 16px;
    border-radius: 12px;
  }

  .card h3 {
    font-size: 1.2rem;
  }

  .card p {
    font-size: 0.85rem;
  }

  .card-list {
    gap: 6px;
  }

  .card-list li {
    font-size: 0.8rem;
  }

  /* ─ Buttons ─ */
  .btn {
    padding: 11px 16px;
    font-size: 0.9rem;
    min-height: 44px;
    width: 100%;
  }

  .btn-primary,
  .btn-outline,
  .btn-dark {
    width: 100%;
  }

  /* ─ CTA Band ─ */
  .cta-band {
    padding: 20px;
    border-radius: 12px;
  }

  .cta-heading {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .cta-actions {
    flex-direction: column;
    gap: 10px;
  }

  .cta-actions .btn {
    width: 100%;
  }

  /* ─ Detailed Page Layout ─ */
  .detail-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .detail-media {
    max-width: 100%;
  }

  .detail-content {
    padding: 16px;
  }

  .detail-content h2 {
    font-size: 1.4rem;
  }

  .detail-content p,
  .detail-content li {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  /* ─ Typography ─ */
  h1 {
    font-size: clamp(1.4rem, 4.5vw, 1.8rem);
  }

  h2 {
    font-size: clamp(1.2rem, 3.5vw, 1.6rem);
  }

  h3 {
    font-size: clamp(1rem, 3vw, 1.3rem);
  }

  p,
  li {
    font-size: 0.85rem;
  }

  small {
    font-size: 0.75rem;
  }

  /* ─ Forms ─ */
  input,
  select,
  textarea {
    font-size: 16px !important;
    padding: 12px !important;
    min-height: 48px;
  }

  /* ─ Tables (if present) ─ */
  table {
    font-size: 0.8rem;
    overflow-x: auto;
    display: block;
  }

  th,
  td {
    padding: 10px 8px;
  }

  /* ─ Metric Box ─ */
  .metric-box {
    padding: 14px;
  }

  .metric-label {
    font-size: 0.75rem;
  }

  .metric-value {
    font-size: 1.4rem;
  }

  /* ─ Touch Targets ─ */
  button,
  a[role="button"],
  .btn {
    min-height: 48px;
    min-width: 48px;
    touch-action: manipulation;
  }

  /* ─ Prevent Zoom on Input (iOS) ─ */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* ─ Video/iframe Responsive ─ */
  iframe,
  video {
    max-width: 100%;
    height: auto;
  }

  /* ─ Text Size Adjust for iOS ─ */
  body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
}

/* ─────────────────────────────────────────────────────────
   EXTRA SMALL PHONES (320px - 420px)
   ───────────────────────────────────────────────────────── */

@media (max-width: 420px) {
  :root {
    font-size: 13px;
  }

  .topbar-wrap {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
  }

  .top-links {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 4px;
  }

  .top-links a {
    white-space: nowrap;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    font-size: 0.82rem;
  }

  .hero {
    padding: 30px 0 20px;
  }

  .hero-shell {
    padding: 14px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    gap: 8px;
  }

  .btn {
    padding: 10px 14px;
    font-size: 0.85rem;
  }

  .section {
    padding: 40px 0;
  }

  .grid-3,
  .grid-2,
  .metric-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .card {
    padding: 12px;
  }

  .hero-card,
  .detail-content {
    padding: 12px;
  }
}

/* ─────────────────────────────────────────────────────────
   LANDSCAPE MODE OPTIMIZATION
   ───────────────────────────────────────────────────────── */

@media (max-height: 600px) and (orientation: landscape) {
  .hero-shell {
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    padding: 16px;
  }

  .section {
    padding: 40px 0;
  }

  .hero {
    padding: 20px 0;
  }
}

/* ─────────────────────────────────────────────────────────
   ACCESSIBILITY & SAFE AREA ADJUSTMENTS
   ───────────────────────────────────────────────────────── */

@supports (padding: max(0px)) {
  .topbar,
  .container {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
}

/* ─────────────────────────────────────────────────────────
   PRINT STYLES
   ───────────────────────────────────────────────────────── */

@media print {
  body {
    background: white;
  }

  .topbar,
  nav,
  .cta-actions {
    display: none !important;
  }

  .section {
    page-break-inside: avoid;
  }
}
