/* Shared sizing keeps the page usable at intermediate widths and with larger text. */
:root {
  --page-gutter: clamp(20px, 4vw, 48px);
  --edge-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
  --edge-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.container {
  width: min(1240px, calc(100% - var(--edge-left) - var(--edge-right)));
}
.hero { grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr); }
.offer, .faq { grid-template-columns: minmax(0, .82fr) minmax(0, 1.25fr); }
.language-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.enquiry-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero > *, .offer > *, .faq > *, .language-grid > *, .enquiry-grid > *,
.process-grid > *, .form-pair > *, .service-row > * { min-width: 0; }
.hero h1 { font-size: clamp(42px, 6.4vw, 92px); letter-spacing: -.055em; }
.hero h1 em { letter-spacing: -.045em; }
h2, h3, .contact-main, .direct-mail a, .mail-result, .contact-address {
  overflow-wrap: anywhere;
}
.hero-actions { flex-wrap: wrap; }
.hero-phone { min-height: 44px; font-size: 13px; }
.hero-phone svg { flex-shrink: 0; }
.hero-detail, .section-intro > p:last-child, .service-row p,
.language-intro > p:not(.eyebrow), .process-grid p,
.enquiry-copy > p:not(.eyebrow), .faq-list details p {
  font-size: 15px;
  line-height: 1.8;
}
.section-heading > p { font-size: 14px; }
.eyebrow { line-height: 1.8; }
.trust-inner { flex-wrap: wrap; row-gap: 12px; font-size: 12px; }
.trust-inner > a { font-size: 12px; }
.language-tabs button { min-height: 48px; min-width: 0; font-size: 13px; }
.language-tabs button span { font-size: 10px; }
.greeting-translation { font-size: 14px; }
.language-panel-bottom p { font-size: 13px; }
.language-panel-bottom a { min-width: 44px; min-height: 44px; }
.enquiry-note p { font-size: 14px; }
.enquiry-copy .direct-mail { font-size: 14px !important; }
.form-field label { font-size: 13px; }
.form-field label span { font-size: 11px; white-space: normal; }
.form-field input, .form-field select, .form-field textarea {
  min-height: 48px;
  font-size: 16px;
  max-width: 100%;
}
.form-field input::placeholder, .form-field textarea::placeholder { font-size: 14px; }
.form-submit { min-height: 52px; font-size: 15px; }
.form-help, .mail-result, .mail-result-actions button { font-size: 12px; }
.mail-result pre { font-size: 13px; }
.mail-result-actions a, .mail-result-actions button,
.mail-result summary, .copy-email, .map-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.mail-result-actions { column-gap: 24px; row-gap: 0; }
.faq-list summary { min-height: 60px; align-items: center; font-size: 16px; }
.faq-list summary > span { flex-shrink: 0; }
.contact-top { flex-wrap: wrap; }
.contact-top > div { min-width: 0; }
.contact-main { white-space: normal; min-height: 44px; }
.direct-mail a { min-height: 44px; }
.contact-small, .copy-email, .map-link { font-size: 13px; }
.contact-label { font-size: 10px; }
.copy-email { margin-top: 2px; }
.footer-inner { font-size: 12px; flex-wrap: wrap; }
.footer-inner > a { min-height: 44px; display: inline-flex; align-items: center; }
.paper-word { font-size: clamp(30px, 9vw, 63px); }
@supports (container-type: inline-size) {
  .hero-art { container-type: inline-size; }
  .paper { padding: clamp(14px, 4.3cqi, 24px); }
  .paper-word { font-size: clamp(30px, 12cqi, 63px); }
}

/* Tablets retain space for reading and a full-width enquiry form. */
@media (max-width: 1024px) {
  .nav-wrap { min-height: 80px; }
  .brand-caption { display: block; }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 14px;
    color: var(--ink);
    background: transparent;
    border: 1px solid #bdc9cf;
    font-size: 14px;
  }
  .menu-toggle svg { width: 20px; height: 20px; }
  .site-header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 16px var(--edge-right) 22px var(--edge-left);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 20px #182d400a;
    max-height: calc(100vh - 81px);
    max-height: calc(100svh - 81px);
    overflow-y: auto;
    overscroll-behavior: contain;
    align-items: stretch;
    gap: 6px;
  }
  .site-header nav.is-open { display: flex; flex-direction: column; }
  .site-header nav > a:not(.button) { min-height: 46px; font-size: 16px; }
  .site-header nav .button { margin-top: 8px; min-height: 48px; max-width: 300px; font-size: 14px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: 1px; }
  .hero-phone strong { display: block; margin-left: 0; }
  .language-intro .eyebrow, .enquiry-copy .eyebrow,
  .section-intro .eyebrow, .faq .eyebrow, .section-heading .eyebrow {
    font-size: 10px;
    letter-spacing: 1.2px;
  }
  .enquiry-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .enquiry-copy > p:not(.eyebrow) { max-width: 620px; }
  .enquiry-note { max-width: 620px; }
  .enquiry-form { width: 100%; padding: 32px; }
  .form-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .service-row { grid-template-columns: 22px minmax(0, 1fr); }
  .service-icon { display: none; }
  .language-tabs button { font-size: 12px; padding-inline: 11px; }
  .language-panel { min-height: 340px; }
  .language-panel-bottom p { font-size: 12px; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid > div:last-child { grid-column: 1 / -1; }
  .contact-address { font-size: 16px; }
}

