/* ReLaEx – Engineers
   One consolidated stylesheet. Palette: navy, white, coral.
   System fonts, no web font requests. */


:root {
  --navy: #121b2b;
  --navy-deep: #0e1424;
  --navy-glow: #29475b;
  --ink: #161625;
  --ink-soft: #404052;
  --text: #555565;
  --muted: #796b64;
  --line: #e4e5e1;
  --paper: #f8f8f6;
  --sand: #f0f2ee;
  --coral: #ffa895;
  --coral-strong: #f19c89;
  --coral-text: #ffad9d;
  --mint: #9ce9da;
  --max: 1080px;
  --gutter: max(6vw, calc((100vw - var(--max)) / 2));
  --display: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --body: var(--display);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, .button:focus-visible {
  outline: 2px solid var(--coral-strong);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3 { font-family: var(--display); font-weight: 750; letter-spacing: -.025em; margin: 0; }
h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.1; }
p { margin: 0; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 4px;
}
.skip:focus { top: 12px; }

.label {
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--coral-text); margin: 0 0 16px;
}
.label.muted { color: var(--muted); }

/* Header */
header {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 76px; padding: 0 var(--gutter);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid #e6e6eb;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 22px var(--display); letter-spacing: -.03em; white-space: nowrap; }
.logo img { height: 40px; width: auto; }
.logo span { font-weight: 500; }
nav { display: flex; gap: 28px; color: #5b5b6a; font-size: 14px; font-weight: 600; }
nav a { padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); border-color: var(--coral-strong); }

/* Language switch */
.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid #e0e1e6; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.lang a { padding: 5px 9px; border-radius: 4px; color: #6b6b76; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="page"] { background: var(--navy); color: #fff; }
header nav { margin-left: auto; }
.page .note { margin-top: 36px; padding: 14px 16px; background: var(--paper); border-left: 3px solid var(--coral-strong); font-size: 14px; }

/* Buttons */
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-block; border-radius: 4px; padding: 14px 20px;
  font-size: 14px; font-weight: 700; line-height: 1.2;
  transition: transform .15s, background-color .15s;
}
.button:hover { transform: translateY(-1px); }
.peach { background: var(--coral); color: #291b23; }
.peach:hover { background: #ff9a84; }
.white { background: #eef3ff; color: #181828; }
.white:hover { background: #fff; }
.button.disabled { opacity: .75; cursor: default; transform: none; }

/* Hero: text left, circuit visual right */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 57fr 43fr;
  min-height: 600px; background: var(--navy); color: #fff;
}
.hero-text {
  align-self: center; position: relative; z-index: 3;
  padding: 96px 8% 96px var(--gutter);
}
.hero h1 { font-size: clamp(40px, 4.8vw, 68px); line-height: 1.04; margin-bottom: 18px; max-width: 12ch; }
.hero strong { display: block; font-size: 19px; font-weight: 600; margin-bottom: 14px; }
.hero-text > p:not(.label) { color: #dce0ec; font-size: 17px; max-width: 520px; margin-bottom: 30px; }

.hero-visual {
  position: relative; overflow: hidden;
  background: var(--navy) url("/img/hero-platine.jpg") left center / cover no-repeat;
}
.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(18, 27, 43, .35) 22%, rgba(18, 27, 43, 0) 50%);
}

/* Intro */
.intro {
  display: grid; grid-template-columns: 1fr 2.4fr; gap: 48px; align-items: start;
  padding: 120px var(--gutter) 100px;
}
.intro h2 {
  font: 700 13px var(--body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); padding-top: 8px;
}
.intro p {
  font: 500 clamp(21px, 2.1vw, 27px)/1.45 var(--display);
  letter-spacing: -.012em; color: #1b2130; max-width: 760px;
}

/* Service cards */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border-block: 1px solid var(--line);
}
.cards article { background: #fff; display: flex; flex-direction: column; }
.visual { height: 260px; position: relative; overflow: hidden; }
.cards article > div:last-child { padding: 34px 12% 42px; }
.cards small {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .13em;
  background: #e8f0fa; color: #344d69; padding: 5px 10px; border-radius: 5px;
}
.cards article:nth-child(2) small { background: #ffe1d9; color: #80463a; }
.cards article:nth-child(3) small { background: #fff0d5; color: #775719; }
.cards h3 { font-size: clamp(22px, 2vw, 26px); line-height: 1.22; margin: 20px 0 14px; }
.cards p { color: var(--text); font-size: 15px; line-height: 1.65; }

.visual img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Redesign / retrofit statement */
.info > div {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end;
  padding: 120px var(--gutter);
}
.info p:last-child { color: var(--text); font-size: 17px; line-height: 1.7; }

/* Capabilities */
.capabilities { padding: 0 var(--gutter) 120px; }
.section-title {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px 80px; align-items: end;
}
.section-title .label { grid-column: 1; }
.section-title h2 { grid-column: 1; }
.section-title > p:last-child { grid-column: 2; grid-row: 1 / span 2; color: var(--text); font-size: 17px; line-height: 1.7; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.capability-grid > div {
  display: grid; align-content: start; gap: 10px;
  padding: 26px; background: var(--paper); border-top: 3px solid var(--coral-strong);
}
.capability-grid b { font: 700 19px var(--display); letter-spacing: -.03em; }
.capability-grid span { font-size: 15px; line-height: 1.65; color: #575767; }
.tools {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px;
  margin-top: 20px; padding: 18px 22px;
  background: #f6f7f7; border: 1px solid var(--line); font-size: 14px;
}
.tools > span { font-size: 11px; font-weight: 700; letter-spacing: .13em; color: #69706f; }
.tools strong { font: 600 15px var(--display); color: #37494b; }
.tools small { font-size: 13px; color: #6b6b76; margin-left: auto; }

/* Project examples */
.projects { padding: 0 var(--gutter) 120px; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; }
.project { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; }
.project-visual { height: 290px; overflow: hidden; background: var(--paper); }
.project-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.project-visual.plain {
  display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 10px; padding: 24px;
  background: var(--navy) url("/img/kontakt-linien.webp") center / cover no-repeat;
}
.project-visual.plain.dark { background-position: right bottom; }
.project-visual.plain span {
  font-size: 13px; font-weight: 600; color: #fff; letter-spacing: .02em;
  padding: 7px 12px; border: 1px solid #ffffff40; border-radius: 4px; background: #121b2bcc;
}
.project-body { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.project small { font-size: 11px; font-weight: 700; letter-spacing: .13em; color: var(--muted); }
.project h3 { font-size: 22px; line-height: 1.25; margin: 10px 0 18px; }
.project dl { margin: 0; display: grid; grid-template-columns: 92px 1fr; gap: 10px 14px; font-size: 15px; line-height: 1.6; }
.project dt { font-weight: 700; color: var(--ink); }
.project dd { margin: 0; color: var(--text); }
.project .tags { margin-top: auto; padding-top: 20px; font-size: 13px; color: #6b6b76; }

/* Process */
.process { background: var(--navy-deep); color: #fff; }
.process .wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 90px;
  padding: 120px var(--gutter);
}
.process ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid #ffffff38; }
.process li {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid #ffffff38;
}
.process li > span { font-size: 13px; color: var(--coral-text); font-weight: 700; padding-top: 2px; }
.process li b { font: 600 18px var(--display); }
.process li p { margin-top: 6px; color: #c4c9d8; font-size: 15px; line-height: 1.6; }

/* Team */
.team {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px 80px;
  padding: 120px var(--gutter); background: var(--sand);
}
.team > div:first-child > p:last-child { max-width: 500px; color: var(--text); font-size: 17px; line-height: 1.7; margin-top: 24px; }
.people { display: grid; gap: 14px; align-content: start; }
.people article {
  display: grid; grid-template-columns: 48px 1fr; gap: 4px 18px;
  padding: 28px; background: #fff; border: 1px solid #e4e2dd;
}
.people span {
  grid-row: 1 / span 2; display: grid; place-items: center;
  width: 48px; height: 48px; background: #dceee3; color: #476e50;
  font: 700 15px var(--display);
}
.people h3 { font-size: 21px; line-height: 1.3; }
.people p { color: #5b5b68; font-size: 15px; line-height: 1.6; }
.team-note {
  grid-column: 1 / -1; display: grid; grid-template-columns: 210px 1fr; gap: 18px;
  padding-top: 28px; border-top: 1px solid #cfd2ce;
  font-size: 15px; line-height: 1.6; color: #565665;
}
.team-note b { font: 600 16px var(--display); color: #191927; }

/* Call to action */
.cta {
  position: relative; overflow: hidden; display: grid; place-items: center;
  width: min(1280px, 94vw); min-height: 380px; margin: 110px auto 0;
  border-radius: 8px; background: #101426; color: #fff; text-align: center;
}
.cta-lines {
  position: absolute; inset: 0;
  background: url("/img/kontakt-linien.webp") center / cover no-repeat;
  opacity: .9;
}
.button.big { padding: 17px 30px; font-size: 16px; }
.cta .cta-mail { font-size: 14px; color: #b9bfd2; margin: 22px auto 0; max-width: none; }
.cta .cta-mail a { white-space: nowrap; }
.cta .cta-mail a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #ffffff66; }
.cta > div:last-child { position: relative; z-index: 2; padding: 64px 24px; }
.cta p { max-width: 640px; color: #d3d7e6; font-size: 17px; line-height: 1.6; margin: 18px auto 28px; }

/* Footer */
footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px;
  padding: 48px var(--gutter);
  color: #6f6f7e; font-size: 14px;
}
.footer-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.footer-brand img { height: 26px; width: auto; }
.legal { display: flex; gap: 22px; }
.legal a:hover { color: var(--ink); }

/* Legal pages */
.page { max-width: 760px; margin: 0 auto; padding: 80px 6vw 40px; }
.page h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.1; margin-bottom: 32px; }
.page h2 { font-size: 22px; letter-spacing: -.02em; margin: 40px 0 10px; }
.page p, .page li { color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.page p + p { margin-top: 12px; }
.page a { color: #b0533f; text-decoration: underline; text-underline-offset: 3px; }
.page .todo { background: #fff0d5; color: #775719; padding: 1px 6px; border-radius: 4px; font-size: .92em; }

/* Contact form */
.page .lead { font-size: 18px; color: var(--ink-soft); margin-bottom: 36px; }
.contact-form { display: grid; gap: 18px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink); }
.contact-form .lbl b { color: #b0533f; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: 400 16px var(--body); color: var(--ink);
  padding: 12px 14px; border: 1px solid #cfd2d8; border-radius: 4px; background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 160px; line-height: 1.5; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid var(--coral-strong); outline-offset: 1px; border-color: transparent;
}
.contact-form .check { grid-template-columns: 20px 1fr; align-items: start; gap: 12px; font-weight: 400; color: var(--ink-soft); line-height: 1.55; }
.contact-form .check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: #b0533f; }
.contact-form button { justify-self: start; border: 0; cursor: pointer; font-family: var(--body); padding: 16px 28px; font-size: 16px; }
.contact-form .hint, .page .alt { font-size: 14px; color: var(--text); }
.page .alt { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Home: compact service list and project tiles */
.section-head { margin-bottom: 40px; }
.service-list { padding: 0 var(--gutter) 100px; }
.service-list ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-list li { padding: 26px; background: var(--paper); border-top: 3px solid var(--coral-strong); }
.service-list small { font-size: 11px; font-weight: 700; letter-spacing: .13em; color: var(--muted); }
.service-list h3 { font-size: 21px; line-height: 1.25; margin: 10px 0 8px; }
.service-list p { color: var(--text); font-size: 15px; line-height: 1.6; }
.project-tiles { padding: 100px var(--gutter); background: var(--navy); color: #fff; }
.project-tiles .label.muted { color: var(--coral-text); }
.project-tiles .more-link a { color: #ffc2b5; border-color: #ffc2b566; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile { display: flex; flex-direction: column; gap: 8px; color: #fff; }
.tile-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: #0d2034; margin-bottom: 10px; }
.tile-img img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .3s; }
.tile-img.contain img { object-fit: contain; }
.tile:hover .tile-img img { transform: scale(1.03); }
.tile small { font-size: 11px; font-weight: 700; letter-spacing: .13em; color: var(--coral-text); }
.tile b { font: 700 20px/1.3 var(--display); }
.tile-result { color: #c4c9d8; font-size: 15px; }
.tile:hover b { text-decoration: underline; text-decoration-color: var(--coral-strong); text-underline-offset: 4px; }
.project { scroll-margin-top: 100px; }

/* Subpage header */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--navy) url("/img/hero-platine.jpg") right center / auto 160% no-repeat;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 45%, rgba(18, 27, 43, .55) 75%, rgba(18, 27, 43, .25) 100%);
}
.page-hero-text { position: relative; padding: 84px var(--gutter) 76px; max-width: calc(760px + var(--gutter)); }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; margin-bottom: 18px; }
.page-hero-text > p:last-child { color: #dce0ec; font-size: 18px; max-width: 620px; }

/* Links to subpages */
.more-link { margin-top: 22px; font-weight: 700; font-size: 15px; }
.more-link a { color: #b0533f; border-bottom: 2px solid #f19c8966; padding-bottom: 2px; }
.more-link a:hover { border-color: #b0533f; }
.wrap-gutter { padding: 0 var(--gutter); margin: 28px 0 0; }

/* Home: project teaser and team teaser */
.projects-teaser {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px 80px; align-items: end;
  padding: 110px var(--gutter);
}
.projects-teaser > p:not(.more-link) { color: var(--text); font-size: 17px; line-height: 1.7; }
.projects-teaser .more-link { grid-column: 2; margin-top: 0; }
.team-teaser {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center;
  padding: 100px var(--gutter); background: var(--sand);
}
.team-teaser-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.team-teaser-photos img { width: 100%; height: auto; display: block; border-radius: 4px; }
.team-teaser h2 { margin-bottom: 18px; }
.team-teaser p:not(.label):not(.more-link) { color: var(--text); font-size: 17px; line-height: 1.7; max-width: 520px; }

/* Services: feature block with illustration */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 110px var(--gutter);
}
.feature h2 { margin-bottom: 18px; }
.feature-text > p:not(.label) { color: var(--text); font-size: 17px; line-height: 1.7; }
.feature img { width: 100%; height: auto; display: block; border-radius: 6px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; color: var(--ink-soft); font-size: 16px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid #b0533f; border-bottom: 2px solid #b0533f; transform: rotate(-45deg); }
.projects { padding-top: 90px; }
.project-visual.blue { background: #0d2034; }
.project-visual.blue img { object-fit: contain; }

/* About: founders, facts, values */
.founders { display: grid; gap: 28px; padding: 90px var(--gutter) 40px; }
.founder { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.founder:last-child { border-bottom: 0; }
.founder img { width: 100%; height: auto; display: block; border-radius: 4px; }
.founder h2 { font-size: clamp(28px, 3vw, 38px); }
.founder .degree { color: var(--text); margin: 6px 0 22px; }
.founder dl { margin: 0; display: grid; grid-template-columns: 130px 1fr; gap: 10px 18px; font-size: 16px; line-height: 1.6; }
.founder dt { font-weight: 700; }
.founder dd { margin: 0; color: var(--text); }
.founder .mail { margin-top: 22px; font-size: 15px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.founder .mail a { color: #b0533f; text-decoration: underline; text-underline-offset: 3px; }
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 40px var(--gutter) 0;
  background: var(--line); border: 1px solid var(--line);
}
.facts div { background: var(--paper); padding: 26px 24px; display: grid; gap: 4px; }
.facts b { font: 750 30px var(--display); letter-spacing: -.02em; }
.facts span { color: var(--text); font-size: 14px; }
.values { padding: 100px var(--gutter) 20px; }

/* Tablet */
@media (max-width: 1000px) {
  .intro { grid-template-columns: 1fr; gap: 20px; padding-block: 90px 80px; }
  .info > div, .section-title, .process .wrap, .team { grid-template-columns: 1fr; gap: 28px; }
  .section-title > p:last-child { grid-column: 1; grid-row: auto; }
  .capability-grid, .project-grid, .service-list ul { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .project-tiles { padding-block: 80px; }
  .projects-teaser, .team-teaser, .feature { grid-template-columns: 1fr; gap: 28px; padding-block: 80px; }
  .projects-teaser .more-link { grid-column: 1; }
  .facts { grid-template-columns: 1fr 1fr; }
  .founder { grid-template-columns: 200px 1fr; gap: 32px; }
  .projects { padding-bottom: 90px; }
  .info > div, .process .wrap, .team { padding-block: 90px; }
  .capabilities { padding-bottom: 90px; }
}

/* Phone */
@media (max-width: 760px) {
  header { height: auto; flex-wrap: wrap; gap: 4px 12px; padding-block: 10px 0; }
  nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; border-top: 1px solid #eeeef2; }
  nav a { padding: 10px 0; }
  html { scroll-padding-top: 110px; }
  .logo { font-size: 19px; }
  nav { gap: 14px; font-size: 13px; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding: 64px 7% 48px; }
  .hero h1 { font-size: clamp(40px, 12vw, 56px); }
  .hero-visual { height: 220px; background-size: 150% auto; background-position: left 20%; }
  .hero-visual::after { background: linear-gradient(180deg, var(--navy) 0%, rgba(18, 27, 43, 0) 35%); }
  .cards { grid-template-columns: 1fr; }
  .visual { height: 200px; }
  .cards article > div:last-child { padding: 28px 7% 36px; }
  .tools small { margin-left: 0; flex-basis: 100%; }
  .team-note { grid-template-columns: 1fr; gap: 4px; }
  .tiles { grid-template-columns: 1fr; }
  .service-list { padding-bottom: 70px; }
  .project dl, .founder dl { grid-template-columns: 1fr; gap: 2px; }
  .founder dd { margin-bottom: 10px; }
  .founder { grid-template-columns: 1fr; gap: 22px; }
  .founder img { max-width: 240px; }
  .page-hero { background-size: auto 100%; background-position: 70% center; }
  .page-hero::before { background: rgba(18, 27, 43, .82); }
  .page-hero-text { padding: 56px 7% 52px; }
  .team-teaser-photos { max-width: 360px; }
  .logo img { height: 32px; }
  .project dd { margin-bottom: 10px; }
  .project-body { padding: 24px 22px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .cta .cta-mail a { display: block; white-space: normal; overflow-wrap: anywhere; }
  .contact-form button { justify-self: stretch; }
  .people article { padding: 22px; }
  .cta { margin-top: 70px; min-height: 0; }
  footer { flex-direction: column; align-items: flex-start; padding-block: 36px; }
}

/* Small phones */
@media (max-width: 420px) {
  .logo { font-size: 18px; }
  nav { font-size: 13px; }
}
