/* =====================================================================
   Otoro Club — Marketing Site (otoroclub.com)
   Editorial single-page site. Shares the Dorsia/Gozzer DNA.
   See ~/.claude/skills/otoro-club-style.
   ===================================================================== */

:root {
  --navy: #0B1B2B;
  --navy-2: #102438;
  --navy-3: #1a3149;
  --gold: #C9A36B;
  --gold-deep: #B8893E;
  --cream: #F7F4EE;
  --cream-2: #EFEAE0;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --rule: rgba(11, 27, 43, 0.12);
  --rule-gold: rgba(201, 163, 107, 0.35);

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", "JetBrains Mono", ui-monospace, monospace;

  --measure: 64ch;
  --container: 1180px;
  --container-narrow: 760px;

  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
p { margin: 0 0 1em; }
strong { font-weight: 600; color: var(--navy); }

/* ---------- Typography helpers ---------- */
.display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.05;
  margin: 0 0 0.6em;
}
h1.display { font-size: clamp(2.6rem, 6vw, 5.4rem); }
h2.display { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0 0 0.4em;
  color: var(--navy);
}
.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
}
.tagline-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  line-height: 1.35;
  color: var(--gold-deep);
  margin: 0 0 1.4em;
  max-width: 48ch;
}
.section--navy .tagline-italic { color: var(--gold); }
.gold { color: var(--gold); }
.section--navy .eyebrow { color: var(--gold); }
.section--navy h3 { color: var(--cream); }
.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: var(--ink);
}
.lede--inverse { color: rgba(247, 244, 238, 0.9); }
em {
  font-style: italic;
  color: var(--gold-deep);
}
.section--navy em,
.hero em { color: var(--gold); }
.inline-gold {
  color: var(--gold-deep);
  border-bottom: 1px solid var(--rule-gold);
  padding-bottom: 1px;
  transition: color 200ms var(--ease);
}
.inline-gold:hover { color: var(--gold); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
}
.container.narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(96px, 10vw, 160px); }
.section--light { background: var(--cream); }
.section--cream { background: var(--cream-2); }
.section--navy { background: var(--navy); color: var(--cream); }
.section + .section { border-top: 1px solid var(--rule); }
.section--navy + .section,
.section + .section--navy { border-top: 0; }

/* ---------- Top nav ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding-block: 18px;
  transition: background 320ms var(--ease), border-color 320ms var(--ease), padding 320ms var(--ease);
  border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled {
  background: rgba(11, 27, 43, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: var(--rule-gold);
  padding-block: 12px;
}
.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--cream);
}
.nav-mark {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.05;
  display: inline-flex;
  flex-direction: column;
  color: var(--cream);
}
.nav-mark .mark-line {
  font-size: 1.2rem;
  color: var(--gold);
}
.nav-mark .mark-sub {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.7);
}
.nav-links {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links a {
  color: rgba(247, 244, 238, 0.78);
  transition: color 200ms var(--ease);
}
.nav-links a:hover { color: var(--gold); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--cream);
  margin-block: 5px;
  transition: transform 220ms var(--ease), opacity 200ms var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero (Dorsia 60/40 split) ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--cream);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 80% 20%, rgba(201, 163, 107, 0.12), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(201, 163, 107, 0.08), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding: clamp(120px, 14vw, 180px) clamp(28px, 6vw, 80px) clamp(60px, 8vw, 90px);
  max-width: 760px;
}
.hero-inner .eyebrow { color: var(--gold); margin-bottom: 1.8em; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  margin-bottom: 0.6em;
  color: var(--cream);
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: clamp(1.05rem, 1.45vw, 1.32rem);
  line-height: 1.6;
  color: rgba(247, 244, 238, 0.88);
  max-width: 60ch;
  margin-bottom: 1.6em;
}
.hero-meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 2.6em;
}
.hero-image {
  position: relative;
  margin: 0;
  height: 100%;
  min-height: 420px;
  padding: clamp(24px, 4vw, 56px) clamp(24px, 4vw, 80px) clamp(24px, 4vw, 56px) 0;
}
.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
  border: 1px solid var(--rule-gold);
}

/* ---------- Buttons ---------- */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 28px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease);
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--navy);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 244, 238, 0.4);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.section--light .btn-primary,
.section--cream .btn-primary {
  color: var(--cream);
  background: var(--navy);
  border-color: var(--navy);
}
.section--light .btn-primary:hover,
.section--cream .btn-primary:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-full { width: 100%; }

/* ---------- Image figures ---------- */
.full-image {
  margin: clamp(48px, 7vw, 96px) auto 0;
  padding-inline: clamp(20px, 5vw, 56px);
  max-width: var(--container);
}
.full-image img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--navy);
  border: 1px solid var(--rule-gold);
}

