/* ==========================================================================
   長生嶺 Chouseirei
   A survey map more than a brochure: contour lines, a summit benchmark (三角点)
   in vermilion, mono annotations. Light = washi paper. Dark = pine at night.
   ========================================================================== */

:root {
  /* color */
  --paper: #f3f3ef;        /* page ground */
  --paper-2: #e9eae4;      /* panels */
  --ink: #1f2427;          /* charcoal ink: text, the mark */
  --ink-2: #4d5458;
  --ink-3: #858b8e;        /* labels, secondary text */
  --tone: #587a6c;         /* soft evergreen 常磐: the second voice of headlines */
  --shu: #b8492e;          /* vermilion 朱: the benchmark. Small marks only, never a fill */
  --pine: #4a5f56;         /* the contact block, always dark */
  --pine-ink: #f1f3f0;
  --line: rgba(31, 36, 39, .12);
  --line-2: rgba(31, 36, 39, .24);
  --contour: 31, 36, 39;   /* rgb for the canvas */
  --mark-dot: var(--paper);

  /* type */
  --display: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* layout */
  --gutter: max(20px, min(5vw, 80px));
  --max: 1360px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #16191b; --paper-2: #1d2124;
    --ink: #e8ebe9; --ink-2: #b6bcb9; --ink-3: #80888a;
    --tone: #9dbcae; --shu: #e0805f; --pine: #2c3a34;
    --line: rgba(231, 236, 232, .1); --line-2: rgba(231, 236, 232, .22);
    --contour: 231, 236, 232;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #16191b; --paper-2: #1d2124;
  --ink: #e8ebe9; --ink-2: #b6bcb9; --ink-3: #80888a;
  --tone: #9dbcae; --shu: #e0805f; --pine: #2c3a34;
  --line: rgba(231, 236, 232, .1); --line-2: rgba(231, 236, 232, .22);
  --contour: 231, 236, 232;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: "palt" 0;
}
:lang(en) body, html:lang(en) { line-height: 1.75; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) p { word-break: auto-phrase; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--shu); outline-offset: 3px; }
::selection { background: color-mix(in srgb, var(--tone) 28%, transparent); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono, .kicker, .num, .tb-k, .field > span, .form-note, .profile dt {
  font-family: var(--mono); font-weight: 400; letter-spacing: .1em; text-transform: uppercase;
}
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ───────── Shared type ───────── */
.kicker { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--ink-3); margin: 0 0 18px; }
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.hero .kicker::before { display: none; }
.tri { width: 9px; height: 8px; background: var(--shu); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.h2 { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.32; letter-spacing: .04em; margin-bottom: 22px; }
:lang(en) .h2 { letter-spacing: 0; line-height: 1.16; }
.h2 em, .hero-title em { font-style: normal; color: var(--tone); }
.sec-intro { color: var(--ink-2); max-width: 34em; }
.fine { font-size: 13px; color: var(--ink-3); margin: 20px 0 0; }
.num { font-size: 11px; color: var(--shu); }
.i { width: 16px; height: 16px; flex: none; transition: transform .4s var(--ease); }

/* ───────── Buttons & links ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 1em 1.8em;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-family: var(--body); font-weight: 500; font-size: 14px; letter-spacing: .08em;
  text-decoration: none; cursor: pointer; border-radius: 0;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn:hover .i { transform: translateX(4px); }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--tone); border-color: var(--tone); color: var(--paper); }
.btn-small { padding: .62em 1.3em; font-size: 13px; }
.btn-light { background: var(--pine-ink); color: var(--pine); border-color: var(--pine-ink); }
.btn-light:hover { background: transparent; color: var(--pine-ink); }
.link {
  font-size: 14px; letter-spacing: .06em; text-decoration: none;
  padding-bottom: 4px; border-bottom: 1px solid var(--line-2); transition: border-color .4s, color .4s;
}
.link:hover { border-color: var(--shu); }

/* ───────── Header ───────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--gutter);
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  padding-top: 12px; padding-bottom: 12px; box-shadow: 0 1px 0 var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; color: var(--ink); --mark-accent: var(--shu); }
.brand-word { display: flex; flex-direction: column; font-family: "Zen Old Mincho", serif; font-weight: 600; font-size: 20px; letter-spacing: .3em; line-height: 1; }
.brand-word small { font-family: var(--mono); font-weight: 400; font-size: 9px; letter-spacing: .22em; margin-top: 6px; color: var(--ink-3); }
.nav { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav a { font-size: 13.5px; letter-spacing: .08em; text-decoration: none; color: var(--ink-2); position: relative; padding: 4px 0; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--shu); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav .nav-cta-m { display: none; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; font-family: var(--mono); font-size: 11px; border: 1px solid var(--line-2); }
.lang button { background: none; border: 0; padding: 5px 9px; cursor: pointer; color: var(--ink-3); letter-spacing: .08em; transition: background .3s, color .3s; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 1px; background: var(--ink); margin: 6px 0; transition: transform .4s var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ───────── Contour canvas ───────── */
.contours { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; display: block; }

/* ───────── Hero ───────── */
.hero { position: relative; min-height: min(100svh, 900px); display: flex; flex-direction: column; padding: 108px 0 0; overflow: hidden; }
.hero .contours { -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.hero-inner {
  position: relative; flex: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: center;
}
.hero-title { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 3.45vw, 45px); line-height: 1.32; letter-spacing: .02em; margin: 0 0 30px; }
.hero-title .nw { white-space: nowrap; }
:lang(en) .hero-title { font-size: clamp(30px, 3.9vw, 56px); letter-spacing: -.005em; line-height: 1.08; }
.hero-lead { color: var(--ink-2); max-width: 31em; margin-bottom: 38px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; }

.hero-figure { margin: 0; }
.frame { position: relative; aspect-ratio: 4 / 3.6; overflow: hidden; background: var(--paper-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.06); transition: transform 2.4s var(--ease); }
body.ready .frame img { transform: scale(1); }
.frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); pointer-events: none; }
.frame-tag { position: absolute; left: 16px; bottom: 14px; font-size: 10px; color: #fff; opacity: .85; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.title-block { display: grid; grid-template-columns: repeat(3, auto); border: 1px solid var(--line-2); border-top: 0; }
.title-block > div { padding: 12px 16px 13px; border-left: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.title-block > div:first-child { border-left: 0; }
.tb-k { font-size: 9.5px; color: var(--ink-3); }
.tb-v { font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hero-index { position: relative; width: 100%; max-width: var(--max); margin: 40px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-index li { border-top: 1px solid var(--line-2); }
.hero-index a { display: flex; align-items: baseline; gap: 14px; padding: 18px 0 26px; text-decoration: none; font-family: var(--display); font-size: 17px; letter-spacing: .06em; transition: color .3s; }
.hero-index a:hover { color: var(--tone); }

/* ───────── Sections ───────── */
.section { position: relative; padding: clamp(64px, 7.5vw, 112px) 0; }
.sec-head { margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 6vw; align-items: end; }
.sec-head.split .sec-intro { margin-bottom: 26px; }

/* the name */
.name { border-top: 1px solid var(--line); }
.glyphs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.glyph { position: relative; padding: 32px clamp(20px, 3vw, 44px) 8px 0; }
.glyph + .glyph { padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid var(--line); }
.glyph-char {
  display: block; font-family: "Zen Old Mincho", serif; font-weight: 600; font-size: clamp(88px, 10vw, 150px); line-height: 1;
  color: var(--ink); margin-bottom: 18px;
  background: repeating-linear-gradient(0deg, transparent 0 9px, color-mix(in srgb, var(--tone) 35%, transparent) 9px 10px) right / 100% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text;
}
.glyph-read { position: absolute; top: 46px; right: clamp(20px, 3vw, 44px); font-size: 10.5px; color: var(--shu); }
.glyph:first-child .glyph-read { right: clamp(20px, 3vw, 44px); }
.glyph h3 { font-family: var(--display); font-size: 21px; letter-spacing: .08em; margin-bottom: 10px; }
.glyph p { color: var(--ink-2); font-size: 14.5px; max-width: 24em; }
.mission { margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 32px; align-items: baseline; }
.mission-text { font-family: var(--display); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.75; letter-spacing: .06em; margin: 0; }
:lang(en) .mission-text { letter-spacing: 0; line-height: 1.45; }

/* services */
.services { background: var(--paper-2); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.pillar { padding: 28px clamp(22px, 2.8vw, 40px) 20px 0; scroll-margin-top: 100px; }
.pillar + .pillar { padding-left: clamp(22px, 2.8vw, 40px); border-left: 1px solid var(--line); }
.pillar-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.pillar-art { width: 128px; height: 96px; overflow: visible; }
.pillar-art .s { fill: none; stroke: var(--ink); stroke-width: 1.3; }
.pillar-art .thin { stroke-width: .9; opacity: .7; }
.pillar-art .dash { stroke-dasharray: 2 3; }
.pillar-art .c { fill: none; stroke: var(--tone); stroke-width: 1; }
.pillar-art .a { fill: var(--shu); }
.pillar-art .fillbg { fill: var(--paper-2); opacity: 1; }
.pillar-art path, .pillar-art circle, .pillar-art rect { transition: transform .8s var(--ease); }
.pillar:hover .pillar-art .a { transform: translateY(-3px); }
.pillar-title { font-family: var(--display); font-size: 27px; letter-spacing: .06em; margin-bottom: 6px; }
.pillar-lead { color: var(--tone); font-size: 14.5px; margin-bottom: 18px; }
.items li { padding: 14px 0; border-top: 1px solid var(--line); }
.items h4 { font-size: 15px; font-weight: 700; letter-spacing: .04em; margin-bottom: 4px; }
.svc-more { margin-top: 28px; }
.items p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.8; }

/* approach */
.approach { border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; position: relative; }
.step { position: relative; padding: 36px 28px 0 0; }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line-2); }
.step::after { content: ""; position: absolute; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); }
.step:last-child::after { background: var(--shu); border-color: var(--shu); }
.step-n { display: block; font-size: 11px; color: var(--ink-3); margin-bottom: 12px; }
.step h3 { font-family: var(--display); font-size: 26px; letter-spacing: .1em; margin-bottom: 10px; }
:lang(en) .step h3 { letter-spacing: 0; }
.step p { color: var(--ink-2); font-size: 14.5px; max-width: 18em; }
/* the line draws itself as the steps come in */
.js .step::before { transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
.js .step.in::before { transform: scaleX(1); }

/* company */
.company { border-top: 1px solid var(--line); }
.company-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.profile { margin: 12px 0 0; }
.profile div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.profile div:last-child { border-bottom: 1px solid var(--line); }
.profile dt { font-size: 10.5px; color: var(--ink-3); padding-top: 4px; }
.profile dd { margin: 0; font-size: 14.5px; line-height: 1.85; }
.profile .sub { color: var(--ink-3); font-size: 13px; }
.profile a { text-decoration: none; border-bottom: 1px solid var(--line-2); transition: border-color .3s; }
.profile a:hover { border-color: var(--shu); }
.map { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.map-frame { width: 100%; aspect-ratio: 1 / 1; border: 1px solid var(--line-2); background: var(--paper-2); overflow: hidden; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.85) contrast(.95); transition: filter .6s var(--ease); }
.map-frame:hover iframe { filter: none; }
:root[data-theme="dark"] .map-frame iframe { filter: grayscale(.85) invert(.9) hue-rotate(180deg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .map-frame iframe { filter: grayscale(.85) invert(.9) hue-rotate(180deg); } }

/* contact: always pine */
.contact { position: relative; overflow: hidden; background: var(--pine); color: var(--pine-ink); padding: clamp(64px, 8vw, 112px) 0; --contour: 233, 238, 233; --line: rgba(233, 238, 233, .14); --line-2: rgba(233, 238, 233, .3); --ink-3: #b9c6bf; --tone: #cfe3d8; }
.contact .contours { opacity: .7; }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 100px); }
.contact-intro > p { color: rgba(241, 243, 240, .85); max-width: 26em; }
.direct { margin-top: 36px; }
.direct li { display: grid; grid-template-columns: 5em 1fr; gap: 12px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.direct li:last-child { border-bottom: 1px solid var(--line); }
.direct span { font-size: 10.5px; color: var(--ink-3); }
.direct a { text-decoration: none; font-size: 17px; letter-spacing: .03em; }
.direct a:hover { color: var(--tone); }
.form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
.field > span { font-size: 10.5px; line-height: 1.6; color: var(--ink-3); }
.req { color: #f09a7b; font-weight: 400; font-size: 12px; line-height: 1; }
.field input, .field select, .field textarea {
  flex-basis: 100%; width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  padding: 10px 0; font-size: 15px; color: var(--pine-ink); border-radius: 0; transition: border-color .3s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b9c6bf' stroke-width='1.2'/%3E%3C/svg%3E") right 2px center / 12px 8px no-repeat; padding-right: 22px; }
.field select option { color: #1f2427; }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.field input::placeholder { color: rgba(233, 238, 233, .35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pine-ink); }
.field.invalid input { border-color: #f09a7b; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-note { font-size: 10px; letter-spacing: .06em; text-transform: none; color: var(--ink-3); margin: 0; }
.form-error { color: #f09a7b; font-size: 13px; margin: 0; }

/* footer */
.site-footer { padding: 44px 0 32px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: auto 1fr; gap: 28px 40px; align-items: center; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 28px; }
.footer-nav a { font-size: 13px; text-decoration: none; color: var(--ink-2); }
.footer-nav a:hover { color: var(--ink); }
.site-footer address { font-style: normal; font-size: 12.5px; color: var(--ink-3); }
.copy { font-size: 10.5px; color: var(--ink-3); text-align: right; margin: 0; }

/* ───────── Reveal ───────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .frame img { transform: none !important; }
  .js .step::before { transform: none; }
}

/* ───────── Responsive ───────── */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .nav a { font-size: 12.5px; }
  .header-cta { display: none; }
}
@media (max-width: 900px) {
  body { font-size: 15px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 6px;
    padding: 100px var(--gutter) 40px; background: var(--paper);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav a { font-family: var(--display); font-size: 28px; letter-spacing: .08em; color: var(--ink); padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .nav-cta-m { display: block; color: var(--tone); }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { background: var(--paper); box-shadow: none; }

  .hero { padding-top: 104px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-index { margin-top: 40px; }
  .hero-index a { font-size: 14px; gap: 8px; flex-direction: column; padding-bottom: 20px; }
  .title-block { grid-template-columns: 1fr 1fr; }
  .title-block > div:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line-2); }

  .sec-head.split { grid-template-columns: 1fr; }
  .glyphs, .pillars { grid-template-columns: 1fr; }
  .glyph + .glyph, .pillar + .pillar { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .glyph { display: grid; grid-template-columns: auto 1fr; column-gap: 24px; padding: 30px 0; }
  .glyph-char { grid-row: span 2; font-size: 84px; margin: 0; }
  .glyph-read { top: 34px; right: 0; }
  .glyph h3 { align-self: end; }
  .mission { grid-template-columns: 1fr; gap: 6px; }
  .pillar { padding: 30px 0 18px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .company-grid, .contact-grid { grid-template-columns: 1fr; }
  .map { position: static; }
  .map-frame { aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
  .copy { text-align: left; }
}
@media (max-width: 560px) {
  .brand-word { font-size: 18px; }
  .lang button { padding: 4px 7px; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .profile div { grid-template-columns: 1fr; gap: 2px; }
  .hero-cta .btn { width: 100%; }
  .hero-title { font-size: 7vw; }
  :lang(en) .hero-title { font-size: 8vw; }
}
