/* dianagraceweb.com · Reel Box (7 inch reel box)
   Board, label, window, spine. All structure is square except the reel window
   and the two reel discs at the ends of the career band. */

:root {
  --board: #e6e1d6;
  --ink: #23262b;
  --gray: #5b6068;
  --accent: #9a422d;
  --accent-deep: #7c3524;
  --line: #c9c2b3;
  --leader: #d8d2c4;
  --paper: #f7f3ea;
  --display: 'Kalnia', Georgia, 'Times New Roman', serif;
  --body: 'Parkinsans', 'Helvetica Neue', Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--board);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.68;
  font-weight: 400;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 18px; }

.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 20;
}
.skip-link:focus { left: 12px; top: 12px; }

a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* header */

.site-header { border-bottom: 1px solid var(--line); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 18px 0; flex-wrap: wrap;
}

.brand {
  font-family: var(--display); font-weight: 400; font-size: 22px;
  line-height: 1.05; letter-spacing: 0.01em; text-decoration: none;
}
.brand:hover { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.main-nav a {
  font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); padding: 7px 0;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--ink); }

.btn {
  display: inline-block; background: var(--accent); color: var(--paper);
  border: 1px solid var(--accent); padding: 13px 21px; line-height: 1.1;
  font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500; text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--paper); }

/* the nav link rule outranks .btn, so the button states are set explicitly */

.main-nav a.btn {
  color: var(--paper); background: var(--accent);
  border: 1px solid var(--accent); padding: 13px 21px;
}
.main-nav a.btn:hover {
  color: var(--paper); background: var(--accent-deep);
  border-color: var(--accent-deep);
}

/* hero */

.hero { padding: 84px 0 78px; border-bottom: 1px solid var(--line); }

.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }

.hero-copy { grid-column: 1 / span 5; padding-top: 30px; }

.kicker {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gray); margin: 0 0 20px;
}

.hero h1 {
  font-family: var(--display); font-weight: 400; font-size: 58px;
  line-height: 1.02; letter-spacing: -0.005em; margin: 0 0 26px;
}
.hero h1 span { display: block; }
:lang(de) .hero h1 { font-size: 52px; }

.hero .lede { max-width: 35ch; font-size: 17.5px; line-height: 1.66; margin: 0 0 26px; }

.hero-visual { grid-column: 7 / span 6; align-self: start; }

.hero-box { position: relative; width: 538px; max-width: 100%; margin-left: auto; }

.hero-frame {
  border: 1px solid var(--ink); background: var(--board); padding: 8px;
}
.hero-frame img {
  width: 100%; height: auto; aspect-ratio: 4 / 5;
  object-fit: cover; object-position: 50% 16%;
}

.reel-window {
  position: absolute; left: -80px; top: -80px;
  width: 88px; height: 88px; border: 1px solid var(--ink);
  border-radius: 50%; background: var(--board); z-index: 2;
}
.reel-window::after {
  content: ""; position: absolute; inset: 7px;
  border: 1px solid var(--line); border-radius: 50%;
}
.reel-window i {
  position: absolute; left: 50%; top: 50%;
  width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px;
  border-radius: 50%; background: var(--ink);
}
.reel-window i:nth-child(1) { transform: rotate(0deg) translateY(-27px); }
.reel-window i:nth-child(2) { transform: rotate(60deg) translateY(-27px); }
.reel-window i:nth-child(3) { transform: rotate(120deg) translateY(-27px); }
.reel-window i:nth-child(4) { transform: rotate(180deg) translateY(-27px); }
.reel-window i:nth-child(5) { transform: rotate(240deg) translateY(-27px); }
.reel-window i:nth-child(6) { transform: rotate(300deg) translateY(-27px); }

.leader-line {
  position: absolute; left: -110px; top: 0; width: 30px; height: 1px;
  background: var(--ink); z-index: 1;
}
.leader-line::before {
  content: ""; position: absolute; left: -10px; top: -4.5px;
  width: 10px; height: 10px; background: var(--ink);
}

.spine {
  min-height: 56px; border: 1px solid var(--ink); border-top: 0;
  background: var(--leader); display: flex; align-items: center;
  justify-content: space-between; gap: 14px; padding: 10px 14px;
}
.spine-text {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  line-height: 1.5; color: var(--ink);
}
.spine i { width: 6px; height: 6px; background: var(--ink); flex: 0 0 6px; }

/* sections */

