/* ============================================
   The See More Practice — Design System
   Tokens sourced from approved hero handoff
   ============================================ */

:root {
  --cream: #F7F3EC;
  --forest: #2F3B2E;
  --blush: #C98A93;
  --blush-light: #F3D9DC;
  --subhead: #5A6459;
  --body-muted: #6B6B63;
  --logo-bg: #EAD9CE;
  --white: #FFFFFF;

  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  --radius-card: 6px;
  --radius-image: 12px;
  --radius-pill: 999px;
  --radius-arch: 200px 200px 12px 12px;

  --shadow-card: 0 12px 30px rgba(47, 59, 46, 0.12);

  --max-width: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  font-family: var(--font-body);
  color: var(--body-muted);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--forest); text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 72px;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest);
  color: var(--white);
  padding: 12px 20px;
  z-index: 100;
  border-radius: 0 0 6px 0;
}
.skip-link:focus {
  left: 0;
}

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blush);
  outline-offset: 3px;
}

/* ============ NAV ============ */
.site-header {
  background: var(--cream);
  padding: 24px 0;
  position: relative;
  z-index: 10;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--logo-bg);
  overflow: hidden;
  flex-shrink: 0;
}

.brand-mark img { width: 100%; height: 100%; object-fit: cover; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--forest);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--forest);
  padding: 6px 2px;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--blush);
  border-bottom-color: var(--blush);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--forest);
  border-radius: var(--radius-pill);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle svg { stroke: var(--forest); }

/* ============ BUTTONS ============ */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 14px 26px;
  border: 1.5px solid var(--forest);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--forest);
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-pill:hover {
  background: var(--forest);
  color: var(--cream);
}

.btn-pill:hover svg { stroke: var(--cream); }

.btn-pill svg { stroke: var(--blush); flex-shrink: 0; transition: stroke 0.15s ease; }

/* ============ HERO (Home) ============ */
.hero {
  padding: 32px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  column-gap: 80px;
  row-gap: 24px;
  align-items: center;
  position: relative;
  grid-template-areas:
    "image top"
    "image subhead"
    "image rest";
}

.hero-image-cluster {
  grid-area: image;
  position: relative;
  padding: 20px 0 40px 0;
  align-self: center;
}

.hero-copy-top,
.hero-subhead,
.hero-copy-rest {
  max-width: 560px;
  position: relative;
  z-index: 2;
}

.hero-copy-top { grid-area: top; align-self: end; }
.hero-subhead { grid-area: subhead; align-self: start; }
.hero-copy-rest { grid-area: rest; align-self: start; display: flex; flex-direction: column; gap: 20px; }

.hero-arch-outline {
  position: absolute;
  top: 0;
  left: 24px;
  width: calc(100% - 48px);
  height: calc(100% - 40px);
  border: 1.5px solid var(--forest);
  border-radius: var(--radius-arch);
}

.hero-portrait {
  position: relative;
  margin: 20px 40px 0 40px;
  border-radius: var(--radius-arch);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.hero-portrait img { width: 100%; height: 100%; object-fit: cover; }

.hero-secondary-photo {
  position: absolute;
  left: -24px;
  bottom: 0;
  width: 180px;
  height: 180px;
  z-index: 0;
  border-radius: var(--radius-image);
  overflow: hidden;
  border: 1px solid #000;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 55%, transparent 92%);
  mask-image: radial-gradient(ellipse at center, #000 55%, transparent 92%);
}

.hero-secondary-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-quote-card {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 220px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 18px 20px;
  z-index: 3;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  color: var(--forest);
}

.eyebrow {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--blush);
  text-transform: uppercase;
  margin: 0 0 12px;
}

.hero-copy-top h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 52px;
  line-height: 1.15;
  color: var(--forest);
  margin: 0;
}

.hero-copy-top h1 .accent { color: var(--blush); }

.hero-subhead h2 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  color: var(--subhead);
  margin: 0;
}

.hero-copy-rest p {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-muted);
  margin: 0;
  max-width: 480px;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checklist-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blush-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checklist-badge svg { stroke: var(--blush); }

.checklist-item span {
  font-weight: 600;
  font-size: 15px;
  color: var(--forest);
}

.hero-decor-circle {
  position: absolute;
  right: 60px;
  bottom: 0;
  width: 200px;
  height: 200px;
  z-index: 1;
  border-radius: 50%;
  overflow: hidden;
}

.hero-decor-circle img { width: 100%; height: 100%; object-fit: cover; }

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  padding: 48px 0 56px;
  border-bottom: 1px solid rgba(47, 59, 46, 0.1);
  margin-bottom: 56px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 44px;
  line-height: 1.2;
  color: var(--forest);
  margin: 12px 0 0;
  max-width: 720px;
}

.page-hero .eyebrow { margin: 0; }

/* ============ TESTIMONIAL STRIP ============ */
.testimonial-section {
  padding: 8px 0 80px;
  overflow: hidden;
}

.testimonial-section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  color: var(--forest);
  text-align: center;
  margin: 0 0 32px;
}

.marquee-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 22px 24px;
  width: 300px;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.55;
  color: var(--forest);
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; overflow-x: auto; }
}

/* ============ GENERIC SECTIONS ============ */
.section {
  padding: 0 0 64px;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  color: var(--forest);
  margin: 0 0 16px;
}

.section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-muted);
  margin: 0 0 16px;
  max-width: 680px;
}

.safeguard-note {
  background: var(--blush-light);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  max-width: 680px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--forest);
}

.safeguard-note a { text-decoration: underline; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--forest);
  color: var(--cream);
  padding: 48px 0 28px;
  margin-top: 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(247, 243, 236, 0.15);
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--cream);
}

.footer-brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: rgba(247, 243, 236, 0.65);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--cream);
  font-size: 14px;
  opacity: 0.85;
}

.footer-links a:hover { opacity: 1; color: var(--blush); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  font-size: 13px;
  color: rgba(247, 243, 236, 0.65);
}

.footer-credit {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
}

.footer-credit .studio-name {
  background: linear-gradient(90deg, #EAD9CE, var(--blush));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-credit em { font-style: italic; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .container { padding: 0 40px; }
  .hero { padding: 24px 0 56px; }
  .hero-grid { column-gap: 48px; }
  .hero-copy-top h1 { font-size: 42px; }
  .hero-decor-circle { width: 140px; height: 140px; right: 24px; bottom: 0; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.nav-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 16px 40px 24px;
    box-shadow: 0 12px 24px rgba(47,59,46,0.1);
  }

  .main-nav.nav-open a { width: 100%; padding: 10px 0; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }

  /* Mobile reorder: headline + subhead first (3-second clarity), then imagery, then description */
  .hero-grid {
    grid-template-columns: 1fr;
    row-gap: 20px;
    grid-template-areas:
      "top"
      "subhead"
      "image"
      "rest";
  }
  .hero-image-cluster { max-width: 420px; margin: 0 auto; align-self: center; }
  .hero-copy-top,
  .hero-subhead,
  .hero-copy-rest { max-width: 100%; align-self: stretch; }
  .hero-copy-top h1 { font-size: 34px; }
  .hero-subhead h2 { font-size: 18px; }

  .hero-decor-circle { display: none; }

  .page-hero h1 { font-size: 32px; }

  .testimonial-card { width: 250px; }
}

@media (max-width: 390px) {
  .container { padding: 0 18px; }
  .hero-copy-top h1 { font-size: 28px; }
  .brand-name { font-size: 17px; }
  .hero-secondary-photo { width: 130px; height: 130px; }
  .hero-quote-card { width: 170px; padding: 14px 16px; font-size: 13px; }
}
