/* Concept 01: The Loop. Brand-led, one family (Outfit), very round geometry. */

:root {
  /* Brand */
  --indigo: #313795;
  --indigo-deep: #23276e;   /* the one indigo shade */
  --lime: #8dc53c;
  --lime-tint: #e6f2d6;     /* the one lime tint */
  /* Neutrals */
  --ink: #15162b;
  --ink-soft: #4a4b63;
  --paper: #ffffff;
  --mist: #f4f4f7;

  /* Type */
  --font: "Outfit", system-ui, sans-serif;

  /* Spacing (8pt) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  /* Radius: everything round */
  --r-pill: 999px;
  --r-panel: 40px;
  --r-card: 28px;

  --inset: clamp(8px, 1.6vw, 20px);
  --wrap: 1200px;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

/* Ribbon */
.ribbon {
  background: var(--ink);
  color: #fff;
  font-size: clamp(10.5px, 2.8vw, 13px);
  font-weight: 500;
  text-align: center;
  padding: 7px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Header */
.site-header { background: var(--paper); position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; align-items: center; gap: var(--s5); min-height: 80px; }
.brand img { height: 56px; width: auto; }
.main-nav { display: flex; gap: var(--s6); margin-left: auto; }
.main-nav a { text-decoration: none; font-weight: 600; font-size: 17px; color: var(--ink); padding: 6px 0; }
.main-nav a:hover { color: var(--indigo); }
.header-actions { display: flex; align-items: center; gap: var(--s5); }
.header-phone { font-weight: 600; text-decoration: none; color: var(--indigo); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 30px;
  border-radius: var(--r-pill);
  font: 600 18px/1 var(--font);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 46px; padding: 0 22px; font-size: 16px; }
.btn-indigo { background: var(--indigo); color: #fff; }
.btn-indigo:hover { background: var(--indigo-deep); }
.btn-lime { background: var(--lime); color: var(--indigo-deep); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); margin-bottom: var(--s4); }
.eyebrow-lime { color: var(--lime); }
.eyebrow-indigo { color: var(--indigo-deep); }
.section-title { font-size: clamp(38px, 5.4vw, 68px); color: var(--indigo); }

/* HERO */
.hero { padding: 0 var(--inset); }
.hero-field {
  position: relative;
  overflow: hidden;
  background: var(--indigo);
  border-radius: var(--r-panel);
  color: #fff;
  min-height: clamp(640px, 64vw, 860px);
  display: grid;
  place-items: center;
  padding: clamp(72px, 9vw, 120px) clamp(20px, 4vw, 48px);
}
.hero-ring {
  position: absolute;
  width: clamp(620px, 66vw, 960px);
  aspect-ratio: 1;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.arc { fill: none; stroke-width: 40; stroke-linecap: butt; }
.arc-lime { stroke: var(--lime); }
.arc-white { stroke: #fff; }

.hero-head { position: relative; }
.hero-ring-sm { display: none; }
.hero-inner { position: relative; text-align: center; max-width: 780px; }
.hero-title {
  font-size: clamp(52px, 7.4vw, 104px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #fff;
}
.hero-title span { display: block; color: var(--lime); margin-top: .06em; }
.hero-lede { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; max-width: 34ch; margin: var(--s5) auto 0; color: #e9eafb; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; margin-top: var(--s6); }
.hero-proof {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: var(--s6);
  padding: 8px 18px;
  border-radius: var(--r-pill);
  background: var(--indigo-deep);
  font-weight: 600; font-size: 16px;
  text-decoration: none; color: #fff;
}
.stars { color: var(--lime); letter-spacing: 2px; }

/* STEPS */
.steps { padding: var(--s10) 0 var(--s9); }
.steps .section-title { max-width: 14ch; }
.step-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s7); margin-top: var(--s8); counter-reset: none; }
.step-ring { width: 132px; height: 132px; margin-bottom: var(--s5); }
.step-ring circle { fill: none; stroke-width: 11; transform: rotate(-90deg); transform-origin: 50% 50%; }
.step-ring .track { stroke: var(--mist); }
.step-ring .fill { stroke: var(--lime); }
.step-done .step-ring .track { stroke: var(--lime); }
.step-num { font: 800 34px var(--font); fill: var(--indigo); text-anchor: middle; dominant-baseline: central; }
.step h3 { font-size: clamp(26px, 2.4vw, 32px); color: var(--indigo); margin-bottom: var(--s3); }
.step p { color: var(--ink-soft); max-width: 32ch; }

/* SERVICES */
.services { padding: var(--s8) 0 var(--s10); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); margin-top: var(--s7); align-items: start; }
.service-panel { border-radius: var(--r-panel); padding: clamp(28px, 4vw, 56px); }
.panel-light { background: var(--lime-tint); }
.panel-dark { background: var(--indigo); color: #fff; }
.panel-title { font-size: clamp(30px, 3vw, 40px); margin-bottom: var(--s5); }
.panel-light .panel-title { color: var(--indigo); }
.service-list li {
  position: relative;
  padding: var(--s4) 0 var(--s4) 40px;
  border-top: 2px solid rgba(49,55,149,.14);
}
.panel-dark .service-list li { border-top-color: rgba(255,255,255,.16); }
.service-list li::before {
  content: "";
  position: absolute; left: 0; top: calc(var(--s4) + 4px);
  width: 20px; height: 20px; border-radius: 50%;
  border: 5px solid var(--lime);
  border-right-color: var(--indigo);
}
.panel-dark .service-list li::before { border-right-color: #fff; }
.service-list strong { display: block; font-size: 20px; font-weight: 600; line-height: 1.3; }
.service-list span { display: block; font-size: 16.5px; line-height: 1.5; margin-top: 2px; color: var(--ink-soft); }
.panel-dark .service-list span { color: #d9dbf5; }

/* PROOF */
.proof { padding: 0 var(--inset); }
.proof-field { background: var(--lime); border-radius: var(--r-panel); padding: clamp(64px, 8vw, 112px) 0; }
.proof-head { display: flex; align-items: center; gap: clamp(24px, 4vw, 56px); }
.proof .section-title { color: var(--indigo-deep); }
.proof-sub { margin-top: var(--s3); color: var(--ink); font-size: 16px; }
.proof-score { position: relative; flex: none; width: clamp(140px, 16vw, 210px); aspect-ratio: 1; display: grid; place-items: center; }
.proof-score svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.proof-score circle { fill: none; stroke: var(--indigo); stroke-width: 9; stroke-dasharray: 98 100; transform: rotate(-80deg); transform-origin: 50% 50%; }
.proof-score span { font-weight: 800; font-size: clamp(48px, 5.6vw, 76px); color: var(--indigo); letter-spacing: -0.04em; line-height: 1; }
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4); margin-top: var(--s7); }
.quote { background: var(--paper); border-radius: var(--r-card); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; justify-content: space-between; gap: var(--s5); }
.quote-wide { grid-column: 1 / -1; }
.quote-wide blockquote { font-size: clamp(20px, 2vw, 26px); line-height: 1.4; font-weight: 500; color: var(--indigo-deep); }
.quote blockquote { margin: 0; font-size: 18px; line-height: 1.5; }
.who { font-weight: 600; color: var(--indigo); display: flex; align-items: center; gap: 10px; }
.who::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 4px solid var(--lime); flex: none; }

/* ABOUT */
.about { padding: var(--s10) 0; }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-mark { position: relative; aspect-ratio: 1; max-width: 440px; width: 100%; }
.about-mark svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-mark path { fill: none; stroke-width: 64; }
.arc-lime-s { stroke: var(--lime); }
.arc-indigo-s { stroke: var(--indigo); }
.about-mark-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--indigo); }
.about-mark-text span { font-weight: 600; font-size: clamp(16px, 1.6vw, 20px); text-transform: uppercase; letter-spacing: .1em; }
.about-mark-text strong { font-weight: 800; font-size: clamp(36px, 4.2vw, 58px); line-height: 1.05; letter-spacing: -0.03em; margin: 6px 0; }
.about-lede { text-wrap: wrap; font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; color: var(--ink); margin: var(--s5) 0 var(--s4); }
.about-copy > p:not(.eyebrow):not(.about-lede) { color: var(--ink-soft); }
.affil { margin-top: var(--s6); display: grid; gap: var(--s3); }
.affil li { font-weight: 600; padding-left: 34px; position: relative; }
.affil li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--lime); }
.names { margin-top: var(--s7); padding-top: var(--s5); border-top: 2px solid var(--mist); }
.names-label { font-weight: 600; color: var(--indigo); margin-bottom: var(--s3); }
.name-chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.name-chips li { background: var(--lime-tint); color: var(--indigo-deep); font-weight: 600; padding: 8px 18px; border-radius: var(--r-pill); }

