@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700&display=swap');

:root {
  --ink: #18302d;
  --ink-2: #294943;
  --paper: #f7f4ed;
  --paper-2: #eee9de;
  --white: #fffdf8;
  --green: #173f3b;
  --green-light: #dfe8df;
  --orange: #d8663d;
  --orange-dark: #ad4726;
  --line: rgba(24, 48, 45, .16);
  --muted: #65736f;
  --shadow: 0 24px 70px rgba(28, 54, 48, .12);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; opacity: .22; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E"); }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1.25rem; }
h1, h2, h3 { margin: 0; font-family: "Manrope", sans-serif; line-height: 1.06; letter-spacing: -.045em; }
h1 { font-size: clamp(3rem, 7vw, 6.6rem); }
h2 { font-size: clamp(2.25rem, 4.5vw, 4.25rem); }
h3 { font-size: 1.35rem; letter-spacing: -.025em; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.25rem; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-dark); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lede { max-width: 680px; font-size: clamp(1.08rem, 1.6vw, 1.32rem); color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 50px; padding: .82rem 1.25rem; border: 1px solid transparent; border-radius: 999px; background: var(--orange); color: white; font-weight: 700; text-decoration: none; transition: .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); background: var(--orange-dark); box-shadow: 0 12px 28px rgba(173, 71, 38, .2); }
.button--ghost { border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.08); }
.button--ghost:hover { background: rgba(255,255,255,.14); }
.button--light { color: var(--green); background: var(--white); }
.button svg { width: 18px; height: 18px; }
.text-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--green); font-weight: 700; text-underline-offset: 4px; }

.announcement { padding: .55rem 1rem; text-align: center; color: #f3ede2; background: var(--green); font-size: .78rem; letter-spacing: .03em; }
.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--line); background: rgba(247,244,237,.9); backdrop-filter: blur(16px); }
.nav-shell { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .72rem; font-family: "Manrope", sans-serif; font-weight: 700; text-decoration: none; letter-spacing: -.03em; }
.brand img { width: 38px; height: 38px; }
.brand span span { color: var(--orange); }
.site-nav { display: flex; align-items: center; gap: 1.65rem; }
.site-nav a { position: relative; text-decoration: none; font-size: .93rem; font-weight: 600; }
.pilot-badge { padding: .52rem .82rem; border: 1px solid var(--line); border-radius: 999px; color: var(--orange-dark); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.site-nav a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.35rem; height: 2px; background: var(--orange); transition: .2s ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); }

