/* Worthley Digital */

:root {
  --ink: #12304A;
  --ink-deep: #0B2133;
  --mist: #EEF3F2;
  --paper: #FAFCFB;
  --slate: #3B4F5C;
  --muted: #5C6F7A;
  --gold: #C9A24A;
  --gold-soft: #E6CF8F;
  --line: #DCE5E3;
  --wrap: 1160px;
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ink); }

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

.site-header :focus-visible,
.hero :focus-visible,
.price-panel :focus-visible,
.site-footer :focus-visible,
.pane-ui :focus-visible {
  outline-color: var(--gold-soft);
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 60;
  padding: .6rem 1rem;
  background: var(--gold);
  color: var(--ink-deep);
  font-weight: 650;
  border-radius: 999px;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(18, 48, 74, .78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 2rem;
  padding-block: 1rem;
}

.wordmark {
  font-stretch: 125%;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .01em;
  color: var(--gold);
  text-decoration: none;
}

.site-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; }

.site-nav a {
  color: #D5E1E6;
  text-decoration: none;
  font-size: .96rem;
  padding-block: .25rem;
}
.site-nav a:hover { color: #fff; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: #F4F7F6;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(11rem, 22vw, 15.5rem);
  background:
    radial-gradient(55% 70% at 88% 0%, rgba(94, 230, 212, .14), transparent 70%),
    radial-gradient(45% 60% at 0% 100%, rgba(201, 162, 74, .14), transparent 70%),
    var(--ink);
  margin-top: -4.5rem;
  padding-top: calc(clamp(3.5rem, 8vw, 6.5rem) + 4.5rem);
}

.hero h1 {
  margin: 0 0 1.5rem;
  max-width: 15ch;
  font-stretch: 118%;
  font-weight: 700;
  font-size: clamp(2.3rem, 6.2vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  color: #F4F7F6;
}

.hero-lede {
  margin: 0 0 2.25rem;
  max-width: 50ch;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: #C7D6DD;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color .15s, color .15s, box-shadow .15s;
}

.btn-gold { background: var(--gold); color: var(--ink-deep); box-shadow: 0 8px 24px -10px rgba(201, 162, 74, .7); }
.btn-gold:hover { background: var(--gold-soft); }

.btn-ghost { color: #F4F7F6; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(244, 247, 246, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Samples ---------- */

.samples { margin-top: clamp(-13rem, -20vw, -9rem); }

.window {
  position: relative;
  border-radius: var(--radius);
  box-shadow:
    0 40px 80px -30px rgba(11, 33, 51, .6),
    0 0 0 1px rgba(255, 255, 255, .08);
}

.pane {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0B1018;
  container-type: inline-size;
  touch-action: pan-y;
}

.slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
}
.slide.is-active { visibility: visible; z-index: 2; }
.slide.is-leaving { visibility: visible; z-index: 1; }
.slide.is-wiping { animation: wipe .8s cubic-bezier(.55, .05, .35, 1) both; }

@keyframes wipe {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

/* the squeegee pass between designs */
.squeegee {
  position: absolute;
  top: -2%;
  bottom: -2%;
  left: 0;
  z-index: 5;
  width: max(4px, .5cqw);
  margin-left: calc(max(4px, .5cqw) / -2);
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 0 2cqw rgba(255, 255, 255, .6);
  opacity: 0;
  pointer-events: none;
}
.squeegee::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  right: 100%;
  width: 8cqw;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .22));
}
.squeegee.is-running { animation: blade .8s cubic-bezier(.55, .05, .35, 1) both; }

@keyframes blade {
  from { left: 0;    opacity: 1; }
  to   { left: 100%; opacity: 1; }
}

/* progress segments and pause, sitting inside the image */
.pane-ui {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 0 clamp(.75rem, 2.4vw, 1.75rem) clamp(.35rem, 1vw, .75rem);
  background: linear-gradient(0deg, rgba(5, 10, 18, .45), rgba(5, 10, 18, 0));
  border-radius: 0 0 var(--radius) var(--radius);
}

.segments { display: flex; flex: 1; gap: 6px; }

.segments button {
  flex: 1;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.seg {
  display: block;
  position: relative;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, .35);
}
.segments button:hover .seg { background: rgba(255, 255, 255, .55); }

.fill {
  position: absolute;
  inset: 0;
  width: 0;
  background: #fff;
}
.segments button[aria-current="true"] .fill { width: 100%; }
.is-autoplay .segments button[aria-current="true"] .fill { animation: fill 6.5s linear both; }
.is-held .fill { animation-play-state: paused !important; }

