/* GE Portal — Grupo ESRO and its seven companies.
   One stylesheet; each site switches accent and pattern through data-site
   on <html>, and any element can borrow a company's colours with data-co. */

:root {
  --indigo: #13233A;
  --indigo-2: #22374F;
  --barro: #9A4630;
  --cantera: #E8E3DB;
  --cantera-2: #F3F0EB;
  --paper: #FFFFFF;
  --line: #D9D2C7;
  --text: #1A2230;
  --muted: #566170;

  --accent: var(--barro);
  --accent-ink: var(--barro);
  --accent-deep: var(--indigo);
  --accent-soft: #EFE7DF;
  --pat: radial-gradient(circle at 50% 100%, transparent 0 13px, rgba(232, 227, 219, .16) 13px 14px, transparent 14px) 0 0 / 30px 22px, var(--indigo);

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 1240px;
  --gutter: 24px;
  --bar-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------------------------------------------------- company palettes */

[data-site="dev"], [data-co="dev"] {
  --accent: #2F6B57; --accent-ink: #2F6B57; --accent-deep: #1E4639; --accent-soft: #E4EEE9;
  --pat: repeating-radial-gradient(ellipse 140% 90% at 20% 85%, transparent 0 13px, rgba(255, 255, 255, .2) 13px 14.5px), #2F6B57;
}
[data-site="con"], [data-co="con"] {
  --accent: #B07A1E; --accent-ink: #855A10; --accent-deep: #4A3410; --accent-soft: #F4ECDD;
  --pat: linear-gradient(rgba(255, 255, 255, .22) 1px, transparent 1px) 0 0 / 22px 22px,
         linear-gradient(90deg, rgba(255, 255, 255, .22) 1px, transparent 1px) 0 0 / 22px 22px,
         linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px) 0 0 / 5.5px 5.5px,
         #A5711A;
}
[data-site="re"], [data-co="re"] {
  --accent: #2D57A8; --accent-ink: #2D57A8; --accent-deep: #1C3870; --accent-soft: #E3E9F5;
  --pat: linear-gradient(#2D57A8 0 38%, transparent 38%) 0 0 / 100% 34px,
         linear-gradient(90deg, #2D57A8 0 42%, transparent 42%) 0 0 / 30px 100%,
         linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, .28)), #2D57A8;
}
[data-site="hos"], [data-co="hos"] {
  --accent: #9B3A6C; --accent-ink: #9B3A6C; --accent-deep: #5E2142; --accent-soft: #F3E4EC;
  --pat: radial-gradient(circle at 50% 82%, #F0B467 0 10%, transparent 10.5%),
         repeating-radial-gradient(circle at 50% 82%, transparent 0 17px, rgba(255, 255, 255, .14) 17px 19px),
         #9B3A6C;
}
[data-site="cap"], [data-co="cap"] {
  --accent: #A8874A; --accent-ink: #7A5F2B; --accent-deep: #1A1F2B; --accent-soft: #F1ECE2;
  --pat: repeating-linear-gradient(-58deg, transparent 0 10px, rgba(200, 165, 98, .55) 10px 11px), #1A1F2B;
}
[data-site="com"], [data-co="com"] {
  --accent: #1D7F7C; --accent-ink: #1A716E; --accent-deep: #0F4A48; --accent-soft: #DFEFEE;
  --pat: repeating-radial-gradient(circle at 0% 100%, transparent 0 15px, rgba(255, 255, 255, .22) 15px 17px), #1D7F7C;
}
[data-site="pri"], [data-co="pri"] {
  --accent: #B4233C; --accent-ink: #B4233C; --accent-deep: #6E1424; --accent-soft: #F6E1E4;
  --pat: radial-gradient(circle, rgba(255, 255, 255, .34) 0 2.6px, transparent 3px) 0 0 / 11px 11px,
         radial-gradient(circle, rgba(60, 0, 12, .28) 0 2.6px, transparent 3px) 5.5px 5.5px / 11px 11px,
         #B4233C;
}

/* --------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: hidden; /* on html, not body: keeps the sticky header working */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 560;
  color: var(--indigo);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 520; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.15rem; font-stretch: 105%; font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--indigo-2); max-width: 62ch; }