@media (min-width: 761px) and (max-width: 900px) {
  .offer, .faq, .language-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .section-intro h2 br, .language-intro h2 br { display: none; }
  .section-intro > p:last-child, .language-intro > p:not(.eyebrow) { max-width: 580px; }
  .service-row { grid-template-columns: 24px minmax(0, 1fr) 44px; gap: 22px; }
  .service-row p { max-width: 560px; }
  .service-icon { display: block; }
  .language-explorer { width: 100%; max-width: 580px; }
  .language-panel-bottom p { font-size: 14px; }
  .section-heading { flex-direction: column; gap: 20px; }
  .process-grid { gap: 24px; }
}

/* Phones, including narrow displays and landscape orientation. */
@media (max-width: 760px) {
  .hero, .offer, .faq, .language-grid, .enquiry-grid, .process-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero h1 { font-size: clamp(42px, 11vw, 80px); }
  .hero-art { max-width: 480px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: .9px; }
  .hero-detail, .section-intro > p:last-child, .service-row p,
  .language-intro > p:not(.eyebrow), .process-grid p,
  .enquiry-copy > p:not(.eyebrow), .faq-list details p {
    font-size: 16px;
    line-height: 1.75;
  }
  .hero-detail { max-width: 430px; }
  .hero-actions { gap: 14px 24px; }
  .hero-actions .button { min-height: 50px; font-size: 14px; gap: 24px; }
  .hero-actions .text-link { min-height: 44px; font-size: 14px; }
  .hero-phone { font-size: 13px; }
  .hero-phone strong { display: inline; margin-left: 3px; }
  .hero-phone span { overflow-wrap: anywhere; }
  .trust-inner { justify-content: flex-start; gap: 8px 22px; font-size: 12px; }
  .service-row { grid-template-columns: 20px minmax(0, 1fr); gap: 15px; }
  .service-row h3 { font-size: 22px; }
  .service-icon { display: none; }
  .language-intro h2 { font-size: clamp(35px, 8.5vw, 48px); }
  .language-intro > p:not(.eyebrow) { max-width: 460px; }
  .language-intro .text-link { min-height: 44px; font-size: 14px; }
  .language-tabs button { font-size: 13px; padding-inline: 12px; }
  .language-tabs button span { font-size: 10px; }
  .language-panel { padding: 26px; min-height: 340px; }
  .language-mini { font-size: 9px; letter-spacing: .9px; }
  .language-panel-bottom { gap: 15px; }
  .language-panel-bottom p { font-size: 14px; }
  .greeting-translation { font-size: 15px; }
  .section-heading > p { font-size: 15px; }
  .process-grid h3 { font-size: 22px; }
  .process-grid article { grid-template-columns: 34px minmax(0, 1fr); column-gap: 17px; }
  .enquiry-form { padding: 26px 22px; }
  .form-pair { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .form-field label { font-size: 14px; }
  .form-field label span { font-size: 12px; }
  .form-help { font-size: 13px; }
  .faq-list summary { font-size: 16px; }
  .faq-list details p { padding-right: 15px; }
  .contact-top { gap: 18px; }
  .contact-top h2 { font-size: clamp(32px, 8.5vw, 58px); letter-spacing: -.055em; }
  .contact-top .eyebrow { font-size: 9px; letter-spacing: .9px; }
  .contact-arrow { width: 48px; height: 48px; font-size: 28px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-main { font-size: clamp(22px, 6vw, 29px); }
  .contact-address { font-size: 16px; }
  .contact-address br { display: block; }
  .footer-inner { font-size: 12px; gap: 4px 18px; }
  .footer-inner > p { padding-top: 15px; }
}

@media (max-width: 360px) {
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .text-link { align-self: flex-start; }
  .hero-phone strong { display: block; margin-left: 0; }
  .language-tabs button { padding-inline: 9px; font-size: 12px; }
  .language-tabs button span { display: none; }
  .language-panel { padding: 23px; }
  .language-panel-bottom p { font-size: 13px; }
  .enquiry-form { padding-inline: 18px; }
}

@media print {
  .container { width: 100%; }
  .hero { display: block; }
  .hero-phone, .footer-inner > a { min-height: 0; }
  .contact-grid { display: flex; }
  .contact-top h2 { font-size: 42px; }
  .hero-detail, .section-intro > p:last-child, .service-row p,
  .language-intro > p:not(.eyebrow), .process-grid p, .faq-list details p { font-size: 12px; }
}