/* ---------- Fact strip ---------- */
.fact-strip {
  list-style: none;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  border-top: 1px solid var(--rule);
  padding-top: clamp(40px, 5vw, 64px);
}
.fact-strip li { display: flex; flex-direction: column; }
.fact-strip .numeral {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  letter-spacing: 0.04em;
  margin-bottom: 0.6em;
}
.fact-strip p {
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* ---------- Timeline ---------- */
.timeline {
  list-style: none;
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding: 0 0 0 28px;
  position: relative;
  border-left: 1px solid var(--gold);
  display: grid;
  gap: clamp(36px, 4vw, 56px);
  max-width: var(--container-narrow);
}
.timeline li { position: relative; padding-left: 12px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 0.55em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--cream);
}
.section--cream .timeline li::before { box-shadow: 0 0 0 4px var(--cream-2); }
.t-time {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.6em;
}
.timeline p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ---------- Step cards (Services 4-up) ---------- */
.step-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 32px);
  margin-top: clamp(40px, 5vw, 64px);
}
.step-cards--quad { grid-template-columns: repeat(2, 1fr); }
.step {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: clamp(28px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 0.2em;
}
.section--cream .step { background: var(--cream); }
.step-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
  margin: 0 0 0.4em;
}
.step h3 { margin-bottom: 0.1em; }
.step-meta {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 1em;
}
.step p:not(.step-meta) {
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Gallery (editorial 3-col uniform) ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: clamp(40px, 5vw, 64px);
}
.g-item {
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--rule-gold);
  aspect-ratio: 4 / 5;
  background: var(--navy);
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}
.g-item:hover img { transform: scale(1.04); }

/* ---------- The Ask (navy) ---------- */
.section--navy .ask-close {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: var(--gold);
  border-top: 1px solid var(--rule-gold);
  padding-top: 1.6em;
  margin-top: 1.6em;
}

/* ---------- Inquire form (narrow, in light section) ---------- */
.contact-block .inquire-form {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--rule);
}
.inquire-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-field label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.98rem;
  padding: 14px 16px;
  outline: none;
  transition: border-color 200ms var(--ease);
  width: 100%;
  appearance: none;
  border-radius: 0;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(26, 26, 26, 0.35); }
.form-field select option { background: var(--cream); color: var(--ink); }
.form-field textarea { resize: vertical; min-height: 120px; }

/* ---------- Footer (Dorsia editorial 3-col) ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(247, 244, 238, 0.78);
  padding-block: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--rule-gold);
}
.footer-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.foot-mark {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 0.4em;
}
.foot-tag {
  font-size: 0.92rem;
  margin: 0;
  color: rgba(247, 244, 238, 0.7);
}
.foot-tag em { color: rgba(247, 244, 238, 0.85); }
.foot-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.foot-links a {
  color: rgba(247, 244, 238, 0.7);
  transition: color 200ms var(--ease);
}
.foot-links a:hover { color: var(--gold); }
.foot-meta { text-align: right; }
.foot-meta p { margin: 0 0 0.4em; font-size: 0.85rem; color: rgba(247, 244, 238, 0.6); }
.foot-credit { font-size: 0.85rem; color: rgba(247, 244, 238, 0.6); }
.foot-credit a { color: var(--gold); border-bottom: 1px solid rgba(201, 163, 107, 0.3); }
.foot-credit a:hover { color: var(--gold-deep); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 27, 43, 0.96);
  align-items: center;
  justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border: 1px solid var(--rule-gold);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: 0;
  color: var(--cream);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 200ms var(--ease);
}
.lightbox-close:hover { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-image {
    order: -1;
    padding: 0;
    min-height: 360px;
  }
  .hero-image img {
    border-left: 0;
    border-right: 0;
    border-top: 0;
    min-height: 360px;
    aspect-ratio: 16 / 9;
  }
  .hero-inner {
    padding-top: clamp(96px, 12vw, 140px);
  }
  .fact-strip { grid-template-columns: 1fr; }
  .step-cards,
  .step-cards--quad { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .foot-meta { text-align: left; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 360px);
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 100px 28px 40px;
    transform: translateX(100%);
    transition: transform 320ms var(--ease);
    border-left: 1px solid var(--rule-gold);
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .site-nav { background: rgba(11, 27, 43, 0.94); }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .cta-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}

/* ---------- Print ---------- */
@media print {
  :root {
    --navy: #0B1B2B;
    --gold: #8a6a35;
    --cream: #ffffff;
  }
  body { background: #fff; color: #111; font-size: 11pt; line-height: 1.5; }
  .site-nav, .nav-toggle, .cta-row, .btn, .reveal { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    background: #fff;
    color: #111;
    page-break-after: always;
  }
  .hero::before { display: none; }
  .hero-inner { padding: 0; }
  .hero-image { display: none; }
  .hero h1, .hero-meta, .hero-inner .eyebrow { color: #111; }
  .hero-sub { color: #333; }
  .section {
    padding-block: 24pt;
    page-break-inside: avoid;
    background: #fff !important;
    color: #111 !important;
    border-top: 1px solid #ccc;
  }
  .section--navy { background: #fff !important; color: #111 !important; }
  .section--navy .display, .section--navy .eyebrow, .section--navy .ask-close { color: #111 !important; }
  .lede--inverse { color: #333 !important; }
  .full-image { display: none; }
  .gallery-grid { display: none; }
  .site-footer { background: #fff; color: #333; border-top: 1px solid #ccc; }
  a { color: #111; text-decoration: underline; }
  h2.display { font-size: 20pt; }
  h1.display { font-size: 28pt; }
}