a { color: var(--accent-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

svg { display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

section[id], main { scroll-margin-top: calc(var(--bar-h) + 50px); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--indigo); color: #fff; padding: 10px 16px; font-family: var(--display);
}
.skip-link:focus { top: 12px; }

/* ------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px;
  font-family: var(--display); font-size: .95rem; font-weight: 600; font-stretch: 105%;
  color: #fff; background: var(--accent-deep);
  border: 1.5px solid var(--accent-deep); border-radius: 2px;
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--accent-deep); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent-deep); border-color: var(--accent-deep); }
.btn-light { background: #fff; color: var(--accent-deep); border-color: #fff; }
.btn-light:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent-deep); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* --------------------------------------------------------------- header */

.masthead {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.masthead.scrolled { box-shadow: 0 8px 24px rgba(19, 35, 58, .08); }

.groupbar { background: var(--indigo); color: var(--cantera); font-family: var(--display); font-size: .82rem; }
.groupbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 12px; }
.groupbar a { color: var(--cantera); text-decoration: none; }
.groupbar-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; letter-spacing: .04em; }
.groupbar-link:hover { color: #fff; }
.gb-mark svg, .sw-mark svg { width: 16px; height: 16px; }
.gb-mark, .sw-mark { flex: none; display: inline-block; }

.co-switch { position: relative; }
.co-switch summary {
  list-style: none; cursor: pointer; min-height: 40px; display: flex; align-items: center; gap: 6px;
  color: var(--cantera);
}
.co-switch summary::-webkit-details-marker { display: none; }
.co-switch summary::after {
  content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); margin-left: 4px;
}
.co-switch[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.co-switch ul {
  position: absolute; right: 0; top: 100%; z-index: 20; min-width: 240px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(19, 35, 58, .16);
  padding: 6px;
}
.co-switch li a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-height: 42px;
  color: var(--indigo); font-size: .92rem;
}
.co-switch li a:hover { background: var(--cantera-2); }
.co-switch li a[aria-current] { font-weight: 600; }

.navbar { display: flex; align-items: center; gap: 28px; min-height: var(--bar-h); }

.navbar-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; margin-right: auto; min-width: 0; }
.navbar-logo { flex: none; width: 38px; height: 38px; }
.navbar-logo svg { width: 100%; height: 100%; }
.navbar-brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.navbar-brand-name {
  font-family: var(--display); font-stretch: 122%; font-weight: 650; font-size: 1.02rem;
  letter-spacing: .07em; text-transform: uppercase; color: var(--indigo); white-space: nowrap;
}
.navbar-brand-tagline { font-family: var(--display); font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.navlinks ul { display: flex; gap: 4px; }
.navlinks a {
  display: flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-family: var(--display); font-size: .93rem; font-weight: 500; color: var(--indigo); text-decoration: none;
  border-bottom: 2px solid transparent;
}
.navlinks a:hover { color: var(--accent-ink); }
.navlinks a[aria-current="page"] { border-bottom-color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 8px; }

/* language selector (engine contract: #lang-list, .lang-dropdown.active) */
.lang-selector-wrapper { position: relative; }
.lang-selector-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 12px;
  font: 600 .85rem var(--display); color: var(--indigo); letter-spacing: .04em;
  background: transparent; border: 1px solid var(--line); border-radius: 2px; cursor: pointer;
}
.lang-selector-btn:hover { border-color: var(--indigo); }
.lang-dropdown {
  display: none; position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: 230px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(19, 35, 58, .16); padding: 6px;
}
.lang-dropdown.active { display: block; }
.lang-item {
  display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; cursor: pointer;
  font-family: var(--display); font-size: .92rem; color: var(--indigo);
}
.lang-item:hover { background: var(--cantera-2); }
.lang-item.active { font-weight: 650; background: var(--accent-soft); }
.lang-endonym { margin-left: auto; color: var(--muted); font-size: .82rem; }

