/* ============================================================
   cyruspatten.com — shared design system
   Used by the hub (/), the men's work page (/men),
   and the general therapy page (/growth).
   ============================================================ */

:root {
  --bg: #14130f;
  --bg-2: #1c1a15;
  --panel: #211e18;
  --bone: #ece5d8;
  --bone-dim: #b8b09f;
  --muted: #8b8473;
  --bronze: #c08a4a;
  --bronze-soft: #d9a868;
  --moss: #5e6b4f;
  --line: rgba(236, 229, 216, 0.10);
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--bone);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze-soft);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--bronze);
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 2px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.35s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--bronze); color: #1a1611; }
.btn-primary:hover { background: var(--bronze-soft); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--bone); }
.btn-ghost:hover { border-color: var(--bronze); color: var(--bronze-soft); }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- NAV ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
header.scrolled {
  background: rgba(20, 19, 15, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.brand span { color: var(--bronze-soft); }
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a.link {
  font-size: 14px; font-weight: 500; color: var(--bone-dim);
  position: relative; transition: color 0.3s;
}
.nav-links a.link:hover { color: var(--bone); }
.nav-links a.link::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--bronze); transition: width 0.3s var(--ease);
}
.nav-links a.link:hover::after { width: 100%; }
.menu-btn { display: none; background: none; border: none; color: var(--bone); cursor: pointer; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(192, 138, 74, 0.16), transparent 55%),
    radial-gradient(90% 80% at 12% 92%, rgba(94, 107, 79, 0.18), transparent 60%),
    linear-gradient(180deg, #14130f 0%, #181610 60%, #14130f 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.6;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }

.hero h1 { font-size: clamp(42px, 6.4vw, 86px); margin: 26px 0 0; }
.hero h1 em { font-style: italic; color: var(--bronze-soft); font-weight: 400; }
.hero-sub { margin-top: 28px; font-size: clamp(17px, 1.4vw, 19px); color: var(--bone-dim); max-width: 540px; }
.hero-cta { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 48px; display: flex; gap: 34px; flex-wrap: wrap;
  padding-top: 30px; border-top: 1px solid var(--line);
}
.hero-meta .item .n { font-family: 'Fraunces', serif; font-size: 30px; color: var(--bone); }
.hero-meta .item .l { font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; margin-top: 2px; }

/* Image-backed media card (hero/about). Add a background-image inline to use a photo. */
.media-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(20,19,15,0) 40%, rgba(20,19,15,0.85) 100%),
    radial-gradient(140% 120% at 30% 10%, #3a3528 0%, #211e18 45%, #16140f 100%);
  background-size: cover;
  background-position: center;
}
.media-card .quote { position: absolute; left: 26px; right: 26px; bottom: 26px; z-index: 3; }
.media-card .quote p {
  font-family: 'Fraunces', serif; font-style: italic; font-size: 19px; line-height: 1.4; color: var(--bone);
}
.media-card .quote .by { font-family: 'Inter'; font-style: normal; font-size: 12.5px; color: var(--muted); margin-top: 10px; letter-spacing: 0.05em; }
.float-tag {
  position: absolute; top: 22px; right: 22px; z-index: 3;
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bronze-soft); border: 1px solid var(--line); border-radius: 100px;
  padding: 7px 14px; background: rgba(20,19,15,0.45); backdrop-filter: blur(6px);
}

/* ---------- SECTION SCAFFOLD ---------- */
section { position: relative; }
.pad { padding: 110px 0; }
.pad-sm { padding: 84px 0; }
.section-head { max-width: 720px; }
.section-head h2 { font-size: clamp(32px, 4vw, 52px); margin-top: 20px; }
.section-head p { margin-top: 22px; color: var(--bone-dim); font-size: 18px; }

/* ---------- THREE-UP GRID (weight / cards) ---------- */
.tri { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tri-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 60px; border: 1px solid var(--line); }
.tri-cell {
  padding: 38px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease);
}
.tri-cell:hover { background: rgba(192,138,74,0.05); }
.tri-cell .num { font-family: 'Fraunces', serif; font-size: 15px; color: var(--bronze); letter-spacing: 0.1em; }
.tri-cell h3 { font-size: 22px; margin: 14px 0 10px; }
.tri-cell p { font-size: 15.5px; color: var(--muted); }

