/* ==================== DESIGN TOKENS: change site-wide colours and dimensions here ==================== */
:root {
  /* CHANGE ME: light blue-grey paper, deep blue-black ink, and high-contrast accents. */
  --ink: #15252c;
  --ink-soft: #dfeaec;
  --paper: #f3f7f7;
  --paper-deep: #e7eeed;
  --warm-paper: #f4e9de;
  --muted: #585858;
  --line: rgba(21, 37, 44, 0.16);
  --dark-line: rgba(21, 37, 44, 0.18);
  --lime: #eee459;
  --accent: #008486;
  --accent-warm: #ff6f2c;
  --lime-ink: #142125;
  --display: "Manrope", "Helvetica Neue", sans-serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --shell: min(1320px, calc(100% - 64px));
}

/* ==================== GLOBAL RESET / BASICS ==================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--display); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
.section-shell { width: var(--shell); margin-inline: auto; }
.eyebrow { margin: 0; color: var(--muted); font: 500 0.67rem/1.4 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin: 0 0 1px 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(58, 232, 255, 0.12); }
.text-link { display: inline-flex; gap: 14px; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: 7px; color: var(--ink); font-size: .88rem; font-weight: 700; transition: color .25s ease, gap .25s ease; }
.text-link:hover { color: var(--accent); gap: 19px; }

/* ==================== HEADER / NAVIGATION ==================== */
.site-header { position: absolute; z-index: 10; top: 0; left: 50%; display: flex; justify-content: space-between; align-items: center; width: var(--shell); min-height: 92px; transform: translateX(-50%); }
.brand { display: inline-flex; align-items: center; gap: 6px; font: 500 1.99rem/1 var(--mono); letter-spacing: -.05em; }
.brand-mark { color: var(--accent); font-size: 1.15rem; font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 38px); color: #3e5157; font-size: .78rem; font-weight: 700; }
.site-nav > a:not(.nav-cta) { transition: color .2s ease; }
.site-nav > a:not(.nav-cta):hover { color: var(--accent); }
.nav-cta { margin-left: 9px; border: 1px solid var(--dark-line); padding: 11px 15px; color: var(--ink); transition: background .2s ease, border-color .2s ease, color .2s ease; }
.nav-cta:hover { border-color: var(--lime); background: var(--lime); color: var(--lime-ink); }
.menu-button { display: none; border: 0; padding: 8px 0 8px 8px; background: none; cursor: pointer; }
.menu-button span { display: block; width: 25px; height: 1px; margin: 6px 0; background: var(--ink); transition: transform .25s ease; }

