/* Rhoguns Studio - warm editorial theme */
:root {
  --paper: #0e1b33;        /* page background */
  --paper-deep: #132443;   /* alternating bands */
  --card: #17294b;         /* cards and panels */
  --navy-mid: #1c3766;     /* packages block */
  --ink: #f1efe9;          /* body text */
  --ivory: #f1efe9;
  --ink-soft: #b3bccc;
  --line: rgba(241, 239, 233, 0.14);
  --line-strong: rgba(241, 239, 233, 0.35);
  --brick: #d2a94f;        /* accent */
  --brick-deep: #b8913c;
  --moss: #091326;         /* contact band */
  --gold: #d2a94f;
  --serif: "Fraunces", "Georgia", serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; }
h3 { font-size: 1.35rem; line-height: 1.25; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; font-weight: 400; color: var(--brick); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--gold); color: var(--paper); padding: 0.75rem 1rem; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section-pad { padding-block: clamp(4rem, 8vw, 7rem); }
.section-label {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin: 0 0 1.25rem; color: var(--brick);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.section-label::before { content: ""; width: 1.5rem; height: 1px; background: currentColor; }
.section-heading { display: grid; gap: 1rem 4rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); align-items: end; }
.section-heading > p { margin: 0; color: var(--ink-soft); max-width: 46ch; }
@media (min-width: 860px) { .section-heading { grid-template-columns: 1.1fr 0.9fr; } }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--ink-soft); max-width: 56ch; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0.75rem 1.4rem;
  border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ivory); color: var(--paper);
  font-weight: 600; font-size: 0.95rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.button:hover { background: var(--brick); border-color: var(--brick); color: var(--paper); transform: translateY(-1px); }
