/* frontways.de: one page in the Frontways look (tokens copied from frontways-agency/src/styles/tokens.css). */

@font-face {
  font-family: 'Archivo Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-wdth-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: 'Archivo Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-ext-wdth-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2');
}

:root {
  --paper: #f2eee6;
  --paper-2: #e9e3d7;
  --ink: #141312;
  --ink-2: #4a4641;
  --ink-3: #8b857c;
  --line: #d8d1c3;
  --white: #fffdf9;
  --red: #ed1c24;
  --red-ink: #b3121a;
  --note-yellow: #ffe766;
  --note-pink: #ffb3c7;
  --note-blue: #b8dcff;
  --note-green: #c4ecb0;
  --engine: #17181b;
  --engine-text: #e8e6e1;

  --font: 'Archivo Variable', 'Archivo', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 0 rgba(20, 19, 18, 0.04), 0 12px 32px -12px rgba(20, 19, 18, 0.18);
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 48px);
  --grid-dot: radial-gradient(circle, rgba(20, 19, 18, 0.14) 1px, transparent 1.4px);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  background-image: var(--grid-dot);
  background-size: 24px 24px;
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow::before { content: ''; width: 8px; height: 8px; background: var(--red); border-radius: 2px; }

.h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-stretch: 112%;
  line-height: 0.95;
  text-transform: uppercase;
  margin-top: 14px;
}
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 40ch; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; border: 1.5px solid var(--ink);
  font: inherit; font-weight: 650; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); border-color: var(--red); color: var(--white); box-shadow: 0 10px 28px -10px rgba(237, 28, 36, 0.7); }
.btn--ghost { background: var(--white); }

/* header */
.top { padding: 22px 0; }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top__logo img { width: 168px; }
.top__link { font-size: 15px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.top__link:hover { color: var(--red-ink); }

/* hero */
.hero { padding: clamp(24px, 5vw, 64px) 0 clamp(56px, 8vw, 96px); }
.hero__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 {
  font-size: clamp(42px, 6.6vw, 84px);
  font-stretch: 112%;
  line-height: 0.9;
  text-transform: uppercase;
  margin: 18px 0 24px;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lead { margin-bottom: 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__art { position: relative; justify-self: center; max-width: 380px; width: 100%; }
.hero__art img { width: 100%; filter: drop-shadow(0 18px 24px rgba(20, 19, 18, 0.18)); }
.sticky {
  position: absolute; font-weight: 700; font-size: 15px; line-height: 1.25;
  padding: 10px 14px; border-radius: 6px; box-shadow: var(--shadow); border: 1.5px solid var(--ink);
}
/* Notes sit beside the body, never over Fronty's face (head = top ~45% of the image). */
.sticky--a { background: var(--note-yellow); top: 70%; left: -12%; transform: rotate(-5deg); }
.sticky--b { background: var(--note-pink); top: 50%; right: -10%; transform: rotate(4deg); }

/* official partner band */
.band { background: var(--engine); color: var(--engine-text); }
.band .eyebrow { color: #b9b5ad; }
.band__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.band .lead { color: #cfcbc3; margin-top: 18px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li {
  background: #22242a; border: 1px solid #33363e; border-radius: var(--radius-sm);
  padding: 18px 20px 18px 56px; position: relative;
}
.checks li::before {
  content: ''; position: absolute; left: 18px; top: 20px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fffdf9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checks strong { display: block; font-size: 18px; margin-bottom: 2px; color: #fff; }
.checks span { color: #cfcbc3; }

/* what we do */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.card { background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card__tag { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.card h3 { font-size: 22px; margin: 10px 0 8px; }
.card p { color: var(--ink-2); font-size: 16px; }

/* projects */
.projects { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-top: 36px; }
.project { background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.project--now { grid-row: span 2; }
.project--soon { background: var(--paper-2); box-shadow: none; border-style: dashed; }
.pill {
  display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; border: 1.5px solid var(--ink);
}
.pill--live { background: var(--note-green); }
.pill--soon { background: var(--note-blue); }
.project h3 { font-size: clamp(24px, 3vw, 32px); margin: 14px 0 4px; }
.project__sub { font-weight: 600; color: var(--ink-2); margin-bottom: 14px; }
.project p + p { margin-top: 10px; }
.project__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.project__links .btn { font-size: 15px; padding: 11px 18px; }

/* signup */
.signup { background: var(--note-yellow); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.signup .h2 { margin-top: 10px; }
.signup p.lead { color: var(--ink); margin-top: 14px; }
.form { display: grid; gap: 12px; }
.form label.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form__row { display: flex; gap: 10px; }
.form input[type=email] {
  flex: 1; min-width: 0; font: inherit; font-size: 17px; padding: 14px 18px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white); color: var(--ink);
}
.form input[type=email]:focus { outline: 2px solid var(--red); outline-offset: 2px; }
.form__fine { font-size: 14px; color: var(--ink-2); }
.form__fine a { color: var(--ink); }
.form__msg { font-weight: 600; color: var(--red-ink); }
.form__msg[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* agency CTA */
.agency { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.agency__box { background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.agency__box ul { margin: 0 0 22px; padding-left: 20px; color: var(--ink-2); }
.agency__box li + li { margin-top: 6px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--ink-2); }
.foot__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: var(--ink); }

/* simple pages (danke, legal) */
.page { padding: clamp(32px, 6vw, 80px) 0 clamp(56px, 8vw, 96px); }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(34px, 5vw, 52px); font-stretch: 112%; line-height: 0.95; text-transform: uppercase; margin: 14px 0 20px; }
.page h2 { font-size: 20px; margin: 32px 0 8px; }
.page p, .page li { color: var(--ink-2); }
.page p + p { margin-top: 10px; }
.page .btn { margin-top: 28px; }
.todo { background: #ffe14d; color: var(--ink); padding: 0 4px; border-radius: 3px; font-weight: 600; }
.draft-note { background: #ffe14d; border: 1.5px solid var(--ink); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 15px; color: var(--ink); margin-bottom: 8px; }

@media (max-width: 900px) {
  .hero__grid, .band__grid, .signup, .agency, .projects { grid-template-columns: 1fr; }
  .project--now { grid-row: auto; }
  .cards { grid-template-columns: 1fr 1fr; }
  .hero__art { max-width: 300px; order: -1; }
  .sticky--a { left: -8%; }
  .sticky--b { right: -6%; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top__logo img { width: 132px; }
  .top__link { font-size: 14px; }
  .cards { grid-template-columns: 1fr; }
  .form__row { flex-direction: column; }
  .form__row .btn { justify-content: center; }
  .hero__art { max-width: 190px; }
  .sticky { font-size: 13px; padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
.lead--gap { margin-top: 16px; }
.form__fine--gap { margin-top: 10px; }