/* ==================== HERO ==================== */
.hero { position: relative; min-height: 790px; padding-top: 165px; overflow: hidden; }
.hero::before { position: absolute; z-index: -1; top: -15%; right: -8%; width: min(55vw, 760px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(117,174,188,.26), rgba(237,192,149,.16) 38%, transparent 69%); content: ""; filter: blur(1px); }
.hero::after { position: absolute; z-index: -1; top: 0; left: 20%; width: 1px; height: 100%; background: linear-gradient(transparent, var(--line) 15%, var(--line) 75%, transparent); content: ""; }
.hero-grid { display: grid; grid-template-columns: 1fr .37fr; align-items: end; gap: 50px; margin-top: clamp(56px, 11vw, 152px); }
.hero-title { max-width: 950px; margin: 0; font-size: clamp(4.3rem, 9.3vw, 9.5rem); font-weight: 600; letter-spacing: -.085em; line-height: .85; }
h1 em, h2 em { color: var(--accent-warm); font-family: Georgia, serif; font-weight: 400; letter-spacing: -.09em; }
.hero-copy { padding-bottom: 13px; }
.hero-copy p { max-width: 340px; margin: 0 0 33px; color: #41545a; font-size: .94rem; line-height: 1.75; }
.hero-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 104px; padding-top: 18px; border-top: 1px solid var(--line); color: #42555a; font: .65rem/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.hero-meta span { display: block; margin-bottom: 10px; color: var(--accent); }
.hero-orbit { position: absolute; right: 6px; bottom: 11px; display: grid; width: 104px; aspect-ratio: 1; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.hero-orbit span { width: 75px; color: #53666b; font: 7px/1.4 var(--mono); letter-spacing: .13em; text-align: center; }

/* ==================== STATISTICS STRIP ==================== */
.stats-strip { background: var(--paper-deep); color: var(--ink); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid > div { min-height: 164px; padding: 31px 30px; border-right: 1px solid var(--dark-line); }
.stats-grid > div:first-child { border-left: 1px solid var(--dark-line); }
.stats-grid strong { display: block; font-size: clamp(2rem, 3.3vw, 3.3rem); letter-spacing: -.07em; line-height: 1; }
.stats-grid strong span { color: #0a89ff; }
.stats-grid p { margin: 15px 0 0; color: #53646a; font: .64rem var(--mono); text-transform: uppercase; }

/* ==================== WORK CAROUSEL ==================== */
.work-section { padding: 150px 0 153px; overflow: hidden; }
.section-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.section-intro h2, .pricing-heading h2, .reviews-head h2, .contact-inner h2 { margin: 25px 0 0; font-size: clamp(2.8rem, 5.1vw, 5.3rem); font-weight: 600; letter-spacing: -.075em; line-height: .92; }
.section-intro > p:last-child { max-width: 340px; margin: 38px 0 0 auto; color: #50636a; font-size: .9rem; line-height: 1.8; }
.work-stage { position: relative; margin-top: 76px; }
.work-rail { display: flex; width: max-content; gap: 24px; padding: 35px 0 28px; transform: translateX(0); will-change: transform; }
.work-card { position: relative; flex: 0 0 min(54vw, 680px); aspect-ratio: 16 / 9; overflow: hidden; cursor: pointer; opacity: .22; transform: scale(.9); filter: blur(5px) saturate(.65); transition: opacity .5s ease, transform .55s cubic-bezier(.16,1,.3,1), filter .5s ease; }
.work-card::after { position: absolute; inset: 0; /*background: linear-gradient(0deg, rgba(0,0,0,.67), transparent 55%);*/ content: ""; }
.work-card.is-active { z-index: 2; opacity: 1; transform: scale(1); filter: none; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .75s ease; }
.work-card.is-active:hover img { transform: scale(1.04); }
.work-overlay { position: absolute; z-index: 1; right: 29px; bottom: 25px; left: 29px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px; color: var(--paper); }
.work-overlay span { font: .61rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.work-overlay h3 { grid-row: 2; margin: 11px 0 0; font-size: clamp(1.5rem, 2.6vw, 2.5rem); letter-spacing: -.06em; }
.work-overlay span:last-child { grid-column: 2; grid-row: 2; align-self: center; color: var(--lime); }
.work-controls { display: flex; align-items: center; justify-content: space-between; width: min(54vw, 680px); margin: 30px auto 0; padding: 0 10px; }
.work-controls p { display: flex; align-items: center; gap: 12px; margin: 0; font: .68rem var(--mono); letter-spacing: .09em; }
.work-controls p i { width: 50px; height: 1px; background: var(--line); }
.work-controls > div { display: flex; gap: 9px; }
.round-button { width: 43px; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; transition: background .2s ease, color .2s ease, border .2s ease; }
.round-button:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.round-button.is-lime { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.round-button.is-lime:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }

/* ==================== CASE STUDY ==================== */
.case-study { background: var(--ink-soft); }
.case-grid { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 710px; }
.case-image { position: relative; overflow: hidden; }
.case-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); }
.case-image::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.45), transparent 45%); content: ""; }
.image-label { position: absolute; z-index: 1; right: 23px; bottom: 21px; color: var(--paper); font: .6rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.case-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(60px, 8vw, 120px); }
.case-content h2 { max-width: 520px; margin: 25px 0; font-size: clamp(2.2rem, 3.5vw, 3.8rem); font-weight: 600; letter-spacing: -.07em; line-height: .97; }
.body-copy { max-width: 470px; color: #465a61; font-size: .88rem; line-height: 1.75; }
.case-numbers { display: flex; gap: 37px; margin: 39px 0; }
.case-numbers div { display: grid; gap: 6px; }
.case-numbers strong { color: var(--accent); font-size: 1.8rem; letter-spacing: -.07em; }
.case-numbers span { color: #53666c; font: .59rem var(--mono); letter-spacing: .06em; text-transform: uppercase; }

/* ==================== PROCESS ==================== */
.process-section { padding: 150px 0; }
.process-list { margin-top: 87px; border-top: 1px solid var(--line); }
.process-list article { display: grid; grid-template-columns: .5fr 1fr; padding: 29px 0 36px; border-bottom: 1px solid var(--line); }
.process-list > article > span { color: var(--accent); font: .63rem var(--mono); }
.process-list h3 { margin: 0; font-size: clamp(1.6rem, 2.3vw, 2.4rem); font-weight: 600; letter-spacing: -.065em; }
.process-list p { max-width: 440px; margin: 12px 0 0; color: #50636a; font-size: .87rem; line-height: 1.7; }

/* ==================== PRICING ==================== */
.pricing-section { padding: 142px 0 150px; background: var(--warm-paper); color: var(--ink); }
.pricing-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.pricing-heading h2 { margin-top: 21px; }
.pricing-heading > p { max-width: 300px; margin: 0 0 5px; color: #4d6065; font-size: .86rem; line-height: 1.75; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 74px; }
.price-card { position: relative; display: flex; flex-direction: column; min-height: 480px; padding: 32px; border: 1px solid var(--dark-line); background: rgba(255,255,255,.38); }
.price-card.is-featured { border-color: var(--ink); background: var(--ink); color: var(--paper); transform: translateY(-17px); }
.popular-tag { position: absolute; top: -1px; right: 22px; padding: 8px 10px; background: var(--lime); color: var(--ink); font: .57rem var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.plan-label { margin: 0; color: #73766e; font: .6rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.is-featured .plan-label { color: #b8c6c3; }
.price-card h3 { margin: 14px 0; font-size: 2rem; letter-spacing: -.07em; }
.price { margin: 0; font-size: 2.35rem; font-weight: 700; letter-spacing: -.08em; }
.price span { color: #506269; font: .6rem var(--mono); letter-spacing: 0; }
.is-featured .price span { color: #c1cdcb; }
.plan-copy { min-height: 48px; margin: 23px 0; color: #46585e; font-size: .78rem; line-height: 1.6; }
.is-featured .plan-copy { color: #d1dcda; }
.price-card ul { display: grid; gap: 12px; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--dark-line); list-style: none; color: #32352f; font-size: .76rem; line-height: 1.35; }
.is-featured ul { border-color: rgba(243,247,247,.2); color: #edf4f2; }
.price-card li::before { margin-right: 8px; color: var(--accent); content: "✓"; }
.is-featured li::before { color: var(--lime); }
.button { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 14px 16px; font-size: .73rem; font-weight: 800; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.button-ghost { border: 1px solid var(--dark-line); }
.button-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.is-featured .button-ghost { border-color: rgba(243,247,247,.42); }
.button-lime { background: var(--lime); color: var(--ink); }
.button-lime:hover { background: var(--paper); }

/* ==================== REVIEWS / TESTIMONIALS ==================== */
.reviews-section { padding: 150px 0; }
.reviews-head { display: flex; align-items: end; justify-content: space-between; }
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 78px; }
.review-card { display: flex; flex-direction: column; min-height: 250px; margin: 0; padding: 31px; border: 1px solid var(--line); }
.review-card.review-large { grid-row: span 2; min-height: 515px; background: var(--paper-deep); }
.rating { color: var(--accent); font-size: .75rem; letter-spacing: .18em; }
.review-card blockquote { max-width: 570px; margin: auto 0; font-size: clamp(1rem, 1.35vw, 1.36rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.45; }
.review-large blockquote { font-size: clamp(1.55rem, 2.4vw, 2.5rem); line-height: 1.21; }
.review-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: 23px; }
.avatar { display: grid; width: 35px; aspect-ratio: 1; place-items: center; border-radius: 50%; color: var(--ink); font: .55rem var(--mono); }
.avatar-a { background: #e8a477; }.avatar-b { background: #a3bbcb; }.avatar-c { background: #b7adf7; }
.review-card figcaption strong, .review-card figcaption small { display: block; }
.review-card figcaption strong { font-size: .72rem; }.review-card figcaption small { margin-top: 4px; color: #5d6f75; font-size: .62rem; }

/* ==================== FAQ ==================== */
.faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; padding: 50px 0 150px; }
.faq-section .section-intro { display: block; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font-size: .91rem; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--accent); font: 1.15rem var(--mono); transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 625px; margin: 0 0 24px; color: #50636a; font-size: .83rem; line-height: 1.75; }

/* ==================== CONTACT ==================== */
.contact-section { position: relative; overflow: hidden; background: #d9eaed; color: var(--ink); }
.contact-section::after { position: absolute; right: -14%; bottom: -120%; width: 700px; aspect-ratio: 1; border: 1px solid rgba(16,17,16,.3); border-radius: 50%; content: ""; }
.contact-inner { position: relative; z-index: 1; padding: 130px 0 134px; }
.contact-inner .eyebrow { color: var(--accent); }
.contact-inner h2 { max-width: 850px; margin: 30px 0 53px; font-size: clamp(3.7rem, 8vw, 8.8rem); }
.contact-inner h2 em { color: var(--accent-warm); }
.contact-email { display: inline-flex; align-items: baseline; gap: 17px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; font-size: clamp(1rem, 1.6vw, 1.5rem); font-weight: 700; letter-spacing: -.04em; transition: gap .2s ease; }
.contact-email:hover { gap: 25px; }.contact-email b { font-weight: 500; }
.contact-note { margin: 26px 0 0; color: #536a70; font: .63rem var(--mono); letter-spacing: .04em; text-transform: uppercase; }

/* ==================== FOOTER ==================== */
.site-footer { display: flex; align-items: center; justify-content: space-between; min-height: 118px; border-top: 1px solid var(--line); color: #52646a; font: .62rem var(--mono); }
.site-footer .brand { color: var(--ink); font-size: .75rem; }.site-footer p { margin: 0; }.footer-links { display: flex; align-items: flex-end; gap: 25px; }.footer-links a { display: grid; justify-items: center; gap: 7px; color: var(--ink); }.footer-links svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }.footer-links .icon-fill { fill: currentColor; stroke: none; }.footer-links a:hover { color: var(--accent); }

/* ==================== SUBTLE REVEAL ANIMATION ==================== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.65,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.cursor-glow { position: fixed; z-index: 100; top: 0; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--accent); mix-blend-mode: multiply; pointer-events: none; transform: translate(-50%, -50%); transition: opacity .2s ease; }

/* ==================== SCROLL PARALLAX: deliberately tiny movement for depth, never distracting ==================== */
.scroll-parallax { transform: translate3d(0, var(--scroll-shift, 0px), 0); will-change: transform; }

/* ==================== TABLET LAYOUT ==================== */
@media (max-width: 850px) {
  :root { --shell: min(100% - 40px, 1320px); }
  .site-header { min-height: 75px; }.site-nav { gap: 17px; }.site-nav a:not(.nav-cta) { display: none; }
  .hero { min-height: 720px; padding-top: 130px; }.hero-grid { grid-template-columns: 1fr; gap: 26px; margin-top: 89px; }.hero-copy { max-width: 370px; padding-bottom: 0; }.hero-meta { margin-top: 74px; }.hero-orbit { display: none; }
  .work-card { flex-basis: 65vw; }.work-controls { width: 65vw; }.case-grid { grid-template-columns: 1fr; }.case-image { height: min(65vw, 530px); }.case-content { padding: 75px 13%; }.pricing-grid { gap: 7px; }.price-card { padding: 25px; }.case-numbers { gap: 20px; }
}

/* ==================== MOBILE LAYOUT ==================== */
@media (max-width: 600px) {
  :root { --shell: min(100% - 32px, 1320px); }
  .cursor-glow { display: none; }.menu-button { display: block; z-index: 2; }.site-nav { position: fixed; inset: 0; display: flex; visibility: hidden; flex-direction: column; justify-content: center; gap: 27px; background: var(--ink); color: var(--paper); opacity: 0; transition: opacity .25s ease, visibility .25s ease; }.site-nav a:not(.nav-cta) { display: block; font-size: 1.3rem; }.site-nav .nav-cta { border-color: rgba(243,247,247,.35); color: var(--paper); }.site-nav.is-open { visibility: visible; opacity: 1; }.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); background: var(--paper); }.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); background: var(--paper); }
  .hero { min-height: 690px; padding-top: 117px; }.hero-grid { margin-top: 76px; }.hero-title { font-size: clamp(3.8rem, 17vw, 5rem); }.hero-copy p { max-width: 310px; font-size: .85rem; }.hero-meta { grid-template-columns: 1fr 1fr; gap: 23px 10px; margin-top: 78px; }.hero-meta div:nth-child(4) { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }.stats-grid > div { min-height: 129px; padding: 22px 20px; border-top: 1px solid var(--dark-line); }.stats-grid > div:nth-child(3) { border-left: 1px solid var(--dark-line); }.stats-grid strong { font-size: 2.1rem; }
  .work-section, .process-section, .reviews-section { padding: 90px 0; }.section-intro { display: block; }.section-intro > p:last-child { margin: 25px 0 0; }.section-intro h2, .pricing-heading h2, .reviews-head h2 { font-size: 3rem; }.work-stage { margin-top: 42px; }.work-rail { gap: 14px; padding-top: 15px; }.work-card { flex-basis: 76vw; }.work-overlay { right: 15px; bottom: 14px; left: 15px; }.work-overlay h3 { font-size: 1.35rem; }.work-overlay span:last-child { display: none; }.work-controls { width: 76vw; margin-top: 20px; }
  .case-content { padding: 60px 0; }.case-numbers { gap: 17px; }.case-numbers strong { font-size: 1.45rem; }.case-numbers span { font-size: .5rem; }.process-list { margin-top: 48px; }.process-list article { grid-template-columns: 45px 1fr; }
  .pricing-section { padding: 91px 0; }.pricing-heading { display: block; }.pricing-heading > p { margin: 29px 0 0; }.pricing-grid { grid-template-columns: 1fr; gap: 15px; margin-top: 47px; }.price-card { min-height: 432px; padding: 27px; }.price-card.is-featured { transform: none; }.plan-copy { min-height: 0; }
  .reviews-head { display: block; }.review-grid { grid-template-columns: 1fr; margin-top: 47px; }.review-card.review-large { grid-row: auto; min-height: 400px; }.review-large blockquote { font-size: 1.65rem; }.faq-section { display: block; padding: 0 0 90px; }.faq-list { margin-top: 49px; }.contact-inner { padding: 92px 0; }.contact-inner h2 { margin: 29px 0 38px; font-size: clamp(3.6rem, 16vw, 5.2rem); }.site-footer { align-items: flex-start; flex-direction: column; gap: 20px; padding: 32px 0; }.footer-links { gap: 15px; }
}

/* ==================== ACCESSIBILITY: keep motion restrained for users who request it ==================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }.reveal { opacity: 1; transform: none; transition: none; }.work-rail, .work-card, .work-card img { transition: none; }.scroll-parallax { transform: none; }
}
