@font-face {
  font-family: "Ponzu";
  src: url("font/Ponzu-Light.woff2") format("woff2"),
       url("font/Ponzu-Light.woff") format("woff"),
       url("font/Ponzu-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   ATLANT — Massage Studio Landing
   Design tokens
   ========================================================= */
:root {
  /* Brand palette (pulled from logo background) */
  --green-950: #0a2a24;
  --green-900: #0d3d33;
  --green-800: #13493e;
  --green-700: #1b5b4d;
  --green-600: #2a7565;
  --green-500: #3b8a78;
  --green-300: #8bc5b5;
  --green-200: #b9dccf;

  --cream-50: #f7f3ea;
  --cream-100: #efe8d8;
  --cream-200: #e4dac3;

  --sand: #c9b68c;
  --gold: #c69a5b;

  --ink-900: #0c1512;
  --ink-700: #2b3431;
  --ink-500: #596660;
  --ink-300: #9aa6a0;

  --white: #ffffff;

  /* Type */
  --f-serif: "Cormorant Garamond", "Times New Roman", serif;
  --f-sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Radius & shadow */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-full: 999px;

  --sh-soft: 0 18px 40px -20px rgba(10, 42, 36, 0.35);
  --sh-lift: 0 30px 60px -28px rgba(10, 42, 36, 0.55);

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-sans);
  color: var(--ink-900);
  background: var(--cream-50);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }
iframe { border: 0; }

/* =========================================================
   Layout
   ========================================================= */
.container {
  width: min(1240px, 92%);
  margin: 0 auto;
}

section { position: relative; }

.display {
  font-family: var(--f-serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.02;
  font-size: clamp(2.4rem, 6vw + 0.5rem, 5.8rem);
}
.display.sm {
  font-size: clamp(2rem, 3vw + 1rem, 3.4rem);
  line-height: 1.06;
}
.display .italic {
  font-style: italic;
  color: var(--green-700);
}
.lead {
  font-size: clamp(1rem, 0.4vw + 0.9rem, 1.125rem);
  color: var(--ink-500);
  max-width: 52ch;
}
.muted { color: var(--ink-500); max-width: 58ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--green-700);
}
.eyebrow.light { color: var(--cream-100); }
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 0 4px rgba(59,138,120,0.18);
}
.eyebrow.light .dot { background: var(--cream-100); box-shadow: 0 0 0 4px rgba(247,243,234,0.18); }

.section-head {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
  justify-items: center;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-full);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn.lg { padding: 16px 26px; font-size: 1rem; }
.btn.full { width: 100%; }

.btn-primary {
  background: var(--green-900);
  color: var(--cream-50);
  box-shadow: var(--sh-soft);
}
.btn-primary:hover { background: var(--green-800); transform: translateY(-2px); box-shadow: var(--sh-lift); }

/* Top-nav (over dark hero) primary button: invert for visibility */
.nav:not(.scrolled) .nav-actions .btn-primary {
  background: var(--cream-50);
  color: var(--green-900);
}
.nav:not(.scrolled) .nav-actions .btn-primary:hover { background: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--green-900);
  border-color: rgba(13,61,51,0.25);
}
.btn-ghost:hover { background: var(--green-900); color: var(--cream-50); border-color: var(--green-900); }

.btn-light {
  background: var(--cream-50);
  color: var(--green-900);
}
.btn-light:hover { background: var(--white); transform: translateY(-2px); }

.btn-ghost-light {
  color: var(--cream-50);
  border-color: rgba(247,243,234,0.4);
}
.btn-ghost-light:hover { background: var(--cream-50); color: var(--green-900); border-color: transparent; }

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 14px 0;
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease);
  border-bottom: 1px solid transparent;
  color: var(--cream-50);
}
.nav.scrolled {
  background: rgba(247,243,234,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(13,61,51,0.08);
  box-shadow: 0 4px 30px -20px rgba(10,42,36,0.3);
  color: var(--ink-900);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  transition: color .4s var(--ease);
}
.nav.scrolled .brand { color: var(--green-900); }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--r-full);
  overflow: hidden;
  background: var(--green-900);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text {
  font-family: "Ponzu", var(--f-serif);
  font-weight: 300;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 0.95rem;
  color: inherit;
}
.nav-links a { position: relative; padding: 6px 0; color: rgba(247,243,234,0.85); transition: color .3s var(--ease); }
.nav.scrolled .nav-links a { color: var(--ink-700); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: currentColor;
  transition: right .35s var(--ease);
}
.nav-links a:hover { color: var(--cream-50); }
.nav.scrolled .nav-links a:hover { color: var(--green-900); }
.nav-links a:hover::after { right: 0; }