.menu-toggle {
  display: none; width: 46px; height: 46px; padding: 0 12px; flex-direction: column; justify-content: center; gap: 5px;
  background: transparent; border: 1px solid var(--line); border-radius: 2px; cursor: pointer;
}
.menu-toggle span { display: block; height: 1.5px; background: var(--indigo); transition: transform .2s, opacity .2s; }
.masthead.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.masthead.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.masthead.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .navbar { gap: 12px; }
  .menu-toggle { display: flex; }
  .navlinks {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(19, 35, 58, .1);
  }
  .masthead.nav-open .navlinks { display: block; }
  .navlinks ul { flex-direction: column; max-width: var(--wrap); margin: 0 auto; padding: 8px var(--gutter) 16px; }
  .navlinks a { min-height: 50px; border-bottom: 1px solid var(--line); font-size: 1rem; padding: 0 4px; }
  .navlinks a[aria-current="page"] { border-bottom-color: var(--line); box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; }
}

/* ------------------------------------------------------------ sections */

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head p:not(.lede) { color: var(--muted); }

/* group hero and the arcade */
.g-hero { padding: clamp(48px, 7vw, 96px) 0 0; background: linear-gradient(var(--paper) 0 62%, var(--cantera) 62%); }
.g-hero-text { max-width: 900px; margin-bottom: clamp(40px, 5vw, 64px); }
.g-hero h1 { font-size: clamp(2.6rem, 6.6vw, 5.6rem); font-stretch: 118%; font-weight: 500; letter-spacing: -0.02em; }

.arcade ul { display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(8px, 1.2vw, 18px); }
.arcade ul::after { content: none; }
.arch {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  height: clamp(300px, 32vw, 420px); padding: 0 clamp(10px, 1.1vw, 16px) 20px;
  border: 1.5px solid var(--indigo); border-bottom: 0;
  border-radius: 999px 999px 0 0;
  background: var(--paper);
  color: var(--indigo); text-decoration: none; overflow: hidden; isolation: isolate;
  transform-origin: bottom center;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.arch::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--pat);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
