/* Wayfinding – an airport/transit sign system as a website.
   Black + signal yellow sign panels, pictograms, area letters A–D, strict grid. */

:root {
  --bg: #ecebe6;
  --ink: #141414;
  --ink-2: #44443f;
  --line: #c9c8c0;
  --accent: #141414;
  --y: #ffcd00;
  --y-2: #ffe066;
  --white: #ffffff;
  --font-body: "Barlow", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-display: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-cond: "Barlow Condensed", "Arial Narrow", "Barlow", sans-serif;
  --gutter: clamp(16px, 3.5vw, 48px);
  --seam: 6px;
  --max: 85rem;
}

body { font-size: 1.0625rem; line-height: 1.55; font-weight: 400; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.01em; }
:focus-visible { outline: 4px solid var(--y); outline-offset: 2px; box-shadow: 0 0 0 8px var(--ink); }
.wf-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { flex: none; }

/* shared sign parts */
.wf-letter {
  display: inline-grid; place-items: center; flex: none;
  width: 1.9rem; height: 1.9rem; border-radius: 3px;
  background: var(--ink); color: var(--y);
  font-family: var(--font-cond); font-weight: 700; font-size: 1.25rem; line-height: 1;
}
.wf-letter--lg { width: clamp(3.25rem, 5vw, 4.5rem); height: auto; align-self: stretch; font-size: clamp(2rem, 3.4vw, 3rem); border-radius: 0; }
.wf-picto { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none; background: var(--y); color: var(--ink); border-radius: 4px; }
.wf-picto svg { width: 66%; height: 66%; }
.wf-picto--dark { background: var(--ink); color: var(--y); }
.wf-picto--lg { width: clamp(3.5rem, 5vw, 4.5rem); height: clamp(3.5rem, 5vw, 4.5rem); }