.nav-actions { display: flex; gap: 10px; align-items: center; }

.nav-social {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(247,243,234,0.35);
  color: var(--cream-50);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.nav-social:hover { background: var(--cream-50); color: var(--green-900); border-color: var(--cream-50); transform: translateY(-2px); }
.nav.scrolled .nav-social { border-color: rgba(13,61,51,0.18); color: var(--green-900); }
.nav.scrolled .nav-social:hover { background: var(--green-900); color: var(--cream-50); border-color: var(--green-900); }

/* Burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-full);
  place-items: center;
  gap: 5px;
  flex-direction: column;
  justify-content: center;
  background: rgba(247,243,234,0.12);
  border: 1px solid rgba(247,243,234,0.25);
  color: var(--cream-50);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.nav.scrolled .burger {
  background: rgba(13,61,51,0.08);
  border-color: rgba(13,61,51,0.18);
  color: var(--green-900);
}
.burger:hover { background: rgba(247,243,234,0.22); border-color: rgba(247,243,234,0.4); }
.nav.scrolled .burger:hover { background: rgba(13,61,51,0.14); }
.burger span {
  width: 20px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease), width .3s var(--ease);
}
.burger span:nth-child(3) { width: 13px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { width: 20px; transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 70px; left: 4%; right: 4%; bottom: auto;
  background: var(--cream-50);
  border: 1px solid rgba(13,61,51,0.08);
  border-radius: var(--r-lg);
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--sh-lift);
  z-index: 200;
  color: var(--ink-900);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 10px;
  border-radius: var(--r-sm);
  color: var(--ink-900);
  transition: background .3s var(--ease);
}
.mobile-menu a:hover { background: rgba(13,61,51,0.06); }
.mobile-menu .btn-primary {
  background: var(--green-900);
  color: var(--cream-50);
  margin-top: 10px;
  padding: 15px 20px;
}
.mobile-menu .btn-primary:hover { background: var(--green-800); transform: none; box-shadow: none; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 130px 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--cream-50);
  background: linear-gradient(160deg, var(--green-950) 0%, var(--green-900) 55%, var(--green-800) 100%);
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.glow {
  position: absolute;
  filter: blur(80px);
  opacity: 0.55;
  border-radius: 50%;
}
.glow-1 {
  top: -120px; right: -80px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--green-500) 0%, transparent 70%);
}
.glow-2 {
  bottom: -160px; left: -120px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, var(--green-700) 0%, transparent 65%);
}
.grain {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 1px;
  mix-blend-mode: overlay;
  opacity: 0.6;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-copy .eyebrow { color: var(--green-200); }
.hero-copy .eyebrow .dot { background: var(--green-300); box-shadow: 0 0 0 5px rgba(139,197,181,0.18); }
.hero-copy .display { color: var(--cream-50); margin-top: 22px; }
.hero-copy .display .italic { color: var(--green-300); }
.hero-copy .lead { margin-top: 22px; color: rgba(247,243,234,0.78); }

.hero-cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero .btn-primary { background: var(--cream-50); color: var(--green-900); }
.hero .btn-primary:hover { background: var(--white); }
.hero .btn-ghost { color: var(--cream-50); border-color: rgba(247,243,234,0.35); }
.hero .btn-ghost:hover { background: var(--cream-50); color: var(--green-900); border-color: transparent; }

.hero-meta {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 36px;
  max-width: 520px;
}
.meta-item { display: grid; gap: 4px; }
.meta-item strong {
  font-family: var(--f-serif);
  font-size: 1.8rem;
  color: var(--cream-50);
  font-weight: 500;
}
.meta-item span {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,243,234,0.6);
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 520px;
  justify-self: end;
  width: 100%;
}
.visual-card {
  position: absolute; inset: 8% 8% 8% 8%;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #114a3e, #0a2a24);
  box-shadow:
    0 40px 90px -30px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
  display: grid;
  place-items: center;
  transform: rotate(-4deg);
  animation: floaty 8s ease-in-out infinite;
}
.visual-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(139,197,181,0.22), transparent 55%);
}
.visual-card img {
  width: 72%;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

.float-card {
  position: absolute;
  background: rgba(247,243,234,0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-md);
  padding: 14px 18px;
  display: grid;
  gap: 4px;
  color: var(--cream-50);
  min-width: 180px;
  box-shadow: var(--sh-soft);
  animation: floaty 7s ease-in-out infinite;
}
.float-card .tag { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-200); }
.float-card .price { font-family: var(--f-serif); font-size: 1.25rem; }
.float-1 { top: 6%; left: -6%; animation-delay: -2s; }
.float-2 { bottom: 8%; right: -4%; animation-delay: -4s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
}
.float-card { animation-name: floatx; }
@keyframes floatx {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 24px; height: 40px;
  border: 1.5px solid rgba(247,243,234,0.4);
  border-radius: 14px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
}
.scroll-cue span {
  width: 2px; height: 8px;
  background: var(--cream-50);
  border-radius: 2px;
  animation: scrolldot 1.8s infinite var(--ease);
}
@keyframes scrolldot {
  0% { transform: translateY(0); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* =========================================================
   Marquee
   ========================================================= */
.marquee {
  background: var(--green-900);
  color: var(--cream-100);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.marquee-track {
  display: flex;
  gap: 42px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--f-serif);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}
.marquee-track span:nth-child(odd) { font-style: italic; }
.marquee-track span:nth-child(even) { color: var(--green-300); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================================
   Services / Tabs
   ========================================================= */
.services {
  padding: clamp(80px, 10vw, 140px) 0;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.tab {
  padding: 12px 20px;
  border-radius: var(--r-full);
  border: 1px solid rgba(13,61,51,0.14);
  background: transparent;
  color: var(--ink-700);
  font-size: 0.95rem;
  transition: all .3s var(--ease);
}
.tab:hover { border-color: var(--green-700); color: var(--green-900); }
.tab.active {
  background: var(--green-900);
  color: var(--cream-50);
  border-color: var(--green-900);
}

.tab-panels { position: relative; }
.panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: var(--white);
  border: 1px solid rgba(13,61,51,0.06);
  border-radius: var(--r-xl);
  padding: clamp(32px, 4vw, 56px);
  box-shadow: var(--sh-soft);
  animation: panelIn .45s var(--ease);
}
.panel[hidden] { display: none; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.panel-head h3 {
  font-family: var(--f-serif);
  font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  color: var(--green-900);
}
.panel-head p { color: var(--ink-500); }

.panel-list {
  display: grid;
  gap: 2px;
  align-content: start;
  align-self: center;
}
.svc {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 14px;
  padding: 18px 6px;
  border-bottom: 1px dashed rgba(13,61,51,0.15);
}
.svc:last-child { border-bottom: 0; }
.svc-name {
  font-family: var(--f-serif);
  font-size: 1.25rem;
  color: var(--ink-900);
}
.svc-dots { border-bottom: 1px dotted rgba(13,61,51,0.3); transform: translateY(-4px); }
.svc-price {
  font-weight: 600;
  color: var(--green-800);
  font-size: 1.05rem;
}

.services-cta {
  margin-top: 48px;
  text-align: center;
  display: grid;
  gap: 18px;
  justify-items: center;
}
.services-cta p { color: var(--ink-500); }

/* =========================================================
   Gift certificates
   ========================================================= */
.gift {
  padding: clamp(80px, 10vw, 140px) 0;
  background: linear-gradient(160deg, var(--green-900), var(--green-800));
  color: var(--cream-50);
  position: relative;
  overflow: hidden;
}
.gift::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(139,197,181,0.18), transparent 55%);
  pointer-events: none;
}
.gift-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.gift-card {
  position: relative;
  background: linear-gradient(140deg, rgba(247,243,234,0.06), rgba(247,243,234,0.02));
  border: 1px solid rgba(247,243,234,0.12);
  border-radius: var(--r-xl);
  padding: clamp(32px, 4vw, 56px);
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.gift-shine {
  position: absolute;
  top: -30%; right: -20%;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(198,154,91,0.25), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.gift-card h2 { margin: 12px 0 14px; color: var(--cream-50); }
.gift-card p { color: rgba(247,243,234,0.75); max-width: 52ch; }

.gift-denoms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 34px;
}
.denom {
  padding: 10px 18px;
  border-radius: var(--r-full);
  border: 1px solid rgba(247,243,234,0.25);
  color: var(--cream-50);
  font-size: 0.95rem;
  transition: all .3s var(--ease);
  font-family: var(--f-serif);
}
.denom:hover { border-color: var(--cream-50); }
.denom.active {
  background: var(--cream-50);
  color: var(--green-900);
  border-color: var(--cream-50);
}

.gift-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.gift-side { display: grid; gap: 14px; align-content: stretch; }
.side-card {
  background: rgba(247,243,234,0.05);
  border: 1px solid rgba(247,243,234,0.12);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  display: grid;
  gap: 10px;
  min-height: 120px;
  align-content: center;
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.side-card:hover { transform: translateY(-3px); background: rgba(247,243,234,0.08); }
.side-kicker {
  font-family: var(--f-serif);
  font-size: 1.8rem;
  color: var(--green-300);
  letter-spacing: 0.04em;
}
.side-card h4 {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 1.2rem;
}

/* =========================================================
   About
   ========================================================= */
.about { padding: clamp(80px, 10vw, 140px) 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-copy h2 { margin: 18px 0 20px; color: var(--green-900); }
.features {
  margin-top: 36px;
  display: grid;
  gap: 20px;
}
.features li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(13,61,51,0.08);
}
.features li:last-child { border-bottom: 0; }
.f-ic {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--cream-50);
  font-size: 0.85rem;
}
.features h5 {
  font-family: var(--f-serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--green-900);
}
.features p { color: var(--ink-500); font-size: 0.95rem; }

.about-visual {
  position: relative;
  aspect-ratio: 16/10;
  max-width: 560px;
  justify-self: end;
  width: 100%;
}
.about-frame {
  position: absolute; inset: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-800), var(--green-950));
  display: grid;
  place-items: center;
  box-shadow: var(--sh-lift);
}
.about-frame::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 40% 30%, rgba(139,197,181,0.2), transparent 55%);
}
.about-frame img { width: 100%; height: 100%; object-fit: cover; position: relative; }
.about-badge {
  position: absolute;
  left: -24px; bottom: 32px;
  background: var(--cream-50);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  display: grid;
  gap: 2px;
  box-shadow: var(--sh-lift);
}
.about-badge strong {
  font-family: var(--f-serif);
  font-size: 1.6rem;
  color: var(--green-900);
  font-weight: 500;
}
.about-badge span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
}