@keyframes fill { from { width: 0; } to { width: 100%; } }

.play-toggle {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(10, 16, 26, .35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
}
.play-toggle[hidden] { display: none; }
.play-toggle svg { width: 16px; height: 16px; }
.play-toggle .i-play { display: none; }
.play-toggle.is-paused .i-play { display: block; }
.play-toggle.is-paused .i-pause { display: none; }

.samples-note {
  margin: 1.25rem auto 0;
  max-width: 62ch;
  text-align: center;
  font-size: .92rem;
  color: var(--muted);
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(4.5rem, 10vw, 7.5rem); }

.section h2 {
  margin: 0 0 1.25rem;
  font-stretch: 115%;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--ink);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 2rem 4rem;
}

.included-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}

.included-list > div {
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.included-list dt {
  margin-bottom: .4rem;
  font-weight: 650;
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--ink);
}

.included-list dd { margin: 0; }

/* how it works: a real sequence, so it gets numbers */
.how { background: var(--mist); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li { counter-increment: step; position: relative; }

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-stretch: 115%;
  font-weight: 700;
  font-size: 1.1rem;
}

.steps li::after {
  content: "";
  position: absolute;
  top: 1.375rem;
  left: 3.5rem;
  right: -1.5rem;
  height: 1px;
  background: #C5D3D0;
}
.steps li:last-child::after { display: none; }

.steps h3 {
  margin: 0 0 .45rem;
  font-weight: 650;
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--ink);
}

.steps p { margin: 0; }

/* pricing */
.price-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 2.5rem 4rem;
  padding: clamp(2rem, 5vw, 3.75rem);
  border-radius: 24px;
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(94, 230, 212, .12), transparent 70%),
    radial-gradient(50% 80% at 0% 100%, rgba(201, 162, 74, .14), transparent 70%),
    var(--ink);
  color: #C7D6DD;
}

.price-panel h2 { color: #F4F7F6; }

.price-head p { margin: 0; max-width: 42ch; }

.price-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-self: end;
}

.figure-amount {
  margin: 0;
  font-stretch: 125%;
  font-weight: 750;
  font-size: clamp(2.8rem, 6.5vw, 4.4rem);
  line-height: 1;
  color: var(--gold-soft);
}
.figure-amount span { font-size: .4em; font-weight: 600; margin-left: .1em; }

.figure-label { margin: .6rem 0 0; font-size: .98rem; max-width: 24ch; }

.price-terms {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1.5rem 0 0 1.1rem;
  border-top: 1px solid rgba(199, 214, 221, .2);
}
.price-terms li + li { margin-top: .35rem; }
.price-terms a { color: var(--gold-soft); }

/* contact */
.contact { padding-top: 0; text-align: center; }
.contact .wrap { display: flex; flex-direction: column; align-items: center; }

.contact-lede { margin: 0 0 1.5rem; max-width: 52ch; }

.contact-email {
  display: inline-block;
  margin: 0 0 1.5rem;
  font-stretch: 110%;
  font-weight: 650;
  font-size: clamp(1.3rem, 4.6vw, 2.8rem);
  line-height: 1.2;
  color: var(--ink);
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: .22em;
  overflow-wrap: anywhere;
}

.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-deep); }

.btn-line {
  border: 0;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  box-shadow: inset 0 0 0 1.5px var(--ink);
  cursor: pointer;
}
.btn-line:hover { background: var(--mist); }

.copy-status { min-height: 1.6em; margin: .9rem 0 0; font-size: .95rem; color: var(--muted); }

/* footer */
.site-footer {
  background: var(--ink-deep);
  color: #9FB3BE;
  padding-block: 2.5rem;
  font-size: .95rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.footer-mark {
  margin: 0;
  font-stretch: 125%;
  font-weight: 700;
  color: var(--gold);
}

.footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-nav a { color: #C7D6DD; text-underline-offset: .25em; }
.footer-nav a:hover { color: #fff; }

.footer-copy { margin: 0; width: 100%; }

/* ---------- Sample mockups (photo-led, sized to the window with cqw) ---------- */

.mock {
  --accent: #5EE6D4;
  position: absolute;
  inset: 0;
  overflow: hidden;
  font-family: "Archivo", system-ui, sans-serif;
  line-height: 1.3;
  color: #fff;
  background: #0B1018;
}
.mock p { margin: 0; }

.m-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right center;
}

.m-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(5, 10, 18, .93) 0%,
    rgba(5, 10, 18, .8) 32%,
    rgba(5, 10, 18, .28) 60%,
    rgba(5, 10, 18, 0) 80%);
}

