/* Sole Rounds: Direction B v2 */

:root {
  --paper: #FDFCFA;
  --tint: #F5F2EE;
  --ink: #1F1915;
  --ink-2: #4A3E36;
  --muted: #6B5D53;
  --label: #75675C;      /* darkened from the wireframe's #8A7B70 to pass contrast */
  --rule: #ECE6DF;
  --pill-line: #E2D9CF;
  --brown: #7A5A45;
  --brown-dark: #634836;
  --clay: #A85C3E;
  --clay-soft: #E8B79C;
  --blush: #F4E4D8;
  --cocoa: #3A2A22;
  --dark-text: #F6F2ED;
  --dark-muted: #C4B9AE;
  --gutter: clamp(24px, 6vw, 88px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: 'Geist', 'Segoe UI', Arial, sans-serif;
  font-size: 18px; line-height: 1.6; text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { color: var(--brown); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
input, textarea, button { font: inherit; }
:focus-visible { outline: 2px solid var(--brown); outline-offset: 4px; border-radius: 4px; }

.wrap { max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -10rem; z-index: 99; background: var(--brown); color: #fff; padding: 12px 18px; border-radius: 8px; }
.skip-link:focus { top: 1rem; color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 32px; border: 0; border-radius: 999px;
  background: var(--brown); color: var(--paper); text-decoration: none; cursor: pointer;
  transition: background .3s, transform .3s var(--ease);
}
.btn:hover { background: var(--brown-dark); color: var(--paper); }
.btn-sm { min-height: 46px; padding: 0 22px; font-size: 15px; }
.btn-light { background: var(--dark-text); color: var(--ink); align-self: flex-start; margin-top: 36px; padding: 0 34px; font-size: 16px; }
.btn-light:hover { background: #E6DDD3; color: var(--ink); }

/* Nav */
.nav { display: flex; align-items: center; gap: 12px 36px; flex-wrap: wrap; padding-block: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand img { height: 36px; width: auto; }
.brand span { font-size: 12px; letter-spacing: .34em; font-weight: 500; }
.nav-links { display: flex; gap: 32px; flex-wrap: wrap; font-size: 15px; color: var(--muted); }
.nav-links a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav { flex-wrap: nowrap; padding-block: 20px; }
  .brand span { letter-spacing: .26em; }
  .btn-sm { padding: 0 18px; white-space: nowrap; }
}

/* Hero */
.hero {
  padding-top: clamp(56px, 9vw, 140px); padding-bottom: clamp(96px, 12vw, 180px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 64px clamp(48px, 8vw, 140px);
}
.hero-copy { flex: 999 1 min(100%, 560px); min-width: 0; }
.credit { margin-bottom: 40px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.credit-name { color: var(--ink); }
h1, h2 { margin: 0; font-weight: 300; }
h1 { font-size: clamp(72px, 11vw, 168px); line-height: .88; letter-spacing: -.06em; }
.hero-sub { margin-top: 44px; font-size: clamp(19px, 1.7vw, 23px); font-weight: 300; max-width: 28ch; color: var(--ink-2); }
.hero-actions { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; margin-top: 48px; }
.phone-link { text-decoration: none; border-bottom: 1px solid #CFC3B8; padding-bottom: 2px; font-size: 18px; }

.hero-mark { flex: 1 1 280px; max-width: 440px; margin-inline: auto; position: relative; aspect-ratio: 1 / 1; }
.hero-ring { position: absolute; inset: 0; border-radius: 50%; background: var(--blush); }
.hero-mark img { position: absolute; left: 21%; top: 19%; width: 58%; }
@media (prefers-reduced-motion: no-preference) {
  .hero-ring { animation: srRing 1.4s var(--ease) both; }
  .hero-mark img { animation: srDraw 2.4s cubic-bezier(.45, 0, .2, 1) .3s both; }
}
@keyframes srDraw { from { clip-path: inset(0 0 100% 0); opacity: .2; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes srRing { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Two-column rows: label left, content right */
.row { display: flex; flex-wrap: wrap; gap: 24px clamp(48px, 8vw, 140px); }
.row > .label { flex: 1 1 200px; }
.row-main { flex: 999 1 min(100%, 560px); min-width: 0; }
.label { font-size: 14px; color: var(--label); }
section.row, .row-block, .statement { padding-block: clamp(80px, 11vw, 160px); border-top: 1px solid var(--rule); }
.row-block > .row { margin-bottom: clamp(56px, 7vw, 96px); }

.h-lg { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.045em; max-width: 17ch; }
.h-md { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.04em; }
.h-xl { font-size: clamp(48px, 6.6vw, 92px); line-height: .92; letter-spacing: -.06em; }
.body-lg { margin-top: 36px; font-size: 19px; color: var(--muted); max-width: 42ch; }

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: clamp(48px, 5vw, 72px) clamp(32px, 4vw, 56px); }
.services li { display: flex; flex-direction: column; gap: 22px; font-size: 20px; letter-spacing: -.02em; line-height: 1.25; max-width: 18ch; }
.services svg { width: 28px; height: 28px; fill: none; stroke: var(--brown); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.services .services-note { align-self: end; font-size: 15px; letter-spacing: 0; line-height: 1.6; color: var(--label); max-width: 26ch; }

/* Statement */
.statement { text-align: center; }
.statement-line { margin-inline: auto; font-weight: 300; font-size: clamp(44px, 7vw, 108px); line-height: .95; letter-spacing: -.06em; max-width: 12ch; }
.areas { margin-top: 40px; font-size: 16px; color: var(--muted); display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }

/* Who I help */
.tint { background: var(--blush); }
.tint > .row { padding-block: clamp(96px, 12vw, 180px); gap: 48px clamp(48px, 8vw, 140px); }
.pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.pills li { display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--pill-line); background: var(--paper); border-radius: 999px; padding: 12px 24px 12px 18px; font-size: 17px; }
.pills svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--brown); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.quote { margin-top: 64px; font-weight: 300; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; max-width: 24ch; line-height: 1.3; }

/* About */
.about { padding-block: clamp(96px, 12vw, 180px); display: flex; flex-wrap: wrap; gap: 56px clamp(48px, 8vw, 140px); align-items: center; }
.portrait { flex: 1 1 220px; max-width: 300px; aspect-ratio: 1 / 1; border-radius: 50%; border: 1px solid var(--pill-line); display: grid; place-content: center; text-align: center; gap: 6px; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-initials { font-size: 96px; font-weight: 300; letter-spacing: -.07em; line-height: 1; }
.portrait-caption { font-size: 13px; color: var(--label); }
.about-copy { flex: 999 1 min(100%, 520px); min-width: 0; }
.meta { margin-top: 24px; font-size: 15px; color: var(--muted); }
.about-line { margin-top: 48px; font-weight: 300; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.025em; max-width: 30ch; line-height: 1.35; }
.bio-placeholder { margin-top: 32px; padding: 16px 20px; border: 1px dashed #D8CCC0; border-radius: 12px; font-size: 14px; color: var(--label); max-width: 480px; }

/* Book (dark) */
.dark { background: var(--cocoa); color: var(--dark-text); position: relative; overflow: hidden; }
.dark a:hover { color: #fff; }
.book { padding-top: clamp(96px, 12vw, 180px); padding-bottom: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 72px clamp(56px, 8vw, 140px); }
.h-book { font-size: clamp(44px, 5.6vw, 80px); line-height: .95; letter-spacing: -.055em; }
.contact { margin-top: 56px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.contact-phone { text-decoration: none; font-size: 30px; font-weight: 300; letter-spacing: -.03em; }
.contact-email { color: var(--dark-muted); }

#enquiry-form { display: flex; flex-direction: column; gap: 4px; }
.form-label { font-size: 14px; color: var(--dark-muted); margin-bottom: 8px; }
.field { display: flex; flex-direction: column; padding-top: 14px; }
.field label { font-size: 14px; color: var(--dark-muted); }
.field input, .field textarea {
  min-height: 56px; padding: 6px 0 10px; border: 0; border-bottom: 1px solid rgba(246, 242, 237, .35); border-radius: 0;
  background: transparent; color: var(--dark-text); font-size: 20px; font-weight: 300;
}
.field textarea { resize: vertical; min-height: 0; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--dark-text); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--dark-text); outline-offset: 4px; }
.field [aria-invalid="true"] { border-bottom-color: #F2A99A; }
.error { color: #F2A99A; font-size: 15px; margin-top: 6px; }

.areas-pick { border: 0; margin: 0; padding: 24px 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.areas-pick legend { font-size: 14px; color: var(--dark-muted); padding: 0; margin-bottom: 12px; float: left; width: 100%; }
.areas-pick label { position: relative; cursor: pointer; }
.areas-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.areas-pick span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(246, 242, 237, .35); font-size: 15px; transition: background .3s, color .3s; }
.areas-pick label:hover span { border-color: var(--dark-text); }
.areas-pick input:checked + span { background: var(--dark-text); color: var(--ink); }
.areas-pick input:focus-visible + span { outline: 2px solid var(--dark-text); outline-offset: 3px; }

.hp { position: absolute; left: -9999px; }
.sent { padding: 24px 0; }
.sent-title { font-weight: 300; font-size: 44px; letter-spacing: -.05em; }
.sent p:last-child { margin-top: 12px; color: var(--dark-muted); }

.footer { padding-top: 64px; padding-bottom: 48px; border-top: 1px solid rgba(246, 242, 237, .12); display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-end; font-size: 14px; color: #A99D93; }
.footer img { height: 88px; width: auto; filter: brightness(0) invert(1); opacity: .8; }

/* Scroll reveal */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal.pending { opacity: 0; transform: translateY(28px); }
  .js .reveal { transition: opacity 1s var(--ease), transform 1s var(--ease); }
}

/* Phones: fixed call button */
.call-bar { display: none; }
@media (max-width: 700px) {
  .call-bar {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50;
    min-height: 56px; border-radius: 999px; background: var(--brown); color: var(--paper);
    font-size: 18px; text-decoration: none; box-shadow: 0 10px 30px -10px rgba(31, 25, 21, .5);
  }
  .call-bar:hover { color: var(--paper); }
  .footer { padding-bottom: 104px; }
}

/* =========================================================
   Personality layer
   ========================================================= */

/* Serif italic accents */
h1 em, h2 em, .statement-line em, .about-line em {
  font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400;
  color: var(--clay); letter-spacing: -.01em;
}
h1 em { font-size: 1.08em; }
.dark h2 em { color: var(--clay-soft); }

/* Rotating badge around the hero mark */
.badge { position: absolute; inset: -7%; width: 114%; height: 114%; overflow: visible; }
.badge text { font-family: 'Geist', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: .1em; fill: var(--brown); }
@media (prefers-reduced-motion: no-preference) {
  .badge { animation: spin 40s linear infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Services ribbon */
.ribbon { background: var(--cocoa); color: var(--dark-text); overflow: hidden; padding: 20px 0; }
.ribbon-track { display: inline-flex; align-items: center; gap: 36px; white-space: nowrap; padding-left: 36px; }
.ribbon span { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: clamp(28px, 3.2vw, 42px); line-height: 1; }
.ribbon i { flex: none; width: 26px; height: 28px; background: url(assets/sole-rounds-mark.png) center / contain no-repeat; filter: brightness(0) invert(1); opacity: .55; }
@media (prefers-reduced-motion: no-preference) {
  .ribbon-track { animation: ribbon 50s linear infinite; }
  .ribbon:hover .ribbon-track { animation-play-state: paused; }
}
@keyframes ribbon { to { transform: translateX(-50%); } }

/* Service cards */
.services { counter-reset: svc; gap: 16px; }
.services li:not(.services-note) {
  counter-increment: svc; position: relative; max-width: none;
  background: var(--tint); border-radius: 24px; padding: 28px 26px 32px;
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.services li:not(.services-note)::after {
  content: "0" counter(svc); position: absolute; top: 22px; right: 24px;
  font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: 24px; color: var(--clay);
}
.services li:not(.services-note):hover { transform: translateY(-4px); background: var(--blush); }
.services svg { width: 34px; height: 34px; }
.services .services-note { padding: 28px 8px; font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: 22px; line-height: 1.3; color: var(--brown); }
@media (prefers-reduced-motion: reduce) { .services li:hover { transform: none !important; } }

/* Footprint trail */
.steps { display: block; width: min(100%, 900px); margin: 0 auto 48px; fill: var(--clay); }
.steps use { opacity: .5; }
@media (prefers-reduced-motion: no-preference) {
  .js .steps use { opacity: 0; transition: opacity .35s ease; }
  .js .steps.walk use { opacity: .5; }
  .steps use:nth-of-type(2) { transition-delay: .2s; }
  .steps use:nth-of-type(3) { transition-delay: .4s; }
  .steps use:nth-of-type(4) { transition-delay: .6s; }
  .steps use:nth-of-type(5) { transition-delay: .8s; }
  .steps use:nth-of-type(6) { transition-delay: 1s; }
  .steps use:nth-of-type(7) { transition-delay: 1.2s; }
  .steps use:nth-of-type(8) { transition-delay: 1.4s; }
  .steps use:nth-of-type(9) { transition-delay: 1.6s; }
}

/* Who I help pills on blush */
.pills li { background: #fff; border-color: transparent; box-shadow: 0 6px 20px -14px rgba(58, 42, 34, .5); }

/* Portrait + sticker */
.portrait-wrap { position: relative; flex: 1 1 220px; max-width: 300px; }
.portrait { max-width: none; width: 100%; background: var(--blush); border: 0; }
.sticker {
  position: absolute; right: -14px; bottom: -6px; width: 132px; height: 132px; border-radius: 50%;
  background: var(--clay); color: #fff; display: grid; place-content: center; text-align: center;
  font-size: 14px; line-height: 1.25; transform: rotate(-10deg);
  box-shadow: 0 0 0 6px var(--paper);
}
.sticker em { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: 26px; }
@media (prefers-reduced-motion: no-preference) {
  .sticker { transition: transform .5s var(--ease); }
  .portrait-wrap:hover .sticker { transform: rotate(4deg) scale(1.05); }
}

/* Warm glow in the booking section */
.dark::before {
  content: ""; position: absolute; width: 60rem; height: 60rem; right: -25rem; top: -30rem; pointer-events: none;
  background: radial-gradient(closest-side, rgba(168, 92, 62, .35), rgba(168, 92, 62, 0));
}
.dark > * { position: relative; }

.statement-line em { white-space: nowrap; }
html, body { overflow-x: clip; }

/* Photo portrait */
.portrait-wrap { flex: 1 1 260px; max-width: 360px; }
.portrait:has(img) { display: block; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.sticker { width: 112px; height: 112px; right: -22px; bottom: -14px; font-size: 13px; }
.sticker em { font-size: 22px; }
@media (min-width: 900px) { .portrait-wrap { flex: 0 0 340px; max-width: 340px; } }
@media (min-width: 900px) {
  .portrait-wrap { flex: 0 0 clamp(360px, 34vw, 460px); max-width: 460px; }
  .sticker { width: 124px; height: 124px; right: -10px; bottom: 0; }
}