.button-primary { background: var(--brick); border-color: var(--brick); color: var(--paper); }
.button-primary:hover { background: var(--brick-deep); border-color: var(--brick-deep); }
.button-ghost { background: transparent; color: var(--ivory); border-color: var(--line-strong); }
.button-ghost:hover { background: var(--ivory); color: var(--paper); border-color: var(--ivory); }
.button-light { background: var(--ivory); color: var(--paper); border-color: var(--ivory); }
.button-light:hover { background: var(--gold); border-color: var(--gold); color: var(--paper); }
.text-link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; border-bottom: 1px solid var(--line-strong); padding-bottom: 0.1rem; }
.text-link:hover { color: var(--brick); border-color: var(--brick); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: 76px; padding-inline: var(--gutter);
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }
.brand { display: flex; align-items: center; gap: 0.75rem; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: #000; flex: none; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); font-size: 0.95rem; font-weight: 500; }
.site-nav > a:not(.nav-cta) { padding: 0.3rem 0; border-bottom: 1px solid transparent; }
.site-nav > a:not(.nav-cta):hover, .site-nav > a[aria-current="page"] { border-bottom-color: var(--ink); }
.nav-cta { padding: 0.6rem 1.1rem; border-radius: 999px; background: var(--ivory); color: var(--paper); font-weight: 600; }
.nav-cta:hover { background: var(--gold); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 12px 8px; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; background: currentColor; margin: 7px 0; transition: transform 0.2s, opacity 0.2s; }
.menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 880px); margin-top: -76px;
  display: flex; align-items: flex-end;
  padding: 9rem 0 clamp(2.5rem, 5vw, 4rem);
  color: var(--ivory);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(8, 18, 38, 0.94) 0%, rgba(8, 18, 38, 0.7) 40%, rgba(8, 18, 38, 0.3) 100%),
    linear-gradient(to right, rgba(8, 18, 38, 0.55) 0%, rgba(8, 18, 38, 0) 70%);
}
.hero-inner { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1fr auto; } }
.eyebrow { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1.5rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--brick); flex: none; }
.hero .eyebrow { color: rgba(241, 239, 233, 0.85); }
.hero .eyebrow span { background: var(--gold); }
.hero h1 { max-width: 13ch; margin-bottom: 1.5rem; font-size: clamp(2.8rem, 6.2vw, 5.6rem); line-height: 1; letter-spacing: -0.02em; }
.hero h1 em { color: var(--gold); }
.hero-copy { max-width: 48ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: rgba(241, 239, 233, 0.85); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 2rem; }
.hero .button-primary { background: var(--gold); border-color: var(--gold); color: var(--paper); }
.hero .button-primary:hover { background: #e2bb63; border-color: #e2bb63; }
.button-outline { background: transparent; color: var(--ivory); border-color: rgba(241, 239, 233, 0.6); }
.button-outline:hover { background: var(--ivory); color: var(--paper); border-color: var(--ivory); }

/* Transparent header over the hero on the home page */
.home .site-header:not(.scrolled) { background: transparent; color: var(--ivory); }
.home .site-header:not(.scrolled) .site-nav > a:not(.nav-cta):hover { border-bottom-color: var(--ivory); }
.home .site-header:not(.scrolled) .nav-cta { background: var(--ivory); color: var(--paper); }
.home .site-header:not(.scrolled) .nav-cta:hover { background: var(--gold); }
.home .site-header:not(.scrolled) .brand-mark { box-shadow: 0 0 0 2px rgba(241, 239, 233, 0.5); }


/* Intro / who it's for */
.intro-grid { display: grid; gap: 2rem; }
@media (min-width: 860px) { .intro-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.intro-grid h2 { max-width: 16ch; }
.intro-grid .lede { max-width: 48ch; }
.fit-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 720px) { .fit-grid { grid-template-columns: repeat(3, 1fr); } }
.fit-grid article { padding: 2rem 1.75rem; background: var(--card); }
.fit-grid span { display: block; font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; margin-bottom: 1rem; }
.fit-grid p { color: var(--ink-soft); }

/* Work */
.fit { background: var(--paper-deep); }
.fit .fit-grid article { background: var(--card); }
.project-list { display: grid; gap: clamp(3rem, 7vw, 6rem); }
.project { display: grid; gap: 1.5rem 3rem; align-items: center; }
@media (min-width: 860px) {
  .project { grid-template-columns: 1.25fr 0.75fr; }
  .project-reverse { grid-template-columns: 0.75fr 1.25fr; }
  .project-reverse .project-visual { order: 2; }
}
.project-visual { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--card); }
.project-visual img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.6s ease; }
.project-visual:hover img { transform: scale(1.03); }
.project-index { position: absolute; top: 1rem; left: 1rem; padding: 0.3rem 0.6rem; background: var(--card); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; border-radius: 2px; }
.project-view { position: absolute; right: 1rem; bottom: 1rem; padding: 0.5rem 0.9rem; background: var(--ivory); color: var(--paper); font-size: 0.85rem; font-weight: 600; border-radius: 999px; }
.project-type { margin: 0 0 0.5rem; color: var(--brick); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.project-details h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 0.25rem; }
.project-place { color: var(--ink-soft); margin-bottom: 1rem; }
.project-summary { color: var(--ink-soft); }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.tag-list li { padding: 0.3rem 0.7rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.8rem; font-weight: 500; }
.work-more { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.work-more p { margin: 0; color: var(--ink-soft); }

/* Services */
.services { background: var(--paper-deep); }
.service-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 720px) { .service-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .service-list { grid-template-columns: repeat(3, 1fr); } }
.service-list article { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; padding: 1.75rem; background: var(--paper); }
.service-list article > span { font-family: var(--serif); font-size: 1.1rem; color: var(--brick); padding-top: 0.15rem; }
.service-list h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.service-list p { color: var(--ink-soft); font-size: 0.98rem; }