.m-nav {
  position: absolute;
  z-index: 3;
  top: 2.6cqw;
  left: 3cqw;
  right: 3cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1cqw 1cqw 1cqw 2.4cqw;
  border: .1cqw solid rgba(255, 255, 255, .22);
  border-radius: 5cqw;
  background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(1.4cqw) saturate(140%);
  backdrop-filter: blur(1.4cqw) saturate(140%);
  font-size: 1.3cqw;
}
.m-logo { font-weight: 700; font-size: 1.8cqw; letter-spacing: .01em; }
.m-links { display: flex; gap: 2.4cqw; opacity: .85; }
.m-btn { padding: .85cqw 1.8cqw; border-radius: 5cqw; font-weight: 600; background: var(--accent); color: #06121A; }

.m-body { position: absolute; z-index: 2; left: 5.5cqw; top: 15.5cqw; width: 46cqw; }

.mock .m-kicker {
  display: flex;
  align-items: center;
  gap: 1cqw;
  margin-bottom: 1.4cqw;
  font-size: 1.35cqw;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent);
}
.mock .m-kicker::before {
  content: "";
  width: 2.6cqw;
  height: .2cqw;
  background: currentColor;
  box-shadow: 0 0 1cqw currentColor;
}
.mock .m-title { margin-bottom: 1.6cqw; font-size: 5cqw; line-height: 1.02; font-weight: 700; letter-spacing: -.01em; }
.mock .m-text { margin-bottom: 2.6cqw; max-width: 38cqw; font-size: 1.6cqw; line-height: 1.45; opacity: .88; }

.m-cta {
  display: inline-block;
  margin-right: 1cqw;
  padding: 1.15cqw 2.2cqw;
  border-radius: 5cqw;
  font-size: 1.4cqw;
  font-weight: 600;
  background: var(--accent);
  color: #06121A;
  box-shadow: 0 0 2.6cqw color-mix(in srgb, var(--accent) 45%, transparent);
}
.mock .m-cta.m-cta-alt {
  background: rgba(255, 255, 255, .07);
  color: inherit;
  box-shadow: inset 0 0 0 .12cqw rgba(255, 255, 255, .55);
}

.m-card {
  position: absolute;
  z-index: 3;
  right: 3.5cqw;
  bottom: max(6.5cqw, 46px);
  display: flex;
  align-items: center;
  gap: 1.3cqw;
  padding: 1.4cqw 2.2cqw 1.4cqw 1.8cqw;
  border: .1cqw solid rgba(255, 255, 255, .24);
  border-radius: 1.6cqw;
  background: rgba(10, 16, 26, .45);
  -webkit-backdrop-filter: blur(1.4cqw) saturate(140%);
  backdrop-filter: blur(1.4cqw) saturate(140%);
  font-size: 1.5cqw;
  font-weight: 600;
}
.m-card small { display: block; margin-bottom: .2cqw; font-size: 1.1cqw; font-weight: 500; opacity: .75; }
.m-dot {
  flex: none;
  width: 1cqw;
  height: 1cqw;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 1.4cqw var(--accent);
}

