/* Shared type roles. Loaded after component styles so mobile never shrinks copy. */
:root {
  --text-body: 1.125rem;
  --text-control: 1rem;
  --text-meta: .875rem;
  --text-card: 1.5rem;
}
html { font-size: 100%; }
body,
.hero-copy > p,
.section-heading > p,
.portfolio-intro,
.service-row p,
.organization-copy > p,
.why-card p,
.why-design p,
.why-showcase-close p,
.contact-copy > p {
  font-size: var(--text-body);
  line-height: 1.7;
}
.button,
.hero-copy .button,
.contact .button,
.why-showcase-close .button,
.navigation .nav-contact,
.text-link,
.hero-caption .text-link,
.organization-copy .text-link,
.menu-toggle,
.dialog-bottom button {
  font-size: var(--text-control);
  line-height: 1.45;
}
.button { min-height: 3.5rem; max-width: 100%; padding: 1rem 1.5rem; gap: 1.25rem; text-align: center; }
.text-link { min-height: 2.75rem; }
.navigation, .navigation > a { font-size: var(--text-control); line-height: 1.5; }
.hero-note,
.hero-visual figcaption,
.hero-visual figcaption > span,
.hero-caption,
.hero-bottom,
.regional,
.scroll-link,
.service-material,
.filter span,
.gallery-hint,
.project-title p,
.image-type,
.why-photo-label,
.why-stats span,
.organization-event-case p,
.organization-event-link .event-destination,
.contact-location p,
.site-footer,
.site-footer > a:not(.brand),
.dialog-heading p,
.dialog-bottom {
  font-size: var(--text-meta);
  line-height: 1.6;
}
.wrap { width: min(90rem, calc(100% - 5rem)); }
.brand > span { font-size: 1.375rem; }
.brand small { font-size: .625rem; letter-spacing: .16em; }
.site-footer .brand > span { font-size: 1.25rem; }
.site-footer .brand small { font-size: .625rem; }
.site-header { min-height: 7rem; height: auto; padding-block: 1.5rem; gap: 2rem; }
.navigation { gap: 1.5rem; }
.navigation .nav-contact { min-height: 3.25rem; margin-left: 0; padding-inline: 1.5rem; }
.hero-stage { grid-template-columns: minmax(0,.95fr) minmax(0,1.15fr); min-height: 38rem; }
.hero-copy { min-width: 0; padding: 3.5rem 2rem 3.5rem 3.5rem; }
.hero-copy > p { max-width: 32ch; margin-block: 1.75rem; }
.hero-visual { min-width: 0; padding: 4.5rem 2rem 2rem 0; }
.hero-stand { height: clamp(22rem, 28vw, 30rem); }
.hero-note { padding: 1rem 1.5rem 1rem 2.5rem; }
.hero-note .status-dot { top: 1.6rem; left: 1.4rem; }
.hero-visual figcaption { gap: .75rem; align-items: flex-end; }
.hero-visual figcaption > span { max-width: calc(100% - 3.5rem); padding: .5rem .75rem; line-height: 1.4; }
.hero-visual figcaption > a { width: 2.75rem; height: 2.75rem; flex-shrink: 0; }
.hero-caption { flex-wrap: wrap; align-items: flex-start; gap: 1rem 1.5rem; }
.hero-caption > span { flex: 1 1 12rem; }
.hero-caption .text-link { flex-shrink: 0; }
.hero-bottom { display: grid; grid-template-columns: 1fr 1fr max-content; gap: 2rem; padding-block: 2rem; }
.regional .status-dot { top: .55rem; }
.section-heading > p { max-width: 34ch; }
.portfolio-intro { max-width: 38ch; }
.service-row { grid-template-columns: minmax(0,1fr) minmax(0,1.2fr) minmax(0,.5fr) 3rem; gap: 2rem; padding-block: 2.25rem; }
.service-row h3 { font-size: clamp(1.5rem, 1.1rem + .6vw, 1.875rem); line-height: 1.25; }
.service-row p { max-width: 60ch; }
.service-row > a { width: 3rem; height: 3rem; }
.organization-copy > p { max-width: 60ch; }
.organization-event-case h3 { font-size: var(--text-card); line-height: 1.25; }
.organization-event-case .event-enlarge { width: 3rem; height: 3rem; }
.organization-event-link .event-destination { margin-top: .75rem; font-weight: 600; }
.portfolio-toolbar { flex-wrap: wrap; align-items: flex-start; gap: 1rem 1.5rem; }
.filters { flex-wrap: wrap; gap: .5rem; }
.filter { font-size: var(--text-control); min-height: 3rem; gap: .75rem; padding: .625rem 1.125rem; }
.gallery-hint { display: block; white-space: normal; }
.project-title { display: block; padding-top: 1.125rem; }
.project-title h3 { font-size: var(--text-card); line-height: 1.3; overflow-wrap: anywhere; }
.project-title p { margin-top: .375rem; }
.image-type { max-width: calc(100% - 5rem); line-height: 1.4; }
.image-expand { width: 2.75rem; height: 2.75rem; }
.project-views { gap: .5rem; }
.project-view { width: 5rem; height: 3.5rem; }
.why-card h3 { font-size: var(--text-card); line-height: 1.25; }
.why-design h3 { font-size: clamp(2rem, 1.75rem + .5vw, 2.5rem); line-height: 1.15; }
.why-card p, .why-design p { max-width: 60ch; margin-top: 1.25rem; }
.why-stats strong { font-size: clamp(2rem, 1.75rem + .5vw, 2.5rem); }
.why-showcase-close { flex-wrap: wrap; }
.why-showcase-close p { max-width: 60ch; }
.why-showcase-close .button { flex-shrink: 1; }
.contact-copy { min-width: 0; }
.contact-copy > p { max-width: 60ch; }
.contact-location > a { font-size: var(--text-control); line-height: 1.5; min-height: 2.75rem; }
.site-footer { flex-wrap: wrap; padding-bottom: 7rem; }
.site-footer > a:not(.brand) { overflow-wrap: anywhere; }
.whatsapp-sticky { font-size: var(--text-meta); min-height: 3.25rem; padding: .875rem 1.125rem; }
.dialog-heading h2 { font-size: var(--text-card); line-height: 1.3; }
.dialog-close { width: 2.75rem; height: 2.75rem; flex-shrink: 0; }
.dialog-bottom button { min-height: 2.75rem; padding: .625rem 1rem; }