.hero { position: relative; min-height: 770px; display: grid; align-items: end; overflow: hidden; color: #fff; background: var(--green); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,45,41,.98) 0%, rgba(15,45,41,.91) 34%, rgba(15,45,41,.3) 63%, rgba(15,45,41,.06) 100%), url("modalmind-window-treatments-hero.png") center/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, rgba(10,34,31,.58)); }
.hero__inner { position: relative; z-index: 1; padding: 8rem 0 4.5rem; }
.hero__copy { max-width: 790px; }
.hero h1 { max-width: 780px; }
.hero h1 em { color: #f0b28e; font-style: normal; }
.hero .lede { max-width: 610px; margin-top: 1.6rem; color: rgba(255,255,255,.79); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__proof { display: flex; gap: 2rem; margin-top: 5rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.25); }
.hero__proof div { max-width: 180px; }
.hero__proof strong { display: block; font-family: "Manrope"; font-size: 1.5rem; }
.hero__proof span { color: rgba(255,255,255,.65); font-size: .82rem; }

.section { padding: 7rem 0; }
.section--tight { padding: 4.5rem 0; }
.section--dark { color: white; background: var(--green); }
.section--dark .lede, .section--dark .muted { color: rgba(255,255,255,.66); }
.section--paper2 { background: var(--paper-2); }
.section-head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(300px, .5fr); gap: 3rem; align-items: end; margin-bottom: 3.5rem; }
.section-head .lede { margin-bottom: 0; }
.marquee { overflow: hidden; padding: 1.1rem 0; border-block: 1px solid var(--line); white-space: nowrap; }
.marquee__track { display: flex; width: max-content; gap: 3rem; animation: marquee 28s linear infinite; color: var(--ink-2); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.marquee__track span::before { content: "✦"; margin-right: 3rem; color: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }

.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.problem { min-height: 275px; padding: 1.7rem; background: var(--white); }
.problem__number { display: block; margin-bottom: 3.4rem; color: var(--orange); font: 600 .8rem "Manrope"; }
.problem h3 { margin-bottom: .8rem; }
.problem p { color: var(--muted); font-size: .93rem; }

.system { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: start; }
.system__intro { position: sticky; top: 120px; }
.system__list { border-top: 1px solid rgba(255,255,255,.18); }
.system-step { display: grid; grid-template-columns: 60px 1fr; gap: 1rem; padding: 2rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.system-step__num { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #f0b28e; font-weight: 700; }
.system-step p { margin: .6rem 0 0; color: rgba(255,255,255,.64); }

.outcomes { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.2rem; }
.outcome-main, .outcome-card { border-radius: var(--radius); }
.outcome-main { min-height: 550px; display: flex; flex-direction: column; justify-content: flex-end; padding: 2.4rem; overflow: hidden; color: #fff; background: linear-gradient(180deg, transparent 20%, rgba(12,42,38,.9)), url("modalmind-window-treatments-hero.png") center/cover; }
.outcome-main p { max-width: 500px; margin-top: 1rem; color: rgba(255,255,255,.75); }
.outcome-stack { display: grid; gap: 1.2rem; }
.outcome-card { display: flex; flex-direction: column; justify-content: space-between; padding: 2rem; background: var(--green-light); }
.outcome-card:nth-child(2) { color: white; background: var(--orange-dark); }
.outcome-card span { font-size: .76rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; opacity: .7; }
.outcome-card strong { display: block; max-width: 350px; margin-top: 2rem; font: 600 clamp(1.45rem, 2.4vw, 2.1rem)/1.12 "Manrope"; letter-spacing: -.04em; }

.fit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: center; }
.fit-list { display: grid; gap: .8rem; }
.fit-item { display: flex; gap: 1rem; padding: 1.15rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.38); }
.fit-item svg { flex: 0 0 auto; width: 24px; height: 24px; color: var(--orange); }
.fit-item strong { display: block; margin-bottom: .15rem; }
.fit-item span { color: var(--muted); font-size: .9rem; }

.cta-band { padding: 5.5rem 0; color: #fff; background: var(--orange-dark); }
.cta-band__inner { display: flex; align-items: end; justify-content: space-between; gap: 3rem; }
.cta-band h2 { max-width: 800px; }

.page-hero { padding: 7rem 0 5rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 950px; font-size: clamp(3.4rem, 7vw, 6.5rem); }
.page-hero .lede { margin-top: 1.6rem; }
.page-hero--dark { color: #fff; background: var(--green); }
.page-hero--dark .lede { color: rgba(255,255,255,.68); }
.page-hero--image { position: relative; min-height: 620px; display: grid; align-items: end; overflow: hidden; color: white; }
.page-hero--image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,42,39,.94), rgba(14,42,39,.28)), url("modalmind-window-treatments-hero.png") center/cover; }
.page-hero--image .container { position: relative; z-index: 1; padding-bottom: 5rem; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service-card { position: relative; min-height: 350px; padding: 2rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.service-card::after { content: ""; position: absolute; right: -45px; bottom: -45px; width: 140px; height: 140px; border: 1px solid var(--line); border-radius: 50%; }
.service-card__icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 4rem; border-radius: 14px; color: var(--orange-dark); background: #f7dfd2; }
.service-card__icon svg { width: 23px; height: 23px; }
.service-card p { color: var(--muted); }
.service-card ul { padding-left: 1.15rem; color: var(--muted); font-size: .9rem; }

.story { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.story__aside { padding: 2rem; border-radius: var(--radius); color: #fff; background: var(--green); }
.story__aside blockquote { margin: 0; font: 600 1.75rem/1.25 "Manrope"; letter-spacing: -.04em; }
.story__aside p { margin: 1.5rem 0 0; color: rgba(255,255,255,.65); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 4rem; }
.value { padding: 1.6rem; border-top: 3px solid var(--orange); background: var(--white); }
.value p { margin: .65rem 0 0; color: var(--muted); }

.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 5rem; align-items: start; }
.contact-details { position: sticky; top: 120px; }
.contact-detail { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.contact-detail span { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-detail a, .contact-detail strong { font-size: 1.05rem; font-weight: 600; }
.form-shell { padding: 2.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.form-shell--embed { padding: 0; overflow: hidden; }
.ghl-form-embed { display: block; width: 100%; min-height: 928px; border: 0; border-radius: 3px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.15rem; }
.field label { display: block; margin-bottom: .4rem; font-weight: 700; font-size: .88rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .75rem .9rem; border: 1px solid #c9cfca; border-radius: 10px; color: var(--ink); background: #fff; font: inherit; }
.field textarea { min-height: 135px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(216,102,61,.17); border-color: var(--orange); }
.optional { color: var(--muted); font-weight: 400; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: .65rem; margin: 1rem 0; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.consent input { width: 17px; height: 17px; margin-top: .15rem; accent-color: var(--green); }
.consent a { color: var(--ink); }
.form-note { color: var(--muted); font-size: .75rem; }
#form-status { min-height: 1.5rem; margin: 1rem 0 0; font-weight: 600; }
#form-status.is-success { color: #277045; }

.legal { max-width: 820px; }
.legal h2 { margin: 3.5rem 0 1rem; font-size: 2rem; }
.legal h3 { margin: 2rem 0 .7rem; }
.legal p, .legal li { color: #475955; }
.legal li { margin-bottom: .55rem; }
.legal .notice { padding: 1.2rem; border-left: 4px solid var(--orange); background: var(--paper-2); }

.site-footer { padding: 4.5rem 0 1.5rem; color: #fff; background: #102f2c; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .7fr .7fr 1fr; gap: 3rem; }
.footer-brand p { max-width: 320px; margin-top: 1rem; color: rgba(255,255,255,.6); }
.footer-title { margin-bottom: 1rem; color: rgba(255,255,255,.45); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: .65rem; }
.footer-links a { width: fit-content; color: rgba(255,255,255,.8); text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: #f0b28e; }
.footer-meta { display: flex; justify-content: space-between; gap: 2rem; margin-top: 3.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.45); font-size: .75rem; }
.placeholder { display: none !important; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; inset: 76px 0 auto; display: none; padding: 1.5rem 20px 2rem; border-bottom: 1px solid var(--line); background: var(--paper); flex-direction: column; align-items: flex-start; }
  .site-nav.is-open { display: flex; }
  .site-nav .button { width: 100%; }
  .hero { min-height: 690px; }
  .hero::before { background: linear-gradient(90deg, rgba(15,45,41,.96), rgba(15,45,41,.72)), url("modalmind-window-treatments-hero.png") 62% center/cover; }
  .section-head, .system, .fit-grid, .story, .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .system__intro, .contact-details { position: static; }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .outcomes { grid-template-columns: 1fr; }
  .cards-3, .values { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .announcement { font-size: .7rem; }
  .brand span { font-size: .92rem; }
  .hero__inner { padding: 6.5rem 0 3rem; }
  .hero__proof { gap: 1rem; flex-wrap: wrap; margin-top: 3.5rem; }
  .hero__proof div { width: calc(50% - .5rem); }
  .section { padding: 5rem 0; }
  .section-head { margin-bottom: 2.5rem; }
  .problem-grid, .cards-3, .values, .field-grid { grid-template-columns: 1fr; }
  .problem { min-height: auto; }
  .problem__number, .service-card__icon { margin-bottom: 2rem; }
  .cta-band__inner { align-items: flex-start; flex-direction: column; }
  .page-hero { padding: 5rem 0 3.5rem; }
  .form-shell { padding: 1.25rem; }
  .form-shell--embed { padding: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-meta { flex-direction: column; }
}

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