/* allyoumean.com: the app's own brand (app/globals.css), as a small static site. No web fonts are loaded: the
   app uses Georgia for headings and the device's sans-serif for text, and so does this. */
:root {
  --background: #f8f3ea;
  --foreground: #332436;
  --card: #fffdf9;
  --primary: #3a253d;
  --primary-foreground: #fffaf2;
  --secondary: #e7d5cf;
  --muted: #eee7dc;
  --muted-foreground: #70666f;
  --accent: #df7162;
  --accent-ink: #b44c3f;
  --sage: #82927a;
  --border: #d9cfc3;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --shell: min(1120px, calc(100% - 32px));
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--background); color: var(--foreground); font: 17px/1.6 var(--font-sans); overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 6.4vw, 68px); }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--accent-ink); }
h2 { font-size: clamp(30px, 4.4vw, 46px); }
h3 { font-size: 22px; letter-spacing: -.01em; }
p { margin: 0; }
.shell { width: var(--shell); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 20; background: var(--primary); color: var(--primary-foreground); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Brand lockup: the same mark and wordmark as the app */
.wordmark { --brand-ink: #332436; --brand-coral: #df7162; --brand-sage: #82927a; --brand-surface: #f8f3ea; display: inline-flex; align-items: center; gap: 10px; color: var(--brand-ink); text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: 0 0 auto; overflow: visible; }
.brand-words { display: inline-flex; align-items: baseline; color: var(--brand-ink); font: 700 16px/1 var(--font-serif); letter-spacing: .045em; white-space: nowrap; }
.brand-join { width: 20px; height: 10px; margin: 0 4px 0 3px; overflow: visible; }
.brand-join path { fill: none; stroke: var(--brand-coral); stroke-linecap: round; stroke-width: 2.2; }
.brand-portrait-o { position: relative; width: .82em; height: 1.04em; margin: 0 .01em 0 .025em; display: inline-block; border: .11em solid currentColor; border-radius: 50%; transform: translateY(.14em); }
.brand-portrait-o::before, .brand-portrait-o::after, .brand-portrait-o i::before, .brand-portrait-o i::after { content: ""; position: absolute; width: .19em; height: .19em; border-radius: 50%; background: var(--brand-coral); }
.brand-portrait-o::before { left: -.17em; top: -.17em; }
.brand-portrait-o::after { right: -.17em; top: -.17em; background: var(--brand-sage); }
.brand-portrait-o i::before { left: -.17em; bottom: -.17em; background: var(--brand-sage); }
.brand-portrait-o i::after { right: -.17em; bottom: -.17em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(248, 243, 234, .94); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--border); }
.header-inner { width: min(1200px, calc(100% - 32px)); margin: 0 auto; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 8px 12px; border-radius: 999px; font-size: 15px; text-decoration: none; color: #4f3a51; }
.site-nav a:hover { background: var(--muted); }
.site-nav a[aria-current="page"] { background: var(--secondary); color: var(--primary); font-weight: 600; }
.site-nav .nav-cta { margin-left: 8px; background: var(--primary); color: var(--primary-foreground); font-weight: 600; }
.site-nav .nav-cta:hover { background: #4d3450; }
.menu-button { display: none; }
@media (max-width: 900px) {
  .menu-button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); background: var(--card); color: var(--foreground); border-radius: 999px; padding: 8px 14px; font: 600 15px var(--font-sans); cursor: pointer; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 18px; background: var(--background); border-bottom: 1px solid var(--border); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; font-size: 17px; }
  .site-nav .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: 600 16px/1.2 var(--font-sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.button-primary { background: var(--primary); color: var(--primary-foreground); }
.button-primary:hover { background: #4d3450; }
.button-quiet { background: var(--card); color: var(--primary); border-color: var(--border); }
.button-quiet:hover { border-color: #bfb2a4; }
.button svg { width: 18px; height: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--accent-ink); font: 700 12px/1.2 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lede { font: 20px/1.55 var(--font-serif); color: #5e4f5f; max-width: 640px; }
section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p:not(.eyebrow) { margin-top: 14px; color: var(--muted-foreground); font-size: 18px; }
.band { background: var(--card); border-block: 1px solid var(--border); }
.band-dark { background: var(--primary); color: var(--primary-foreground); }
.band-dark .eyebrow { color: #f0a597; }
.band-dark .lede, .band-dark .section-head p:not(.eyebrow) { color: #e3d6e0; }

/* Hero */
.hero { padding-top: clamp(32px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lede { margin-bottom: 30px; }
.hero-note { margin-top: 18px; color: var(--muted-foreground); font-size: 15px; }
.hero-note strong { color: var(--foreground); }
.film-frame { position: relative; width: min(340px, 100%); margin-inline: auto; aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden; background: #2b1e2e; box-shadow: 0 30px 60px -28px rgba(58, 37, 61, .55), 0 0 0 10px #fffdf9, 0 0 0 11px var(--border); }
.film-frame video, .film-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-covers { position: relative; width: min(380px, 100%); margin-inline: auto; aspect-ratio: 4 / 5; }
.hero-covers img { position: absolute; width: 62%; border-radius: 6px; box-shadow: 0 24px 40px -22px rgba(51, 36, 54, .6); }
.hero-covers img:nth-child(1) { left: 0; top: 10%; transform: rotate(-6deg); }
.hero-covers img:nth-child(2) { right: 0; top: 0; transform: rotate(5deg); }
.hero-covers img:nth-child(3) { left: 19%; top: 24%; z-index: 2; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 26px; }
.band .steps li { background: var(--background); }
.steps li::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 18px; color: var(--accent-ink); font: italic 400 34px/1 var(--font-serif); }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted-foreground); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Two-column feature rows */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split + .split { margin-top: clamp(48px, 7vw, 80px); }
.split.reverse > :first-child { order: 2; }
.split p + p { margin-top: 14px; }
.split .copy p:not(.eyebrow) { color: #5f5360; }
.split h2 { margin-bottom: 18px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 16px; height: 9px; border-left: 2.5px solid var(--sage); border-bottom: 2.5px solid var(--sage); transform: rotate(-45deg); }
.band-dark .ticks li::before { border-color: #a8b99e; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pair img { border-radius: 6px; box-shadow: 0 18px 34px -22px rgba(51, 36, 54, .55); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* Cards and prices */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted-foreground); }
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 880px; }
.price { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 26px; padding: 30px; display: flex; flex-direction: column; }
.price.featured { border: 2px solid var(--primary); }
.price .tag { position: absolute; top: -13px; left: 26px; background: var(--primary); color: var(--primary-foreground); font: 700 12px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.price h3 { font-size: 26px; }
.price .amount { margin: 14px 0 4px; font: 700 52px/1 var(--font-serif); letter-spacing: -.03em; }
.price .per { color: var(--muted-foreground); font-size: 15px; }
.price .ticks { margin: 22px 0 0; }
.band-dark .price { color: var(--foreground); }
@media (max-width: 720px) { .prices { grid-template-columns: 1fr; } }
.notice { display: flex; gap: 14px; align-items: flex-start; max-width: 880px; margin-top: 24px; padding: 18px 20px; border-radius: 18px; background: #efe3d6; color: #4f3a51; }
.notice strong { color: var(--primary); }

/* Gallery */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.gallery-filters a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); text-decoration: none; font-size: 15px; }
.gallery-filters a:hover { border-color: #bfb2a4; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px 20px; list-style: none; margin: 0; padding: 0; }
.style-card button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; color: inherit; font: inherit; }
.style-card .cover { position: relative; aspect-ratio: 612 / 792; border-radius: 6px; overflow: hidden; box-shadow: 0 18px 30px -20px rgba(51, 36, 54, .55), 0 0 0 1px rgba(51, 36, 54, .08); transition: transform .2s ease; }
.style-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.style-card button:hover .cover { transform: translateY(-3px); }
.style-card .style-name { display: block; margin-top: 14px; font: 700 19px/1.2 var(--font-serif); letter-spacing: -.01em; }
.style-card .mood { display: block; margin-top: 4px; color: var(--accent-ink); font-weight: 600; font-size: 13px; letter-spacing: .02em; }
.style-card .look { display: block; margin-top: 2px; color: var(--muted-foreground); font-size: 14.5px; line-height: 1.45; }
.gallery-group + .gallery-group { margin-top: 64px; }
.gallery-group > h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 8px; }
.gallery-group > p { color: var(--muted-foreground); margin-bottom: 28px; max-width: 640px; }
.strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.strip img { border-radius: 5px; box-shadow: 0 14px 26px -18px rgba(51, 36, 54, .55); }
@media (max-width: 820px) { .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Style viewer */
dialog.viewer { width: min(980px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 22px; background: var(--card); color: var(--foreground); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
dialog.viewer::backdrop { background: rgba(43, 30, 46, .72); }
.viewer-inner { padding: 22px; display: grid; gap: 18px; }
.viewer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.viewer-top p { color: var(--muted-foreground); }
.viewer-close { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--background); font-size: 24px; line-height: 1; cursor: pointer; color: var(--foreground); }
.viewer-pages { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.viewer-pages figure { margin: 0; }
.viewer-pages img { width: 100%; border-radius: 6px; box-shadow: 0 0 0 1px rgba(51, 36, 54, .1); }
.viewer-pages figcaption { margin-top: 8px; font-size: 14px; color: var(--muted-foreground); }
.viewer-nav { display: flex; justify-content: space-between; gap: 12px; }
@media (max-width: 640px) { .viewer-pages { grid-template-columns: 1fr; } .viewer-inner { padding: 16px; } }

/* FAQ */
.faq { max-width: 820px; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 34px 20px 0; position: relative; font: 700 19px/1.35 var(--font-serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; font: 400 26px/1 var(--font-sans); color: var(--accent-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 20px; color: #5f5360; }
.faq details > div p + p { margin-top: 10px; }
.faq-group + .faq-group { margin-top: 44px; }
.faq-group > h2 { font-size: 28px; margin-bottom: 16px; }

/* Prose pages */
.prose { max-width: 720px; }
.prose h2 { font-size: 30px; margin: 44px 0 14px; }
.prose p, .prose li { color: #4f4450; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.page-head { padding-bottom: 24px; }
.page-head h1 { margin-bottom: 18px; }
.contact-card { display: grid; gap: 6px; max-width: 520px; margin-top: 22px; padding: 24px; border-radius: 22px; background: var(--card); border: 1px solid var(--border); }
.contact-card a { font: 700 22px var(--font-serif); color: var(--primary); }
.film-wide { aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #2b1e2e; box-shadow: 0 30px 60px -30px rgba(58, 37, 61, .55); }
.film-wide video { width: 100%; height: 100%; object-fit: cover; }

/* Closing call and footer */
.closing { text-align: center; }
.closing h2 { max-width: 760px; margin: 0 auto 16px; }
.closing p { max-width: 600px; margin: 0 auto 28px; color: var(--muted-foreground); font-size: 18px; }
.closing .actions { justify-content: center; }
.site-footer { padding: 48px 0 40px; border-top: 1px solid var(--border); font-size: 15px; color: var(--muted-foreground); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.footer-grid h2 { font: 700 13px var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--foreground); margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--foreground); text-decoration: underline; }
.footer-brand p { margin-top: 14px; max-width: 300px; }
.footer-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Small helpers (inline style attributes are blocked by the content security policy) */
.after { margin-top: 28px; }
.after-sm { margin-top: 18px; }
section.flush { padding-top: 0; }
.prose h2.flush-top { margin-top: 0; }
.steps-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.band-dark h2 em { color: #f0a597; }
#viewer-title { font-size: 28px; }
.band-dark .copy p:not(.eyebrow) { color: #e3d6e0; }
@media (max-width: 560px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .style-card .style-name { font-size: 17px; margin-top: 10px; }
  .style-card .look { font-size: 13.5px; }
}
[id] { scroll-margin-top: 88px; }