/* =========================================================
   Team
   ========================================================= */
.team {
  padding: clamp(80px, 10vw, 140px) 0;
  background:
    radial-gradient(circle at 85% 10%, rgba(59,138,120,0.08), transparent 55%),
    linear-gradient(180deg, var(--cream-50) 0%, #ece5d3 100%);
  position: relative;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.member {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow: var(--sh-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.member:hover { transform: translateY(-6px); box-shadow: var(--sh-lift); }
.member-photo {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--green-900);
}
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.member:hover .member-photo img { transform: scale(1.04); }
.member-info {
  padding: 18px 22px 16px;
  background: var(--green-900);
  display: grid;
  gap: 4px;
}
.member-info h3 {
  font-family: var(--f-serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--cream-50);
}
.member-role {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-200);
}

.member-desc {
  padding: 20px 22px 0;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  overflow: hidden;
}
.member-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: rgba(13,61,51,0.08);
  color: var(--green-800);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: fit-content;
}
.member-desc p {
  font-size: 0.9rem;
  color: var(--ink-500);
  line-height: 1.6;
}
.member-book {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  margin-left: -22px;
  margin-right: -22px;
  padding: 16px 22px;
  background: var(--green-900);
  color: var(--cream-50);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background .3s var(--ease), gap .3s var(--ease);
}
a.member:hover .member-book { background: var(--green-700); gap: 14px; }
a.member { display: flex; flex-direction: column; text-decoration: none; cursor: pointer; }
a.member .member-info h3 { transition: color .3s var(--ease); }
.member-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.member-badge.owner {
  background: var(--green-900);
  color: var(--cream-50);
}
.member.featured {
  border: 2px solid var(--green-700);
  box-shadow: var(--sh-lift);
}
.member.featured .member-info h3 { font-size: 1.35rem; }

/* =========================================================
   Contacts
   ========================================================= */
.contacts {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--green-950);
  color: var(--cream-50);
  position: relative;
  overflow: hidden;
}
.contacts::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(59,138,120,0.2), transparent 60%);
  pointer-events: none;
}
.contacts-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.contacts-copy h2 { margin: 14px 0 14px; color: var(--cream-50); }
.contacts-copy > p { color: rgba(247,243,234,0.7); max-width: 52ch; }

