/* IRIXYS website
   Palette after the three rivers of Passau: Danube (blue), Inn (turquoise), Ilz (dark). */

@font-face {
  font-family: "Bricolage";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url("assets/fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url("assets/fonts/bricolage-grotesque-latin-ext-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("assets/fonts/source-serif-4-latin-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("assets/fonts/source-serif-4-latin-ext-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif";
  font-style: italic;
  font-display: swap;
  font-weight: 200 900;
  src: url("assets/fonts/source-serif-4-latin-standard-italic.woff2") format("woff2-variations");
}

:root {
  /* IRIXYS brand colours, taken from the official logo */
  --blue: #2d4295;
  --red: #be1622; /* reserved for warnings and critical notices */
  --orange: #f39200;
  --grey: #878787;
  /* Derived shades */
  --blue-deep: #1b2a66;
  --blue-night: #101a45;
  --blue-wash: #eaedf7;
  --orange-wash: #fff2df;
  --orange-hover: #ffa82e;
  --green: #18704a;
  --green-line: #2a8a5c;
  --green-wash: #e7f3ec;
  --ink: #1b2130;
  --snow: #f4f5f8;
  --paper: #ffffff;
  --rule: #d9dce5;
  --muted: #525969;
  --on-dark: #eef1f8;
  --on-dark-muted: #b4bdd8;

  --display: "Bricolage", "Arial Narrow", system-ui, sans-serif;
  --text: "Source Serif", Georgia, "Times New Roman", serif;

  --step--1: 0.875rem;
  --step-0: 1.125rem;
  --step-1: 1.375rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  --step-4: clamp(3.2rem, 1.6rem + 7vw, 7.5rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 76rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--snow);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--step-0);
  line-height: 1.62;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); font-stretch: 85%; max-width: 22ch; }
