/* Saturday Brunch Club — studio hub
   Professional-clean, distinct from the restaurant mockups:
   paper ground, near-black ink, agave teal + marigold personality. */
:root {
  --paper: #F7F6F2;
  --card: #FFFFFF;
  --ink: #1A1D1F;
  --muted: #5B615F;
  --line: #E5E2DA;
  --teal: #0E7A6E;
  --teal-deep: #0A574F;
  --marigold: #F2A93B;
  --font-display: 'Schibsted Grotesk', 'Segoe UI', sans-serif;
  --font-accent: 'Instrument Serif', Georgia, serif;
  --font-body: 'Schibsted Grotesk', 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
.accent { font-family: var(--font-accent); font-style: italic; font-weight: 400; color: var(--teal); letter-spacing: 0; }
.wrap { max-width: 1160px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-size: .76rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--marigold); }
.btn { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; font-size: .98rem; padding: .8em 1.6em; border-radius: 12px; text-decoration: none; border: 2px solid transparent; transition: transform .18s ease, background .18s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ink { background: var(--ink); color: var(--paper); }

/* language toggle */
[data-lang="es"] .l-en, [data-lang="en"] .l-es { display: none; }
#lang-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  background: transparent; border: 1.5px solid var(--line);
  border-radius: 999px; padding: .42em .85em; cursor: pointer;
  font-family: var(--font-body); font-weight: 800; font-size: .74rem;
  letter-spacing: .06em; color: var(--muted);
}
#lang-toggle:hover { border-color: var(--teal); }
.lt-sep { opacity: .5; }
[data-lang="es"] .lt-es, [data-lang="en"] .lt-en { color: var(--teal); }

.nav { display: flex; align-items: center; justify-content: space-between; padding-block: 20px; gap: 12px; flex-wrap: wrap; }
.nav .mark { font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; text-decoration: none; letter-spacing: -0.02em; }
.nav .mark small { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); }
.nav nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 26px); flex-wrap: wrap; }
.nav nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav nav a:not(.btn):hover { color: var(--teal); }

.hero { padding-block: clamp(52px, 9vw, 116px) clamp(36px, 6vw, 72px); }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); max-width: 17ch; margin-block: 16px 20px; }
.hero .lede { max-width: 60ch; font-size: clamp(1.02rem, 1.8vw, 1.18rem); color: var(--muted); }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.steps { padding-block: clamp(32px, 5vw, 64px); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 24px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.step b.num { font-family: var(--font-accent); font-style: italic; font-size: 2.1rem; color: var(--marigold); display: block; margin-bottom: 10px; }
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { font-size: .95rem; color: var(--muted); }

.client { padding-block: clamp(32px, 5vw, 64px); }
.client-stack { max-width: 760px; margin-top: 26px; }
.pull-quote { font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.28; color: var(--teal-deep); border: 0; }
.client-attrib { margin-top: 14px; font-size: .95rem; }
.client-attrib a { color: var(--teal); }
.chat-label { font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.client-chat { margin-top: 28px; }
.chat { display: grid; gap: 8px; justify-items: start; }
.bubble { background: #E9E9EB; color: #111; border-radius: 18px; border-bottom-left-radius: 6px; padding: 10px 16px; max-width: 42ch; font-size: .96rem; }
.chat-check { font-size: .95rem; margin-left: 6px; }
.client-note { margin-top: 16px; font-size: .92rem; color: var(--muted); max-width: 52ch; }

.band { background: var(--ink); color: var(--paper); padding-block: clamp(44px, 6vw, 76px); }
.band h2, .articles h2, .steps h2, .client h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.band .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; margin-top: 22px; }
.band .cols p { font-size: .95rem; opacity: .85; }
.band .cols h3 { color: var(--marigold); font-size: 1.12rem; margin-bottom: 8px; }

.articles { padding-block: clamp(32px, 5vw, 64px); }
.art-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 24px; }
.art-card { display: block; text-decoration: none; border-left: 4px solid var(--teal); background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.art-card:hover h3 { color: var(--teal); }
.art-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.art-card p { font-size: .92rem; color: var(--muted); }

.cta-band { background: var(--teal); color: #fff; padding-block: clamp(46px, 6vw, 76px); }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 22ch; }
.cta-band p { max-width: 58ch; margin-block: 14px 26px; opacity: .92; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.12); }

footer.site { background: var(--ink); color: var(--paper); padding-block: 28px; font-size: .82rem; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site .disclose { max-width: 68ch; opacity: .65; }

/* article pages */
.article { padding-block: clamp(38px, 6vw, 68px); max-width: 900px; }
.article h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); margin-block: 14px 20px; }
.article h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin-block: 40px 14px; }
.article h3 { font-size: 1.15rem; margin-block: 26px 10px; }
.article p, .article li { font-size: 1.03rem; }
.article p + p { margin-top: 12px; }
.article ul, .article ol { padding-left: 1.3em; margin-block: 14px; display: grid; gap: 8px; }
.article .es-summary { font-family: var(--font-accent); font-style: italic; color: var(--teal-deep); font-size: 1.15rem; border-left: 3px solid var(--marigold); padding-left: 18px; margin-block: 20px; }
.article .src, .article em { color: var(--muted); }
.article .src { font-size: .8rem; }
.article a { color: var(--teal-deep); }
.article hr { border: 0; border-top: 1px solid var(--line); margin-block: 28px; }

/* tables: bordered, readable, scroll on small screens */
.article table { border-collapse: collapse; width: 100%; margin-block: 18px; background: var(--card); font-size: .95rem; }
.article th, .article td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.article th { background: var(--paper); font-weight: 700; font-size: .85rem; letter-spacing: .04em; }
.article tr:nth-child(even) td { background: color-mix(in srgb, var(--paper) 45%, var(--card)); }
.table-scroll { overflow-x: auto; margin-block: 18px; }
.table-scroll table { margin-block: 0; min-width: 560px; }

/* calculator */
.calc { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3vw, 34px); margin-block: 30px; }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px 22px; align-items: end; }
.calc label { display: grid; gap: 7px; font-size: .8rem; font-weight: 700; align-content: end; }
.calc label small { display: inline; font-weight: 500; color: var(--muted); }
.calc input, .calc select { font: inherit; padding: .65em .85em; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; min-width: 0; }
.calc input:focus, .calc select:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.calc-out { margin-top: 26px; }
.calc-total { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 4vw, 2.5rem); color: var(--teal-deep); }
.calc-note { font-size: .8rem; color: var(--muted); margin-top: 8px; }
#feeChart { width: 100%; height: auto; margin-top: 20px; }

.mark-logo { display: flex; flex-direction: column; gap: 4px; }
.mark-logo img { height: 38px; width: auto; }
