/* ===========================================================
   WellPaged — "terracotta" template preview
   typeui.sh "terracotta": LIGHT sun-baked clay editorial.
   Warm cream/sand ground (#F3E9D8) + crisp white lower sections.
   Single terracotta accent (#C56A3C), deep brown ink (#2A1A10).
   DM Serif Display headlines w/ italic serif emphasis,
   JetBrains Mono tracked labels, Source Serif 4 long-form body.
   Generous whitespace, thin hairline rules, minimal soft shadows,
   simple rectangular outline secondary buttons.
   =========================================================== */

:root {
  /* palette — from the typeui "terracotta" reference */
  --primary: #C56A3C;        /* terracotta / clay accent */
  --primary-deep: #A9542C;   /* deeper clay (hover) */
  --secondary: #F3E9D8;      /* warm cream / sand ground */
  --sand-2: #EEE2CD;         /* slightly deeper sand for chips/fills */
  --surface: #F3E9D8;        /* page ground (upper) */
  --cream: #FFFFFF;          /* crisp white lower sections / cards */
  --ink: #2A1A10;            /* deep brown ink (near-black) */
  --text: #2A1A10;           /* primary text */
  --muted: #6E5847;          /* warm brown muted text */
  --line: #E2D3BC;           /* hairline on cream ground */
  --line-2: #E9E1D5;         /* hairline on white */
  --success: #16A34A;
  --warning: #D97706;

  /* radii — spec scale (sm 4 / md 8) — editorial, near-rectangular */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 10px;
  --r-xl: 12px;

  /* shadows — minimal, soft, warm-tinted */
  --shadow-sm: 0 1px 2px rgba(42, 26, 16, 0.04);
  --shadow-md: 0 8px 24px rgba(42, 26, 16, 0.06);
  --shadow-lg: 0 18px 46px rgba(42, 26, 16, 0.09);

  --maxw: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --ff-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --ff-display: "DM Serif Display", Georgia, serif;
  --ff-label: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  font-weight: 400;
  color: var(--text);
  background: var(--surface);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 400;          /* DM Serif Display ships a single editorial weight */
  letter-spacing: 0;
  line-height: 1.06;
  color: var(--ink);
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--primary); color: #fff;
  padding: 10px 16px; border-radius: var(--r-sm); z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: var(--r-sm); }

/* ---------- shared bits ---------- */
/* eyebrow / kicker — JetBrains Mono, tracked uppercase, terracotta */
.eyebrow,
.kicker {
  font-family: var(--ff-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}
/* kicker — quiet tracked label with a small clay dot (no pill chrome) */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0;
  background: none;
  border: 0;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
}
.kicker__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary);
}

.section__title { font-size: clamp(2rem, 4.2vw, 3rem); }
.section__sub { color: var(--muted); margin-top: 14px; max-width: 48ch; font-size: 1.05rem; }

.ico { width: 15px; height: 15px; }

/* ---------- buttons — rectangular, editorial ---------- */
.btn {
  --pad-y: 13px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--ff-label);
  font-weight: 500; font-size: 0.84rem;
  letter-spacing: 0.02em;
  padding: var(--pad-y) 26px;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
              background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--sm { --pad-y: 9px; padding: 9px 18px; font-size: 0.78rem; }
.btn--lg { --pad-y: 15px; padding: 15px 30px; font-size: 0.9rem; }
.btn--block { display: flex; width: 100%; }

.btn--primary {
  background: var(--primary); color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--primary-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(165, 84, 44, 0.22);
}
/* secondary — simple rectangular outline */
.btn--ghost {
  background: transparent; color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-2px);
}

.chip {
  font-family: var(--ff-label);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border-radius: var(--r-sm);
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.chip:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-1px); }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 233, 216, 0.82);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.topbar.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--primary); color: #fff;
  font-family: var(--ff-label); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.brand__name { font-family: var(--ff-display); font-weight: 400; font-size: 1.3rem; letter-spacing: 0; color: var(--ink); }

