/* Shared type scale, loaded after the page and experience styles. */
@font-face {
  font-family: "Atiza Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --sans: "Atiza Inter", "Helvetica Neue", Arial, sans-serif;
  --text: #20251f;
  --muted: #41483f;
}

body { font-size: 1rem; font-weight: 500; line-height: 1.7; }
.site-header { gap: 1.5rem; }
.site-header > .brand { flex-shrink: 0; }
.desktop-nav { gap: .25rem 1.6rem; flex-wrap: wrap; justify-content: center; font-size: 1.0625rem; font-weight: 700; color: var(--text); }
.desktop-nav a { white-space: nowrap; }
.desktop-nav a::after { height: 2px; }
.text-link, .header-cta { font-size: .9375rem; font-weight: 650; }
.header-cta { gap: .75rem; flex-shrink: 0; }
.button, .experience-panel > .button, .experience-navigation .button,
.form-navigation .button { font-size: .9375rem; font-weight: 650; line-height: 1.5; }
.mobile-nav > a { font-family: var(--sans); font-size: 1.375rem; font-weight: 650; }
.menu-toggle > span { height: 2px; }

/* Section labels and supporting copy stay readable at every breakpoint. */
.eyebrow, .atelier-heading .eyebrow, .contact-top .eyebrow,
.project-content > .eyebrow, .lightbox-caption .eyebrow,
.section-label, .atelier-kicker {
  font-size: .875rem;
  font-weight: 650;
  letter-spacing: .075em;
  line-height: 1.6;
}
.tiny-label, .section-label > span:last-child:not(.section-rule),
.quiet-note, .wide-note, .contact-top > span, .step-indicator,
.experience-selection > span {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .07em;
}
.principles { font-size: .75rem; font-weight: 650; letter-spacing: .06em; gap: 1.25rem; flex-wrap: wrap; }
.philosophy-text, .philosophy-foot p, .section-heading > p,
.services-intro > p:not(.eyebrow), .service-body, .process-grid p,
.privacy-dialog > p:not(.eyebrow), .lightbox-caption > div > p:last-child {
  font-size: 1rem;
  line-height: 1.75;
}
.philosophy-text .lead { font-weight: 400; }
.philosophy-foot em { font-weight: 500; }
.services-note, .service-subtitle, .wide-caption > p { font-size: .875rem; }
.service-number, .process-grid article > span { font-size: .875rem; font-weight: 650; }
.service-name { font-weight: 400; }
.service-bottom strong { font-size: 1.0625rem; font-weight: 650; }
.service-bottom small { font-size: .8125rem; }
.process-grid p { max-width: 30rem; }

.filter { font-size: .875rem; font-weight: 600; }
.filter sup { font-size: .75rem; }
.gallery-caption { flex-wrap: wrap; gap: .35rem 1rem; }
.gallery-caption h3 { font-size: 1.5rem; }
.gallery-caption p { font-size: .75rem; letter-spacing: .06em; white-space: normal; }
.gallery-count { font-size: .8125rem; }
.lightbox-caption > div:last-child > span { font-size: .8125rem; }
.lightbox-caption .text-link { font-size: .875rem; }

