/* In Time Fitness — architectural studio theme */
:root {
  --ink: #1c1915;
  --ink-soft: #4a433b;
  --muted: #6f675d;
  --paper: #f6f3ed;
  --paper-2: #efeae1;
  --white: #fbfaf7;
  --brass: #8d7040;
  --brass-2: #c4a36a;
  --line: rgba(28, 25, 21, 0.12);
  --shadow: 0 24px 60px rgba(28, 25, 21, 0.08);
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --max: 1180px;
  --pad: clamp(20px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--ink); color: var(--paper);
  padding: 8px 12px; z-index: 100;
}
.skip:focus { top: 12px; }
.wrap { width: min(var(--max), calc(100% - var(--pad) * 2)); margin-inline: auto; }
.kicker {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass); font-weight: 500;
}
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 460; letter-spacing: -0.03em; line-height: 1.04; }
h1 { font-size: clamp(46px, 7vw, 92px); margin: 12px 0 18px; }
h2 { font-size: clamp(34px, 4.4vw, 58px); margin: 0 0 16px; }
h3 { font-size: 28px; margin: 0 0 8px; }
p { margin: 0 0 14px; }
.lede { font-size: 19px; color: var(--ink-soft); max-width: 42rem; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246, 243, 237, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong { font-weight: 500; letter-spacing: 0.16em; font-size: 13px; }
.brand em { font-style: normal; color: var(--brass); letter-spacing: 0.18em; font-size: 10px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav ul { display: flex; gap: 22px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: 14px; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); padding: 8px 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  padding: 13px 18px; min-height: 48px; letter-spacing: 0.04em; font-size: 14px; cursor: pointer;
}
.btn.ghost { background: transparent; color: var(--ink); }
.btn.light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn:hover { transform: translateY(-1px); }

.hero { padding: 42px 0 20px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: end; }
.hero-figure { position: relative; }
.hero-figure img { width: 100%; height: 640px; object-fit: cover; }
.hero-caption {
  position: absolute; left: 16px; bottom: 16px; background: rgba(246,243,237,.92);
  padding: 10px 12px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
}
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 42px; }
.facts div { padding: 18px 16px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts strong { display: block; font-weight: 500; font-size: 15px; }
.facts span { color: var(--muted); font-size: 13px; }

.section { padding: 88px 0; }
.section-head { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 36px; }
.section-head p { max-width: 34rem; color: var(--ink-soft); }

.plans { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.plan { background: var(--white); border: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; min-height: 100%; }
.plan:nth-child(1), .plan:nth-child(2) { grid-column: span 2; }
.plan:nth-child(3) { grid-column: span 2; }
.plan:nth-child(4), .plan:nth-child(5) { grid-column: span 3; }
.plan.featured { background: var(--ink); color: var(--paper); }
.plan.featured .kicker, .plan.featured .price span, .plan.featured li { color: var(--brass-2); }
.plan img { width: 100%; height: 180px; object-fit: cover; margin: 0 0 16px; }
.plan .price { font-family: var(--serif); font-size: 42px; margin: 8px 0; letter-spacing: -0.03em; }
.plan .price span { font-family: var(--sans); font-size: 14px; color: var(--muted); letter-spacing: 0; }
.plan ul { padding: 0; margin: 8px 0 18px; list-style: none; color: var(--ink-soft); font-size: 15px; }
.plan li { padding: 6px 0; border-top: 1px solid var(--line); }
.plan.featured li { border-color: rgba(246,243,237,.14); }
.plan .btn { margin-top: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { width: 100%; height: 520px; object-fit: cover; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { border-top: 1px solid var(--ink); padding-top: 16px; }
.step span { color: var(--brass); font-size: 13px; letter-spacing: 0.14em; }

.agent {
  background: var(--ink); color: var(--paper); padding: 72px 0;
}
.agent-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 36px; }
.q-card { background: #26221d; padding: 22px; border: 1px solid rgba(246,243,237,.08); }
.choices { display: grid; gap: 10px; margin-top: 16px; }
.choices button {
  text-align: left; background: transparent; color: var(--paper); border: 1px solid rgba(246,243,237,.2);
  padding: 14px 16px; cursor: pointer;
}
.choices button:hover, .choices button[aria-pressed="true"] { border-color: var(--brass-2); background: rgba(196,163,106,.08); }
.agent-result { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(246,243,237,.12); }

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-size: 18px; }
.faq p { color: var(--ink-soft); margin-top: 8px; }

.visit { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; background: var(--paper-2); }
.visit-copy, .visit-form { padding: 36px; }
form label { display: block; font-size: 13px; margin: 12px 0 6px; }
form input, form textarea, form select {
  width: 100%; background: var(--white); border: 1px solid var(--line); padding: 12px; }
form textarea { min-height: 120px; }
.note { font-size: 13px; color: var(--muted); }

.site-footer { background: var(--ink); color: #ddd6cc; padding: 56px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.site-footer a { color: #ddd6cc; text-decoration: none; }
.site-footer a:hover { color: white; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.legal-line { border-top: 1px solid rgba(246,243,237,.12); margin-top: 28px; padding-top: 16px; font-size: 13px; color: #b7aea2; }

.page-hero { padding: 54px 0 10px; }
.prose { max-width: 760px; padding-bottom: 72px; }
.prose h2 { font-size: 32px; margin-top: 32px; }
.prose h3 { font-size: 22px; margin-top: 22px; }
.prose ul { padding-left: 18px; }
.prose a { color: var(--brass); }

.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; }
.woocommerce ul.products li.product { background: var(--white); border: 1px solid var(--line); padding: 12px; }
.woocommerce span.price, .woocommerce div.product p.price { color: var(--ink); font-family: var(--serif); font-size: 28px; }
.woocommerce a.button, .woocommerce button.button {
  background: var(--ink); color: var(--paper); border-radius: 0; padding: 12px 16px;
}

@media (max-width: 980px) {
  .hero-grid, .split, .agent-grid, .visit, .foot-grid, .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan, .plan:nth-child(n) { grid-column: auto; }
  .facts { grid-template-columns: 1fr 1fr; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--paper); padding: 16px 20px 22px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav.open ul { flex-direction: column; align-items: flex-start; }
  .nav-toggle { display: inline-flex; min-height: 44px; }
  .hero-figure img, .split img { height: 320px; }
  .section { padding: 56px 0; }
  .section-head { display: block; }
  .visit-copy, .visit-form { padding: 22px 18px; }
  .hero .btn { margin: 0 8px 8px 0; }
  .woocommerce ul.products { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(38px, 12vw, 52px); }
  .facts { grid-template-columns: 1fr; }
  .facts div { border-right: 0; border-bottom: 1px solid var(--line); }
  .plan .price { font-size: 36px; }
  .header-inner { min-height: 64px; }
  .nav { top: 64px; }
  form input, form select, form textarea { font-size: 16px; }
  .btn { width: 100%; }
  .hero .btn { width: auto; }
  .site-footer { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}