/* CONTACT */
.contact { padding: 0 var(--inset) var(--inset); }
.contact-field { position: relative; overflow: hidden; background: var(--indigo); border-radius: var(--r-panel); color: #fff; padding: clamp(64px, 8vw, 112px) 0; }
.contact-ring { position: absolute; width: 900px; aspect-ratio: 1; right: -380px; top: -300px; pointer-events: none; }
.contact-ring path { fill: none; stroke: var(--indigo-deep); stroke-width: 60; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact .section-title { color: #fff; }
.contact-lede { margin-top: var(--s4); font-size: 20px; color: #e9eafb; }
.contact .hero-ctas { justify-content: flex-start; }
.contact-list { margin: var(--s7) 0 0; display: grid; gap: var(--s4); }
.contact-list div { display: grid; grid-template-columns: 84px 1fr; gap: var(--s4); padding-top: var(--s4); border-top: 2px solid rgba(255,255,255,.16); }
.contact-list dt { font-weight: 600; color: var(--lime); }
.contact-list dd { margin: 0; }
.contact-list a { text-decoration-color: var(--lime); text-underline-offset: 4px; overflow-wrap: anywhere; }

.enquiry { background: var(--paper); color: var(--ink); border-radius: var(--r-card); padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 6px; }
.enquiry h3 { font-size: 28px; color: var(--indigo); margin-bottom: var(--s3); }
.enquiry label { font-weight: 600; font-size: 16px; margin-top: var(--s2); }
.enquiry input, .enquiry textarea {
  font: 400 17px/1.4 var(--font); color: var(--ink);
  border: 2px solid #d4d5e3; border-radius: 16px; padding: 12px 16px; background: var(--paper); width: 100%;
}
.enquiry input:focus, .enquiry textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px var(--lime); }
.enquiry .btn { margin-top: var(--s4); width: 100%; }

/* FOOTER */
.site-footer { background: var(--paper); color: var(--ink); padding: var(--s8) 0 var(--s6); overflow: hidden; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s6); flex-wrap: wrap; }
.footer-logo { width: 220px; height: auto; }
.footer-meta { display: grid; gap: 4px; font-size: 16px; text-align: right; }
.footer-meta a { color: var(--indigo); }
.footer-word {
  font-weight: 800; color: var(--indigo);
  font-size: clamp(120px, 30vw, 440px);
  line-height: 1; letter-spacing: -0.05em;
  text-align: center; margin-top: var(--s5);
}

/* MOBILE BAR */
.mobile-bar { display: none; }

/* Responsive */
@media (max-width: 1024px) {
  .main-nav { gap: var(--s5); }
  .header-phone { display: none; }
}
@media (max-width: 860px) {
  .header-row { flex-wrap: wrap; gap: 0 var(--s4); padding-top: var(--s3); }
  .brand img { height: 38px; }
  .header-actions { margin-left: auto; }
  .main-nav { order: 3; width: 100%; margin: 0; justify-content: space-between; padding: var(--s2) 0 var(--s3); }
  .main-nav a { font-size: 16px; }
  .step-list { grid-template-columns: 1fr; gap: var(--s7); }
  .step { display: grid; grid-template-columns: 96px 1fr; column-gap: var(--s5); align-items: start; }
  .step-ring { width: 96px; height: 96px; grid-row: span 2; margin: 0; }
  .service-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .about-mark { max-width: 300px; margin: 0 auto; }
  .footer-meta { text-align: left; }
}
@media (max-width: 640px) {
  body { font-size: 17px; padding-bottom: 76px; }
  .site-header { position: static; }
  .hero-field { min-height: 0; padding: 96px 20px 88px; }
  .hero-ring { display: none; }
  .hero-field { padding-top: 64px; }
  .hero-head { margin: 104px 0 112px; }
  .hero-ring-sm {
    display: block; position: absolute; width: min(372px, calc(100vw - 12px)); height: auto; aspect-ratio: 1; max-width: none;
    left: 50%; top: 50%; transform: translate(-50%, -50%);
    pointer-events: none;
  }
  .hero-ring-sm .arc { stroke-width: 44; }
  .hero-head .hero-title { position: relative; }
  .hero-inner > .eyebrow { margin-bottom: 0; }
  .hero-lede { margin-top: 0; }
  .hero-title { font-size: clamp(46px, 13.4vw, 54px); }
  .hero-proof { font-size: 15px; gap: 8px; padding: 8px 14px; white-space: nowrap; }
  .stars { letter-spacing: 0; }
  .hero-ctas .btn { width: 100%; }
  .proof-head { flex-direction: column; align-items: flex-start; }
  .steps { padding: var(--s8) 0 var(--s7); }
  .services { padding: var(--s7) 0 var(--s8); }
  .about { padding: var(--s8) 0; }
  .contact-list div { grid-template-columns: 1fr; gap: 2px; }
  .contact-ring { width: 560px; right: -300px; top: -220px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s2);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 2px solid var(--mist);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; min-height: 52px;
    border-radius: var(--r-pill); font-weight: 600; font-size: 18px; text-decoration: none;
  }
  .mb-call { background: var(--indigo); color: #fff; }
  .mb-book { background: var(--lime); color: var(--indigo-deep); }
}