/* Platforms */
.platform-grid { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .platform-grid { grid-template-columns: repeat(3, 1fr); } }
.platform-grid article { padding: 1.75rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.platform-code { display: inline-block; padding: 0.3rem 0.55rem; margin-bottom: 1.25rem; background: var(--gold); color: var(--paper); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; border-radius: 2px; }
.platform-label { margin: 0 0 0.35rem; color: var(--brick); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.platform-grid h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.platform-grid > article > p:not(.platform-label) { color: var(--ink-soft); }
.platform-grid ul { margin: 1.25rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; font-size: 0.95rem; }
.platform-grid li { display: flex; gap: 0.6rem; }
.platform-grid li::before { content: "\2713"; color: var(--brick); font-weight: 700; }
.guide-link { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2rem; padding: 1.5rem 1.75rem; background: var(--paper-deep); border-radius: var(--radius); }
.guide-link p { margin: 0; }

/* Packages */
.packages { background: var(--navy-mid); color: var(--ivory); }
.packages .section-label { color: var(--gold); }
.packages .section-heading > p { color: rgba(241, 239, 233, 0.7); }
.package-grid { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .package-grid { grid-template-columns: repeat(3, 1fr); } }
.package-card { display: flex; flex-direction: column; padding: 2rem 1.75rem; border: 1px solid rgba(241, 239, 233, 0.2); border-radius: var(--radius); }
.package-featured { background: rgba(241, 239, 233, 0.07); border-color: var(--gold); }
.package-number { margin: 0 0 1.5rem; font-family: var(--serif); color: var(--gold); }
.package-kicker { margin: 0 0 0.35rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(241, 239, 233, 0.6); }
.package-card h3 { font-size: 2rem; margin-bottom: 0.5rem; }
.package-for { color: rgba(241, 239, 233, 0.75); }
.package-card ul { margin: 1.25rem 0 2rem; padding: 0; list-style: none; display: grid; gap: 0.55rem; font-size: 0.95rem; }
.package-card li { display: flex; gap: 0.6rem; }
.package-card li::before { content: "\2013"; color: var(--gold); }
.package-card > a { margin-top: auto; align-self: flex-start; }
.package-note { margin: 2rem 0 0; color: rgba(241, 239, 233, 0.7); font-size: 0.95rem; max-width: 70ch; }
.package-note a { color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; }

/* Ownership / training */
.ownership-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .ownership-grid { grid-template-columns: 0.9fr 1.1fr; gap: 5rem; } }
.ownership-copy h2 { margin-bottom: 1.25rem; }
.ownership-copy p { color: var(--ink-soft); }
.ownership-options { display: grid; gap: 0; border-top: 1px solid var(--line); }
.ownership-options article { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.ownership-options span { font-family: var(--serif); color: var(--brick); }
.ownership-options h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.ownership-options p { color: var(--ink-soft); font-size: 0.98rem; }

/* Process */
.process { background: var(--paper-deep); }
.process-grid { display: grid; gap: 1.5rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 720px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-grid li { padding-top: 1.25rem; border-top: 2px solid var(--gold); }
.process-grid li > span { display: block; font-family: var(--serif); font-size: 2rem; color: var(--brick); margin-bottom: 0.75rem; }
.process-grid h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.process-grid p { color: var(--ink-soft); font-size: 0.98rem; }

/* FAQ */
.faq-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 5rem; align-items: start; } }
.faq-heading { position: sticky; top: 6rem; }
.faq-heading p:last-child { color: var(--ink-soft); margin-top: 1rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: 1.2rem; font-weight: 500;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--gold); border-radius: 50%; font-family: var(--sans); font-size: 1rem; transition: transform 0.2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 1.25rem; color: var(--ink-soft); max-width: 62ch; }
.faq-list details a { text-decoration: underline; text-underline-offset: 3px; }