/* ---------- header ---------- */
.wf-top {
  display: flex; align-items: stretch; gap: var(--seam); flex-wrap: wrap;
  background: var(--ink); color: var(--white);
  padding: var(--seam);
}
.wf-brand { display: flex; align-items: center; gap: .85rem; padding: .5rem 1.1rem .5rem .5rem; text-decoration: none; margin-right: auto; }
.wf-brand__tile {
  display: grid; place-items: center; width: 2.9rem; height: 2.9rem; flex: none;
  background: var(--y); color: var(--ink); border-radius: 4px;
  font-family: var(--font-cond); font-weight: 700; font-size: 1.9rem; line-height: 1;
}
.wf-brand__txt { display: grid; line-height: 1.15; }
.wf-brand__txt b { font-weight: 600; font-size: 1.35rem; }
.wf-brand__txt span { font-size: .875rem; color: #c9c9c4; }
.wf-nav { display: flex; flex-wrap: wrap; gap: var(--seam); }
.wf-nav a {
  display: flex; align-items: center; gap: .7rem;
  padding: .55rem 1.1rem .55rem .55rem; background: #262626; color: var(--white);
  text-decoration: none; font-weight: 500; font-size: 1.0625rem;
  transition: background-color .15s, color .15s;
}
.wf-nav .wf-letter { background: var(--y); color: var(--ink); }
.wf-nav a:hover { background: var(--y); color: var(--ink); }
.wf-nav a:hover .wf-letter { background: var(--ink); color: var(--y); }
.wf-lang { display: flex; align-items: center; gap: .55rem; padding: .55rem 1rem; background: var(--white); color: var(--ink); text-decoration: none; font-family: var(--font-cond); font-weight: 700; font-size: 1.2rem; }
.wf-lang svg { width: 1.6rem; height: 1.6rem; }
.wf-lang:hover { background: var(--y); }

/* ---------- hero ---------- */
.wf-hero {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--seam);
  max-width: var(--max); margin: clamp(1rem, 2.5vw, 2rem) auto 0; padding: 0 var(--gutter);
}
.wf-hero__panel {
  background: var(--ink); color: var(--white);
  padding: clamp(1.75rem, 4vw, 3.5rem);
  display: flex; flex-direction: column; justify-content: center;
}
.wf-hero__loc { display: flex; align-items: center; gap: .6rem; font-weight: 500; color: #d8d8d2; }
.wf-hero__loc svg { width: 1.5rem; height: 1.5rem; color: var(--y); }
.wf-hero__since { margin-left: .5rem; padding: .1rem .55rem; background: var(--y); color: var(--ink); font-family: var(--font-cond); font-weight: 700; border-radius: 3px; }
.wf-hero__title { margin-top: 1.25rem; font-size: clamp(2.7rem, 5.4vw, 5.25rem); line-height: 1; letter-spacing: -0.025em; font-weight: 600; max-width: 13ch; }
.wf-hero__lead { margin-top: 1.5rem; max-width: 36rem; font-size: clamp(1.0625rem, 1.3vw, 1.2rem); color: #dcdcd6; }
.wf-hero__cta { display: flex; flex-wrap: wrap; gap: var(--seam); margin-top: 2rem; }
.wf-btn {
  display: inline-flex; align-items: center; gap: .7rem;
  min-height: 3.4rem; padding: .6rem 1.3rem .6rem .6rem;
  background: var(--y); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.125rem;
  transition: background-color .15s;
}
.wf-btn svg { width: 2.2rem; height: 2.2rem; padding: .35rem; background: var(--ink); color: var(--y); border-radius: 3px; }
.wf-btn:hover { background: var(--white); }
.wf-btn--ghost { background: #2a2a2a; color: var(--white); }
.wf-btn--ghost svg { background: var(--y); color: var(--ink); }
.wf-btn--ghost:hover { background: #3a3a3a; }

.wf-signs { display: grid; grid-template-rows: repeat(4, minmax(0, 1fr)); gap: var(--seam); }
.wf-sign {
  display: flex; align-items: stretch; gap: 0;
  background: var(--y); color: var(--ink); text-decoration: none;
  min-height: 5.5rem;
}
.wf-sign__arrow { display: grid; place-items: center; width: clamp(4rem, 6vw, 5.5rem); flex: none; background: var(--ink); color: var(--y); }
.wf-sign__arrow svg { width: 52%; height: auto; aspect-ratio: 1; transition: transform .25s cubic-bezier(.3, .7, .2, 1); }
.wf-sign__arrow--down svg, .wf-band__arrow.wf-sign__arrow--down svg { rotate: 90deg; }
.wf-sign__label { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: .6rem 1.1rem; font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 600; line-height: 1.1; min-width: 0; }
.wf-sign__label small { font-size: .9rem; font-weight: 500; margin-top: .3rem; line-height: 1.3; color: #3d3400; }
.wf-sign:hover .wf-sign__arrow--down svg { transform: translateX(6px); }
.wf-sign:hover { background: var(--y-2); }
.wf-sign--info { background: var(--white); }
.wf-sign--info:hover { background: #f4f4ef; }
.wf-sign--info .wf-sign__label small { color: var(--ink-2); }

/* ---------- section structure ---------- */
.wf-sec { max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 9vw, 8rem) var(--gutter) 0; }
.wf-band { display: flex; align-items: stretch; gap: var(--seam); }
.wf-band__letter {
  display: grid; place-items: center; flex: none;
  width: clamp(4.5rem, 9vw, 8rem); aspect-ratio: 1;
  background: var(--ink); color: var(--y);
  font-family: var(--font-cond); font-weight: 700; font-size: clamp(3.25rem, 6.5vw, 6rem); line-height: 1;
}
.wf-band__title {
  flex: 1; display: flex; align-items: center; min-width: 0;
  padding: 0 clamp(1rem, 2.5vw, 2rem);
  background: var(--y); color: var(--ink);
  font-size: clamp(2rem, 5vw, 4.5rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1;
}
.wf-band__arrow { display: grid; place-items: center; flex: none; width: clamp(4.5rem, 9vw, 8rem); background: var(--y); color: var(--ink); }
.wf-band__arrow svg { width: 50%; aspect-ratio: 1; height: auto; }
.wf-intro { max-width: 46rem; margin: clamp(2rem, 4vw, 3rem) 0 clamp(2rem, 4vw, 3rem) calc(clamp(4.5rem, 9vw, 8rem) + var(--seam)); font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.4; font-weight: 500; }

.wf-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--seam); }
.wf-panel { background: var(--white); padding: clamp(1.5rem, 3vw, 2.5rem); }
.wf-panel p { max-width: 60ch; }
.wf-panel--dark { background: var(--ink); color: var(--white); }
.wf-panel--dark p { color: #dcdcd6; }
.wf-panel--dark p + p { margin-top: 1rem; }
.wf-gate { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.25rem; font-family: var(--font-cond); font-weight: 700; font-size: 1.5rem; line-height: 1; }
.wf-h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.05; margin-bottom: .75rem; letter-spacing: -0.02em; }

.wf-services .wf-panel { grid-column: span 6; }
.wf-services .wf-panel--dev { grid-row: span 2; }
.wf-focus { display: grid; gap: var(--seam); margin-top: 1.75rem; }
.wf-focus li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: start; padding: 1rem; background: #f3f2ec; }
.wf-focus strong { display: block; font-size: 1.2rem; font-weight: 600; hyphens: manual; }
.wf-focus div span { color: var(--ink-2); }
.wf-notice { display: flex; gap: .8rem; align-items: flex-start; margin-top: 1.5rem; padding: .9rem 1rem; border-left: 6px solid var(--y); background: var(--ink); color: var(--white); font-size: .9688rem; max-width: none !important; }
.wf-notice svg { width: 1.5rem; height: 1.5rem; color: var(--y); margin-top: .05rem; }
.wf-list { margin-top: 1.25rem; display: grid; }
.wf-list li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .25rem; padding: .7rem 0; border-top: 2px solid var(--ink); font-weight: 500; }
.wf-list li::before { content: ""; width: .7rem; height: .7rem; margin-top: .45rem; background: var(--y); outline: 2px solid var(--ink); }

/* approach: route */
ol.wf-route { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--seam); background: var(--white); padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.5rem) clamp(2rem, 3vw, 2.5rem); }
.wf-route::before { content: ""; position: absolute; left: clamp(1.25rem, 3vw, 2.5rem); right: clamp(1.25rem, 3vw, 2.5rem); top: calc(clamp(1.75rem, 3vw, 2.5rem) + 1.75rem - 5px); height: 10px; background: var(--ink); }
.wf-stop { position: relative; padding-right: 1.5rem; }
.wf-stop__dot {
  position: relative; display: grid; place-items: center;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: var(--white); border: 8px solid var(--ink);
  font-family: var(--font-cond); font-weight: 700; font-size: 1.4rem; line-height: 1;
  margin-bottom: 1.25rem;
}
.wf-stop--end .wf-stop__dot { border-radius: 4px; background: var(--y); }
.wf-stop h3 { font-size: clamp(1.4rem, 2.1vw, 1.85rem); margin-bottom: .4rem; }
.wf-stop p { color: var(--ink-2); hyphens: auto; }

.wf-approach { margin-top: var(--seam); }
.wf-approach .wf-panel--dark { grid-column: span 5; }
.wf-faq { grid-column: span 7; background: var(--white); padding: clamp(1.5rem, 3vw, 2.5rem); }
.wf-faq__title { display: flex; align-items: center; gap: .8rem; font-size: 1.5rem; margin-bottom: 1rem; }
.wf-faq details { border-top: 2px solid var(--ink); }
.wf-faq details:last-child { border-bottom: 2px solid var(--ink); }
.wf-faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: minmax(0, 1fr) 2.4rem; gap: 1rem; align-items: center;
  padding: 1rem 0; font-weight: 600; font-size: 1.125rem; line-height: 1.3;
}
.wf-faq summary::-webkit-details-marker { display: none; }
.wf-faq summary::after {
  content: ""; width: 2.4rem; height: 2.4rem; background: var(--ink); border-radius: 3px;
  background-image: linear-gradient(var(--y), var(--y)), linear-gradient(var(--y), var(--y));
  background-size: 14px 4px, 4px 14px; background-position: center; background-repeat: no-repeat;
}
.wf-faq details[open] summary::after { background-size: 14px 4px, 0 0; background-color: var(--ink); }
.wf-faq summary:hover::after { outline: 3px solid var(--y); }
.wf-faq details p { padding: 0 3.4rem 1.25rem 0; color: var(--ink-2); }

