/* Website Agency — public homepage preview. Original art direction. */
:root {
  --ink: #141413;
  --ink-2: #3d3a36;
  --muted: #6b665f;
  --paper: #f6f3ee;
  --paper-2: #ece7df;
  --line: rgb(20 20 19 / .12);
  --accent: #ff4d1f;
  --accent-ink: #b82e0b;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  /* flower artwork colours shared with the sample */
  --rose: #b8405c; --blush: #e8b4b2; --peach: #eca37f; --cream: #f2e2c4; --wax: #f7e9ef; --euc: #7f9c90;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.agency { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); overflow-x: clip; }
a { color: inherit; }
svg { display: block; max-width: 100%; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.shell { width: min(1240px, 100% - 32px); margin-inline: auto; }
.small { font-size: .875rem; color: var(--muted); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.c-rose { color: var(--rose); } .c-blush { color: var(--blush); } .c-peach { color: var(--peach); }
.c-cream { color: var(--cream); } .c-wax { color: var(--wax); } .c-euc { color: var(--euc); }

.preview-bar { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 8px 16px; background: var(--ink); color: #e7e3dc; font-size: .8125rem; line-height: 1.4; }
.preview-bar a { color: #fff; font-weight: 600; text-decoration: none; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.mark { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-weight: 800; font-size: 1.125rem; letter-spacing: -.02em; text-decoration: none; }
.name-tag { padding: 2px 8px; border: 1px dashed var(--muted); border-radius: 999px; font-size: .625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.top nav { display: flex; align-items: center; gap: 22px; font-size: .9375rem; font-weight: 500; }
.top nav a { text-decoration: none; }
.top nav a:not(.top-cta):hover { text-decoration: underline; text-underline-offset: 4px; }
.top-cta { padding: 9px 16px; border-radius: 999px; background: var(--ink); color: var(--paper) !important; font-weight: 700; }

.eyebrow { margin: 0 0 18px; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
h2 { margin: 0; font: 800 clamp(2rem, 4.6vw, 3.75rem)/1 var(--sans); letter-spacing: -.035em; text-wrap: balance; }
h2 em, h1 em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.02em; }

/* Hero */
.hero { padding: clamp(48px, 9vw, 120px) 0 clamp(56px, 8vw, 112px); }
.hero h1 { margin: 0; font: 800 clamp(3.1rem, 10.4vw, 9.75rem)/.9 var(--sans); letter-spacing: -.055em; }
.hero h1 .line { display: block; }
.hero h1 em { color: var(--accent); padding-right: .04em; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 36rem) auto; justify-content: space-between; align-items: end; gap: 28px 48px; margin-top: clamp(32px, 5vw, 64px); }
.lede { margin: 0; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--ink-2); }
.cta { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 14px 28px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 1.0625rem; text-decoration: none; white-space: nowrap; transition: transform .2s, background .2s; }
.cta:hover { background: var(--accent-ink); transform: translateY(-2px); }

/* Before / after — static default: half-and-half split */
.transform { background: var(--ink); color: #f1ede6; }
.t-stage { padding: clamp(64px, 9vw, 112px) 0; }
.t-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.transform .eyebrow { color: #ff8a66; }
.transform h2 { color: #fff; }
.transform h2 em { color: #ff8a66; }
.t-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 22px; }
.t-step h3 { margin: 0 0 6px; font-size: 1.1875rem; font-weight: 700; letter-spacing: -.01em; }
.t-step p { margin: 0; color: #bdb7ae; }
.t-note { margin: 24px 0 0; font-size: .8125rem; color: #9c968d; }
.browser { border-radius: 14px; overflow: hidden; background: #2a2926; box-shadow: 0 40px 80px -40px rgb(0 0 0 / .8), 0 0 0 1px rgb(255 255 255 / .08); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #55524c; }
.browser-bar .url { margin-left: 12px; padding: 3px 14px; border-radius: 999px; background: #1d1c1a; color: #a29d94; font-size: .75rem; }
.screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; container-type: inline-size; background: #fff; }
.after-layer { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.wipe { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: var(--accent); box-shadow: 0 0 0 6px rgb(255 77 31 / .18); }
.labels { display: flex; justify-content: space-between; margin-top: 12px; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.lbl-after { color: #ff8a66; order: -1; } .lbl-before { color: #9c968d; }

/* Mock: before */
.mock { position: absolute; inset: 0; }
.mock-before { background: #fffef4; color: #222; font: 1.55cqi/1.35 "Times New Roman", Times, serif; }
.b-top { padding: 1.6cqi; background: #2f62a3; color: #ff0; font: 700 2.4cqi/1.1 Arial, sans-serif; text-align: center; }
.b-nav { display: flex; gap: .4cqi; padding: .6cqi; background: #c9c9c9; }
.b-nav span { padding: .5cqi 1.4cqi; background: #e9e9e9; border: .25cqi outset #fff; font: 700 1.3cqi Arial, sans-serif; color: #00c; text-decoration: underline; }
.b-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2cqi; padding: 2.4cqi; }
.b-h { margin: 0 0 1cqi; font: 700 3.2cqi/1 "Comic Sans MS", "Chalkboard SE", "Times New Roman", serif; color: #c00; }
.mock-before p { margin: 0 0 1.2cqi; }
.b-small { font-size: 1.25cqi; color: #777; }
.b-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1cqi; }
.b-gallery span { aspect-ratio: 1; background: repeating-linear-gradient(45deg, #ddd 0 .8cqi, #e8e8e8 .8cqi 1.6cqi); border: .3cqi solid #999; }

/* Mock: after */
.mock-after { background: #f4efe6; color: #1d2721; font: 1.35cqi/1.5 var(--sans); display: grid; grid-template-rows: auto 1fr auto; }
.a-nav { display: flex; align-items: center; justify-content: space-between; padding: 2.2cqi 4cqi; }
.a-logo { font: 400 2.4cqi/1 var(--serif); } .a-logo em { color: #7a1f33; }
.a-links { display: flex; align-items: center; gap: 2.4cqi; }
.a-pill { padding: .8cqi 1.8cqi; border-radius: 99cqi; background: #1d2721; color: #f4efe6; font-weight: 700; }
.a-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3cqi; align-items: center; padding: 0 4cqi; }
.a-kick { margin: 0 0 1.4cqi; font-size: 1.05cqi; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #7a1f33; }
.a-h { margin: 0; font: 400 5.6cqi/.98 var(--serif); letter-spacing: -.02em; }
.a-h em { color: #7a1f33; }
.a-sub { margin: 1.8cqi 0 2.4cqi; max-width: 30em; color: #46524b; }
.a-btn { display: inline-block; padding: 1.2cqi 2.6cqi; border-radius: 99cqi; background: #7a1f33; color: #fff; font-weight: 700; }
.a-art { aspect-ratio: 4 / 5; border-radius: 99cqi 99cqi 2cqi 2cqi; overflow: hidden; background: radial-gradient(120% 90% at 30% 20%, #fbf7f0, #e6dccb 70%); max-height: 34cqi; justify-self: end; width: 100%; }
.a-art svg { width: 135%; max-width: none; margin: 8% 0 0 -18%; }
.a-strip { display: flex; justify-content: space-around; padding: 1.8cqi 4cqi; background: #1d2721; color: #e9e4da; font-weight: 600; }

@container (max-width: 520px) {
  .mock-before { font-size: 3.2cqi; }
  .b-top { font-size: 4.2cqi; padding: 3cqi; }
  .b-nav { flex-wrap: wrap; } .b-nav span { font-size: 2.8cqi; padding: 1cqi 2cqi; }
  .b-body { grid-template-columns: 1fr; padding: 4cqi; }
  .b-h { font-size: 6cqi; }
  .b-small { font-size: 2.6cqi; }
  .b-gallery { grid-template-columns: repeat(4, 1fr); }
  .mock-after { font-size: 2.9cqi; }
  .a-nav { padding: 4cqi 5cqi; } .a-logo { font-size: 5cqi; } .a-links > span:not(.a-pill) { display: none; }
  .a-pill { padding: 1.6cqi 3cqi; }
  .a-hero { grid-template-columns: 1fr; padding: 0 5cqi; gap: 4cqi; }
  .a-art { order: -1; width: 46%; max-height: none; justify-self: start; border-radius: 99cqi; aspect-ratio: 1; }
  .a-kick { font-size: 2.3cqi; margin-bottom: 2cqi; } .a-h { font-size: 10cqi; } .a-sub { margin: 3cqi 0 4cqi; }
  .a-btn { padding: 2.4cqi 5cqi; }
  .a-strip { font-size: 2.6cqi; padding: 3.4cqi 4cqi; gap: 3cqi; }
}

/* Scroll-driven wipe */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .transform { height: 280vh; view-timeline: --wipe block; }
    .t-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; padding: 72px 0 24px; overflow: hidden; }
    .t-steps { position: relative; display: block; min-height: 8.5rem; }
    .t-step { position: absolute; inset: 0 0 auto 0; }
    .after-layer, .wipe, .t-step, .lbl-before, .lbl-after { animation-timeline: --wipe; animation-fill-mode: both; animation-timing-function: linear; animation-duration: 1ms; }
    .after-layer { animation-name: reveal; animation-range: contain 18% contain 78%; }
    .wipe { animation-name: sweep; animation-range: contain 18% contain 78%; }
    .t1 { animation-name: hold-then-out; animation-range: contain 0% contain 46%; }
    .t2 { animation-name: in-then-hold; animation-range: contain 50% contain 100%; }
    .lbl-before { animation-name: hold-then-out; animation-range: contain 0% contain 60%; }
    .lbl-after { animation-name: in-then-hold; animation-range: contain 40% contain 100%; }
  }
}
@keyframes reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes sweep { 0% { left: 0; opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes hold-then-out { 0%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-12px); } }
@keyframes in-then-hold { 0% { opacity: 0; transform: translateY(12px); } 20%, 100% { opacity: 1; transform: none; } }

/* How it works */
.how { padding: clamp(72px, 10vw, 136px) 0; }
.how h2 { max-width: 20ch; }
.how-grid { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.how-grid li { padding: 24px 24px 0 0; }
.how-grid li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.how-grid .n { display: block; font: italic 400 1.5rem/1 var(--serif); color: var(--accent-ink); margin-bottom: 18px; }
.how-grid h3 { margin: 0 0 8px; font-size: 1.1875rem; letter-spacing: -.01em; }
.how-grid p { margin: 0; color: var(--ink-2); font-size: .9688rem; }

/* Samples */
.work { padding: 0 0 clamp(72px, 10vw, 136px); }
.work-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.work-note { max-width: 24rem; margin: 0; font-size: .875rem; color: var(--muted); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.sample h3 { margin: 6px 0 6px; font-size: 1.375rem; letter-spacing: -.02em; }
.sample p { margin: 0; color: var(--ink-2); }
.sample-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px !important; font-size: .8125rem; color: var(--muted) !important; }
.fict { padding: 1px 8px; border-radius: 999px; border: 1px dashed currentColor; font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sample-art { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; }
.sample-art span { position: absolute; }
.s-fern .sample-art { background: #e9e1d2; }
.s-fern .sample-art span { width: 52%; aspect-ratio: 1; left: 24%; top: 18%; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #7a1f33 0 18%, #b8405c 19% 44%, #e8b4b2 45% 70%, #7f9c90 71%); }
.s-tide .sample-art { background: #12324a; }
.s-tide .sample-art span { width: 64%; aspect-ratio: 1; left: 18%; top: 22%; border-radius: 50%; border: 14px solid #f2a541; box-shadow: inset 0 0 0 10px #12324a, inset 0 0 0 18px #f2a541; }
.s-morrow .sample-art { background: #efd9c4; }
.s-morrow .sample-art span { width: 46%; height: 78%; left: 27%; bottom: 0; border-radius: 999px 999px 0 0; background: linear-gradient(#c86b4a, #9d4a30); }

/* Promise */
.promise { padding: clamp(64px, 9vw, 112px) 0; background: var(--paper-2); }
.promise-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.promise ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.promise li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; color: var(--ink-2); }
.promise li:first-child { padding-top: 0; }
.promise strong { color: var(--ink); }

/* Start */
.start { padding: clamp(72px, 10vw, 136px) 0; scroll-margin-top: 64px; }
.start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.start h2 { font-size: clamp(2.5rem, 6vw, 5rem); }
.start .lede { margin-top: 20px; max-width: 30rem; }
.start-card { margin: 0; padding: 28px; border-radius: 22px; background: var(--ink); color: #f1ede6; display: grid; gap: 0; }
.start-card div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgb(255 255 255 / .12); }
.start-card div:last-child { border-bottom: 0; }
.start-card dt { font-weight: 700; } .start-card dd { margin: 0; text-align: right; }
.tbc { color: #bdb7ae; }
.tbc-tag { display: inline-block; padding: 1px 8px; border-radius: 999px; border: 1px dashed currentColor; font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: 1px; }

.foot { padding: 40px 0 56px; border-top: 1px solid var(--line); }
.foot .small { max-width: 50rem; margin: 10px 0 0; }

@media (max-width: 960px) {
  .t-grid, .promise-grid, .start-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .how-grid li:nth-child(3) { padding-left: 0; border-left: 0; }
  .work-grid { grid-template-columns: 1fr; }
  .hero-foot { grid-template-columns: 1fr; }
  .screen { aspect-ratio: 4 / 5; }
}
@media (max-width: 960px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .t-stage { padding-top: 76px; align-items: start; }
    .t-grid { gap: 16px; }
    .transform h2 { font-size: 1.75rem; }
    .t-copy .eyebrow { margin-bottom: 10px; }
    .t-steps { margin-top: 14px; min-height: 6.5rem; }
    .t-step p { font-size: .875rem; }
    .t-note { display: none; }
    .t-frame-wrap { width: min(100%, calc(52svh * .8)); justify-self: center; }
  }
}
@media (max-width: 600px) {
  .top nav a:not(.top-cta) { display: none; }
  .name-tag { display: none; }
  .how-grid { grid-template-columns: 1fr; }
  .how-grid li, .how-grid li + li { padding: 22px 0 0; border-left: 0; }
  .cta { width: 100%; justify-content: center; }
  .start-card { padding: 22px; }
  .start-card div { flex-direction: column; gap: 4px; }
  .start-card dd { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta { transition: none; }
}

/* Pricing */
.pricing { padding: 0 0 clamp(72px, 10vw, 136px); scroll-margin-top: 64px; }
.pricing h2 { max-width: 18ch; }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.price { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.price h3 { margin: 0; font-size: 1.0625rem; letter-spacing: -.01em; }
.price .amount { margin: 0; font: 800 clamp(2rem, 3.4vw, 2.75rem)/1 var(--sans); letter-spacing: -.04em; }
.price .amount span { display: block; margin-bottom: 6px; font: 600 .75rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.price .amount small { font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.price p:last-child { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.price-free { background: var(--accent); color: #fff; box-shadow: none; }
.price-free p:last-child { color: #fff2ec; }
.price-note { margin: 20px 0 0; font-size: .875rem; color: var(--muted); }
.price-note .tbc { color: var(--muted); }
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .price-grid { grid-template-columns: 1fr; } }

/* Photo guide */
.guide-link { margin: 20px 0 0; font-weight: 700; }
.guide-link a { text-underline-offset: 5px; }
.guide-hero h1 { font-size: clamp(2.8rem, 8vw, 7rem); }
.shots { border-top-color: var(--accent); }
.shots .n { font-family: var(--sans); font-style: normal; font-weight: 800; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.guide .promise .tbc { color: var(--muted); }

/* Homepage film (only rendered once real footage is installed) */
.home-film { background: var(--ink); color: #fff; }
.home-film.sf--live .sf-chapter { left: max(16px, 5vw); right: max(16px, 5vw); bottom: max(40px, 9svh); max-width: 46rem; }
.home-film .sf-chapter h2 { margin: 0; color: #fff; font: 800 clamp(2.2rem, 6vw, 5.5rem)/.94 var(--sans); letter-spacing: -.045em; text-shadow: 0 2px 30px rgb(0 0 0 / .4); }
.home-film .ch-kicker { margin: 0 0 12px; font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #ffb59c; }
.home-film .ch-line { margin: 12px 0 0; max-width: 30rem; color: #f1ede6; text-shadow: 0 1px 12px rgb(0 0 0 / .5); }
.film-label { position: absolute; z-index: 3; top: 76px; right: max(16px, 5vw); margin: 0; padding: 4px 10px; border-radius: 999px;
  background: rgb(0 0 0 / .45); color: #fff; font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.home-film:not(.sf--live) .sf-stage { padding: 48px max(16px, 5vw); }
.home-film:not(.sf--live) .film-label { position: static; display: inline-block; margin-bottom: 20px; }
.home-film:not(.sf--live) .sf-chapter { margin-bottom: 48px; }

/* Simple content pages (privacy, 404) */
.page { max-width: 44rem; padding: 48px 0 72px; }
.page h1 { font-size: clamp(2rem, 6vw, 3rem); margin: 0 0 8px; }
.page h2 { font-size: 1.25rem; margin: 32px 0 8px; }
.page p, .page li { line-height: 1.65; }
.page ul { padding-left: 1.2em; }
.page a { text-underline-offset: 3px; }
.foot .small a { color: inherit; }