.section { padding: 48px 0 0; }

.section-head { display: flex; align-items: baseline; gap: 14px; margin: 0 0 26px; }

.sec-num {
  font-family: var(--display); font-size: 12px; letter-spacing: 0.1em;
  color: var(--accent);
}

.sec-title {
  font-family: var(--display); font-weight: 400; font-size: 31px;
  line-height: 1.12; margin: 0;
}

.sec-rule { flex: 1 1 auto; height: 1px; background: var(--line); }

.section-head.left-rule { justify-content: flex-end; }
.section-head.left-rule::before {
  content: ""; flex: 1 1 auto; height: 1px; background: var(--line);
  margin-right: 2px;
}

/* 01 partners */

.partners {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px 0;
}
.partner {
  position: relative; display: flex; flex-direction: column; align-items: center;
  padding: 0 24px; text-decoration: none;
  border-left: 1px solid var(--line);
}
.partner:nth-child(3n + 1) { border-left: 0; }

.punch {
  position: absolute; left: 12px; top: 2px;
  width: 8px; height: 8px; border: 1px solid var(--ink); border-radius: 50%;
}

.p-logo { width: 250px; max-width: 100%; height: auto; }
.p-logo img { width: 250px; max-width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: contain; }

.p-strip {
  display: flex; align-items: baseline; justify-content: center; gap: 9px;
  width: 100%; margin-top: 16px; padding-top: 5px;
  border-top: 1px solid var(--line);
  font-size: 12px; line-height: 1.3; letter-spacing: 0.13em; text-transform: uppercase;
}
.p-num { color: var(--accent); }
.partner:hover .p-name { color: var(--accent); }

/* 02 quick profile */

.labelcard { border: 1px solid var(--ink); background: var(--board); }

.labelcard-head {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 12px 20px; border-bottom: 1px solid var(--line);
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray);
}

.fields { display: grid; grid-template-columns: repeat(3, 1fr); }

.field {
  padding: 20px; border-right: 1px dotted var(--line);
  border-bottom: 1px dotted var(--line);
}
.field:nth-child(3n) { border-right: 0; }
.field:nth-child(n + 4) { border-bottom: 0; }

.f-label {
  display: block; font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gray); margin-bottom: 6px;
}
.f-value { font-size: 15.5px; line-height: 1.5; }

.labelcard-foot {
  padding: 10px 20px; border-top: 1px solid var(--line);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray);
}

/* 03 about */

.about {
  display: grid; grid-template-columns: minmax(0, 54%) 1px minmax(0, 38%);
  gap: 32px; justify-content: space-between; align-items: start;
}
.about-rule { background: var(--line); height: 100%; min-height: 320px; }
.about-text { max-width: 56ch; }
.about-text p { margin: 0 0 18px; }
.about-text p:first-child { position: relative; padding-left: 20px; }
.about-text p:first-child::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; background: var(--accent);
}
.about-side {
  margin-top: 24px; font-size: 11px; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--gray);
}
.about-side span { display: block; margin-top: 5px; }
.about-figure { width: 300px; max-width: 100%; justify-self: end; margin: 0; }
.about-figure img { width: 300px; max-width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }

/* 04 career band */

.timeline { margin-top: 10px; }

.tl-track { position: relative; padding: 0 34px; }

.tl-track::before {
  content: ""; position: absolute; left: 0; right: 0; top: 118px;
  height: 1px; background: var(--ink);
}

.tl-reel {
  position: absolute; top: 106px; width: 24px; height: 24px;
  border: 1px solid var(--ink); border-radius: 50%;
  background: var(--board); z-index: 2;
}
.tl-reel::before {
  content: ""; position: absolute; inset: 4px;
  border: 1px solid var(--line); border-radius: 50%;
}
.tl-reel::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 4px; height: 4px; margin: -2px 0 0 -2px;
  background: var(--ink); border-radius: 50%;
}
.tl-reel.start { left: 0; }
.tl-reel.end { right: 0; }

.tl-items { display: grid; grid-template-columns: repeat(8, 1fr); }

.tl-item { display: grid; grid-template-rows: 110px 16px 110px; text-align: center; }

.tl-up, .tl-down { padding: 0 6px; }
.tl-up { grid-row: 1; align-self: end; padding-bottom: 12px; }
.tl-down { grid-row: 3; align-self: start; padding-top: 12px; }

