/* Iron Canvas — Atelier marketing site styles */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter+Tight:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --ic-cream: #f4f1ea;
  --ic-cream-2: #ebe7dc;
  --ic-paper: #faf8f3;
  --ic-ink: #1a1a1a;
  --ic-ink-soft: #2a2a28;
  --ic-slate: #5a5a55;
  --ic-fog: #c4bfb3;
  --ic-line: #d8d3c6;
  --ic-brass: #8b6f3e;
  --ic-brass-dim: #6b5530;
  --ic-rust: #8a3a1a;

  --ic-display: 'Instrument Serif', 'Times New Roman', serif;
  --ic-sans: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --ic-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  background: var(--ic-cream);
  color: var(--ic-ink);
}
body.at-page {
  font-family: var(--ic-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.55;
}
img { max-width: 100%; }
button { font: inherit; }
a { color: inherit; }

.at-page section[id] { scroll-margin-top: 104px; }

/* editorial photo placeholder */
.ic-ph {
  background:
    repeating-linear-gradient(135deg, rgba(90,90,85,0.10) 0 1px, transparent 1px 9px),
    linear-gradient(180deg, var(--ic-cream-2), var(--ic-fog));
  position: relative;
  overflow: hidden;
}
.ic-ph::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 12px 12px auto;
  font-family: var(--ic-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ic-slate);
  background: rgba(244,241,234,0.85);
  padding: 4px 8px;
  border: 1px solid var(--ic-line);
  text-transform: uppercase;
}
.ic-ph.dark {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 9px),
    linear-gradient(180deg, #2a2a28, #1a1a1a);
}
.ic-ph.dark::after { background: rgba(26,26,26,0.85); color: var(--ic-fog); border-color: #3a3a36; }

.ic-meta {
  font-family: var(--ic-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ic-slate);
}

/* ============ NAV ============ */
.at-nav {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; padding: 20px 48px;
  border-bottom: 1px solid var(--ic-line);
  position: sticky; top: 0; background: var(--ic-cream); z-index: 5;
}
.at-nav__links { display: flex; gap: 28px; font-size: 13px; }
.at-nav__links a { text-decoration: none; }
.at-nav__brand { text-align: center; }
.at-nav__brand-mark { height: 40px; width: 40px; margin: 0 auto 6px; display: block; color: var(--ic-ink); }
.at-nav__brand-word { font-family: var(--ic-display); font-size: 24px; line-height: 1; letter-spacing: -0.01em; }
.at-nav__tagline { font-size: 9px; margin-top: 4px; }
.at-nav__right { display: flex; justify-content: flex-end; gap: 12px; align-items: center; }
.at-track-toggle {
  display: inline-flex; border: 1px solid var(--ic-ink); border-radius: 999px; padding: 3px;
  font-family: var(--ic-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
}
.at-track-toggle button {
  background: transparent; color: var(--ic-ink);
  border: none; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: inherit; letter-spacing: inherit; text-transform: inherit;
}
body[data-track="industry"] .at-track-toggle button[data-track-btn="industry"],
body[data-track="bespoke"] .at-track-toggle button[data-track-btn="bespoke"] {
  background: var(--ic-ink); color: var(--ic-cream);
}
.at-contact-link { cursor: pointer; background: none; border: none; padding: 0; }

/* ============ HERO ============ */
.at-hero { padding: 80px 48px 96px; }
.at-hero__meta { margin-bottom: 32px; text-align: center; }
.at-hero__title {
  font-family: var(--ic-display); font-weight: 400;
  font-size: 120px; line-height: 0.92; letter-spacing: -0.025em;
  text-align: center; margin: 0 0 56px;
}
.at-hero__title-accent {
  font-style: italic; color: var(--ic-brass); transition: color 0.4s;
}
.at-hero__title-accent::before { content: attr(data-industry); }
body[data-track="bespoke"] .at-hero__title-accent::before { content: attr(data-bespoke); }

.at-hero__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: var(--ic-line); border: 1px solid var(--ic-line);
}
.at-hero__pane {
  padding: 40px; transition: opacity 0.4s;
  border-top: 3px solid transparent;
}
.at-hero__pane--industry { background: var(--ic-cream); }
.at-hero__pane--bespoke { background: var(--ic-paper); }
body[data-track="industry"] .at-hero__pane--industry { opacity: 1; border-top-color: var(--ic-ink); }
body[data-track="industry"] .at-hero__pane--bespoke { opacity: 0.45; cursor: pointer; }
body[data-track="bespoke"] .at-hero__pane--bespoke { opacity: 1; border-top-color: var(--ic-brass); }
body[data-track="bespoke"] .at-hero__pane--industry { opacity: 0.45; cursor: pointer; }
.at-hero__pane-label { margin-bottom: 20px; }
.at-hero__pane--bespoke .at-hero__pane-label { color: var(--ic-brass); }
.at-hero__pane-heading {
  font-family: var(--ic-display); font-weight: 400; font-size: 36px; line-height: 1.05; margin: 0 0 16px;
}
.at-hero__pane--bespoke .at-hero__pane-heading { font-style: italic; }
.at-hero__pane-body { color: var(--ic-slate); font-size: 15px; line-height: 1.6; margin: 0 0 28px; }
.at-hero__pane-link { cursor: pointer; background: none; border: none; padding: 0; text-align: left; }
.at-hero__pane--bespoke .at-hero__pane-link { color: var(--ic-brass); }

/* ============ CAROUSEL ============ */
.at-carousel { margin-bottom: 24px; }
.at-carousel__frame { aspect-ratio: 4 / 3; }
.at-carousel__slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; opacity: 0; transition: opacity 0.7s ease;
}
.at-carousel__slide.is-active { opacity: 1; }
.at-carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(244,241,234,0.92); border: 1px solid var(--ic-line);
  color: var(--ic-ink); font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12); z-index: 3;
}
.at-carousel__arrow--prev { left: 14px; }
.at-carousel__arrow--next { right: 14px; }
.at-carousel__dots {
  position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3;
  display: flex; justify-content: center; gap: 8px;
}
.at-carousel__dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: rgba(244,241,234,0.85); border: 1px solid rgba(0,0,0,0.15); padding: 0; cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}
.at-carousel__dot.is-active { width: 22px; background: var(--ic-brass); }
.at-carousel__caption { margin-top: 12px; color: var(--ic-slate); }