/* products: connections */
.wf-conn { background: var(--white); }
.wf-conn__head { display: flex; justify-content: space-between; padding: .8rem clamp(1rem, 2.5vw, 2rem); background: var(--ink); color: var(--y); font-family: var(--font-cond); font-weight: 600; font-size: 1.35rem; }
.wf-conn__head span:last-child { color: var(--white); }
.wf-conn__row {
  display: grid; grid-template-columns: auto minmax(0, 3fr) minmax(0, 5fr) auto; gap: 1rem clamp(1.25rem, 3vw, 2.5rem);
  align-items: center; padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1rem, 2.5vw, 2rem);
  border-top: var(--seam) solid var(--bg);
}
.wf-conn__row:first-of-type { border-top: 0; }
.wf-conn__name h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.05; hyphens: manual; }
.wf-conn__meta { margin-top: .4rem; font-size: .9375rem; color: var(--ink-2); font-weight: 500; }
.wf-conn__text { color: var(--ink-2); hyphens: auto; max-width: 56ch; }
.wf-go {
  display: inline-flex; align-items: center; gap: .8rem; justify-self: end;
  padding: .7rem .7rem .7rem 1.1rem; background: var(--ink); color: var(--white); text-decoration: none; font-weight: 600; white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.wf-go svg { width: 1.6rem; height: 1.6rem; color: var(--y); transition: transform .2s; }
.wf-go:hover { background: var(--y); color: var(--ink); }
.wf-go:hover svg { color: var(--ink); transform: translateX(4px); }

/* contact: information desk */
.wf-contact { padding-bottom: clamp(5rem, 9vw, 8rem); }
.wf-desk { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--seam); margin-top: var(--seam); }
.wf-desk__sign { background: var(--y); display: grid; align-content: center; justify-items: center; gap: 1rem; padding: 2rem; }
.wf-desk__i { display: grid; place-items: center; width: clamp(7rem, 14vw, 12rem); aspect-ratio: 1; background: var(--ink); color: var(--y); border-radius: 8px; }
.wf-desk__i svg { width: 62%; height: 62%; }
.wf-desk__label { font-size: clamp(1.6rem, 2.6vw, 2.25rem); font-weight: 600; }
.wf-desk__body { background: var(--ink); color: var(--white); padding: clamp(1.75rem, 4vw, 3.5rem); }
.wf-desk__title { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.02; letter-spacing: -0.025em; max-width: 16ch; }
.wf-desk__lead { margin-top: 1.25rem; color: #dcdcd6; max-width: 46ch; font-size: 1.125rem; }
.wf-desk__list { margin-top: 2rem; display: grid; gap: var(--seam); }
.wf-desk__list > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem; align-items: center; padding: .7rem; background: #232323; }
.wf-desk__list dt { display: flex; align-items: center; gap: .8rem; font-weight: 500; color: #dcdcd6; }
.wf-desk__list dd { font-size: 1.125rem; }
.wf-desk__list dd a { font-weight: 600; font-size: clamp(1.1rem, 1.8vw, 1.5rem); color: var(--white); text-decoration-color: var(--y); text-decoration-thickness: 3px; text-underline-offset: .2em; }
.wf-desk__list dd a:hover { color: var(--y); }
.wf-desk__list > div:last-child { align-items: start; }

/* ---------- footer ---------- */
.wf-foot { background: var(--ink); color: var(--white); }
.wf-foot__inner {
  max-width: var(--max); margin: 0 auto; padding: clamp(2rem, 4vw, 3rem) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 1.5rem 2rem; align-items: center;
}
.wf-foot__brand { display: flex; align-items: center; gap: 1rem; font-size: .9688rem; color: #cfcfc9; }
.wf-foot__brand b { color: var(--white); font-weight: 600; }
.wf-foot__links { display: flex; flex-wrap: wrap; gap: var(--seam); }
.wf-foot__links a { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .9rem; background: #262626; text-decoration: none; font-weight: 500; }
.wf-foot__links svg { width: 1.3rem; height: 1.3rem; color: var(--y); }
.wf-foot__links a:hover { background: var(--y); color: var(--ink); }
.wf-foot__links a:hover svg { color: var(--ink); }
.wf-foot__copy { color: #cfcfc9; font-size: .9375rem; }
.wf-foot__strip { display: grid; grid-template-columns: repeat(4, 1fr); }
.wf-foot__strip span { padding: .4rem var(--gutter); font-family: var(--font-cond); font-weight: 700; font-size: 1.25rem; background: var(--y); color: var(--ink); }
.wf-foot__strip span:nth-child(even) { background: #2a2a2a; color: var(--y); }

/* ---------- legal ---------- */
.legal { max-width: var(--max); margin-inline: auto; }
.legal__inner { background: var(--white); padding: 0 clamp(1.5rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem); max-width: 52rem; }
.legal h1 { margin: 0 calc(-1 * clamp(1.5rem, 4vw, 3rem)) 2rem; padding: 1.25rem clamp(1.5rem, 4vw, 3rem); background: var(--y); font-weight: 600; letter-spacing: -0.02em; }
.legal h2 { font-weight: 600; padding-top: .9rem; border-top: 2px solid var(--ink); }
.legal p, .legal li { color: var(--ink-2); }
.legal a { color: var(--ink); text-decoration-color: var(--y); text-decoration-thickness: 3px; }

@media (prefers-reduced-motion: reduce) {
  .wf-sign__arrow svg, .wf-go svg, .wf-nav a, .wf-btn, .wf-go { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .wf-top { padding: var(--seam); }
  .wf-nav { order: 3; width: 100%; }
  .wf-nav a { flex: 1 1 auto; }
  .wf-conn__row { grid-template-columns: auto minmax(0, 1fr); }
  .wf-conn__text, .wf-go { grid-column: 2; }
  .wf-go { justify-self: start; }
}
@media (max-width: 900px) {
  .wf-hero { grid-template-columns: minmax(0, 1fr); }
  .wf-services .wf-panel, .wf-approach .wf-panel--dark, .wf-faq { grid-column: 1 / -1; }
  .wf-services .wf-panel--dev { grid-row: auto; }
  ol.wf-route { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-left: 1.25rem; }
  .wf-route::before { left: calc(1.25rem + 1.75rem - 5px); right: auto; top: 2rem; bottom: 2rem; width: 10px; height: auto; }
  .wf-stop { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); column-gap: 1.1rem; padding-right: 0; }
  .wf-stop__dot { grid-row: 1 / span 2; margin: 0; }
  .wf-stop h3 { align-self: center; margin: .6rem 0 .3rem; }
  .wf-intro { margin-left: 0; }
  .wf-desk { grid-template-columns: minmax(0, 1fr); }
  .wf-desk__sign { grid-template-columns: auto 1fr; justify-items: start; align-items: center; padding: 1.25rem; }
  .wf-desk__i { width: 4.5rem; }
  .wf-foot__inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .wf-brand { padding-right: .5rem; }
  .wf-brand__txt span { font-size: .78rem; }
  .wf-nav { display: grid; grid-template-columns: 1fr 1fr; }
  .wf-nav a { padding: .4rem .7rem .4rem .4rem; font-size: .9688rem; gap: .5rem; }
  .wf-nav .wf-letter { width: 1.6rem; height: 1.6rem; font-size: 1.05rem; }
  .wf-sign { min-height: 4.5rem; }
  .wf-sign__label { font-size: 1.3rem; padding: .5rem .8rem; }
  .wf-sign__label small { font-size: .8125rem; }
  .wf-band__title { font-size: 1.75rem; padding: 0 .9rem; }
  .wf-band__letter, .wf-band__arrow { width: 4rem; }
  .wf-band__letter { font-size: 2.8rem; }
  .wf-conn__row { grid-template-columns: minmax(0, 1fr); }
  .wf-conn__text, .wf-go { grid-column: 1; }
  .wf-faq details p { padding-right: 0; }
  .wf-desk__list > div { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .wf-foot__strip span { padding-inline: .8rem; }
}
@media (min-width: 901px) {
  .wf-stop--end::after { content: ""; position: absolute; left: 3.5rem; right: calc(-1 * clamp(1.25rem, 3vw, 2.5rem)); top: calc(1.75rem - 6px); height: 12px; background: var(--white); }
}

.legal h1 { hyphens: auto; -webkit-hyphens: auto; }