.contact-links a { font-size: .875rem; font-weight: 550; }
.contact-links a span { font-size: 1rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-circle > span:last-child { font-size: .75rem; font-weight: 650; letter-spacing: .025em; }
.footer > p, .footer > div { font-size: .8125rem; }
.footer button { font-size: .875rem; font-weight: 600; }
.footer > div { flex-wrap: wrap; }
.floating-whatsapp { font-size: .875rem; font-weight: 650; }

/* Transformation controls use the same sizes as the rest of the site. */
.atelier-heading > p, .panel-intro, .project-hint { font-size: 1rem; line-height: 1.7; }
.scene-loading, .scene-error, .experience-noscript { font-size: 1rem; }
.scene-error button, .scene-labels > span,
.scene-toolbar > label, .scene-modes button { font-size: .875rem; font-weight: 600; }
.scene-caption, .scene-caption > span { font-size: .75rem; line-height: 1.5; letter-spacing: .025em; }
.scene-caption { align-items: flex-start; }
.scene-caption > span { min-width: 0; }
.experience-steps { gap: .75rem; }
.experience-steps li { font-size: .875rem; font-weight: 550; }
.experience-steps li > span { font-size: .8125rem; font-weight: 650; }
.experience-steps .is-current { font-weight: 750; }
.room-options b { font-size: .875rem; font-weight: 600; }
.room-options strong, .style-options strong { font-size: 1rem; font-weight: 700; }
.room-options small, .style-options small { font-size: .875rem; line-height: 1.5; }
.room-options label > span, .style-options label > span { grid-template-columns: 24px minmax(0, 1fr) 17px; }
.style-options label > span { grid-template-columns: 58px minmax(0, 1fr) 16px; }
.room-options strong, .style-options strong { overflow-wrap: anywhere; }
.experience-micro, .experience-disclaimer { font-size: .8125rem; }
.experience-back, .result-actions button { font-size: .875rem; font-weight: 600; }
.priority-options label > span { font-size: .9375rem; font-weight: 600; }
.experience-selection > p { font-weight: 400; }
.result-summary dt { font-size: .875rem; }
.result-summary dd { font-size: 1.0625rem; font-weight: 600; }

/* Dialogs and form fields must remain as clear as the main page. */
.option-grid label > span { font-size: 1rem; font-weight: 600; gap: .5rem; }
.option-grid small { font-size: .875rem; font-weight: 500; }
.field { font-size: .875rem; font-weight: 600; }
.field input, .field textarea { font-size: 1rem; font-weight: 500; }
.form-note, .project-summary { font-size: .8125rem; }
.back-button, .form-error, .form-fallback { font-size: .875rem; }
.back-button { font-weight: 600; }
.form-navigation { flex-wrap: wrap; }

@media (min-width: 761px) {
  .site-header { height: auto; min-height: 98px; padding-top: .75rem; padding-bottom: .75rem; }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .site-header { min-height: 86px; }
}

@media (max-width: 1200px) {
  .header-cta { display: none; }
  .desktop-nav { font-size: 1rem; gap: 1.125rem; }
}

@media (max-width: 1100px) {
  .atelier-heading { gap: 1.5rem; }
  .atelier-heading > p { max-width: 19rem; }
  .principles { justify-content: center; }
  .contact-links { gap: 1.25rem; }
  .contact-links a span { font-size: .9375rem; }
}

@media (max-width: 760px) {
  .atelier-heading > p { max-width: none; }
  .atelier-visual { position: relative; top: auto; }
  .scene-toolbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: .4rem; padding: .75rem; }
  .scene-toolbar > input { width: 100%; }
  .scene-modes { grid-column: 1; grid-row: 3; }
  .scene-modes button { flex: 1; min-height: 42px; padding: .45rem .5rem; }
  .scene-caption { padding: .75rem; flex-wrap: wrap; gap: .35rem .75rem; }
  .scene-caption > span:last-child { text-align: left; }
  .experience-steps li > span { display: block; margin: 0 0 .25rem; }
  .experience-panel { scroll-margin-top: 100px; }
  .principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: center; gap: 1rem; }
  .principles span:nth-child(even) { display: none; }
  .principles span:nth-child(odd) { display: block; }
  .contact-main { flex-wrap: wrap; }
  .contact-circle { width: 96px; height: 96px; }
  .contact-links a { gap: .25rem 1rem; flex-wrap: wrap; }
  .contact-links a span { font-size: 1rem; }
  .footer > p { max-width: 11rem; }
  .footer > div { gap: .75rem 1rem; }
  .project-content { padding: 2.5rem 1.5rem 1.875rem; }
}

@media (max-width: 400px) {
  .atelier-controls { padding: 1rem; }
  .style-options label > span { grid-template-columns: 1fr 16px; gap: .2rem .65rem; padding: .875rem; }
  .style-swatches { grid-column: 1; grid-row: 1; margin-bottom: .5rem; }
  .style-options strong { grid-column: 1; grid-row: 2; }
  .style-options small { grid-column: 1; grid-row: 3; }
  .style-check { grid-column: 2; grid-row: 1 / 4; }
  .contact-links a { align-items: flex-start; flex-direction: column; }
  .footer > p { max-width: 8rem; }
  .option-grid { grid-template-columns: 1fr; }
}