.tl-dot {
  grid-row: 2; justify-self: center; align-self: center;
  width: 8px; height: 8px; background: var(--ink);
}
.tl-dot.double {
  width: 12px; height: 12px;
  background: var(--board); border: 1px solid var(--ink);
  display: grid; place-items: center;
}
.tl-dot.double::after { content: ""; width: 4px; height: 4px; background: var(--ink); }
.tl-dot.start { background: var(--accent); }
.hl { color: var(--accent); }
.reel-window.static { position: relative; left: 0; top: 0; margin: 0 0 24px; }

.tl-year {
  display: block; font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 4px;
}
.tl-label { display: block; font-size: 13.5px; line-height: 1.4; color: var(--gray); }
.tl-side { display: none; }

/* 05 gallery */

.gallery {
  display: grid; grid-template-columns: repeat(3, minmax(0, 300px));
  gap: 14px; justify-content: center; align-items: start;
}
.g-item { width: 100%; margin: 0; }
.g-item img { width: 100%; height: auto; object-fit: cover; }
.g-tall { grid-row: span 2; }
.g-tall img { aspect-ratio: 300 / 435; }
.g-sq img { aspect-ratio: 1 / 1; }
.g-third img { aspect-ratio: 300 / 333; }

.g-text {
  aspect-ratio: 300 / 333; border: 1px solid var(--line);
  padding: 26px 24px; display: flex; flex-direction: column; justify-content: space-between;
}
.g-text h3 {
  font-family: var(--display); font-weight: 400; font-size: 21px;
  letter-spacing: 0.06em; margin: 0;
}
.g-text p { font-size: 14.5px; line-height: 1.55; color: var(--gray); margin: 0; }

/* 06 social */

.social {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px;
  border-top: 1px solid var(--line); max-width: 900px;
}
.social-row {
  display: flex; align-items: baseline; gap: 8px;
  padding: 14px 0; border-bottom: 1px dotted var(--line);
  text-decoration: none;
}
.social-platform {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray);
}
.social-sep { color: var(--line); }
.social-handle { font-size: 15px; color: var(--ink); }
.social-row:hover .social-handle { color: var(--accent); }

/* footer */

.site-footer { border-top: 1px solid var(--ink); margin-top: 72px; }

.footer-grid {
  position: relative; display: grid; grid-template-columns: 1.1fr 1fr auto;
  gap: 32px; padding: 34px 0 40px; align-items: start;
}
.footer-grid::before {
  content: ""; position: absolute; left: 0; top: -4.5px;
  width: 8px; height: 8px; background: var(--ink);
}
.footer-brand .brand { font-size: 18px; }
.footer-tagline { font-size: 13px; color: var(--gray); margin: 8px 0 0; max-width: 30ch; }
.language-nav { font-size: 10.5px; letter-spacing: 0.08em; line-height: 1.9; }
.language-nav a { text-decoration: none; }
.language-nav a:hover { color: var(--accent); }
.language-nav a.is-current { color: var(--accent); }
.language-nav .sep { color: var(--gray); padding: 0 4px; }
.footer-legal { font-size: 12px; color: var(--gray); margin: 0; text-align: right; }

/* subpages */

.strip {
  margin-top: 24px; display: flex; justify-content: space-between; gap: 18px;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line);
  padding: 9px 0; font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gray);
}

.page-head { padding: 48px 0 34px; border-bottom: 1px solid var(--line); }
.page-head h1 {
  font-family: var(--display); font-weight: 400; font-size: 46px;
  line-height: 1.1; margin: 0 0 18px; max-width: 24ch;
}
.page-head .lede { max-width: 60ch; font-size: 18px; line-height: 1.62; margin: 0; }

.page-body { padding: 44px 0 0; }

.prose { max-width: 64ch; }
.prose h2 {
  font-family: var(--display); font-weight: 400; font-size: 28px;
  line-height: 1.2; margin: 38px 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 28px 0 10px; }
.prose p { margin: 0 0 18px; }
.prose ul { margin: 0 0 18px; padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose .note { font-size: 14.5px; color: var(--gray); }
.career-intro { max-width: 56ch; }
.prose.spaced { margin-top: 44px; }

.bio-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 280px;
  gap: 64px; align-items: start;
}