@media (min-width: 1600px) {
  :root {
    --text-body: clamp(1.25rem, 1rem + .25vw, 1.5rem);
    --text-control: clamp(1.0625rem, .9375rem + .125vw, 1.25rem);
    --text-meta: clamp(1rem, .875rem + .125vw, 1.125rem);
    --text-card: clamp(1.75rem, 1.5rem + .25vw, 2rem);
  }
  .wrap { width: min(100rem, calc(100% - 8rem)); }
  .hero-copy { padding: 4rem; }
  .why-card { padding: 2rem; }
}
@media (max-width: 1200px) {
  .wrap { width: calc(100% - 3rem); }
  .site-header { position: relative; z-index: 10; min-height: 6.25rem; padding-block: 1.25rem; gap: 1rem; }
  .menu-toggle { display: flex; align-items: center; gap: .75rem; min-height: 3rem; padding: .75rem; background: transparent; }
  .menu-lines { display: block; width: 1.375rem; height: .75rem; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
  .navigation { display: none; position: absolute; top: calc(100% - .5rem); right: 0; left: 0; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1.25rem; background: var(--paper); box-shadow: 0 1rem 2rem #071b1230; gap: 0; align-items: stretch; }
  .navigation.is-open { display: flex; flex-direction: column; }
  .navigation > a { padding: .875rem .5rem; }
  .navigation .nav-contact { margin: .75rem 0 0; padding: 1rem; }
  .hero-copy { padding: 3rem 1.75rem; }
  .hero-visual { padding-right: 1.75rem; }
  .why-mosaic { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .why-photo { grid-column: 1 / span 2; grid-row: auto; }
  .why-photo > img { max-height: 28rem; }
  .why-design { grid-column: 1 / span 2; }
  .why-tailor, .why-sustainability { grid-column: 1; }
  .why-speed, .why-contact { grid-column: 2; }
}
@media (max-width: 1100px) {
  .section-heading { flex-direction: column; align-items: flex-start; gap: 1.75rem; }
  .section-heading > p, .portfolio-intro { max-width: 60ch; }
  .service-row { grid-template-columns: minmax(0,1fr) minmax(0,1.3fr) 3rem; }
  .hero-bottom { grid-template-columns: 1fr 1fr; }
  .scroll-link { display: none; }
}
@media (max-width: 1000px) {
  .contact-panel { flex-direction: column; gap: 2.5rem; }
  .contact-location { align-self: stretch; width: 100%; min-width: 0; padding-top: 1.5rem; border-top: 1px solid #638367; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
  .contact-location > a { margin: 0; }
  .contact-symbol { display: none; }
}
@media (max-width: 900px) {
  .hero-stage { display: flex; flex-direction: column; min-height: 0; }
  .hero-copy { padding: 2rem; }
  .hero-visual { padding: 0 2rem 2rem; }
  .hero-visual figure { width: 100%; }
  .hero-stand { height: auto; aspect-ratio: 1.34; }
  .hero-note { position: relative; inset: auto; align-self: flex-end; margin-bottom: 1rem; }
  .hero-caption { flex-direction: column; gap: .75rem; }
  .hero-caption > span { flex: none; }
  .hero-caption strong { display: block; margin-left: 0; }
}
@media (min-width: 561px) and (max-width: 900px) {
  .hero h1 { font-size: clamp(4.5rem, 9vw, 5.25rem); }
}
@media (max-width: 800px) {
  :root { --text-body: 1rem; }
  .organization { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .service-row { grid-template-columns: minmax(0,1fr) 3rem; gap: 1rem 1.25rem; padding-block: 1.75rem; }
  .service-row p { grid-column: 1; grid-row: 2; }
  .service-row > a { grid-column: 2; grid-row: 1 / span 2; }
  .why-mosaic { grid-template-columns: 1fr; }
  .why-photo, .why-card { grid-column: 1; grid-row: auto; }
  .why-photo > img { max-height: none; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 2.25rem); }
  .site-header { min-height: 6rem; padding-block: 1rem; gap: .5rem; }
  .brand > span { font-size: 1.1875rem; letter-spacing: .1em; }
  .brand img { width: 2.375rem; height: 2.75rem; }
  .brand small { font-size: .625rem; letter-spacing: .12em; }
  .hero-copy { padding: 2rem 1.625rem; }
  .hero-visual { padding: 0 1.125rem 1.5rem; }
  .hero-caption { align-items: flex-start; padding-top: 1rem; }
  .hero-bottom { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.5rem .25rem; }
  .regional { padding-left: 1rem; }
  .regional .status-dot { width: 7px; height: 7px; top: .5rem; }
  .project-grid { gap: 2.5rem; }
  .why-card { padding: 1.625rem; }
  .why-showcase-close { gap: 1.5rem; }
  .contact-panel { padding: 2rem 1.625rem; }
  .contact-location { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .site-footer { align-items: flex-start; gap: 1.5rem; }
  .whatsapp-sticky { right: 1rem; bottom: 1rem; }
  .dialog-heading { align-items: flex-start; gap: 1rem; }
  .dialog-bottom { flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 2rem); }
  .brand > span { font-size: 1.0625rem; }
  .brand img { width: 2.125rem; height: 2.5rem; }
  .menu-toggle { padding-inline: .5rem; }
  .hero-copy { padding-inline: 1.25rem; }
  .hero h1 { font-size: clamp(3rem, 16vw, 3.5rem); }
}
