/* Shared reading width and page rhythm for the five public views. */
.wrap {
  width: 100%;
  max-width: 1024px;
  padding-inline: clamp(18px, 3.3vw, 32px);
}
.section { padding-block: clamp(30px, 3.5vw, 48px); }
.hero { padding-block: clamp(32px, 4.2vw, 58px); }
h1 { font-size: clamp(34px, 4.1vw, 50px); line-height: 1.22; }
h2 { font-size: clamp(26px, 2.65vw, 33px); line-height: 1.32; }
.lead, .section .wrap > p { max-width: 56ch; }
.lead { line-height: 1.65; }
.grid, .check-directory { gap: clamp(12px, 1.55vw, 20px); }
.split { gap: clamp(22px, 3vw, 40px); }
.grid > *, .split > *, .foot-grid > *, .form-grid2 > *,
.field, .field input, .field select, .field textarea { min-width: 0; }
.card { padding: clamp(16px, 1.7vw, 22px); }
.site-footer { padding-block: 34px 22px; }
.foot-grid { grid-template-columns: 1.24fr .76fr .76fr 1.25fr; gap: 20px; }
.foot-logo img { width: 100%; height: auto; max-width: 200px; }
.foot-col, a[href^="mailto:"] { overflow-wrap: anywhere; }
.section div[style*="width:300px"] { max-width: 100%; }
.site-header .brand { min-width: 0; }
.site-header .brand img { max-width: 100%; object-fit: contain; }

.home-hero {
  --paper: #f4ecdf;
  background: var(--paper);
}
.home-hero .split-hero {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
}
.home-hero .lead { max-width: 42ch; }
.language-portrait {
  margin: 0;
  width: 100%;
  max-width: 490px;
  position: relative;
  justify-self: center;
}
.language-portrait img { width: 100%; height: auto; display: block; }
/* Blend the photograph into the paper tone while keeping both labels sharp. */
.language-portrait::after {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--paper) 0.7%, transparent 12%, transparent 92%, var(--paper) 99.3%),
    linear-gradient(to bottom, var(--paper) 0.7%, transparent 12%, transparent 90%, var(--paper) 99.3%);
}

@media (min-width: 650px) and (max-width: 900px) {
  .grid.g2, .grid.g4, .foot-grid, .form-grid2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (min-width: 740px) and (max-width: 900px) {
  .wrap.split-hero, .wrap.split-1-1, .wrap.split-1-1-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 901px) {
  .nav { gap: clamp(14px, 1.4vw, 20px); }
}
@media (max-width: 739px) {
  .home-hero .split-hero { gap: 18px; }
  .language-portrait { max-width: 410px; }
}
@media (max-width: 649px) {
  .home-hero { padding-block: 28px 22px; }
  .site-header .brand { max-width: calc(100% - 80px); }
  .site-header .brand img { height: auto; max-height: 42px; }
  .site-footer { padding-bottom: 60px; }
}