/* the fanlight: each company's pattern, set in the head of its arch */
.arch::after {
  content: ""; position: absolute; top: 9px; left: 9px; right: 9px; aspect-ratio: 2 / 1;
  border-radius: 999px 999px 0 0; background: var(--pat);
  box-shadow: 0 3px 0 var(--paper), 0 4.5px 0 var(--indigo);
  transition: opacity .3s;
}
.arch-name {
  font-family: var(--display); font-stretch: 108%; font-weight: 620; font-size: clamp(.82rem, 1.05vw, 1rem);
  line-height: 1.2; letter-spacing: .01em;
}
.arch-short {
  font-size: .86rem; line-height: 1.4; margin-top: 8px;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .4s var(--ease), opacity .3s;
}
.arch:hover, .arch:focus-visible { color: #fff; border-color: var(--accent-deep); }
.arch:hover::before, .arch:focus-visible::before { transform: translateY(0); }
.arch:hover::after, .arch:focus-visible::after { opacity: 0; }
.arch:hover .arch-short, .arch:focus-visible .arch-short { max-height: 9em; opacity: 1; }
.arch:focus-visible { outline-offset: 4px; }
.arcade { border-bottom: 6px solid var(--indigo); }
/* Touch screens have no hover: show each company's line without it. */
@media (hover: none) {
  .arch-short { max-height: 9em; opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .arcade li { animation: rise .9s var(--ease) both; }
  .arcade li:nth-child(2) { animation-delay: .07s; }
  .arcade li:nth-child(3) { animation-delay: .14s; }
  .arcade li:nth-child(4) { animation-delay: .21s; }
  .arcade li:nth-child(5) { animation-delay: .28s; }
  .arcade li:nth-child(6) { animation-delay: .35s; }
  .arcade li:nth-child(7) { animation-delay: .42s; }
  @keyframes rise { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
}

@media (max-width: 1080px) {
  .arcade ul { grid-template-columns: repeat(4, 1fr); row-gap: 0; }
  .arch { height: 260px; }
  .arch-short { max-height: 9em; opacity: 1; }
  .arcade li:nth-child(n+5) .arch { border-top-color: var(--indigo); }
  .arcade li { border-bottom: 1.5px solid var(--indigo); }
}
@media (max-width: 640px) {
  .g-hero { background: var(--paper); }
  .arcade { border-bottom: 0; }
  .arcade ul { grid-template-columns: 1fr; gap: 0; }
  .arcade li { border-bottom: 1px solid var(--line); }
  .arch {
    height: auto; min-height: 84px; padding: 14px 0 14px 64px; border: 0; border-radius: 0;
    justify-content: center; overflow: visible; background: transparent;
  }
  .arch::before {
    inset: 14px auto 14px 0; width: 44px; transform: none; border-radius: 999px 999px 0 0;
  }
  .arch::after { display: none; }
  .arch:hover, .arch:focus-visible { color: var(--indigo); }
  .arch-short { margin-top: 2px; color: var(--muted); }
}

/* structure tree */
.structure { background: var(--cantera); padding: clamp(64px, 8vw, 112px) 0; }
.tree { display: grid; gap: 28px; }
.node { background: var(--paper); padding: 26px 28px; border-top: 4px solid var(--indigo); }
.node h3 { font-size: 1.3rem; font-stretch: 118%; margin-bottom: .3em; }
.node p { margin-bottom: .5em; }
.node-role { font-family: var(--display); font-size: .88rem; font-weight: 600; color: var(--muted); }
.node-parent { max-width: 520px; margin: 0 auto; text-align: center; background: var(--indigo); color: var(--cantera); border-top-color: var(--barro); }
.node-parent h3 { color: #fff; }
.node-parent .node-role { color: #C9C1B5; }
.branches { display: grid; grid-template-columns: 1fr 2fr; gap: 28px; position: relative; align-items: start; }
.branches::before {
  content: ""; position: absolute; left: 16.6%; right: 33.3%; top: -28px; height: 28px;
  border: 1.5px solid var(--indigo); border-bottom: 0;
}
.branches::after { content: ""; position: absolute; left: 50%; top: -28px; height: 0; }
.node-pat { background: transparent; border: 1.5px dashed #A99F92; border-top: 4px solid var(--barro); }
.node-pat h3 { color: var(--indigo-2); }
.node-note { display: inline-block; margin-top: .6em; font-family: var(--display); font-size: .82rem; color: var(--barro); }
.node-subs-label { font-family: var(--display); font-weight: 600; font-size: .9rem; margin-top: 1.2em !important; color: var(--indigo); }
.node-subs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
.node-subs a {
  display: flex; align-items: center; gap: 10px; min-height: 44px;
  font-family: var(--display); font-size: .95rem; color: var(--indigo); text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.node-subs a:hover { color: var(--accent-ink); }
@media (max-width: 860px) {
  .branches { grid-template-columns: 1fr; }
  .branches::before { display: none; }
  .node-subs { grid-template-columns: 1fr; }
}

/* business areas */
.areas { padding: clamp(64px, 8vw, 112px) 0; }
.area-chain { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; padding: 36px 0; border-top: 1.5px solid var(--indigo); }
.chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: none; }
.chain li { padding: 0 18px 0 0; border-top: 4px solid var(--accent); padding-top: 16px; margin-right: 6px; }
.chain strong { display: block; font-family: var(--display); font-weight: 600; color: var(--indigo); line-height: 1.25; margin: 6px 0 8px; }
.chain a { font-family: var(--display); font-size: .9rem; color: var(--accent-ink); }
.step-n { font-family: var(--display); font-stretch: 120%; font-weight: 500; font-size: 1.6rem; color: var(--accent-ink); line-height: 1; }
.area-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; border-top: 1px solid var(--line); padding-top: 36px; }
.area-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.area-links a { font-family: var(--display); font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; min-height: 40px; }
@media (max-width: 860px) {
  .area-chain, .area-pair { grid-template-columns: 1fr; gap: 28px; }
  .chain { grid-template-columns: 1fr 1fr; row-gap: 28px; }
}

/* group principles */
.work { background: var(--indigo); color: var(--cantera); padding: clamp(64px, 8vw, 104px) 0; }
.work h2, .work h3 { color: #fff; }
.work-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.work-list li { border-top: 1.5px solid rgba(232, 227, 219, .4); padding-top: 22px; }
.work-list p { color: #CFC8BD; }
@media (max-width: 860px) { .work-list { grid-template-columns: 1fr; gap: 28px; } }

.partner { padding: clamp(64px, 8vw, 104px) 0; }
.partner-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.partner-inner p { font-size: 1.15rem; max-width: 60ch; }
@media (max-width: 860px) { .partner-inner { grid-template-columns: 1fr; gap: 12px; } }

/* call-to-action band */
.cta-band {
  background: var(--pat); color: #fff; padding: clamp(56px, 7vw, 88px) 0; position: relative; isolation: isolate;
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent-deep); opacity: .86; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 60ch; color: rgba(255, 255, 255, .86); }

/* company hero */
.c-hero { padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 96px); background: linear-gradient(90deg, var(--paper) 0 58%, var(--accent-soft) 58%); }
.c-hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.c-hero h1 { color: var(--indigo); }
.hero-arch {
  justify-self: center; width: min(100%, 380px); aspect-ratio: 3 / 4.2;
  border-radius: 999px 999px 0 0; background: var(--pat);
  box-shadow: inset 0 -6px 0 var(--accent-deep);
  position: relative;
}
.hero-arch::after {
  content: ""; position: absolute; left: -14%; right: -14%; bottom: -6px; height: 6px; background: var(--indigo);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-arch { animation: rise 1s var(--ease) both .1s; }
}
@media (max-width: 860px) {
  .c-hero { background: var(--paper); }
  .c-hero-grid { grid-template-columns: 1fr; }
  .hero-arch { width: min(62%, 240px); order: -1; justify-self: start; }
}

/* services and approach */
.services { padding: clamp(64px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); }
.svc-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 36px; }
.svc-list.svc-3 { grid-template-columns: repeat(3, 1fr); }
.svc-list li { border-top: 3px solid var(--accent); padding-top: 20px; }
.svc-list p { color: var(--muted); font-size: 1rem; }
@media (max-width: 1080px) { .svc-list, .svc-list.svc-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-list, .svc-list.svc-3 { grid-template-columns: 1fr; gap: 24px; } }

.how { padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 104px); }
.how-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 36px; background: var(--cantera-2); }
.how-values .how-list { grid-template-columns: repeat(3, 1fr); }
.how-list li { padding: 28px 26px 22px; border-left: 1px solid var(--line); }
.how-list li:first-child { border-left: 0; }
.how-list h3 { margin-top: 10px; }
.how-list p { color: var(--muted); font-size: 1rem; margin: 0; }
.how-values .how-list li { border-top: 3px solid var(--accent-deep); }
@media (max-width: 860px) {
  .how-list, .how-values .how-list { grid-template-columns: 1fr; }
  .how-list li { border-left: 0; border-top: 1px solid var(--line); }
  .how-list li:first-child { border-top: 0; }
  .how-values .how-list li { border-top: 3px solid var(--accent-deep); }
}

.notice-band { padding: 0 0 clamp(48px, 6vw, 72px); }
.notice-band .wrap > * { max-width: 860px; }
.notice-band p { font-size: .95rem; color: var(--muted); border-left: 3px solid var(--accent); padding-left: 18px; }

/* sister companies */
.sisters { padding: clamp(56px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
.sisters .section-head { margin-bottom: 28px; }
.sis-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sis-list a {
  display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; row-gap: 4px;
  padding: 18px 0; border-top: 3px solid var(--accent); color: var(--text); text-decoration: none; min-height: 44px;
}
.sis-list .sw-mark { grid-row: span 2; }
.sis-list .sw-mark svg { width: 28px; height: 28px; }
.sis-name { font-family: var(--display); font-weight: 620; font-stretch: 108%; color: var(--indigo); }
.sis-short { color: var(--muted); font-size: .95rem; }
.sis-list a:hover .sis-name { color: var(--accent-ink); }
@media (max-width: 860px) { .sis-list { grid-template-columns: 1fr; gap: 0; } }

/* inner-page hero */
.p-hero { padding: clamp(40px, 5vw, 72px) 0 clamp(36px, 4vw, 56px); background: var(--accent-soft); border-bottom: 4px solid var(--accent); }
.p-hero h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--display); font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--accent-ink); display: inline-flex; min-height: 40px; align-items: center; }

/* placeholder pages */
.prep { padding: clamp(48px, 6vw, 88px) 0; }
.prep-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prep h2 { font-size: 1.35rem; }
.prep-list li {
  position: relative; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line); font-size: 1.08rem;
}
.prep-list li::before {
  content: ""; position: absolute; left: 0; top: 20px; width: 16px; height: 20px;
  border: 1.5px solid var(--accent); border-bottom: 0; border-radius: 999px 999px 0 0;
}
.prep-note { background: var(--cantera-2); padding: 28px; border-top: 4px solid var(--indigo); }
.prep-note p { color: var(--muted); }
@media (max-width: 860px) { .prep-grid { grid-template-columns: 1fr; } }

