/* Plainlight Studio: Concept B, refined. Mobile-first. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --paper: #FAF8F5;
  --surface: #FFFFFF;
  --ink: #1C1B19;
  --muted: #5E5B55;
  --slate: #24456E;
  --slate-dark: #1A3354;
  --slate-tint: #EEF2F7;
  --amber: #E8A33D;
  --amber-hover: #D4902A;
  --amber-tint: #FBEBD2;
  --line: #E4E0D8;
  --field: #8A8680;
  --error: #B3261E;
  --success: #1E6B3A;
  --on-slate-muted: #DCE4EE;
  --on-ink-muted: #D9D4CA;

  --pad: 20px;
  --section: 64px;
  --radius-card: 16px;
  --radius-btn: 12px;
  --max: 1120px;
  --header-h: 64px;
}

@media (min-width: 640px) { :root { --pad: 32px; --section: 96px; } }
@media (min-width: 1024px) { :root { --pad: 48px; --section: 112px; } }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}
@media (min-width: 1024px) { body { font-size: 1.125rem; } }

h1, h2, h3 { margin: 0; font-weight: 600; color: var(--ink); }
h1 { font-size: clamp(2.375rem, 1.6rem + 3.2vw, 3.5rem); line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem); line-height: 1.15; letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }

a { color: var(--slate); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--slate-dark); text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--slate); outline-offset: 2px; border-radius: 4px; }

[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: var(--paper); }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: var(--section); }
.section > h2 { margin-bottom: 16px; }
.section-intro { color: var(--muted); max-width: 640px; margin-bottom: 40px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: var(--radius-btn);
  font: inherit; font-size: 1rem; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-hover); color: var(--ink); }
.btn-amber[aria-busy="true"] { opacity: 0.75; cursor: progress; }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { color: var(--slate); border-color: var(--slate); }
.btn-slate { background: var(--slate); color: #FFFFFF; }
.btn-slate:hover { background: var(--slate-dark); color: #FFFFFF; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; font-weight: 500; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; padding: 10px var(--pad); background: var(--paper); }
.header-bar {
  max-width: var(--max); margin: 0 auto; min-height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 6px 6px 18px; position: relative;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; text-decoration: none; font-size: 1.0625rem; }
.brand:hover { color: var(--ink); text-decoration: none; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav-links { list-style: none; margin: 0; padding: 0; display: none; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 0.9375rem; font-weight: 500; }
.nav-links a:hover { color: var(--slate); text-decoration: underline; }
.cta-long { display: none; }
.menu-btn {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}

/* Mobile menu panel */
.nav-links.is-open {
  display: flex; flex-direction: column; gap: 4px;
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 8px;
  box-shadow: 0 16px 32px -20px rgba(28, 27, 25, 0.35);
}
.nav-links.is-open a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 10px; font-size: 1.0625rem; }
.nav-links.is-open a:hover { background: var(--paper); }

@media (min-width: 1024px) {
  .header-bar { padding-left: 22px; }
  .nav { gap: 28px; }
  .nav-links { display: flex; gap: 28px; position: static; }
  .menu-btn { display: none; }
  .cta-long { display: inline; }
  .cta-short { display: none; }
}

/* Hero */
.hero { padding-top: 48px; display: grid; gap: 48px; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px;
  padding: 6px 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
  font-size: 0.875rem; color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 999px; background: var(--amber); }
