/* DLOUHY corporate palette. Logo colours are preserved from the supplied SVG. */
@font-face {
  font-family: "Basis Grotesque";
  src: url("../fonts/basis-grotesque-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Basis Grotesque";
  src: url("../fonts/basis-grotesque-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --red: #ff1c18;
  --grey: #97999c;
  --silver: #bbbcbc;
  --ink: #222;
  --paper: #fafafa;
}
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Basis Grotesque", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-width: 280px;
}
body::after {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--red);
  pointer-events: none;
}
::selection { color: white; background: var(--red); }
.page {
  width: min(1140px, calc(100% - 96px));
  margin-inline: auto;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: 52px 72px;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--silver);
}
.logo { display: block; width: 310px; max-width: 60%; height: auto; }
.event-date {
  color: var(--ink);
  font-size: clamp(26px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  border-left: 3px solid var(--red);
  padding-left: 16px;
}
.thank-you { padding-top: clamp(48px, 6vh, 72px); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}
.headline { min-width: 0; }
.flyer {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 12px 32px rgb(0 0 0 / .08);
}
h1 {
  color: var(--red);
  font-weight: 700;
  font-size: clamp(48px, 5.6vw, 76px);
  letter-spacing: -.035em;
  line-height: 1.05;
  margin: 0;
}
.resources {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.resource {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 52px;
  min-width: 0;
  min-height: 242px;
  padding: 34px 30px 28px;
  border: 1px solid var(--silver);
  border-bottom: 3px solid var(--silver);
  background: white;
  color: var(--ink);
  text-decoration: none;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  -webkit-tap-highlight-color: transparent;
}
.resource-icon {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: var(--grey);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 220ms ease, transform 220ms ease;
}
.resource-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.resource-title { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; line-height: 1.15; }
.arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms ease, stroke 220ms ease;
}
@media (hover: hover) {
  .resource:hover { border-color: var(--red); transform: translateY(-5px); box-shadow: 0 14px 28px rgb(0 0 0 / .06); }
  .resource:hover .resource-icon { stroke: var(--red); transform: translateY(-2px); }
  .resource:hover .arrow { transform: translateX(4px); }
}
.resource:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; border-color: var(--red); }
.resource:focus-visible .resource-icon, .resource:focus-visible .arrow { stroke: var(--red); }
.resource:active { transform: translateY(0); border-color: var(--red); }
.resource:active .arrow { stroke: var(--red); }
@media (prefers-reduced-motion: no-preference) {
  .headline { animation: appear 650ms ease both; }
  .resources { animation: appear 650ms 100ms ease both; }
  @keyframes appear { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 900px) {
  .page { width: calc(100% - 64px); padding-top: 36px; }
  .logo { width: 270px; }
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .flyer { max-width: 600px; justify-self: center; }
  .resources { gap: 16px; margin-top: 44px; }
  .resource { padding: 26px 20px 24px; min-height: 220px; }
  .resource-title { font-size: 24px; }
}
@media (max-width: 700px) {
  .page { width: calc(100% - 40px); padding-block: 30px 48px; }
  .header { align-items: flex-start; flex-direction: column; gap: 24px; padding-bottom: 28px; }
  .logo { width: 270px; max-width: 90%; }
  .event-date { font-size: 26px; padding-left: 12px; }
  .thank-you { padding-top: 42px; }
  h1 { font-size: clamp(39px, 8vw, 55px); }
  .desktop-break { display: none; }
  .resources { grid-template-columns: 1fr; gap: 14px; margin-top: 34px; }
  .resource { flex-direction: row; align-items: center; gap: 24px; min-height: 116px; padding: 24px; }
  .resource-icon { width: 44px; height: 44px; flex-shrink: 0; }
  .resource-bottom { flex: 1; }
  .resource-title { font-size: 26px; }
}
@media (max-width: 360px) {
  .resource { gap: 16px; padding: 20px 16px; }
  .resource-title { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (forced-colors: active) { .resource { border: 1px solid LinkText; } .resource-icon, .arrow { stroke: LinkText; } }