/* Landscaping */
.mock-landscape { --accent: #5EE6D4; }
.mock-landscape .m-logo { font-stretch: 122%; }
.mock-landscape .m-title { font-stretch: 112%; }

/* Restaurant */
.mock-restaurant { --accent: #F2B55E; }
.mock-restaurant .m-logo,
.mock-restaurant .m-title { font-family: "Cormorant Garamond", Georgia, serif; }
.mock-restaurant .m-logo { font-style: italic; font-weight: 500; font-size: 2.4cqw; }
.mock-restaurant .m-title { font-weight: 500; font-size: 6cqw; line-height: .98; letter-spacing: 0; }
.mock-restaurant .m-btn { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 .13cqw var(--accent); }
.mock-restaurant .m-cta { color: #1A0D05; }

/* Coffee shop: a light, airy variant */
.mock-coffee { --accent: #C2602F; color: #2B1A12; font-family: "Sora", system-ui, sans-serif; }
.mock-coffee .m-shade {
  background: linear-gradient(90deg,
    rgba(255, 247, 240, .95) 0%,
    rgba(255, 247, 240, .84) 34%,
    rgba(255, 247, 240, .22) 62%,
    rgba(255, 247, 240, 0) 80%);
}
.mock-coffee .m-nav { background: rgba(255, 255, 255, .5); border-color: rgba(255, 255, 255, .85); }
.mock-coffee .m-title { font-weight: 600; font-size: 5.6cqw; letter-spacing: -.02em; }
.mock-coffee .m-btn { color: #fff; }
.mock-coffee .m-cta { background: #2B1A12; color: #FFF7F0; box-shadow: 0 1.2cqw 2.6cqw rgba(43, 26, 18, .25); }
.mock-coffee .m-cta.m-cta-alt { background: rgba(255, 255, 255, .45); box-shadow: inset 0 0 0 .12cqw #2B1A12; }
.mock-coffee .m-card { background: rgba(255, 255, 255, .58); border-color: rgba(255, 255, 255, .9); }

/* Auto shop */
.mock-auto { --accent: #FFD23F; }
.mock-auto .m-logo,
.mock-auto .m-title,
.m-chips { font-family: "Chakra Petch", "Archivo", sans-serif; }
.mock-auto .m-logo { text-transform: uppercase; letter-spacing: .06em; }
.mock-auto .m-title { text-transform: uppercase; font-weight: 600; font-size: 5cqw; line-height: 1; letter-spacing: .01em; }
.mock-auto .m-btn,
.mock-auto .m-cta { color: #10151B; font-weight: 700; }
.mock-auto .m-body { top: 16cqw; }
.m-chips { display: flex; flex-wrap: wrap; gap: .9cqw; margin-top: 2.8cqw; }
.m-chips span {
  padding: .6cqw 1.4cqw;
  border: .1cqw solid rgba(255, 210, 63, .6);
  border-radius: 5cqw;
  background: rgba(255, 210, 63, .08);
  color: #FFE68A;
  font-size: 1.2cqw;
  font-weight: 500;
  letter-spacing: .04em;
}

/* Barbershop */
.mock-barber { --accent: #FF5A68; }
.mock-barber .m-logo,
.mock-barber .m-title { font-family: "Unbounded", "Archivo", sans-serif; }
.mock-barber .m-logo { font-weight: 500; font-size: 1.6cqw; }
.mock-barber .m-title { font-size: 4.4cqw; line-height: 1.08; }
.mock-barber .m-btn { color: #fff; }
.mock-barber .m-cta { background: #F4F1EC; color: #0E1420; box-shadow: 0 0 2.6cqw rgba(255, 90, 104, .35); }

/* ---------- Policies page ---------- */

.page-hero {
  background:
    radial-gradient(55% 90% at 90% 0%, rgba(94, 230, 212, .12), transparent 70%),
    var(--ink);
  margin-top: -4.5rem;
  padding: calc(clamp(2.5rem, 6vw, 4rem) + 4.5rem) 0 clamp(2.5rem, 6vw, 3.5rem);
}
.page-hero h1 {
  margin: 0 0 .75rem;
  font-stretch: 118%;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  color: #F4F7F6;
}
.page-hero p { margin: 0; max-width: 60ch; color: #C7D6DD; }

.policy {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: 2rem 4rem;
  padding-block: clamp(3rem, 7vw, 5rem);
}

.policy-toc { position: sticky; top: 6rem; align-self: start; }
.policy-toc ul { margin: 0; padding: 0; list-style: none; }
.policy-toc li + li { margin-top: .5rem; }
.policy-toc a { color: var(--slate); text-underline-offset: .25em; }
.policy-toc a:hover { color: var(--ink); }

.policy-body { max-width: 68ch; }
.policy-body section + section { margin-top: 3.5rem; padding-top: 3rem; border-top: 1px solid var(--rule); }
.policy-body h2 {
  margin: 0 0 1rem;
  font-stretch: 115%;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
  color: var(--ink);
}
.policy-body h3 {
  margin: 1.75rem 0 .4rem;
  font-weight: 650;
  font-size: 1.08rem;
  color: var(--ink);
}
.policy-body p { margin: 0 0 1rem; }
.policy-body ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.policy-body li + li { margin-top: .4rem; }
.policy-updated { font-size: .92rem; color: #5C6F7A; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .split, .price-panel { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; }
  .steps li::after { display: none; }
  .policy { grid-template-columns: 1fr; }
  .policy-toc { position: static; }
}

@media (max-width: 600px) {
  .included-list, .steps, .price-figures { grid-template-columns: 1fr; }
  .site-nav { gap: .25rem 1.25rem; }
}

@media (max-width: 600px) {
  .pane { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide.is-wiping { animation: none; }
  .squeegee { display: none; }
  .is-autoplay .segments button[aria-current="true"] .fill { animation: none; }
}