/* ---------- SERVICE CARDS ---------- */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 64px; }
.svc {
  position: relative; border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  padding: 44px 40px; min-height: 440px; display: flex; flex-direction: column;
  background: radial-gradient(120% 100% at 85% 0%, rgba(192,138,74,0.10), transparent 55%), var(--panel);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.svc.alt { background: radial-gradient(120% 100% at 85% 0%, rgba(94,107,79,0.18), transparent 55%), var(--panel); }
.svc:hover { transform: translateY(-6px); border-color: rgba(192,138,74,0.4); }
.svc .kicker { font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze-soft); }
.svc h3 { font-size: clamp(28px, 3vw, 38px); margin: 18px 0 16px; }
.svc .lead { color: var(--bone-dim); font-size: 16.5px; }
.svc ul { list-style: none; margin: 26px 0 0; display: grid; gap: 12px; }
.svc li { display: flex; gap: 12px; font-size: 15px; color: var(--bone-dim); }
.svc li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--bronze); }
.svc .foot { margin-top: auto; padding-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.svc .price { font-family: 'Fraunces', serif; font-size: 17px; color: var(--bone); }
.svc .price small { display: block; font-family: 'Inter'; font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.svc .link-arrow { font-size: 14px; font-weight: 600; color: var(--bronze-soft); display: inline-flex; gap: 8px; align-items: center; }
.svc .link-arrow .arrow { transition: transform 0.35s var(--ease); }
.svc:hover .link-arrow .arrow { transform: translateX(4px); }

/* ---------- SPLIT (about / approach) ---------- */
.split { background: var(--bg-2); border-top: 1px solid var(--line); }
.split-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.portrait {
  aspect-ratio: 3/4; border-radius: 4px; border: 1px solid var(--line); overflow: hidden;
  background:
    linear-gradient(180deg, rgba(20,19,15,0) 50%, rgba(20,19,15,0.8) 100%),
    radial-gradient(120% 100% at 40% 20%, #4a4334 0%, #2a261d 50%, #16140f 100%);
  background-size: cover; background-position: center top;
  position: relative;
}
.portrait .badge { position: absolute; left: 22px; bottom: 22px; font-size: 12.5px; color: var(--bone-dim); letter-spacing: 0.06em; }
.portrait .badge strong { display:block; font-family:'Fraunces', serif; font-size: 19px; color: var(--bone); letter-spacing: 0; }
.steps { margin-top: 40px; display: grid; gap: 4px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 24px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .s-n { font-family: 'Fraunces', serif; font-size: 22px; color: var(--bronze); }
.step h4 { font-family: 'Fraunces', serif; font-size: 21px; font-weight: 500; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- QUOTE BAND ---------- */
.band { padding: 120px 0; text-align: center; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 120% at 50% 0%, rgba(192,138,74,0.12), transparent 60%); }
.band blockquote {
  position: relative; max-width: 880px; margin: 0 auto;
  font-family: 'Fraunces', serif; font-weight: 400; font-style: italic;
  font-size: clamp(26px, 3.6vw, 44px); line-height: 1.28; color: var(--bone);
  text-shadow: 0 2px 24px rgba(0,0,0,0.55);
}
.band .by { margin-top: 28px; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze-soft); }

/* ---------- TWO-COLUMN LISTS (for whom) ---------- */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 30px; }
.col-list h3 { font-size: 22px; margin-bottom: 20px; }
.col-list ul { list-style: none; display: grid; gap: 14px; }
.col-list li { font-size: 16px; color: var(--bone-dim); padding-left: 26px; position: relative; }
.col-list.yes li::before { content: "→"; position: absolute; left: 0; color: var(--bronze); }
.col-list.no li { color: var(--muted); }
.col-list.no li::before { content: "—"; position: absolute; left: 0; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { padding: 120px 0; position: relative; overflow: hidden; }
.cta-box {
  border: 1px solid var(--line); border-radius: 6px; padding: 70px 60px; text-align: center;
  background: radial-gradient(120% 140% at 50% 0%, rgba(192,138,74,0.12), transparent 60%), var(--panel);
}
.cta-box h2 { font-size: clamp(34px, 4.6vw, 60px); }
.cta-box p { margin: 24px auto 38px; max-width: 560px; color: var(--bone-dim); font-size: 18px; }
.cta-box .hero-cta { justify-content: center; }

/* ---------- BOOKING (Calendly inline embed) ---------- */
.booking-embed {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,0.40);
}
.booking-embed .calendly-inline-widget { min-width: 320px; }
.booking-alt { margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted); }
.booking-alt a { color: var(--bronze-soft); }

/* ---------- HUB (homepage project cards) ---------- */
.hub-hero { padding: 150px 0 40px; position: relative; }
.hub-hero h1 { font-size: clamp(40px, 6vw, 76px); margin-top: 22px; }
.hub-hero h1 em { font-style: italic; color: var(--bronze-soft); font-weight: 400; }
.hub-hero .lead { margin-top: 26px; max-width: 620px; color: var(--bone-dim); font-size: 19px; }
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 40px; }
.project {
  border: 1px solid var(--line); border-radius: 5px; padding: 40px; min-height: 280px;
  display: flex; flex-direction: column; background: var(--panel);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}
.project:hover { transform: translateY(-5px); border-color: rgba(192,138,74,0.4); }
.project .kicker { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze-soft); }
.project h3 { font-size: 30px; margin: 16px 0 12px; }
.project p { color: var(--bone-dim); font-size: 16px; }
.project .link-arrow { margin-top: auto; padding-top: 26px; font-size: 14px; font-weight: 600; color: var(--bronze-soft); display: inline-flex; gap: 8px; align-items: center; }
.project .link-arrow .arrow { transition: transform 0.35s var(--ease); }
.project:hover .link-arrow .arrow { transform: translateX(4px); }

/* ---------- FOOTER ---------- */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--bg-2); }
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.foot-brand { font-family: 'Fraunces', serif; font-size: 22px; }
.foot-brand span { color: var(--bronze-soft); }
.foot-brand p { font-family: 'Inter'; font-size: 14px; color: var(--muted); margin-top: 12px; max-width: 320px; }
.foot-col h5 { font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.foot-col a { display: block; font-size: 14.5px; color: var(--bone-dim); margin-bottom: 10px; transition: color 0.3s; }
.foot-col a:hover { color: var(--bronze-soft); }
.foot-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .media-card { max-width: 420px; }
  .svc-grid { grid-template-columns: 1fr; }
  .tri-grid { grid-template-columns: 1fr; }
  .tri-cell { border-right: none; }
  .split-grid { grid-template-columns: 1fr; gap: 44px; }
  .portrait { max-width: 380px; }
  .cols-2 { grid-template-columns: 1fr; gap: 40px; }
  .projects { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .pad { padding: 80px 0; }
  .cta-box { padding: 46px 24px; }
  .hero-meta { gap: 24px; }
  .step { grid-template-columns: 40px 1fr; gap: 16px; }
}