/* group directory */
.directory { padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 8vw, 104px); }
.dir-list li a {
  display: grid; grid-template-columns: 52px minmax(180px, 1.1fr) 1.2fr 1.6fr auto; gap: 24px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none;
}
.dir-list li:first-child a { border-top: 1.5px solid var(--indigo); }
.dir-mark svg { width: 52px; height: 52px; }
.dir-name { font-family: var(--display); font-stretch: 112%; font-weight: 620; font-size: 1.2rem; color: var(--indigo); }
.dir-tag { font-family: var(--display); font-size: .95rem; color: var(--accent-ink); }
.dir-short { color: var(--muted); }
.dir-visit { font-family: var(--display); font-weight: 600; font-size: .9rem; color: var(--accent-ink); white-space: nowrap; border-bottom: 1.5px solid currentColor; }
.dir-list li a:hover { background: linear-gradient(90deg, var(--accent-soft), transparent 80%); }
@media (max-width: 960px) {
  .dir-list li a { grid-template-columns: 52px 1fr; gap: 6px 18px; }
  .dir-mark { grid-row: span 4; align-self: start; }
  .dir-visit { justify-self: start; margin-top: 6px; }
}

/* contact */
.contact { padding: clamp(48px, 6vw, 88px) 0; }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.inquiry h2, .contact-aside h2 { font-size: 1.35rem; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field label { font-family: var(--display); font-size: .9rem; font-weight: 600; color: var(--indigo); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: #fff;
  border: 1px solid #B9B1A5; border-radius: 2px; padding: 11px 12px; min-height: 46px; width: 100%;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form-notice { margin-top: 14px; font-size: .92rem; color: var(--muted); }
.contact-aside > * + * { margin-top: 32px; }
.office { background: var(--cantera-2); padding: 24px; border-top: 4px solid var(--accent); }
.office p { color: var(--muted); margin: 0; }
.aside-links a {
  display: flex; align-items: center; gap: 10px; min-height: 46px; border-bottom: 1px solid var(--line);
  font-family: var(--display); color: var(--indigo); text-decoration: none;
}
.aside-links a:hover { color: var(--accent-ink); }
@media (max-width: 860px) { .contact-grid, .field-row { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- footer */

.site-footer { background: #0D1828; color: #CFC8BD; padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: var(--cantera); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brandlink { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.site-footer .navbar-brand-name { color: #fff; }
.site-footer .navbar-logo, .site-footer .gb-mark { box-shadow: 0 0 0 1px rgba(232, 227, 219, .35); }
.site-footer h2 { font-size: .95rem; font-stretch: 105%; color: #fff; margin-bottom: 12px; }
.site-footer li a { display: inline-flex; min-height: 40px; align-items: center; }
.footer-group { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; }
.footer-legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(232, 227, 219, .2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: .85rem; }
.footer-legal p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- phone */

@media (max-width: 640px) {
  :root { --gutter: 16px; --bar-h: 64px; }
  .navbar-logo { width: 32px; height: 32px; }
  .navbar-brand-name { font-size: .9rem; letter-spacing: .05em; }
  .navbar-brand-tagline { display: none; }
  .lang-selector-btn { padding: 0 10px; }
  .groupbar { font-size: .76rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