.contact-list {
  margin-top: 36px;
  display: grid;
  gap: 22px;
}
.contact-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}
.c-ic {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(247,243,234,0.08);
  border: 1px solid rgba(247,243,234,0.15);
  color: var(--cream-50);
}
.c-ic svg { width: 18px; height: 18px; }
.c-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,243,234,0.55);
}
.c-value {
  display: block;
  font-family: var(--f-serif);
  font-size: 1.3rem;
  color: var(--cream-50);
  margin-top: 2px;
  transition: color .3s var(--ease);
}
a.c-value:hover { color: var(--green-300); }

.socials {
  margin-top: 38px;
  display: flex;
  gap: 10px;
}
.social {
  width: 44px; height: 44px;
  border: 1px solid rgba(247,243,234,0.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  transition: all .3s var(--ease);
}
.social:hover { background: var(--cream-50); color: var(--green-900); border-color: var(--cream-50); }

.contacts-map {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--sh-lift);
  border: 1px solid rgba(247,243,234,0.1);
}
.contacts-map iframe {
  width: 100%; height: 100%;
  filter: grayscale(0.3) contrast(0.95);
}
.map-link {
  position: absolute;
  left: 20px; bottom: 20px;
  background: var(--cream-50);
  color: var(--green-900);
  padding: 10px 18px;
  border-radius: var(--r-full);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--sh-soft);
  transition: transform .3s var(--ease);
}
.map-link:hover { transform: translateY(-2px); }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--green-950);
  color: var(--cream-100);
  padding: 60px 0 0;
  border-top: 1px solid rgba(247,243,234,0.08);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
}
.footer-brand .brand-mark { background: var(--green-900); }
.footer-brand { display: grid; gap: 8px; align-content: start; }
.footer-brand .brand-text {
  font-family: var(--f-serif);
  font-size: 1.6rem;
  color: var(--cream-50);
}
.footer-brand p { color: rgba(247,243,234,0.5); font-size: 0.9rem; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer-cols h6 {
  font-family: var(--f-sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247,243,234,0.55);
  font-weight: 500;
  margin-bottom: 14px;
}
.footer-cols a {
  display: block;
  padding: 6px 0;
  color: var(--cream-100);
  font-size: 0.95rem;
  transition: color .3s var(--ease);
}
.footer-cols a:hover { color: var(--green-300); }

.footer-base {
  border-top: 1px solid rgba(247,243,234,0.08);
  padding: 20px 0;
}
.footer-base-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(247,243,234,0.55);
}