.nav { display: flex; gap: 30px; }
.nav a {
  font-family: var(--ff-label);
  font-size: 0.78rem; font-weight: 500; color: var(--muted);
  letter-spacing: 0.04em;
  position: relative; padding: 4px 0;
  transition: color 0.2s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1.5px; background: var(--primary);
  transition: width 0.25s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(64px, 10vw, 128px) 0 clamp(64px, 9vw, 112px);
  background: var(--surface);
  overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero__name {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 7.4vw, 5rem);
  margin: 22px 0 6px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink);
}
/* italic serif emphasis line — mirrors the reference's italic terracotta word */
.hero__tagline {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 400; font-style: italic; color: var(--primary);
  line-height: 1.12;
  margin-bottom: 20px;
}
.hero__lede { color: var(--muted); font-size: 1.12rem; max-width: 44ch; line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero__socials { display: flex; flex-wrap: wrap; gap: 9px; }

.hero__media { position: relative; }
.hero__portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.hero__badge {
  position: absolute; left: -18px; bottom: 28px;
  background: var(--cream);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.hero__badge-num {
  display: block; font-family: var(--ff-display); font-weight: 400; font-size: 1.6rem; color: var(--ink);
  letter-spacing: 0;
}
.hero__badge-label {
  font-family: var(--ff-label); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--primary);
}

/* ---------- sections ---------- */
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section__head { max-width: 620px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head .eyebrow { display: block; margin-bottom: 14px; }
.section__head .section__title { margin-top: 0; }

/* ---------- about ---------- */
/* crisp white lower section, framed by thin hairlines */
.about { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-2); }
.about__grid {
  display: grid; grid-template-columns: 0.85fr 1fr;
  gap: clamp(28px, 5vw, 68px); align-items: center;
}
.about__media {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start;
}
.about__img { aspect-ratio: 1 / 1; border-radius: var(--r-lg); }
.about__img--tall { aspect-ratio: 3 / 4; margin-top: 28px; }
.about__copy .eyebrow { display: block; margin-bottom: 14px; }
.about__body { color: var(--muted); margin-top: 20px; font-size: 1.1rem; max-width: 54ch; line-height: 1.75; }
.about__meta {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 14px;
}
.about__meta li {
  background: var(--secondary);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 13px 18px;
}
.about__meta-label {
  display: block;
  font-family: var(--ff-label); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 5px;
}
.about__meta-value { font-weight: 600; color: var(--ink); }

/* ---------- links ---------- */
/* links sits on the cream ground (upper tone) */
.links { background: var(--surface); }
.links__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.linkcard {
  display: flex; align-items: center; gap: 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease), border-color 0.2s ease;
}
.linkcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.linkcard__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.linkcard__label { font-family: var(--ff-display); font-weight: 400; font-size: 1.3rem; color: var(--ink); }
.linkcard__url {
  font-family: var(--ff-label); font-size: 0.72rem; color: var(--muted);
  letter-spacing: 0.03em;
}
.linkcard__arrow {
  flex: none; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: var(--r-sm);
  background: var(--secondary); color: var(--primary);
  border: 1px solid var(--line);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease), border-color 0.2s ease;
}
.linkcard__arrow svg { width: 16px; height: 16px; }
.linkcard:hover .linkcard__arrow {
  background: var(--primary); color: #fff;
  border-color: var(--primary);
  transform: translateX(2px) translateY(-2px);
}

.linkcard--feat {
  grid-column: 1 / -1;
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  position: relative;
  padding: 30px 30px;
}
.linkcard--feat .linkcard__label { font-family: var(--ff-display); font-size: 1.6rem; color: #fff; }
.linkcard--feat .linkcard__url { color: rgba(255, 255, 255, 0.72); }
.linkcard--feat .linkcard__arrow {
  background: rgba(255, 255, 255, 0.16); color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.linkcard--feat:hover { border-color: var(--primary-deep); }
.linkcard--feat:hover .linkcard__arrow { background: #fff; color: var(--primary); }
.linkcard__tag {
  font-family: var(--ff-label); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 5px 11px; border-radius: var(--r-sm);
  align-self: center;
}

.links__img { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }

/* ---------- rates ---------- */
.rates { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-2); }
.rates__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  align-items: stretch;
}
.ratecard {
  display: flex; flex-direction: column;
  background: var(--secondary);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease);
}
.ratecard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ratecard__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; padding-bottom: 18px; margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.ratecard__tier { font-family: var(--ff-display); font-size: 1.35rem; font-weight: 400; color: var(--ink); }
.ratecard__price { font-family: var(--ff-display); font-size: 1.7rem; font-weight: 400; color: var(--primary); letter-spacing: 0; }
.ratecard__desc { color: var(--muted); flex: 1; margin-bottom: 24px; line-height: 1.65; }