.rail { border: 1px solid var(--ink); }
.rail-head {
  padding: 11px 16px; border-bottom: 1px solid var(--line);
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray);
}
.rail dl { margin: 0; padding: 4px 16px 10px; }
.rail dt {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray); margin-top: 12px;
}
.rail dd { margin: 2px 0 0; font-size: 14.5px; line-height: 1.45; }
.rail-foot {
  border-top: 1px solid var(--line); padding: 10px 16px;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray);
}

.side-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.side-col { padding: 26px 30px 12px; border-left: 1px solid var(--line); }
.side-col:first-child { border-left: 0; }
.side-title { font-family: var(--display); font-weight: 400; font-size: 23px; margin: 0 0 4px; }
.side-meta {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray); margin: 0 0 18px;
}
.year-row {
  display: grid; grid-template-columns: 62px 1fr; gap: 16px;
  padding: 12px 0; border-top: 1px dotted var(--line);
}
.year-row:first-of-type { border-top: 0; }
.year { font-family: var(--display); font-size: 17px; line-height: 1.4; }
.year-row p { margin: 0; font-size: 15.5px; line-height: 1.55; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 0 0 8px; }
.table th {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray); text-align: left; padding: 10px 12px;
  border-bottom: 1px solid var(--ink); font-weight: 500; white-space: nowrap;
}
.table td { padding: 12px; border-bottom: 1px dotted var(--line); vertical-align: top; }
.table td.num { font-family: var(--display); font-size: 17px; white-space: nowrap; }
.table tr.total td { border-top: 1px solid var(--ink); border-bottom: 0; font-weight: 500; }
.table ul { margin: 0; padding-left: 18px; }

.faq-list { border-top: 1px solid var(--ink); max-width: 74ch; }
.faq-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.faq-q {
  font-family: var(--display); font-weight: 400; font-size: 21px;
  line-height: 1.32; margin: 0 0 10px;
}
.faq-a { margin: 0; max-width: 64ch; }

/* 404 */

.error-wrap { min-height: 58vh; display: flex; flex-direction: column; justify-content: center; padding: 64px 0 80px; }
.error-code {
  font-family: var(--display); font-weight: 400; font-size: 120px;
  line-height: 0.9; color: var(--accent); margin: 0 0 12px;
}
.error-copy { max-width: 46ch; font-size: 18px; margin: 0 0 26px; }
.error-link {
  display: inline-block; align-self: flex-start; text-decoration: none;
  border-bottom: 1px solid var(--ink); padding-bottom: 3px;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
}
.error-link:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* 1024 */

@media (max-width: 1024px) {
  .hero { padding: 86px 0 64px; }
  .hero-copy { grid-column: 1 / span 5; padding-top: 16px; }
  .hero h1 { font-size: 48px; }
  .hero-box { width: 478px; }
  .hero .lede { font-size: 16.5px; max-width: 33ch; }
  .sec-title { font-size: 27px; }
  .about { grid-template-columns: minmax(0, 54%) 1px minmax(0, 36%); gap: 24px; }
  .bio-grid { grid-template-columns: minmax(0, 1fr) 250px; gap: 40px; }
  .page-head h1 { font-size: 40px; }
}

/* 1010: the 6 column photo bay can no longer hold a 478px box beside a 5 column text block */