.lead { margin-top: 20px; font-size: 1.125rem; color: var(--muted); max-width: 560px; }
@media (min-width: 1024px) { .lead { font-size: 1.25rem; } }
.btn-row { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.reassure { margin-top: 20px; font-size: 0.9375rem; color: var(--muted); max-width: 520px; }
@media (min-width: 640px) { .btn-row { flex-direction: row; flex-wrap: wrap; } }

.hero-demo { margin: 0; }
.hero-demo figcaption { margin-top: 12px; font-size: 0.875rem; color: var(--muted); }

@media (min-width: 1024px) {
  .hero { padding-top: 72px; grid-template-columns: 55fr 45fr; gap: 56px; align-items: center; }
}

/* Demo frame (fictional Hollis & Pine mini-site) */
.demo-frame {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 48px -32px rgba(28, 27, 25, 0.4);
  user-select: none;
}
.demo-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #F6F4F0; }
.demo-bar > span { width: 9px; height: 9px; border-radius: 999px; background: #D9D4CA; }
.demo-url { margin-left: 10px; flex: 1; max-width: 220px; font-size: 11px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.demo-site { font-size: 12px; line-height: 1.45; color: #22301F; background: #FBFAF6; }
.demo-nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; }
.demo-logo { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; color: #22301F; }
.demo-nav-btn { font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 6px; background: #2F5D3A; color: #FFFFFF; }
.demo-hero { padding: 10px 16px 14px; }
.demo-kicker { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: #4A5A45; margin-bottom: 6px; }
.demo-h { font-size: 21px; line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; max-width: 300px; }
.demo-p { margin-top: 8px; color: #4A5A45; max-width: 300px; }
.demo-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.demo-btn-primary, .demo-btn-secondary { font-size: 11px; font-weight: 600; padding: 7px 12px; border-radius: 6px; }
.demo-btn-primary { background: #2F5D3A; color: #FFFFFF; }
.demo-btn-secondary { border: 1px solid #2F5D3A; color: #2F5D3A; background: #FFFFFF; }
.demo-art { height: 96px; display: none; }
.demo-art svg { display: block; }
.demo-chips { display: none; gap: 6px; padding: 12px 16px 0; }
.demo-chips span { font-size: 10.5px; padding: 3px 9px; border-radius: 999px; background: #EAF1E6; color: #2F5D3A; font-weight: 500; }
.demo-area { display: none; padding: 8px 16px 14px; font-size: 10.5px; color: #4A5A45; }
@media (min-width: 640px) {
  .demo-art { display: block; }
  .demo-chips { display: flex; }
  .demo-area { display: block; }
  .demo-h { font-size: 24px; }
}

/* Cards and grids */
.grid-3, .grid-4 { display: grid; gap: 20px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px; }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.card-top .icon-tile { margin-bottom: 0; }
@media (min-width: 1024px) { .card { padding: 32px; } }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 1rem; }
.icon-tile { width: 44px; height: 44px; border-radius: 12px; background: var(--slate-tint); color: var(--slate); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.icon-tile-amber { background: var(--amber-tint); color: var(--ink); }
.card .tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--amber-tint); color: var(--ink); font-size: 0.8125rem; font-weight: 500; }

/* Why band */
.band { margin-top: var(--section); background: var(--slate); color: #FFFFFF; }
.band-inner { padding-top: var(--section); padding-bottom: var(--section); }
.band h2 { color: #FFFFFF; max-width: 640px; margin-bottom: 40px; }
.why-list h3 { color: #FFFFFF; font-size: 1.125rem; line-height: 1.35; margin-bottom: 10px; }
.why-list p { color: var(--on-slate-muted); font-size: 1.0625rem; line-height: 1.65; }
.why-list li { padding-top: 20px; border-top: 2px solid rgba(255, 255, 255, 0.25); }
.band :focus-visible { outline-color: var(--amber); }

/* Concept project */
.split { display: grid; gap: 24px; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.split h2 { margin: 12px 0 16px; }
.split p { color: var(--muted); }
.pill-amber { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--amber-tint); color: var(--ink) !important; font-size: 0.875rem; font-weight: 500; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 20px; height: 20px; border-radius: 999px;
  background: var(--slate-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%2324456E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.small-print { margin-top: 20px; font-size: 0.9375rem; }

/* About */
.about-card { display: grid; gap: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
@media (min-width: 640px) { .about-card { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); padding: 40px; gap: 40px; align-items: center; } }
.about-card h2 { margin-bottom: 16px; }
.about-card p { color: var(--muted); }
.about-card p + p { margin-top: 16px; }
/* Text-only About card (no photo yet) */
@media (min-width: 640px) { .about-card.about-card-text { grid-template-columns: minmax(0, 1fr); } }
.about-card-text > div { max-width: 720px; }
.photo-placeholder {
  aspect-ratio: 4 / 5; max-width: 320px; width: 100%; border-radius: 16px; background: #EFEBE4;
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 0.9375rem;
}

/* Process */
.steps { counter-reset: none; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.step h3 { margin: 14px 0 6px; font-size: 1.125rem; }
.step p { color: var(--muted); font-size: 0.9375rem; }
.step-num { display: inline-flex; width: 32px; height: 32px; border-radius: 999px; background: var(--slate); color: #FFFFFF; align-items: center; justify-content: center; font-size: 0.9375rem; font-weight: 600; }
.step-num-amber { background: var(--amber); color: var(--ink); }
.section > .steps { margin-top: 32px; }
.note { margin-top: 24px; color: var(--muted); font-size: 0.9375rem; max-width: 640px; }

/* Contact */
#contact { padding-bottom: var(--section); }
.contact-card { display: grid; gap: 36px; background: var(--ink); color: var(--paper); border-radius: 24px; padding: 32px 22px; }
@media (min-width: 640px) { .contact-card { padding: 48px; } }
@media (min-width: 1024px) { .contact-card { grid-template-columns: 1fr 1fr; gap: 56px; padding: 56px; } }
.contact-card h2 { color: var(--paper); }
.contact-intro p { margin-top: 20px; color: var(--on-ink-muted); }
.contact-intro .contact-email { font-size: 1.125rem; overflow-wrap: anywhere; }
.contact-card a { color: var(--paper); }
.contact-card a:hover { color: #FFFFFF; }
.contact-card :focus-visible { outline-color: var(--amber); }

.contact-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.9375rem; font-weight: 500; color: var(--paper); }
.optional { font-weight: 400; color: var(--on-ink-muted); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 10px;
  border: 1px solid var(--field); background: #2A2926; color: var(--paper);
  font: inherit; font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--amber); outline-offset: 1px; border-color: var(--amber); }
.field [aria-invalid="true"] { border-color: #F2B8B5; }
.error { display: flex; gap: 6px; align-items: flex-start; color: #F2B8B5; font-size: 0.875rem; }
.error::before { content: "!"; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 999px; background: #F2B8B5; color: var(--ink); font-weight: 700; font-size: 12px; margin-top: 1px; }
.error[hidden] { display: none; }
.form-note { font-size: 0.875rem; color: var(--on-ink-muted); }
.form-status:empty { display: none; }
.form-status { padding: 14px 16px; border-radius: 10px; font-size: 0.9375rem; }
.form-status.is-success { background: #E5F4E4; color: var(--success); }
.form-status.is-error { background: #FBEBEB; color: var(--error); }
.form-status:focus { outline: 2px solid var(--amber); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { padding-top: 36px; padding-bottom: 36px; display: grid; gap: 10px; font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }
.footer-desc strong { color: var(--ink); font-weight: 600; }
.footer-sign { color: var(--ink); font-weight: 500; }
@media (min-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr auto; column-gap: 48px; }
  .footer-links, .footer-copy { text-align: right; }
}

/* Privacy and 404 pages */
.legal { max-width: 720px; padding-top: 48px; padding-bottom: var(--section); }
.legal h1 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); margin-bottom: 8px; }
.legal p, .legal li { color: var(--muted); line-height: 1.65; }
.legal-intro > * + * { margin-top: 14px; }
.legal-meta { font-size: 0.9375rem; }
.legal section { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal h2 { font-size: 1.25rem; margin-bottom: 12px; }
.legal section > * + * { margin-top: 12px; }
.legal ul { margin: 0; padding-left: 20px; }
.legal li + li { margin-top: 10px; }
.legal li strong { color: var(--ink); font-weight: 600; }
.legal .draft-banner { padding: 12px 16px; border-radius: 10px; background: var(--amber-tint); color: var(--ink); font-size: 0.9375rem; }
.legal-back { margin-top: 40px; }
.notfound p { margin-top: 14px; }
.notfound .btn { margin-top: 28px; }
@media (min-width: 640px) { .legal section { margin-top: 40px; padding-top: 32px; } }

/* Narrow-phone header fit */
.brand { min-width: 0; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1023px) {
  .header-bar { padding: 5px 5px 5px 14px; gap: 8px; }
  .nav { gap: 6px; }
  .nav-cta { padding: 0 16px; }
}
@media (max-width: 374px) {
  .site-header { padding-left: 10px; padding-right: 10px; }
  .brand svg { display: none; }
  .brand { font-size: 0.9375rem; }
}

/* Tablet: the automation card spans the full row instead of sitting alone */
@media (min-width: 640px) and (max-width: 1023px) {
  .grid-3 > :last-child { grid-column: 1 / -1; }
}

/* Phone: keep the founder photo from taking a whole screen */
@media (max-width: 639px) {
  .photo-placeholder { max-width: 240px; }
}
