/* Frank & Ovith: one stylesheet, light + dark, phone-first. No links are ever text-decorated. */
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --paper: #f7f2ea;
  --paper-2: #efe6d8;
  --card: #fffdf9;
  --ink: #241f0a;
  --muted: #5c5440;
  --line: #ddd1bf;
  --accent: #584910;
  --accent-ink: #f7f2ea;
  --sand: #c2b19c;
  --forest: #2c2508;
  --tree-1: #b5a382;
  --tree-2: #584910;
  --tree-3: #2c2508;
  --shadow: 0 1px 2px rgb(44 37 8 / .06), 0 12px 32px -12px rgb(44 37 8 / .22);
  --radius: 18px;
  --display: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #14120a;
    --paper-2: #1d1a0f;
    --card: #221e12;
    --ink: #efe7d9;
    --muted: #bcb19b;
    --line: #38321f;
    --accent: #cdbb9f;
    --accent-ink: #1a1709;
    --tree-1: #3d3620;
    --tree-2: #5a4e1c;
    --tree-3: #0d0b04;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 16px 40px -16px rgb(0 0 0 / .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
p { margin: 0 0 1rem; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; letter-spacing: -0.02em; }
h1 { font-weight: 600; font-size: clamp(2.3rem, 6.4vw, 4.4rem); line-height: 1.04; }
h2 { font-weight: 600; font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.1; }
h3 { font-weight: 600; font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.01em; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 12px; top: 12px; background: var(--card); padding: 8px 14px; border-radius: 10px; z-index: 10; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 500; font-size: 1.3rem; letter-spacing: -0.01em; color: var(--accent); }
.brand picture, .brand img { display: block; height: 52px; width: auto; max-width: 100%; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { padding: 8px 12px; border-radius: 999px; font-size: .95rem; color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
@media (max-width: 640px) {
  .bar { padding-block: 8px; gap: 4px; }
  .nav { width: 100%; justify-content: space-between; margin-inline: -8px; }
  .nav a { padding: 8px; font-size: .9rem; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 1rem; border: 1.5px solid var(--accent); transition: transform .15s ease, background-color .15s ease; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { color: var(--accent); }
.btn:hover { transform: translateY(-1px); }
.btn-ghost:hover { background: var(--paper-2); }
.btn svg { width: 18px; height: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 480px) { .actions .btn { flex: 1 1 100%; } }

.eyebrow { display: inline-block; font-family: var(--display); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 36ch; }

/* Sections */
section { padding-block: clamp(56px, 9vw, 112px); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.125rem; margin-top: 14px; }
.tint { background: var(--paper-2); }

/* Hero */
.hero { padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { max-width: 13ch; }
.hero .lede { margin-top: 22px; }
.promise { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.promise li { display: flex; align-items: center; gap: 8px; }
.promise svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* Before / after stage */
.stage { position: relative; min-height: 570px; max-width: 520px; margin-inline: auto; width: 100%; }
.old-site { position: absolute; left: 0; top: 24px; width: 78%; aspect-ratio: 4 / 3; background: #e9e9e9; border: 1px solid #c9c9c9; border-radius: 6px; padding: 14px; font-family: "Times New Roman", Times, serif; color: #333; filter: grayscale(.4); box-shadow: var(--shadow); transform: rotate(-3deg); opacity: .9; }
.old-site .o-head { background: #3355aa; color: #fff; font-size: 15px; padding: 6px 8px; font-weight: 700; }
.old-site .o-marquee { color: #b00; font-size: 11px; margin: 8px 0; font-weight: 700; }
.old-site .o-row { display: grid; grid-template-columns: 30% 1fr; gap: 8px; }
.old-site .o-side { background: #d6d6d6; height: 120px; font-size: 10px; padding: 4px; line-height: 1.6; }
.old-site .o-text { font-size: 10px; line-height: 1.35; }
.old-site .o-foot { position: absolute; bottom: 10px; left: 14px; font-size: 9px; color: #777; }
.tag { position: absolute; z-index: 3; font: 600 .72rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: var(--card); color: var(--muted); border: 1px solid var(--line); }
.tag-before { left: 6px; top: 0; }
.tag-after { right: 6%; top: 18px; background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* Phone mockup */
.phone { position: relative; outline: 1px solid rgb(255 255 255 / .08); width: 236px; aspect-ratio: 9 / 18.5; border-radius: 38px; background: #0f0d06; padding: 9px; box-shadow: 0 30px 60px -20px rgb(20 16 4 / .55), 0 0 0 1px rgb(255 255 255 / .06) inset; }
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 72px; height: 20px; border-radius: 999px; background: #0f0d06; z-index: 2; }
.screen { height: 100%; border-radius: 30px; overflow: hidden; display: flex; flex-direction: column; font-family: var(--body); }
.stage .phone { position: absolute; right: 6%; top: 60px; z-index: 2; }
@media (max-width: 520px) {
  .stage { min-height: 500px; }
  .tag-after { right: 0; top: 30px; }
  .old-site { width: 86%; }
  .stage .phone { width: 200px; right: 0; top: 70px; }
}

/* Mini sites (inside phones and browser frames) */
.mini { --m-bg: #fff; --m-ink: #222; --m-acc: #333; --m-soft: #eee; background: var(--m-bg); color: var(--m-ink); height: 100%; display: flex; flex-direction: column; font-size: 10px; line-height: 1.35; }
.mini .m-nav { display: flex; justify-content: space-between; align-items: center; padding: 34px 14px 10px; font-weight: 700; font-size: 11px; }
.mini .m-nav i { display: block; width: 16px; height: 2px; background: currentColor; box-shadow: 0 4px 0 currentColor, 0 -4px 0 currentColor; }
.mini .m-hero { margin: 0 10px; border-radius: 14px; padding: 18px 14px; background: var(--m-hero, var(--m-acc)); color: var(--m-hero-ink, #fff); min-height: 120px; display: flex; flex-direction: column; justify-content: flex-end; }
.mini .m-hero b { font-family: var(--display); font-size: 17px; line-height: 1.1; letter-spacing: -0.01em; }
.mini .m-hero span { opacity: .85; margin-top: 4px; }
.mini .m-cta { display: flex; gap: 6px; padding: 10px; }
.mini .m-cta span { flex: 1; text-align: center; padding: 9px 4px; border-radius: 999px; font-weight: 700; background: var(--m-acc); color: #fff; }
.mini .m-cta span + span { background: var(--m-soft); color: var(--m-ink); }
.mini .m-list { padding: 0 10px; display: grid; gap: 6px; }
.mini .m-list div { display: flex; justify-content: space-between; padding: 9px 10px; border-radius: 10px; background: var(--m-soft); }
.mini .m-tabs { display: flex; gap: 4px; padding: 2px 10px 8px; }
.mini .m-tabs span { padding: 5px 9px; border-radius: 999px; background: var(--m-soft); font-weight: 600; }
.mini .m-tabs span:first-child { background: var(--m-ink); color: var(--m-bg); }

.bakery { --m-bg: #fbf4ec; --m-ink: #3a1d12; --m-acc: #b8325a; --m-soft: #f2e2d3; --m-hero: linear-gradient(160deg, #e9a8a0, #b8325a); }
.plumb { --m-bg: #f4f7fb; --m-ink: #0f2340; --m-acc: #f26a1b; --m-soft: #e3eaf3; --m-hero: linear-gradient(160deg, #1c3d6e, #0f2340); }
.auto { --m-bg: #17181a; --m-ink: #f3f3f1; --m-acc: #f4c430; --m-soft: #26282c; --m-hero: linear-gradient(160deg, #3a3d42, #17181a); }
.auto .m-cta span { color: #17181a; }
.auto .m-cta span + span { color: #f3f3f1; }

/* Feature grid */
.grid-3 { display: grid; gap: 18px; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 18px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 10px 0 0; }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--paper-2); color: var(--accent); margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; }

/* Who it's for */
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li { padding: 12px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 500; }

/* Showcase */
.showcase { display: grid; gap: 22px; }
@media (min-width: 980px) { .showcase { grid-template-columns: repeat(3, 1fr); } }
.show { background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.show-art { position: relative; padding: 26px 0 0; display: flex; justify-content: center; background: var(--paper-2); min-height: 330px; overflow: hidden; }
.show-art .phone { width: 196px; margin-bottom: -96px; }
.show-art .tag { left: 14px; top: 14px; }
.show-body { padding: 22px 24px 26px; }
.show-body p { color: var(--muted); margin: 8px 0 0; }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; color: var(--muted); font-size: .97rem; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 4px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 900px) { .steps.row { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 600 1rem/1 var(--display); margin-bottom: 16px; }
.steps p { color: var(--muted); margin: 8px 0 0; }

/* Pricing */
.prices { display: grid; gap: 18px; }
@media (min-width: 720px) { .prices { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .prices { grid-template-columns: repeat(2, 1fr); } }
.price { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.price.pick { border: 2px solid var(--accent); }
.price .badge { position: absolute; top: -13px; left: 24px; margin: 0; font: 600 .72rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: 7px 10px; border-radius: 999px; }
.price h3 { font-size: 1.15rem; }
.amount { white-space: nowrap; font-family: var(--display); font-weight: 600; font-size: clamp(2.4rem, 3.4vw, 3rem); letter-spacing: -0.03em; line-height: 1; margin: 14px 0 4px; }
.amount small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price p { color: var(--muted); }
.price .ticks { margin-top: auto; padding-top: 14px; }
.terms { margin-top: 28px; display: grid; gap: 12px; }
@media (min-width: 760px) { .terms { grid-template-columns: repeat(3, 1fr); } }
.term { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: var(--paper-2); }
.term svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.term b { display: block; }
.term span { color: var(--muted); font-size: .95rem; }

/* FAQ (details/summary, no JS) */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 1.4rem/1 var(--display); color: var(--accent); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* Two lists: what we need / never need */
.needs ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.needs li { display: flex; gap: 10px; align-items: flex-start; }
.needs svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--accent); }

/* Contact */
.mail-card { text-align: center; padding: clamp(32px, 6vw, 64px) 24px; }
.mail-card .addr { font-family: var(--display); font-weight: 600; font-size: clamp(1.05rem, 3.6vw, 1.9rem); letter-spacing: -0.01em; word-break: break-word; color: var(--accent); display: block; margin: 14px 0 26px; }

/* Prose (privacy) */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2rem; }
.prose a { color: var(--accent); font-weight: 600; }

/* Closing band + treeline */
.closing { position: relative; padding-bottom: 0; background: var(--paper-2); overflow: hidden; }
.closing .wrap { position: relative; z-index: 1; text-align: center; padding-bottom: clamp(20px, 4vw, 40px); }
.closing h2 { max-width: 20ch; margin-inline: auto; }
.closing p { color: var(--muted); margin: 14px auto 0; max-width: 46ch; }
.closing .actions { justify-content: center; }
.treeline { width: 100%; height: clamp(90px, 14vw, 180px); display: block; margin-top: 24px; }
.treeline .t1 { fill: var(--tree-1); }
.treeline .t2 { fill: var(--tree-2); }
.treeline .t3 { fill: var(--tree-3); }

/* Footer */
.site-footer { background: var(--tree-3); color: #d9cdb7; padding: 36px 0 44px; font-size: .95rem; }
.site-footer .bar { align-items: flex-start; gap: 20px; }
.site-footer .brand { color: var(--sand); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer nav a { color: #d9cdb7; }
.site-footer nav a:hover { color: #fff; }
.site-footer small { display: block; color: #a99c82; margin-top: 18px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.mail-card .icon { margin-inline: auto; }
.mail-card .note { color: var(--muted); margin: 24px auto 0; max-width: 44ch; }
.closing.page-top .wrap { padding-top: clamp(56px, 9vw, 112px); }

/* Boss 10-08 22:59 (C44F3032): dark mode shows the logo inverted (his olive ink) on a bubble the colour of the See pricing button */
@media (prefers-color-scheme: dark) {
  .brand { background: var(--accent); border-radius: 999px; padding: 2px 16px 2px 8px; }
  .brand img { display: block; }
}