/* ============ PHILOSOPHY ============ */
.at-philosophy { padding: 120px 48px; background: var(--ic-paper); border-top: 1px solid var(--ic-line); border-bottom: 1px solid var(--ic-line); }
.at-philosophy__inner { max-width: 1100px; margin: 0 auto; }
.at-philosophy__meta { margin-bottom: 32px; }
.at-philosophy__quote {
  font-family: var(--ic-display); font-weight: 400; font-size: 56px; line-height: 1.15;
  letter-spacing: -0.015em; margin: 0; color: var(--ic-ink);
}
.at-philosophy__quote em { color: var(--ic-brass); font-style: italic; }
.at-philosophy__attribution { margin-top: 48px; display: flex; gap: 16px; align-items: center; }
.at-philosophy__rule { width: 32px; height: 1px; background: var(--ic-ink); }

/* ============ SECTION HEAD (shared: craft, detail strip) ============ */
.at-section-head { display: grid; grid-template-columns: 320px 1fr; gap: 80px; margin-bottom: 64px; }
.at-section-head__eyebrow { margin-bottom: 16px; }
.at-section-head__title { font-family: var(--ic-display); font-weight: 400; font-size: 56px; line-height: 1; margin: 0; }
.at-section-head__title em { color: var(--ic-brass); font-style: italic; }
.at-section-head__lead { align-self: end; color: var(--ic-slate); font-size: 17px; line-height: 1.6; max-width: 480px; }