@media (max-width: 1010px) {
  .hero-grid { display: flex; flex-direction: column; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-box { margin: 0 auto; }
  .hero-copy { padding-top: 0; }
  .leader-line { display: none; }
  .hero h1 { font-size: 48px; }
  :lang(de) .hero h1 { font-size: 44px; }
  .hero .lede { max-width: 40ch; }
}

/* 720 */

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .shell { width: calc(100% - 40px); }

  .header-inner { padding: 14px 0 12px; gap: 12px; }
  .brand { font-size: 19px; }
  .main-nav { gap: 14px; width: 100%; }
  .main-nav a { font-size: 10.5px; letter-spacing: 0.08em; padding: 5px 0; }
  .main-nav a.btn { padding: 10px 14px; margin-left: auto; }

  .hero { padding: 34px 0 46px; }
  .hero-visual { margin: 0 auto; }
  .hero-box { width: 100%; max-width: 520px; margin: 0 auto; }
  .reel-window {
    left: auto; right: -10px; top: auto; bottom: -18px;
    width: 56px; height: 56px;
  }
  .reel-window::after { inset: 5px; }
  .reel-window i { width: 4px; height: 4px; margin: -2px 0 0 -2px; }
  .reel-window i:nth-child(1) { transform: rotate(0deg) translateY(-17px); }
  .reel-window i:nth-child(2) { transform: rotate(60deg) translateY(-17px); }
  .reel-window i:nth-child(3) { transform: rotate(120deg) translateY(-17px); }
  .reel-window i:nth-child(4) { transform: rotate(180deg) translateY(-17px); }
  .reel-window i:nth-child(5) { transform: rotate(240deg) translateY(-17px); }
  .reel-window i:nth-child(6) { transform: rotate(300deg) translateY(-17px); }
  .leader-line { display: none; }
  .spine { padding: 10px 12px; }
  .spine-text { font-size: 9.5px; letter-spacing: 0.1em; }

  .hero-copy { padding-top: 40px; }
  .hero h1 { font-size: 41px; margin-bottom: 20px; }
  :lang(de) .hero h1 { font-size: 37px; }
  .hero .lede { max-width: none; }

  .section { padding: 40px 0 0; }
  .section-head { gap: 10px; margin-bottom: 20px; }
  .sec-title { font-size: 25px; }

  .partners { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .partner { padding: 0 12px; }
  .partner:nth-child(3n + 1) { border-left: 1px solid var(--line); }
  .partner:nth-child(2n + 1) { border-left: 0; }
  .p-strip { font-size: 10px; gap: 6px; }

  .fields { grid-template-columns: 1fr; }
  .field { border-right: 0; border-bottom: 1px dotted var(--line); }
  .field:nth-child(n + 4) { border-bottom: 1px dotted var(--line); }
  .field:last-child { border-bottom: 0; }

  .about { display: block; }
  .about-rule { display: none; }
  .about-figure { margin: 26px 0 0; width: min(300px, 100%); }

  .tl-track { padding: 0 0 0 26px; border-left: 1px solid var(--ink); margin-left: 8px; }
  .tl-track::before { display: none; }
  .tl-reel { display: none; }
  .tl-items { display: block; }
  .tl-item {
    display: block; text-align: left; padding: 14px 0; position: relative;
    border-top: 1px dotted var(--line);
  }
  .tl-item:first-child { border-top: 0; }
  .tl-up, .tl-down { display: block; padding: 0; }
  .tl-dot { position: absolute; left: -30px; top: 20px; }
  .tl-dot.double { margin: 0; left: -32px; }
  .tl-side {
    display: inline-block; font-size: 9.5px; letter-spacing: 0.14em;
    border: 1px solid var(--line); padding: 1px 5px; margin-right: 8px;
    color: var(--gray);
  }
  .tl-year { display: inline-block; margin-right: 6px; }
  .tl-label { display: inline; }

  .gallery { grid-template-columns: minmax(0, 340px); justify-content: start; gap: 16px; }
  .g-tall { grid-row: auto; }
  .g-tall img, .g-sq img, .g-third img { aspect-ratio: auto; height: auto; }
  .g-text { aspect-ratio: auto; min-height: 220px; gap: 24px; }

  .social { grid-template-columns: 1fr; gap: 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 18px; padding: 28px 0 34px; text-align: left; }
  .footer-legal { text-align: left; }
  .language-nav { line-height: 2.1; }

  .strip { font-size: 9px; letter-spacing: 0.1em; }
  .page-head { padding: 36px 0 26px; }
  .page-head h1 { font-size: 33px; }
  .page-head .lede { font-size: 16.5px; }
  .page-body { padding: 32px 0 0; }
  .prose h2 { font-size: 24px; }
  .bio-grid { display: block; }
  .rail { margin-top: 30px; }
  .side-grid { display: block; }
  .side-col { border-left: 0; border-top: 1px solid var(--line); padding: 22px 0 8px; }
  .side-col:first-child { border-top: 0; }
  .year-row { grid-template-columns: 52px 1fr; gap: 12px; }
  .table { font-size: 14.5px; }
  .table th, .table td { padding: 10px 8px; }
  .faq-q { font-size: 19px; }
  .error-code { font-size: 88px; }
}

@media (max-width: 400px) {
  .language-nav { font-size: 9.5px; letter-spacing: 0.04em; }
  .main-nav { gap: 10px; }
  .main-nav a { font-size: 10px; }
  .main-nav a.btn { padding: 9px 10px; letter-spacing: 0.06em; }
  .hero h1 { font-size: 36px; }
  .p-strip { font-size: 9.5px; }
}

@media (max-width: 640px) {
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner { min-width: 0; padding: 0 10px; }
}
