:root {
  --ink: #132019;
  --ink-soft: #4b5851;
  --forest: #183f31;
  --forest-2: #22533f;
  --copper: #b86d3f;
  --copper-dark: #8c4e2d;
  --sage: #dfe8e1;
  --paper: #f5f3ed;
  --white: #ffffff;
  --line: #d9ddd8;
  --danger: #a13f34;
  --success: #28724b;
  --shadow: 0 24px 60px rgba(18, 33, 25, .14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--white);
  color: var(--ink);
}
.skip-link:focus { top: 16px; }

.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 96px 0; }
.section.compact { padding: 64px 0; }
main > .section {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}
.band-dark { color: var(--white); background: var(--forest); }
.band-sage { background: var(--sage); }
.eyebrow {
  margin: 0 0 16px;
  color: var(--copper-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.band-dark .eyebrow { color: #e3b28f; }
h1, h2, h3 {
  color: inherit;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0;
}
h1 { max-width: 820px; margin: 0; font-size: clamp(48px, 7vw, 88px); line-height: .98; }
h2 { margin: 0; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.04; }
h3 { margin: 0; font-size: 26px; line-height: 1.15; }
p { margin: 0; color: var(--ink-soft); font-size: 17px; line-height: 1.68; }
.band-dark p { color: #d8e2dc; }
.lead { max-width: 760px; font-size: clamp(19px, 2vw, 23px); line-height: 1.55; }
.section-heading { display: grid; gap: 18px; max-width: 790px; margin-bottom: 46px; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 84px;
  border-bottom: 1px solid rgba(19, 32, 25, .1);
  background: var(--white);
  backdrop-filter: blur(18px);
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo-link { display: flex; align-items: center; flex: 0 0 auto; }
.logo-link img { width: 176px; height: auto; }
.nav-cluster { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 700; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--copper-dark); }
.endorsement {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  color: #5b665f;
  font-size: 11px;
  line-height: 1.25;
}
.endorsement img { width: 27px; height: 27px; object-fit: contain; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 21px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--white);
  background: var(--copper-dark);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: #743d23; box-shadow: 0 12px 28px rgba(90, 45, 26, .22); }
.button.secondary { color: var(--ink); background: var(--white); border-color: var(--line); }
.button.secondary:hover { background: #f8faf8; }
.button.full { width: 100%; }

.hero {
  position: relative;
  min-height: 700px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #15251e;
}
.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(12, 24, 18, .94) 0%, rgba(12, 24, 18, .82) 42%, rgba(12, 24, 18, .15) 76%),
    image-set(
      url("./assets/myclo-hero.avif") type("image/avif"),
      url("./assets/myclo-hero.webp") type("image/webp")
    ) center / cover no-repeat;
}
.hero .container { position: relative; z-index: 1; }
.hero-copy { max-width: 760px; padding: 90px 0; }
.hero .eyebrow { color: #f0bd99; }
.hero p { max-width: 700px; margin-top: 28px; color: #e8eee9; font-size: 21px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero .button.secondary { color: var(--white); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.34); }

.proof-strip { padding: 24px 0; color: var(--white); background: #102c22; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-item { padding: 6px 28px; border-left: 1px solid rgba(255,255,255,.18); }
.proof-item:first-child { padding-left: 0; border-left: 0; }
.proof-item strong { display: block; margin-bottom: 4px; font-size: 15px; }
.proof-item span { color: #bbcbc2; font-size: 13px; }

.split { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(340px, .96fr); gap: 72px; align-items: center; }
.copy-stack { display: grid; gap: 22px; }
.portrait {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border-radius: 7px;
  background: #aebcb3;
  box-shadow: var(--shadow);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.credential-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.credential { padding: 18px 0 0; border-top: 2px solid var(--copper); }
.credential strong { display: block; font-size: 15px; }
.credential span { display: block; margin-top: 5px; color: var(--ink-soft); font-size: 13px; line-height: 1.45; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.18); }
.service {
  min-height: 275px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  padding: 30px;
  background: var(--forest);
}
.service-number { color: #e3b28f; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.service h3 { color: var(--white); }
.service p { color: #cbd8d0; font-size: 15px; }
.service a { color: #f0bd99; font-size: 14px; font-weight: 800; text-decoration: none; }

.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.value-item { display: grid; grid-template-columns: 38px 1fr; gap: 15px; padding: 28px; background: var(--white); }
.value-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--success);
  font-weight: 900;
}
.value-item strong { display: block; margin-bottom: 7px; font-size: 16px; }
.value-item p { font-size: 14px; }

.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.price-card { position: relative; display: flex; min-height: 560px; flex-direction: column; justify-content: space-between; padding: 30px 24px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); }
.price-card.featured { color: var(--white); background: var(--forest); border-color: var(--forest); transform: translateY(-10px); box-shadow: var(--shadow); }
.price-card.featured p, .price-card.featured li { color: #dce6df; }
.price-card .tier { color: var(--copper-dark); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.price-card.featured .tier { color: #f0bd99; }
.price { margin: 18px 0 6px; font-family: var(--serif); font-size: 41px; line-height: 1; }
.price small { font-family: var(--sans); font-size: 13px; font-weight: 600; }
.hours { margin-bottom: 22px; font-weight: 800; }
.price-card ul { display: grid; gap: 10px; margin: 22px 0; padding: 0; list-style: none; }
.price-card li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; color: var(--ink-soft); font-size: 13px; line-height: 1.45; }
.price-card li::before { color: var(--success); content: "\2713"; font-weight: 900; }
.price-card.featured li::before { color: #7de0a9; }
.rollover { padding: 12px; border: 1px solid var(--line); border-radius: 5px; font-size: 13px; }
.price-card.featured .rollover { border-color: rgba(255,255,255,.2); }
.popular {
  position: absolute;
  top: -13px;
  right: 18px;
  padding: 7px 10px;
  border-radius: 4px;
  color: #2e2119;
  background: #f0bd99;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.soro-blog-shell {
  min-height: 360px;
  padding: 28px;
  border: 1px solid rgba(19, 32, 25, .12);
  border-radius: 7px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(18, 33, 25, .1);
}
#soro-blog { min-height: 300px; }

.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(460px, 1.15fr); gap: 72px; align-items: start; }
.contact-details { display: grid; gap: 18px; margin-top: 34px; }
.contact-details a { font-weight: 800; text-decoration: none; }
.form-wrap { padding: 34px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid label { display: grid; gap: 8px; color: var(--ink); font-size: 13px; font-weight: 800; }
.form-grid .full { grid-column: 1 / -1; }
input, textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #bfc6c1;
  border-radius: 4px;
  outline: 0;
  color: var(--ink);
  background: #fff;
}
textarea { min-height: 136px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--forest-2); box-shadow: 0 0 0 3px rgba(34,83,63,.12); }
.form-disclaimer { margin: 18px 0; padding: 14px 16px; border-left: 3px solid var(--copper); color: #5d655f; background: #f6f5f1; font-size: 12px; line-height: 1.55; }
.band-dark .form-disclaimer { color: #38423c; }
.form-status { min-height: 22px; margin-top: 14px; color: var(--success); font-size: 13px; font-weight: 800; }
.form-status.error { color: var(--danger); }

.page-hero { padding: 90px 0 72px; color: var(--white); background: var(--forest); }
.page-hero p { max-width: 720px; margin-top: 24px; color: #d5e0d9; font-size: 20px; }
.deliverable-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.deliverable { padding: 32px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); }
.deliverable .service-number { color: var(--copper-dark); }
.deliverable h2 { margin: 18px 0 14px; font-size: 34px; }
.deliverable ul { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.deliverable li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; color: var(--ink-soft); line-height: 1.5; }
.deliverable li::before { color: var(--success); content: "\2713"; font-weight: 900; }

.legal-copy { padding: 76px 0; }
.legal-copy h1 { color: var(--ink); font-size: clamp(43px, 6vw, 70px); }
.legal-copy h2 { margin: 42px 0 14px; font-size: 30px; }
.legal-copy p, .legal-copy li { color: var(--ink-soft); line-height: 1.7; }

.site-footer { padding: 58px 0 26px; color: var(--white); background: #0d241b; }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: end; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.16); }
.footer-logo {
  width: 214px;
  padding: 10px 12px;
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
}
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-links a { color: #d8e3dc; font-size: 13px; text-decoration: none; }
.disclosures { display: grid; gap: 5px; margin-top: 24px; }
.disclosures p { color: #9fb0a6; font-size: 11px; line-height: 1.55; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .nav-links { display: none; position: fixed; inset: 84px 0 auto; padding: 22px 24px 28px; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
  .menu-open .nav-links { display: flex; }
  .nav-links a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav-links .button { margin-top: 16px; color: var(--white); padding: 14px; border: 0; }
  .nav-toggle { display: inline-flex; }
  .endorsement { padding-left: 0; border-left: 0; }
  .split, .contact-layout { grid-template-columns: 1fr; gap: 46px; }
  .portrait { min-height: 560px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .price-card.featured { transform: none; }
}

@media (max-width: 680px) {
  .container, .narrow { width: min(100% - 32px, 1180px); }
  .section { padding: 72px 0; }
  .site-header { height: 72px; }
  .logo-link img { width: 145px; }
  .endorsement { display: none; }
  .nav-links { top: 72px; }
  .hero { min-height: 650px; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(12,24,18,.95), rgba(12,24,18,.78)),
      image-set(
        url("./assets/myclo-hero-mobile.avif") type("image/avif"),
        url("./assets/myclo-hero-mobile.webp") type("image/webp")
      ) 67% center / cover no-repeat;
  }
  .hero-copy { padding: 82px 0; }
  .hero p { font-size: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { padding: 16px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .proof-item:first-child { border-top: 0; }
  .credential-row, .values-grid, .service-grid, .pricing-grid, .deliverable-grid { grid-template-columns: 1fr; }
  .portrait { min-height: 470px; }
  .service { min-height: 235px; }
  .price-card { min-height: auto; }
  .soro-blog-shell { min-height: 300px; padding: 18px; }
  #soro-blog { min-height: 240px; }
  .form-wrap { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