h3 { font-size: var(--step-1); font-weight: 650; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, .contact :focus-visible, .workshop :focus-visible { outline-color: var(--paper); }

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

.skip { position: absolute; left: -999px; top: 0; background: var(--paper); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.75rem; }
/* Logos share a common bottom edge: IRIXYS wordmark and UFA/DFH square end at the bottom of their images */
.brands { display: flex; align-items: flex-end; gap: 1rem; padding-block: .4rem; }
.brand { display: block; line-height: 0; }
.brand img { display: block; height: 3.5rem; width: auto; }
.brand-partner img { height: 3.1rem; }
.brands-divider { align-self: stretch; width: 1px; background: var(--rule); margin-block: .1rem; }
.site-header nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; list-style: none; margin: 0; padding: 0; }
.site-header nav a { color: var(--ink); text-decoration: none; font-family: var(--display); font-size: .98rem; font-weight: 500; }
.site-header nav a:hover { color: var(--blue); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
@media (max-width: 52rem) {
  .header-inner { flex-direction: column; align-items: flex-start; padding-block: .6rem; gap: .35rem; }
  .site-header { position: static; }
  .site-header nav ul { gap: .2rem 1rem; }
}

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(60rem 36rem at 78% 20%, rgba(243, 146, 0, .10), transparent 60%),
    linear-gradient(180deg, var(--blue-night) 0%, var(--blue-deep) 55%, var(--blue) 100%);
  color: var(--on-dark);
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
}
.hero h1 {
  font-size: var(--step-4);
  font-stretch: 80%;
  font-weight: 700;
  line-height: .92;
  letter-spacing: -0.015em;
  color: var(--paper);
  margin-bottom: 1.5rem;
}
.hero-lede { font-size: 1.25rem; line-height: 1.55; color: var(--on-dark); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.btn {
  display: inline-flex; align-items: center;
  font-family: var(--display); font-weight: 600; font-size: 1rem;
  padding: .8rem 1.2rem; border-radius: 999px; text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--orange); color: var(--blue-night); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-ghost { color: var(--on-dark); border: 1px solid rgba(233, 240, 245, .35); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

/* Map */
.map { margin: 0 calc(-1 * var(--gutter)) 0 0; }
.map svg { width: 100%; height: auto; display: block; overflow: visible; }

.alps path { fill: none; stroke: #8f9cc8; stroke-opacity: .3; stroke-width: 1; }
.rivers path { fill: none; stroke: #8fb0f0; stroke-opacity: .55; stroke-width: 1.4; stroke-linecap: round; }
.links path {
  fill: none; stroke: var(--orange); stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
  filter: drop-shadow(0 0 4px rgba(243, 146, 0, .5));
}
.nodes .core { stroke: var(--paper); stroke-width: 2.5; }
.nodes .halo { fill-opacity: .22; stroke-opacity: .75; }
.nodes .core { fill: var(--orange); }
.nodes .halo { fill: var(--orange); stroke: var(--orange); }
.river-labels text {
  fill: #a9c2f5; font-family: var(--text); font-style: italic; font-size: 13px; letter-spacing: .04em;
  opacity: .3;
  paint-order: stroke; stroke: var(--blue-night); stroke-width: 3px; stroke-linejoin: round;
}
.labels text { fill: var(--on-dark); paint-order: stroke; stroke: var(--blue-night); stroke-width: 5px; stroke-linejoin: round; }
.lab-inst { font-family: var(--display); font-size: 17px; font-weight: 600; }
.lab-city { font-family: var(--text); font-size: 14px; fill: var(--on-dark-muted); }
@media (max-width: 40rem) { .lab-inst { font-size: 25px; } .lab-city { font-size: 21px; } .labels text { stroke-width: 7px; } .river-labels text { font-size: 19px; stroke-width: 5px; } }

.pulses path { fill: none; stroke: #ffc46b; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; filter: drop-shadow(0 0 6px rgba(243, 146, 0, .8)); }

@media (prefers-reduced-motion: no-preference) {
  /* The links draw in once and then stay. On top of them, one link at a time is traced by a
     brighter, thicker overlay that fades out again, so the map keeps moving without any link
     ever disappearing. The 30s cycle has six 5s slots; the order alternates across the map. */
  .links path { stroke-dashoffset: 1; animation: draw 1.6s cubic-bezier(.6, .05, .25, 1) var(--d0, 0s) forwards; }
  .links path:nth-child(2) { --d0: .25s; }
  .links path:nth-child(3) { --d0: .45s; }
  .links path:nth-child(4) { --d0: .65s; }
  .links path:nth-child(5) { --d0: .8s; }
  .links path:nth-child(6) { --d0: 1s; }
  .pulses path { animation: trace 30s linear var(--d1, 4s) infinite; }
  .pulses path:nth-child(1) { --d1: 14s; }
  .pulses path:nth-child(2) { --d1: 4s; }
  .pulses path:nth-child(3) { --d1: 24s; }
  .pulses path:nth-child(4) { --d1: 9s; }
  .pulses path:nth-child(5) { --d1: 19s; }
  .pulses path:nth-child(6) { --d1: 29s; }
  .nodes .halo { transform-box: fill-box; transform-origin: center; animation: ping 1.2s ease-out 1.4s both; }
  .labels, .river-labels { animation: fade .8s ease 1.2s both; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
/* Trace the link from start to end (0-5%), hold briefly, then fade out (6-10%). */
@keyframes trace {
  0%   { stroke-dashoffset: 1; opacity: 1; animation-timing-function: cubic-bezier(.45, .05, .35, 1); }
  5%   { stroke-dashoffset: 0; opacity: 1; animation-timing-function: ease-in-out; }
  6%   { stroke-dashoffset: 0; opacity: 1; }
  10%  { stroke-dashoffset: 0; opacity: 0; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes ping { 0% { transform: scale(.2); opacity: 0; } 60% { transform: scale(1.25); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Facts */
.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(2rem, 4vw, 3rem) 0 0; padding-top: 1.5rem;
  border-top: 1px solid rgba(168, 188, 207, .25);
  gap: 1.5rem;
}
.facts div { margin: 0; }
.facts dt { font-family: var(--display); font-weight: 700; font-stretch: 80%; font-size: var(--step-2); color: var(--orange); line-height: 1.1; }
.facts dd { margin: .25rem 0 0; font-size: var(--step--1); line-height: 1.45; color: var(--on-dark-muted); max-width: 24ch; }

@media (max-width: 60rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .map { order: -1; margin-inline: -.5rem; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Workshop band */
.workshop { background: var(--orange); color: var(--blue-night); padding-block: clamp(2.5rem, 5vw, 4rem); }
.workshop-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.kicker { font-family: var(--display); font-weight: 600; margin-bottom: .5rem; }
.workshop h2 { font-size: clamp(2.6rem, 1.6rem + 4.5vw, 5.25rem); font-stretch: 75%; line-height: .95; letter-spacing: -0.02em; }
.workshop .when { font-family: var(--display); font-size: var(--step-2); font-weight: 650; line-height: 1.2; }
.workshop-body p { max-width: 60ch; }
.workshop a { color: var(--blue-night); font-weight: 600; }
@media (max-width: 52rem) { .workshop-grid { grid-template-columns: 1fr; } }

/* Generic sections */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section + .section { border-top: 1px solid var(--rule); }
.section h2 { margin-bottom: 1.25rem; }
.intro { max-width: 62ch; color: var(--muted); }
.sub { font-size: 1.05rem; font-weight: 650; margin-bottom: 1rem; color: var(--blue); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); }
@media (max-width: 52rem) { .two-col { grid-template-columns: 1fr; } }

/* About */
.goals { list-style: none; padding: 0; margin: 0; }
.goals li { padding: 1rem 0 1rem 1.25rem; border-left: 3px solid var(--orange); margin-bottom: 1rem; background: linear-gradient(90deg, var(--orange-wash), transparent 70%); }
.goals strong { display: block; font-family: var(--display); font-weight: 650; font-size: 1.15rem; line-height: 1.3; margin-bottom: .25rem; }

/* Network table */
.network { background: var(--paper); }
.table-scroll { overflow-x: auto; margin-top: 2rem; }
.partners { width: 100%; border-collapse: collapse; min-width: 44rem; }
.partners th, .partners td { text-align: left; vertical-align: top; padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--rule); }
.partners thead th { white-space: nowrap; font-family: var(--display); font-size: var(--step--1); font-weight: 600; color: var(--muted); border-bottom: 2px solid var(--ink); padding-block: .6rem; }
.partners tbody th { font-family: var(--display); font-weight: 650; font-size: 1.12rem; line-height: 1.3; width: 34%; }
.partners td:nth-child(3) { white-space: nowrap; }
.partners tbody th span { display: block; font-family: var(--text); font-weight: 400; font-size: var(--step--1); color: var(--muted); margin-top: .2rem; }
.partners td:last-child { font-family: var(--display); font-weight: 650; color: var(--blue); white-space: nowrap; }
.further { margin-top: 2.5rem; max-width: 62ch; }
.further p { color: var(--muted); }

/* Research weave: areas are columns, cross-cutting concerns are threads running through all of them.
   In each thread the three knots (one per area) are joined by arcs, like the network map in the hero. */
.weave {
  --cg: clamp(1rem, 3vw, 2.5rem);
  --knot: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--cg);
  margin-top: 2.5rem;
}
.col-bg { grid-row: 1 / 6; background: var(--paper); border-top: 4px solid var(--blue); border-radius: 0 0 4px 4px; }
.col-bg.c1 { grid-column: 1; } .col-bg.c2 { grid-column: 2; } .col-bg.c3 { grid-column: 3; }
.area { grid-row: 1; position: relative; padding: 1.5rem 1.5rem .5rem; }
.area:nth-of-type(1) { grid-column: 1; } .area:nth-of-type(2) { grid-column: 2; } .area:nth-of-type(3) { grid-column: 3; }
.area h3 { font-size: 1.3rem; margin-bottom: .75rem; max-width: 20ch; }
.area p { font-size: 1rem; color: var(--muted); margin: 0; }
.threads-title { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.thread {
  grid-column: 1 / -1;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--cg);
  padding: .9rem 0 2rem;
  margin-top: .6rem;
  background: rgba(231, 243, 236, .88);
}
.thread.t1 { grid-row: 3; } .thread.t2 { grid-row: 4; } .thread.t3 { grid-row: 5; margin-bottom: 1.5rem; }
.thread span {
  grid-column: 1 / -1; padding-inline: 1.5rem;
  font-family: var(--display); font-weight: 650; font-size: 1.1rem; color: var(--green);
  margin-bottom: 2rem;
}
.thread i { display: block; height: var(--knot); position: relative; }
/* Knot */
.thread i::after {
  content: ""; position: absolute; z-index: 1; left: 50%; top: 0;
  width: var(--knot); height: var(--knot); margin-left: calc(var(--knot) / -2);
  box-sizing: border-box; border-radius: 50%;
  background: var(--green-line); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px rgba(42, 138, 92, .25);
}
/* Arcs: each knot to the next one above the thread, the first knot to the last one below it */
.thread i::before {
  content: ""; position: absolute; left: 50%;
  border: 2px solid var(--green-line);
}
.thread i:nth-of-type(1)::before, .thread i:nth-of-type(2)::before {
  bottom: calc(var(--knot) / 2); width: calc(100% + var(--cg)); height: 24px;
  border-bottom: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.thread i:nth-of-type(3)::before {
  top: calc(var(--knot) / 2); left: auto; right: 50%; width: calc(200% + 2 * var(--cg)); height: 22px;
  border-top: 0; border-radius: 0 0 50% 50% / 0 0 100% 100%; opacity: .5;
}
@media (max-width: 52rem) {
  .weave { grid-template-columns: 1fr; row-gap: 0; }
  .col-bg { display: none; }
  .area, .area:nth-of-type(n), .threads-title, .thread.t1, .thread.t2, .thread.t3 { grid-column: 1; grid-row: auto; }
  .area { background: var(--paper); border-top: 4px solid var(--blue); padding: 1.25rem; margin-bottom: 1rem; }
  .threads-title { position: static !important; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; font-size: 1rem; color: var(--muted); padding: 1rem 0 .5rem; }
  .thread { grid-template-columns: 1fr; padding: .7rem 1rem .7rem 1.4rem; margin: 0 0 .5rem; border-left: 3px solid var(--green-line); }
  .thread span { padding: 0; margin: 0; }
  .thread i { display: none; }
}

/* Programmes */
.programmes { background: var(--paper); }
.prog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); margin-top: 2rem; }
.prog { padding: 1.75rem; background: var(--snow); border-radius: 4px 28px 4px 4px; display: flex; flex-direction: column; }
.prog h3 { margin-bottom: .9rem; }
.prog p { font-size: 1rem; }
.prog-facts { margin: .25rem 0 1.25rem; display: grid; gap: .75rem; font-size: 1rem; }
.prog-facts dt { font-family: var(--display); font-weight: 600; font-size: var(--step--1); color: var(--muted); }
.prog-facts dd { margin: 0; overflow-wrap: break-word; }
.prog .meta { margin-top: auto; margin-bottom: 0; padding-top: 1rem; border-top: 1px solid var(--rule); font-family: var(--display); font-size: var(--step--1); font-weight: 560; color: var(--blue); }
@media (max-width: 60rem) { .prog-grid { grid-template-columns: 1fr; } }

/* Timeline (a real sequence, so years carry it) */
.tl-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.tl-head { position: sticky; top: 5.5rem; }
.tl-layout .timeline { margin-top: .4rem; }
@media (max-width: 60rem) { .tl-layout { grid-template-columns: 1fr; } .tl-head { position: static; } }
.timeline { list-style: none; margin: 2.5rem 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6rem; top: .6rem; bottom: .6rem; width: 2px; background: var(--rule); }
.timeline li { display: grid; grid-template-columns: 6rem minmax(0, 1fr); column-gap: 2rem; padding-bottom: 2rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(6rem - 5px); top: .55rem; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--snow); }
.timeline h3 { font-size: var(--step-2); font-stretch: 80%; color: var(--blue); line-height: 1.1; }
.timeline p { grid-column: 2; max-width: 62ch; margin-bottom: .6rem; }
.timeline h3 { grid-row: 1 / span 4; }
@media (max-width: 40rem) {
  .timeline::before { left: 5px; }
  .timeline li { grid-template-columns: 1fr; padding-left: 1.75rem; }
  .timeline li::before { left: 0; }
  .timeline h3 { grid-row: auto; margin-bottom: .4rem; }
  .timeline p { grid-column: 1; }
}

/* Industry */
.partner-lists { display: grid; gap: 1.75rem; }
.names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.names li { font-family: var(--display); font-weight: 600; font-size: 1.05rem; padding: .4rem .9rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); }

/* Contact */
.contact { background: var(--blue-deep); color: var(--on-dark); border-top: 0; }
.section + .contact { border-top: 0; }
.contact h2 { color: var(--paper); }
.contact .intro { color: var(--on-dark-muted); }
/* Heading plus five institutions fill a 3 x 2 grid */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem); }
.contact-head h2 { margin-bottom: .75rem; }
.contact-head .intro { margin: 0; max-width: 32ch; }
.inst h3 { font-size: 1.15rem; color: var(--paper); padding-bottom: .75rem; margin-bottom: 1rem; border-bottom: 1px solid rgba(168, 188, 207, .3); }
.inst ul { list-style: none; margin: 0; padding: 0; }
.inst li { margin-bottom: 1rem; display: flex; flex-direction: column; }
.inst li { scroll-margin-top: 6rem; border-radius: 6px; }
.inst li:target { outline: 2px solid var(--orange); outline-offset: .6rem; }
.inst .name { font-family: var(--display); font-weight: 600; }
.inst a { color: var(--orange); font-size: .95rem; overflow-wrap: anywhere; }
@media (max-width: 60rem) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--paper); color: var(--muted); padding-block: 2rem; font-size: var(--step--1); border-top: 4px solid var(--orange); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; }
.footer-inner p { margin: 0; }
.footer-brand { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.footer-logos { display: flex; align-items: flex-end; gap: 1rem; }
.footer-brand img { height: 3.25rem; width: auto; display: block; }
.footer-brand .footer-partner { height: 2.9rem; }
.footer-links { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; }
.footer-links a { color: var(--blue); font-family: var(--display); font-weight: 600; }

/* Legal pages */
.legal { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.legal .wrap { max-width: 48rem; }
.legal h1 { font-size: var(--step-3); font-stretch: 85%; margin-bottom: 2rem; }
.legal h2 { font-size: var(--step-1); margin: 2rem 0 .6rem; max-width: none; }
.legal address { font-style: normal; }
.back { display: inline-block; margin-bottom: 1.5rem; font-family: var(--display); font-weight: 600; }

@media print {
  .site-header nav, .hero-actions { display: none; }
  .hero, .contact, .workshop { background: none; color: #000; }
}