/* =========================================================
   Modal
   ========================================================= */
.modal {
  position: fixed; inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; animation: fade .25s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(10,42,36,0.55);
  backdrop-filter: blur(6px);
}
.modal-dialog {
  position: relative;
  background: var(--cream-50);
  border-radius: var(--r-xl);
  width: min(540px, 100%);
  padding: 40px 36px;
  box-shadow: var(--sh-lift);
  animation: pop .35s var(--ease);
  max-height: 90vh;
  overflow: auto;
}
@keyframes pop { from { transform: translateY(20px) scale(.97); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.modal-close {
  position: absolute;
  top: 14px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(13,61,51,0.08);
  color: var(--green-900);
  font-size: 1.6rem;
  line-height: 1;
  display: grid; place-items: center;
  transition: background .3s var(--ease);
}
.modal-close:hover { background: var(--green-900); color: var(--cream-50); }
.modal-dialog h3 { margin: 12px 0 22px; color: var(--green-900); }

.form {
  display: grid;
  gap: 16px;
}
.form label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--ink-500);
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid rgba(13,61,51,0.12);
  color: var(--ink-900);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
  font-size: 1rem;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(27,91,77,0.12);
}
.form textarea { resize: vertical; min-height: 84px; }
.form-note { color: var(--ink-500); font-size: 0.78rem; text-align: center; }

/* =========================================================
   Toast
   ========================================================= */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(100px);
  background: var(--green-900);
  color: var(--cream-50);
  padding: 14px 22px;
  border-radius: var(--r-full);
  box-shadow: var(--sh-lift);
  font-size: 0.95rem;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
  opacity: 0;
  z-index: 90;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 420px; justify-self: start; }
  .panel { grid-template-columns: 1fr; gap: 24px; padding: 32px; }
  .gift-grid { grid-template-columns: 1fr; }
  .gift-side { grid-auto-flow: column; grid-auto-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-visual { justify-self: start; max-width: 400px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .contacts-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .nav-links, .nav-actions { display: none; }
  .burger { display: grid; }
  .hero { padding-top: 90px; padding-bottom: 60px; }
  .hero-visual { display: none; }
  .hero-copy .display { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero-meta { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .meta-item strong { font-size: 1.4rem; }
  .tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; margin-right: -4%; padding-right: 4%; }
  .tab { flex: 0 0 auto; }
  .gift-side { grid-auto-flow: row; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .modal-dialog { padding: 30px 22px; }
}

@media (max-width: 520px) {
  .team-grid { grid-template-columns: 1fr; }
  .member-info h3 { font-size: 1.35rem; }
}

@media (max-width: 420px) {
  .hero-meta { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