/* ============ CRAFT ============ */
.at-craft { padding: 120px 48px; }
.at-craft__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.at-craft__step { border-top: 1px solid var(--ic-ink); padding-top: 20px; }
.at-craft__step-num { font-family: var(--ic-display); font-style: italic; font-size: 28px; color: var(--ic-brass); margin-bottom: 16px; }
.at-craft__step-title { font-family: var(--ic-display); font-weight: 400; font-size: 28px; margin: 0 0 12px; }
.at-craft__step-body { color: var(--ic-slate); font-size: 14px; line-height: 1.6; margin: 0; }

/* ============ DETAIL STRIP ============ */
.at-detail { padding: 120px 48px; background: var(--ic-paper); border-top: 1px solid var(--ic-line); }
.at-detail__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.at-detail__card { margin: 0; }
.at-detail__img-wrap { border: 1px solid var(--ic-line); background: #fff; aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.at-detail__img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.at-detail__img-wrap.is-cover img { object-fit: cover; }
.at-detail__caption { margin-top: 16px; }
.at-detail__title { font-family: var(--ic-display); font-weight: 400; font-size: 26px; margin: 0 0 6px; }
.at-detail__body { color: var(--ic-slate); font-size: 14px; line-height: 1.55; margin: 0; max-width: 480px; }

/* ============ PORTFOLIO ============ */
.at-portfolio { padding: 0; background: var(--ic-cream); }
.at-portfolio__intro { padding: 120px 48px 56px; }
.at-portfolio__intro .at-section-head__title { margin: 0; }
.at-portfolio__row {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; align-items: stretch;
  border-top: 1px solid var(--ic-line);
}
.at-portfolio__row--right { grid-template-columns: 1fr 1.2fr; }
.at-portfolio__media { order: 1; min-height: 520px; position: relative; }
.at-portfolio__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.at-portfolio__text { order: 2; padding: 64px 48px; display: flex; flex-direction: column; justify-content: center; }
.at-portfolio__row--right .at-portfolio__media { order: 2; }
.at-portfolio__row--right .at-portfolio__text { order: 1; }
.at-portfolio__index { margin-bottom: 20px; }
.at-portfolio__title { font-family: var(--ic-display); font-weight: 400; font-size: 44px; line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 16px; }
.at-portfolio__loc { margin-bottom: 20px; }
.at-portfolio__body { font-size: 16px; line-height: 1.65; color: var(--ic-slate); max-width: 480px; margin: 0; }

/* ============ GALLERY BAND ============ */
.at-gallery { padding: 110px 0 120px; background: var(--ic-paper); border-top: 1px solid var(--ic-line); overflow: hidden; }
.at-gallery__head { padding: 0 48px; display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 48px; gap: 24px; flex-wrap: wrap; }
.at-gallery__head .at-section-head__title { margin: 0; }
.at-gallery__follow { text-decoration: none; white-space: nowrap; }
.at-gallery__wrap { position: relative; width: 100%; }
.at-gallery__track {
  display: flex; gap: 20px; width: max-content;
  animation: atGalleryRoll 48s linear infinite;
}
.at-gallery__wrap:hover .at-gallery__track { animation-play-state: paused; }
.at-gallery__item { margin: 0; width: 420px; flex: 0 0 auto; }
.at-gallery__item .ic-ph { aspect-ratio: 4 / 3; position: relative; }
.at-gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.at-gallery__caption { margin-top: 12px; padding-left: 2px; color: var(--ic-slate); }
@keyframes atGalleryRoll { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }
@media (prefers-reduced-motion: reduce) {
  .at-gallery__track { animation: none !important; }
}

/* ============ VOICES ============ */
.at-voices { padding: 120px 48px; background: var(--ic-paper); }
.at-voices__eyebrow { margin-bottom: 16px; }
.at-voices__title { font-family: var(--ic-display); font-weight: 400; font-size: 56px; line-height: 1; margin: 0 0 64px; max-width: 760px; }
.at-voices__title em { color: var(--ic-brass); font-style: italic; }
.at-voices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.at-voices__item { border-top: 1px solid var(--ic-ink); padding-top: 24px; }
.at-voices__num { color: var(--ic-brass); margin-bottom: 20px; }
.at-voices__item-title { font-family: var(--ic-display); font-weight: 400; font-size: 28px; line-height: 1.1; margin: 0 0 14px; }
.at-voices__item-body { color: var(--ic-slate); font-size: 15px; line-height: 1.6; margin: 0; }

/* ============ COVERAGE ============ */
.at-coverage { padding: 120px 48px; background: var(--ic-cream); border-top: 1px solid var(--ic-line); }
.at-coverage__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.at-coverage__eyebrow { margin-bottom: 16px; }
.at-coverage__title { font-family: var(--ic-display); font-weight: 400; font-size: 56px; line-height: 1; margin: 0 0 24px; }
.at-coverage__title em { color: var(--ic-brass); font-style: italic; }
.at-coverage__body { color: var(--ic-slate); font-size: 17px; line-height: 1.65; max-width: 460px; }
.at-coverage__map { aspect-ratio: 4 / 3; position: relative; background: var(--ic-paper); border: 1px solid var(--ic-line); }
.at-coverage__map svg { width: 100%; height: 100%; }

/* ============ FOOTER ============ */
.at-footer { background: var(--ic-paper); padding: 120px 48px 48px; border-top: 1px solid var(--ic-line); }
.at-footer__cta { text-align: center; margin-bottom: 80px; }
.at-footer__eyebrow { margin-bottom: 24px; }
.at-footer__title { font-family: var(--ic-display); font-weight: 400; font-size: 96px; line-height: 0.95; letter-spacing: -0.02em; margin: 0 0 32px; }
.at-footer__title em { color: var(--ic-brass); font-style: italic; }
.at-footer__button {
  background: var(--ic-ink); color: var(--ic-cream); border: none;
  padding: 18px 36px; font-family: var(--ic-sans); font-size: 15px; letter-spacing: 0.02em; cursor: pointer;
}
.at-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; border-top: 1px solid var(--ic-line); padding-top: 32px; }
.at-footer__col-label { margin-bottom: 8px; }
.at-footer__col-body { font-size: 14px; }
.at-footer__social { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.at-footer__social a { text-decoration: none; display: flex; align-items: center; gap: 8px; }
.at-footer__social-arrow { color: var(--ic-brass); }
.at-footer__bottom { border-top: 1px solid var(--ic-line); margin-top: 32px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ============ QUOTE MODAL ============ */
.q-overlay {
  position: fixed; inset: 0; background: rgba(10,10,10,0.72);
  backdrop-filter: blur(6px); z-index: 100;
  display: none; align-items: center; justify-content: center;
  font-family: var(--ic-sans);
}
.q-overlay.is-open { display: flex; }
.q-modal {
  width: 880px; max-width: 92vw; max-height: 92vh; overflow: auto;
  background: var(--ic-ink); color: var(--ic-cream);
  border: 1px solid #3a3a36; box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.q-modal__header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 40px; border-bottom: 1px solid #3a3a36;
}
.q-modal__brand { display: flex; align-items: center; gap: 12px; }
.q-modal__brand-mark { height: 30px; width: 30px; color: var(--ic-cream); }
.q-modal__brand-word { font-family: var(--ic-display); font-size: 22px; }
.q-modal__brand-tag { color: var(--ic-brass); font-size: 10px; }
.q-modal__close {
  background: transparent; color: var(--ic-fog); border: none;
  font-family: var(--ic-mono); font-size: 12px; letter-spacing: 0.14em; cursor: pointer;
}
.q-modal__progress { padding: 20px 40px; border-bottom: 1px solid #3a3a36; }
.q-step-dots { display: flex; gap: 8px; align-items: center; }
.q-step-dots__dot { width: 8px; height: 2px; background: #3a3a36; transition: all 0.3s ease; }
.q-step-dots__dot.is-active { width: 32px; background: var(--ic-brass); }
.q-step-dots__dot.is-done { background: var(--ic-brass); }
.q-step-dots__label { margin-left: 12px; color: var(--ic-fog); }

.q-modal__body { padding: 40px 40px 32px; }
.q-step { display: none; }
.q-step.is-active { display: block; }
.q-step__eyebrow { color: var(--ic-brass); margin-bottom: 16px; }
.q-step__title { font-family: var(--ic-display); font-weight: 400; font-size: 40px; line-height: 1.05; margin: 0 0 32px; }

.q-choice { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.q-choice--4 { grid-template-columns: repeat(4, 1fr); }
.q-choice__option {
  text-align: left; padding: 20px 22px; cursor: pointer;
  background: transparent; color: var(--ic-cream);
  border: 1px solid #3a3a36; font-family: var(--ic-sans); transition: all 0.18s ease;
}
.q-choice__option:hover { border-color: var(--ic-fog); }
.q-choice__option.is-selected { background: var(--ic-brass); color: var(--ic-ink); border-color: var(--ic-brass); }
.q-choice__option-title { font-family: var(--ic-display); font-size: 22px; line-height: 1.1; margin-bottom: 6px; }
.q-choice__option-body { font-size: 13px; opacity: 0.65; line-height: 1.45; }
.q-choice__option.is-selected .q-choice__option-body { opacity: 0.85; }

.q-field { display: block; margin-bottom: 24px; }
.q-field__label { margin-bottom: 8px; color: var(--ic-fog); }
.q-field__hint { font-size: 12px; color: var(--ic-fog); margin-top: 6px; }
.q-input {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid #3a3a36; padding: 12px 0; font-size: 18px;
  font-family: var(--ic-sans); color: var(--ic-cream); outline: none;
}
.q-textarea {
  width: 100%; background: transparent; border: 1px solid #3a3a36;
  padding: 16px; font-size: 16px; font-family: var(--ic-sans);
  color: var(--ic-cream); outline: none; resize: vertical;
}
.q-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.q-dropzone {
  border: 1px dashed #3a3a36; padding: 28px; text-align: center; cursor: pointer;
  color: var(--ic-fog); font-size: 14px;
}
.q-dropzone.has-file { color: var(--ic-brass); }
.q-summary { margin-top: 24px; padding: 20px; border: 1px solid #3a3a36; background: var(--ic-ink-soft); }
.q-summary__label { color: var(--ic-brass); margin-bottom: 12px; }
.q-summary__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; font-size: 13px; color: var(--ic-fog); }
.q-summary__grid span { color: var(--ic-cream); }

.q-modal__footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 40px; border-top: 1px solid #3a3a36; background: var(--ic-ink-soft);
}
.q-btn-back {
  background: transparent; color: var(--ic-fog);
  border: 1px solid #3a3a36; padding: 12px 22px;
  font-family: var(--ic-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
}
.q-btn-next, .q-btn-submit {
  border: none; padding: 12px 26px;
  font-family: var(--ic-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
}
.q-btn-next { background: var(--ic-brass); color: var(--ic-ink); }
.q-btn-submit { background: var(--ic-cream); color: var(--ic-ink); }
.q-btn-next:disabled, .q-btn-submit:disabled { background: #3a3a36; color: var(--ic-fog); cursor: not-allowed; }

.q-error {
  display: none;
  padding: 14px 40px; margin: 0;
  background: rgba(150, 40, 40, 0.14); border-top: 1px solid rgba(150, 40, 40, 0.4);
  color: #e6b8b0; font-size: 13px; line-height: 1.5;
}
.q-error.is-visible { display: block; }

.q-confirm { display: none; padding: 80px 40px; text-align: center; }
.q-modal.is-submitted .q-modal__progress,
.q-modal.is-submitted .q-modal__body,
.q-modal.is-submitted .q-error,
.q-modal.is-submitted .q-modal__footer { display: none; }
.q-modal.is-submitted .q-confirm { display: block; }
.q-confirm__eyebrow { color: var(--ic-brass); margin-bottom: 24px; }
.q-confirm__title { font-family: var(--ic-display); font-weight: 400; font-size: 56px; line-height: 1; margin: 0 0 24px; }
.q-confirm__title em { color: var(--ic-brass); font-style: italic; }
.q-confirm__body { color: var(--ic-fog); font-size: 17px; line-height: 1.6; max-width: 520px; margin: 0 auto 32px; }
.q-confirm__ref { font-family: var(--ic-mono); color: var(--ic-cream); }
.q-confirm__done {
  background: var(--ic-cream); color: var(--ic-ink); border: none;
  padding: 14px 28px; font-family: var(--ic-sans); font-size: 14px; cursor: pointer;
}

/* audience-conditional visibility inside the quote modal */
.q-only-builder, .q-only-private { }
.q-modal.q-audience-private .q-only-builder { display: none; }
.q-modal:not(.q-audience-private) .q-only-private { display: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .at-hero__grid,
  .at-craft__grid,
  .at-section-head,
  .at-detail__grid,
  .at-portfolio__row,
  .at-portfolio__row--right,
  .at-voices__grid,
  .at-coverage__grid,
  .at-footer__grid {
    grid-template-columns: 1fr !important;
  }
  .at-portfolio__media, .at-portfolio__row--right .at-portfolio__media { order: 1 !important; min-height: 320px; }
  .at-portfolio__text, .at-portfolio__row--right .at-portfolio__text { order: 2 !important; }
  .at-nav, .at-hero, .at-philosophy, .at-craft, .at-detail, .at-portfolio__intro,
  .at-gallery__head, .at-voices, .at-coverage, .at-footer {
    padding-left: 24px; padding-right: 24px;
  }
}

@media (max-width: 600px) {
  .at-hero__title { font-size: 14vw !important; line-height: 0.95 !important; }
  .at-section-head__title, .at-philosophy__quote, .at-voices__title, .at-coverage__title { font-size: 9vw !important; }
  .at-footer__title { font-size: 13vw !important; }
  .at-nav { grid-template-columns: 1fr !important; gap: 12px; justify-items: center; text-align: center; padding: 16px 18px; }
  .at-nav__links { justify-content: center; flex-wrap: wrap; }
  .at-nav__right { justify-content: center; }

  .q-modal { max-width: 96vw !important; }
  .q-choice, .q-choice--4, .q-row-2, .q-summary__grid { grid-template-columns: 1fr !important; }
  .q-modal__body { padding: 24px 20px !important; }
  .q-step__title { font-size: 30px !important; }
}

/* ── Live chat widget ──────────────────────────────────────────────── */
.chat-popup {
  position: fixed; bottom: 24px; right: 24px;
  width: 360px; max-width: calc(100vw - 32px);
  background: var(--ic-paper);
  border: 1px solid var(--ic-line);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(26,26,26,0.22), 0 4px 12px rgba(26,26,26,0.08);
  padding: 22px;
  font-family: var(--ic-sans);
  color: var(--ic-ink);
  z-index: 9999;
  transform: translateY(20px) scale(0.96);
  opacity: 0; pointer-events: none;
  transition: transform 0.4s cubic-bezier(.2,.9,.3,1.2), opacity 0.3s;
}
.chat-popup.show { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.chat-close {
  position: absolute; top: 10px; right: 12px;
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  font-size: 22px; line-height: 1; cursor: pointer;
  background: rgba(26,26,26,0.06); color: var(--ic-ink);
  border: none; transition: background 0.2s;
}
.chat-close:hover { background: rgba(26,26,26,0.14); }
.chat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.chat-avatar {
  width: 40px; height: 40px; flex: 0 0 auto;
  background: var(--ic-ink); color: var(--ic-cream);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
}
.chat-head strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.chat-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ic-mono); font-size: 9.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ic-slate);
}
.chat-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ic-brass);
  box-shadow: 0 0 0 0 rgba(139,111,62,0.5); animation: chat-pulse 2.4s infinite;
}
@keyframes chat-pulse {
  0% { box-shadow: 0 0 0 0 rgba(139,111,62,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(139,111,62,0); }
  100% { box-shadow: 0 0 0 0 rgba(139,111,62,0); }
}
.chat-msg {
  font-size: 14px; line-height: 1.5;
  background: var(--ic-cream); color: var(--ic-ink);
  padding: 12px 14px; border-radius: 10px; border-top-left-radius: 2px;
  margin: 0 0 16px;
}
.chat-form { display: flex; flex-direction: column; gap: 10px; }
.chat-form input, .chat-form textarea, .chat-form select {
  width: 100%; padding: 10px 12px;
  background: #fff; border: 1px solid var(--ic-line); border-radius: 8px;
  font-size: 14px; font-family: var(--ic-sans); color: var(--ic-ink); resize: vertical;
}
.chat-form input::placeholder, .chat-form textarea::placeholder { color: var(--ic-slate); }
.chat-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235a5a55' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}
.chat-form input:focus, .chat-form textarea:focus, .chat-form select:focus {
  outline: none; border-color: var(--ic-brass);
}
.chat-submit {
  width: 100%; margin-top: 4px; padding: 12px 20px;
  background: var(--ic-ink); color: var(--ic-cream); border: none; border-radius: 8px;
  font-family: var(--ic-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
  transition: background 0.2s;
}
.chat-submit:hover { background: var(--ic-brass); }
.chat-submit:disabled { opacity: 0.6; cursor: default; }
.chat-fine { font-size: 11px; color: var(--ic-slate); text-align: center; margin-top: 4px; }

/* Live conversation thread (hidden until a chat starts) */
.chat-thread { display: none; flex-direction: column; height: min(340px, 52vh); }
.chat-thread.open { display: flex; }
.chat-messages {
  flex: 1; overflow-y: auto; display: flex; flex-direction: column;
  gap: 8px; padding: 4px 2px 8px;
}
.chat-bubble {
  max-width: 82%; padding: 9px 12px; border-radius: 13px;
  font-size: 13.5px; line-height: 1.4; white-space: pre-wrap; word-wrap: break-word;
}
.chat-bubble.visitor { align-self: flex-end; background: var(--ic-ink); color: var(--ic-cream); border-bottom-right-radius: 4px; }
.chat-bubble.staff { align-self: flex-start; background: #fff; color: var(--ic-ink); border: 1px solid var(--ic-line); border-bottom-left-radius: 4px; }
.chat-bubble.system { align-self: center; background: transparent; color: var(--ic-slate); font-size: 12px; text-align: center; max-width: 100%; }
.chat-reply { display: flex; gap: 8px; margin-top: 10px; align-items: center; }
.chat-reply input {
  flex: 1; padding: 11px 14px; border: 1px solid var(--ic-line); border-radius: 10px;
  background: #fff; font-size: 14px; font-family: inherit; color: var(--ic-ink);
}
.chat-reply input:focus { outline: none; border-color: var(--ic-brass); }
.chat-reply-send {
  flex: 0 0 auto; width: 42px; height: 42px; border: none; border-radius: 10px;
  background: var(--ic-ink); color: var(--ic-cream); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.chat-reply-send:hover { background: var(--ic-brass); }
.chat-reply-send:disabled { opacity: 0.5; cursor: default; }
.chat-attach {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ic-slate); border: 1px solid var(--ic-line); background: #fff; transition: color 0.2s, border-color 0.2s;
}
.chat-attach:hover { color: var(--ic-brass); border-color: var(--ic-brass); }
.chat-bubble.file a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-weight: 500; }
.chat-bubble.file .chat-file-meta { font-size: 11px; opacity: 0.7; font-weight: 400; }

.chat-tab {
  position: fixed; bottom: 24px; right: 24px; display: none;
  align-items: center; gap: 8px; padding: 12px 18px;
  background: var(--ic-ink); color: var(--ic-cream);
  border: none; border-radius: 999px; cursor: pointer;
  font-family: var(--ic-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(26,26,26,0.25); z-index: 9998;
  transition: background 0.2s, transform 0.2s;
}
.chat-tab:hover { background: var(--ic-brass); transform: translateY(-2px); }
.chat-tab.show { display: inline-flex; }
@media (max-width: 480px) {
  .chat-popup { right: 12px; left: 12px; width: auto; bottom: 12px; }
  .chat-tab { right: 12px; bottom: 12px; }
}