.ratecard--feat {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  position: relative;
  box-shadow: var(--shadow-md);
}
.ratecard--feat .ratecard__tier { color: #fff; }
.ratecard--feat .ratecard__price { color: var(--primary); }
.ratecard--feat .ratecard__desc { color: rgba(255, 255, 255, 0.76); }
.ratecard--feat .ratecard__head { border-bottom-color: rgba(255, 255, 255, 0.18); }
.ratecard--feat .btn--primary { background: var(--primary); color: #fff; }
.ratecard--feat .btn--primary:hover { background: var(--primary-deep); }
.ratecard__flag {
  position: absolute; top: -12px; right: 24px;
  font-family: var(--ff-label); font-size: 0.58rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--primary); color: #fff;
  padding: 6px 12px; border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
}

/* ---------- stats ---------- */
.stats { background: var(--surface); }
.stats__grid {
  display: grid; grid-template-columns: 1fr 0.85fr;
  gap: clamp(32px, 5vw, 64px); align-items: start;
}
.stats__copy .eyebrow { display: block; margin-bottom: 14px; }
.stats__asof { color: var(--primary); font-weight: 600; white-space: nowrap; font-style: italic; }
.stats__socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.social {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: var(--r-sm);
  background: var(--cream); border: 1px solid var(--line);
  font-family: var(--ff-label); font-size: 0.76rem; font-weight: 500; color: var(--text);
  letter-spacing: 0.02em;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.social svg { width: 18px; height: 18px; color: var(--primary); }
.social:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.stats__media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.stats__img { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }

.stats__tiles {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.stat {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease);
}
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat__value {
  display: block; font-family: var(--ff-display); font-size: clamp(2.2rem, 4.4vw, 3rem); font-weight: 400;
  color: var(--ink); letter-spacing: 0; line-height: 1;
}
.stat__label { display: block; margin-top: 12px; font-weight: 600; color: var(--ink); }
.stat__asof {
  display: block; margin-top: 5px;
  font-family: var(--ff-label); font-size: 0.58rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}

/* ---------- closing cta ---------- */
.cta { background: var(--surface); }
.cta__inner {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(48px, 7vw, 84px);
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.cta__inner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 90% at 78% -20%, rgba(197, 106, 60, 0.28), transparent 62%);
  pointer-events: none;
}
.cta__title { font-family: var(--ff-display); font-size: clamp(2rem, 4.4vw, 3rem); position: relative; color: #fff; }
.cta__sub { color: rgba(255, 255, 255, 0.78); margin: 16px 0 30px; position: relative; font-size: 1.08rem; }
.cta__inner .btn--primary {
  background: var(--primary); color: #fff; position: relative;
}
.cta__inner .btn--primary:hover { background: var(--primary-deep); }

/* ---------- footer ---------- */
.footer {
  background: var(--ink); color: var(--secondary);
  padding: 32px 0;
}
.footer__inner { display: flex; align-items: center; gap: 14px; justify-content: center; }
.footer .brand__mark { background: rgba(255, 255, 255, 0.12); color: #fff; }
.footer__line { font-family: var(--ff-label); font-size: 0.74rem; letter-spacing: 0.04em; color: rgba(243, 233, 216, 0.82); }

/* ---------- image placeholders ---------- */
.wp-img {
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(197, 106, 60, 0.04) 0 12px, transparent 12px 24px),
    var(--sand-2);
  border: 1px dashed #D8C2A6;
  border-radius: var(--r-md);
  min-height: 120px;
  display: grid; place-items: center;
}
.wp-img::after {
  content: "Add photo";
  font-family: var(--ff-label); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
  padding: 7px 14px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}
/* filled frames: hide the "Add photo" hint chrome */
.wp-img[data-wp-has-img]::before,
.wp-img[data-wp-has-img]::after { display: none; }

/* ---------- reveal animation ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .nav { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 420px; }
  .hero__badge { left: auto; right: 14px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; }
  .stats__grid { grid-template-columns: 1fr; }
  .rates__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .ratecard--feat { order: -1; }
}
@media (max-width: 600px) {
  .links__grid { grid-template-columns: 1fr; }
  .stats__tiles { grid-template-columns: 1fr 1fr; }
  .linkcard--feat { padding: 24px; }
  .linkcard--feat .linkcard__label { font-size: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .linkcard, .stat, .ratecard, .chip, .social { transition: none; }
}

/* Decorative overlay must never intercept taps meant for the photo frame
   beneath it (the editor is tap-to-upload). */
.hero__badge { pointer-events: none; }

/* Sample-page notice bar (fictional demo content) */
.wp-sample-note { background: #241C16; color: #F8F4E3; text-align: center; font-size: 12.5px; line-height: 1.5; padding: 9px 16px; letter-spacing: .01em; }
.wp-sample-note a { color: #FFA8B7; text-decoration: underline; text-underline-offset: 2px; }
.wp-sample-note strong { font-weight: 700; }

/* Phone topbar: the fixed 72px row can't hold a wrapped studio name plus a
   two-line CTA pill — the pill ends up glued to the top edge. Let the bar
   grow around the name and keep the pill on one line. */
@media (max-width: 600px) {
  .topbar__inner { height: auto; min-height: 60px; padding-top: 8px; padding-bottom: 8px; }
  .topbar .btn { white-space: nowrap; flex-shrink: 0; }
  .brand__name { font-size: 1.05rem; line-height: 1.2; }
}