/* About */
.about { background: var(--paper-deep); }
.about-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.2fr 0.8fr; gap: 5rem; } }
.about-main { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; }
.portrait-mark { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; background: #000; }
.portrait-mark img { width: 100%; height: 100%; object-fit: cover; }
.about-main h2 { margin-bottom: 1rem; }
.about-lead { font-size: 1.2rem; }
.about-main p:not(.about-lead):not(.section-label) { color: var(--ink-soft); }
.credentials { display: grid; gap: 1.5rem; align-content: start; }
.credential-label { margin: 0 0 0.75rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.credentials h3 { font-size: 1.15rem; }
.credentials p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
.education { padding: 1.25rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cert-row { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; align-items: center; }
.cert-row + .cert-row { margin-top: 1rem; }
.cert-row img { width: 56px; height: 56px; object-fit: contain; }

/* Contact */
.contact { background: var(--moss); color: var(--ivory); }
.contact .section-label { color: var(--gold); }
.contact-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.contact h2 { max-width: 16ch; margin-bottom: 1.25rem; }
.contact-lead { color: rgba(241, 239, 233, 0.8); }
.contact-checklist { margin: 1.75rem 0; padding: 1.25rem 1.5rem; border: 1px solid rgba(241, 239, 233, 0.2); border-radius: var(--radius); }
.contact-checklist .credential-label { color: var(--gold); }
.contact-checklist ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; font-size: 0.95rem; color: rgba(241, 239, 233, 0.85); }
.contact-checklist li { display: flex; gap: 0.6rem; }
.contact-checklist li::before { content: "\2013"; color: var(--gold); }
.contact-alt { color: rgba(241, 239, 233, 0.8); }
.contact-email { font-family: var(--serif); font-size: 1.25rem; color: var(--ivory); border-bottom: 1px solid rgba(241, 239, 233, 0.5); }
.contact-email:hover { border-color: var(--gold); color: var(--gold); }
.contact-form { display: grid; gap: 1.1rem; padding: 1.75rem; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); }
.form-row { display: grid; gap: 0.4rem; }
.form-row label { font-size: 0.9rem; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 0.75rem 0.9rem; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem; color-scheme: dark;
}
.contact-form textarea { resize: vertical; min-height: 7rem; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--brick); outline-offset: 1px; border-color: var(--brick); }
.contact-form .button { justify-self: start; }
.form-note { margin: 0; font-size: 0.85rem; color: var(--ink-soft); }
.form-note.is-sent { color: var(--gold); font-weight: 600; }

/* Footer */
.site-footer { padding: 2.5rem var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; font-size: 0.9rem; color: var(--ink-soft); }
.site-footer > p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-links a:hover { color: var(--brick); }

