/* FrameSet marketing site. Static pages, no framework.
   Palette: black and gold, cream ground. Swap the tokens below if the founders choose another palette. */
:root {
  --ink: #111111;
  --ink-2: #2a2a2a;
  --gold: #c9a227;
  --gold-dk: #a8861c;
  --gold-lt: #e6c45a;
  --text: #333333;
  --muted: #6b6b6b;
  --white: #ffffff;
  --bg: #ffffff;
  --cream: #f7f2e7;
  --cream-2: #efe8d8;
  --line: #e3ddcf;
  --line-2: #cfc7b5;
  --font-display: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --maxw: 1240px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 48px -30px rgb(17 17 17 / 30%);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; }
p { max-width: 68ch; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
main:focus { outline: none; }
::selection { color: var(--ink); background: var(--gold-lt); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 1100; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dk); }
.eyebrow::before { content: ''; width: 22px; height: 3px; background: var(--gold); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 22px; border: 1.5px solid transparent; border-radius: var(--radius-sm); cursor: pointer; font-weight: 600; font-size: .95rem; transition: background .18s, border-color .18s, transform .18s; }
.btn .arr { transition: transform .18s; }
.btn:hover .arr { transform: translateX(3px); }
.btn--primary { background: var(--gold); color: var(--ink); }
.btn--primary:hover { background: var(--gold-lt); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / 40%); }
.btn--ghost-light:hover { border-color: #fff; }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 1.02rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--gold); }

/* header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgb(255 255 255 / 96%); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 80px; }
.logo img { width: 190px; height: 44px; object-fit: contain; }
.nav-menu { flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a { font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav-toggle { background: var(--ink); color: #fff; border: 0; border-radius: var(--radius-sm); padding: 10px 16px; font-weight: 600; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .nav-menu { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 16px; padding: 20px 24px 28px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-menu[hidden] { display: none; }
  .nav-links { flex-direction: column; gap: 6px; }
  .nav-links a { display: block; padding: 10px 0; }
}

/* sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); color: #d8d3c6; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: var(--gold-lt); }
.section-head { max-width: 760px; margin-bottom: 40px; display: grid; gap: 14px; }
.lede { font-size: 1.18rem; color: var(--muted); }
.section--dark .lede { color: #c9c3b4; }

/* hero */
.hero { background: var(--ink); color: #d8d3c6; position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(56px, 8vw, 110px); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { color: #c9c3b4; margin: 20px 0 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; font-size: .9rem; }
.hero-facts b { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--gold); font-weight: 700; }
.hero-art { aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: end; }
.hero-art svg { width: 100%; height: 100%; }
@media (max-width: 860px) { .hero .container { grid-template-columns: 1fr; } .hero-art { max-width: 360px; justify-self: start; } }

/* cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.card--cream { background: var(--cream); }
.card .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--gold); line-height: 1; }
.card ul { padding-left: 18px; color: var(--muted); display: grid; gap: 4px; }
.card .text-link { margin-top: 6px; justify-self: start; }
.section--dark .card { background: #1c1c1c; border-color: #2e2e2e; color: #d8d3c6; }
.section--dark .card ul { color: #b9b3a4; }
.section--dark .card .text-link { color: var(--gold-lt); border-color: var(--gold); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--gold); }
.step h3 { font-size: 1.15rem; }
.step p { font-size: .95rem; color: var(--muted); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* facts and lists */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.fact { border-top: 3px solid var(--gold); padding-top: 14px; }
.fact b { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); }
.fact p { font-size: .95rem; color: var(--muted); }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { padding-left: 30px; position: relative; }
.checklist li::before { content: ''; position: absolute; left: 0; top: .55em; width: 16px; height: 8px; border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold); transform: rotate(-45deg); }
.prose { display: grid; gap: 16px; max-width: 72ch; }
.prose h2 { margin-top: 20px; }
.prose h3 { margin-top: 10px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 6px; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; color: var(--muted); }
.tablewrap { overflow-x: auto; }

/* projects */
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.project { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.project .ph { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--cream-2), var(--cream)); display: grid; place-items: center; color: var(--muted); font-size: .85rem; }
.project .ph img { width: 100%; height: 100%; object-fit: cover; }
.project div:last-child { padding: 16px 18px; }
.project h3 { font-size: 1.1rem; }
.project p { font-size: .92rem; color: var(--muted); }
@media (max-width: 900px) { .projects { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .projects { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin-top: 10px; color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.form input, .form select, .form textarea { padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; width: 100%; }
.form textarea { min-height: 120px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form .note { font-size: .85rem; color: var(--muted); }
.form-status { font-size: .95rem; min-height: 1.4em; }

/* CTA band */
.cta-band { background: var(--gold); color: var(--ink); }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 44px; padding-bottom: 44px; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }

/* footer */
.site-footer { background: var(--ink); color: #c9c3b4; padding: 56px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--gold-lt); margin-bottom: 12px; font-size: .85rem; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-tag { font-family: var(--font-display); color: #fff; font-size: 1.15rem; margin: 14px 0 10px; }
.footer-small { font-size: .85rem; color: #8f8a7e; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #2e2e2e; font-size: .82rem; color: #8f8a7e; }

/* 404 */
.center { text-align: center; display: grid; gap: 18px; justify-items: center; padding: 80px 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .btn .arr { transition: none; } }