/* Inner pages */
.page-hero { padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 14ch; margin-bottom: 1.25rem; }
.page-hero .lede { margin-bottom: 0; }
.page-facts { display: grid; gap: 1.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .page-facts { grid-template-columns: repeat(3, 1fr); } }
.page-facts strong { display: block; font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.page-facts span { color: var(--ink-soft); font-size: 0.95rem; }

.all-work-grid { display: grid; gap: 2rem 1.5rem; }
@media (min-width: 720px) { .all-work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .all-work-grid { grid-template-columns: repeat(3, 1fr); } }
.work-card-wide { grid-column: 1 / -1; }
@media (min-width: 1040px) { .work-card-wide { grid-column: span 2; } }
.work-card-image { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--paper-deep); }
.work-card-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s ease; }
.work-card-wide .work-card-image img { aspect-ratio: 8 / 3; }
.work-card-image:hover img { transform: scale(1.03); }
.work-card-image span { position: absolute; right: 1rem; bottom: 1rem; padding: 0.45rem 0.85rem; background: var(--ivory); color: var(--paper); font-size: 0.85rem; font-weight: 600; border-radius: 999px; }
.work-card-copy { padding-top: 1rem; }
.work-card-copy p { margin: 0 0 0.3rem; color: var(--brick); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.work-card-copy h3 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.work-card-copy span { color: var(--ink-soft); font-size: 0.98rem; }

.basics-grid { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .basics-grid { grid-template-columns: repeat(3, 1fr); } }
.basics-grid article { padding: 1.75rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.guide-number { display: block; font-family: var(--serif); color: var(--brick); margin-bottom: 1rem; }
.basics-grid h3 { margin-bottom: 0.5rem; }
.basics-grid p { color: var(--ink-soft); font-size: 0.98rem; }

.plan-options { background: var(--paper-deep); }
.plan-grid { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .plan-grid { grid-template-columns: repeat(2, 1fr); } }
.plan-card { padding: 2rem 1.75rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.plan-card-wide { grid-column: 1 / -1; display: grid; gap: 1.5rem 3rem; }
@media (min-width: 860px) { .plan-card-wide { grid-template-columns: 0.8fr 1.2fr; } }
.plan-kicker { margin: 0 0 0.35rem; color: var(--brick); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.plan-card h3 { font-size: 1.9rem; margin-bottom: 0.5rem; }
.plan-card > p:not(.plan-kicker), .plan-card-wide > div > p:not(.plan-kicker) { color: var(--ink-soft); }
.plan-card dl { margin: 1.25rem 0; display: grid; gap: 0.9rem; font-size: 0.95rem; }
.plan-card dt { font-weight: 600; }
.plan-card dd { margin: 0.15rem 0 0; color: var(--ink-soft); }
.plan-source-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.plan-footnote { margin: 2rem 0 0; color: var(--ink-soft); font-size: 0.92rem; max-width: 80ch; }

.cost-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 720px) { .cost-grid { grid-template-columns: repeat(3, 1fr); } }
.cost-grid article { padding: 2rem 1.75rem; background: var(--card); }
.cost-grid h3 { margin-bottom: 0.5rem; }
.cost-grid p:not(.plan-kicker) { color: var(--ink-soft); font-size: 0.98rem; }
.cost-grid .text-link { margin-top: 0.5rem; }

.work-cta { background: var(--moss); color: var(--ivory); }
.work-cta .section-label { color: var(--gold); }
.work-cta-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .work-cta-grid { grid-template-columns: 1.1fr 0.9fr; gap: 5rem; } }
.work-cta-grid p { color: rgba(241, 239, 233, 0.8); margin-bottom: 1.5rem; }

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.45s ease, transform 0.45s ease; }
  .js [data-reveal].in { opacity: 1; transform: none; }
}

/* Mobile nav */
@media (max-width: 820px) {
  .site-header { height: 68px; }
  .hero { margin-top: -68px; padding-top: 7rem; }
  .eyebrow { font-size: 0.72rem; letter-spacing: 0.1em; }
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 68px 0 0; z-index: 40;
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0;
    padding: 1.5rem var(--gutter); background: var(--paper); color: var(--ink);
    border-top: 1px solid var(--line);
    transform: translateX(100%); transition: transform 0.25s ease;
  }
  .js-nav .site-nav { visibility: hidden; }
  .js-nav .site-nav.open { visibility: visible; transform: none; }
  .site-nav > a { width: 100%; padding: 1rem 0; font-size: 1.25rem; font-family: var(--serif); border-bottom: 1px solid var(--line); }
  .site-nav > a:not(.nav-cta):hover { border-bottom-color: var(--line); }
  .site-nav .nav-cta { margin-top: 1.5rem; width: auto; font-family: var(--sans); font-size: 1rem; padding: 0.8rem 1.4rem; border-bottom: 0; }
  .faq-heading { position: static; }
  .about-main { grid-template-columns: 1fr; }
  .hero-caption { position: static; margin-top: 0.75rem; box-shadow: none; border: 1px solid var(--line); }
}

/* Not found */
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 4rem; }
.not-found h1 { margin-bottom: 1rem; }
.not-found p { color: var(--ink-soft); max-width: 40ch; margin-inline: auto; }
.not-found .hero-actions { justify-content: center; }
