/* Teaser, teaser.gr. Brand: Raspberry & Ink, Commissioner. */

@font-face {
  font-family: "Commissioner";
  src: url("/assets/fonts/Commissioner-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --rasp: #C61F4B;
  --rasp-dark: #A3173D;
  --ink: #15131A;
  --ink-lift: #2B2734;
  --blush: #F5EEF1;
  --white: #FFFFFF;
  --muted: #57525F;
  --muted-on-ink: #BDB6C2;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1440px;
  --gap: clamp(16px, 2vw, 32px);

  --fs-body: 1.125rem;
  --fs-lede: clamp(1.25rem, 1.05rem + .85vw, 1.875rem);
  --fs-mid: clamp(1.1875rem, 1.05rem + .5vw, 1.5rem);
  --fs-display: clamp(3.25rem, 1rem + 7.1vw, 9.25rem);
  --fs-h1: clamp(2.6rem, 1.35rem + 5.2vw, 6.75rem);
  --fs-h2: clamp(2.1rem, 1.35rem + 3.1vw, 4.25rem);
  --fs-big: clamp(1.875rem, 1.2rem + 2.8vw, 3.75rem);

  --section: clamp(72px, 10vw, 160px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--blush);
  color: var(--ink);
  font: 400 var(--fs-body)/1.6 "Commissioner", system-ui, sans-serif;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--rasp); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--rasp); outline-offset: 3px; }
ul { margin: 0; padding: 0; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: var(--blush); padding: 12px 16px; }
.skip:focus { left: 8px; }

/* ------------------------------------------------------------ header */
.site-head { position: relative; z-index: 10; }
.site-head > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 104px; }
.logo { display: block; flex: none; }
.logo img { display: block; height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 44px); }
.nav a { font-weight: 600; font-size: 1.0625rem; text-decoration: none; padding: 8px 0; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav a:hover { text-decoration-color: var(--rasp); }
.nav .lang { font-weight: 800; letter-spacing: .02em; }
.menu-btn, .menu-close {
  display: none; font: 700 1.0625rem/1 "Commissioner", sans-serif; color: inherit; background: none;
  border: 2px solid currentColor; padding: 12px 16px; cursor: pointer;
}
.menu-panel { position: fixed; inset: 0; background: var(--ink); color: var(--blush); overflow-y: auto; z-index: 40; }
.menu-panel[hidden] { display: none; }
.menu-top { display: flex; align-items: center; justify-content: space-between; min-height: 104px; }
.menu-panel .menu-close { display: inline-block; }
.menu-links { display: flex; flex-direction: column; gap: 6px; padding-block: 24px 40px; }
.menu-links a { font-weight: 800; font-size: clamp(2.25rem, 9vw, 3.5rem); letter-spacing: -.03em; line-height: 1.15; text-decoration: none; }
.menu-links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 8px; text-decoration-color: var(--rasp); }
.menu-panel .lang { font-weight: 800; font-size: 1.25rem; text-decoration: underline; }

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: inline-block; }
  .site-head > .wrap { min-height: 88px; }
  .menu-top { min-height: 88px; }
  .logo img { height: 40px; }
}

/* ------------------------------------------------------------ the peek (eyes over the wall) */
.eyes { --eye: clamp(84px, 12vw, 208px); display: flex; gap: calc(var(--eye) * .13); flex: none; }
.eye {
  position: relative; display: block; width: var(--eye); height: var(--eye); border-radius: 50%;
  background: var(--white); transition: transform .09s ease-in;
}
.eye.blink { transform: scaleY(.08); }
.pupil {
  position: absolute; left: 30%; top: 30%; width: 40%; height: 40%; border-radius: 50%; background: var(--ink);
  transform: translate(var(--px, 41.7%), var(--py, -16.7%));
  transition: transform .18s ease-out;
}
.eyes-sm { --eye: clamp(56px, 6.5vw, 104px); }

/* ------------------------------------------------------------ hero (home, 404) */
.hero { position: relative; overflow-x: clip; }
.hero-top {
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--gap);
  padding-top: clamp(24px, 5vh, 72px);
}
.display {
  font-size: var(--fs-display); line-height: .9; letter-spacing: -.045em;
  padding-bottom: clamp(18px, 2.4vw, 40px); min-width: 0;
}
.display-sm { font-size: var(--fs-h1); max-width: 12ch; }
.hero-top .eyes { transform: translateY(calc(var(--eye) * .27)); margin-right: clamp(0px, 2vw, 40px); }
.wall { position: relative; z-index: 2; background: var(--ink); color: var(--blush); }
.hero-wall > .wrap {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap);
  padding-block: clamp(44px, 7vw, 112px) clamp(64px, 9vw, 144px);
}
.hero-wall .lede { grid-column: 1 / span 7; font-size: var(--fs-lede); line-height: 1.4; margin: 0; }
.hero-cta { grid-column: 9 / span 4; align-self: end; margin: 0; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.text-link { font-weight: 700; }

@media (max-width: 760px) {
  .hero-top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-top .eyes { align-self: flex-end; margin-right: 0; }
  .display { padding-bottom: 0; }
  .hero-wall .lede, .hero-cta { grid-column: 1 / -1; }
  .hero-cta { margin-top: 12px; }
}

/* ------------------------------------------------------------ buttons and links */
.btn {
  display: inline-block; background: var(--rasp); color: var(--white); font: 700 1.0625rem/1.2 "Commissioner", sans-serif;
  padding: 19px 30px; text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
}
.btn:hover { background: var(--rasp-dark); color: var(--white); }
.btn[disabled] { opacity: .7; cursor: progress; }
.more { margin-top: clamp(28px, 3vw, 44px); font-weight: 700; }

/* ------------------------------------------------------------ sections */
.section { padding-block: var(--section); }
.white { background: var(--white); }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.split > .side { grid-column: 1 / span 4; }
.split > .main { grid-column: 5 / span 8; }
.h2 { font-size: var(--fs-h2); }
.h2-sm { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.25rem); letter-spacing: -.025em; line-height: 1.08; }
.h3 { font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.15; }
.big-text { font-size: var(--fs-big); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; max-width: 22ch; }
.mid-text, .mid-copy { font-size: var(--fs-mid); line-height: 1.5; }
.mid-copy p { max-width: 40ch; }

@media (max-width: 900px) {
  .split > .side, .split > .main { grid-column: 1 / -1; }
  .split > .side:empty { display: none; }
  .split > .side + .main { margin-top: clamp(12px, 3vw, 24px); }
}

/* home: services index */
.services-index .side .h2 { position: sticky; top: 32px; }
.svc-list { list-style: none; }
.svc-list li + li { margin-top: clamp(32px, 3.6vw, 56px); }
.svc-list a { display: block; text-decoration: none; }
.svc-name { display: block; font-weight: 800; font-size: var(--fs-big); letter-spacing: -.035em; line-height: 1.02; }
.svc-desc { display: block; margin-top: 12px; max-width: 46ch; color: var(--muted); }
.svc-list a:hover .svc-name, .svc-list a:focus-visible .svc-name {
  text-decoration: underline; text-decoration-thickness: .075em; text-underline-offset: .12em; text-decoration-color: var(--rasp);
}

/* home: two-line statement on white */
.peek { background: var(--white); }
.peek-text { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin: 0; max-width: 20ch; }
/* home + story: statement */
.statement { background: var(--rasp); color: var(--white); padding-block: clamp(80px, 11vw, 176px); }
.statement p { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; max-width: 17ch; margin: 0; }
.statement.mission p { font-size: var(--fs-big); max-width: 26ch; }
.statement.mission .h2-sm { margin-bottom: clamp(20px, 2.4vw, 36px); }

/* home: modes */
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.mode h3 { font-size: clamp(1.375rem, 1.15rem + .7vw, 1.875rem); letter-spacing: -.025em; line-height: 1.1; margin-bottom: 14px; }
.mode p { color: var(--muted); }
@media (max-width: 1100px) { .modes { grid-template-columns: 1fr; gap: 36px; } .mode p { max-width: 48ch; } }

/* ------------------------------------------------------------ inner pages */
.page-hero { padding-block: clamp(40px, 6vw, 96px) clamp(64px, 8vw, 128px); }
.page-hero h1 { font-size: var(--fs-h1); line-height: .96; letter-spacing: -.04em; max-width: 13ch; }
.page-hero .lead { font-size: var(--fs-lede); line-height: 1.42; max-width: 36ch; margin: clamp(32px, 4vw, 64px) 0 0 calc((100% + var(--gap)) / 12 * 4); }
.crumb { font-weight: 600; margin-bottom: clamp(24px, 3vw, 40px); color: var(--muted); }
.crumb a { color: var(--ink); }
.updated { color: var(--muted); margin-top: 24px; }
@media (max-width: 900px) { .page-hero .lead { margin-left: 0; } }

.items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 3.6vw, 56px) var(--gap); }
.item h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.75rem); letter-spacing: -.025em; line-height: 1.12; margin-bottom: 12px; }
.item p { color: var(--muted); max-width: 40ch; }
@media (max-width: 700px) { .items { grid-template-columns: 1fr; } }

.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 4vw, 72px) var(--gap); }
.pair .h2-sm { margin-bottom: 16px; }
@media (max-width: 760px) { .pair { grid-template-columns: 1fr; } }

.ask-row { margin-top: clamp(56px, 7vw, 112px); }
.ask { font-size: var(--fs-mid); max-width: 44ch; }
.ask a { font-weight: 700; }
.next-svc { margin-top: clamp(40px, 5vw, 72px); font-size: var(--fs-big); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.next-svc a { text-decoration-thickness: .07em; }

.svc-rows { display: grid; gap: clamp(56px, 7vw, 112px); }
.svc-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.svc-row-name { grid-column: 1 / span 5; font-size: var(--fs-big); letter-spacing: -.035em; line-height: 1.02; }
.svc-row-name a { text-decoration: none; }
.svc-row-name a:hover { text-decoration: underline; text-decoration-thickness: .075em; text-decoration-color: var(--rasp); }
.svc-row-body { grid-column: 7 / span 6; }
.svc-row-line { font-size: var(--fs-mid); font-weight: 700; letter-spacing: -.01em; line-height: 1.3; margin-bottom: 10px; }
.svc-row-body p:not(.svc-row-line) { color: var(--muted); max-width: 44ch; }
@media (max-width: 900px) { .svc-row-name, .svc-row-body { grid-column: 1 / -1; } }

.mode-row { margin-top: clamp(56px, 7vw, 112px); }

.promises { list-style: none; display: grid; gap: 28px; max-width: 46ch; font-size: var(--fs-mid); line-height: 1.45; }
.promises strong { font-weight: 800; }

.prose { max-width: 62ch; }
.prose .h3 { margin: 48px 0 12px; }
.prose .h3:first-child { margin-top: 0; }

/* ------------------------------------------------------------ contact form */
.form { display: grid; gap: 28px; max-width: 820px; }
.row.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px var(--gap); }
@media (max-width: 640px) { .row.two { grid-template-columns: 1fr; } }
.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 10px; padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; font: 400 1.0625rem/1.4 "Commissioner", sans-serif; color: var(--ink); background: var(--white);
  border: 2px solid var(--ink); border-radius: 0; padding: 14px 16px; appearance: none;
}
.form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2315131A' stroke-width='2.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.form textarea { resize: vertical; min-height: 160px; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--rasp); outline-offset: 2px; }
.form [aria-invalid="true"] { border-color: var(--rasp); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px var(--gap); }
@media (max-width: 640px) { .checks { grid-template-columns: 1fr; } }
.field .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; cursor: pointer; margin: 0; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.hint { color: var(--muted); font-size: 1rem; margin: 8px 0 0; }
.consent { color: var(--muted); font-size: 1rem; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { font-size: var(--fs-mid); }
.form-status strong { display: block; font-size: var(--fs-big); letter-spacing: -.035em; line-height: 1.05; margin-bottom: 8px; }
.form-status.err { color: var(--rasp-dark); font-weight: 700; }
.form.is-sent > :not(.form-status) { display: none; }
.side-note { font-size: var(--fs-mid); font-weight: 700; }

/* ------------------------------------------------------------ footer */
.site-foot { margin-top: 0; }
.foot-peek { overflow: hidden; background: var(--blush); }
.foot-peek .eyes { transform: translateY(calc(var(--eye) * .27)); padding-top: 40px; box-sizing: content-box; }
.foot-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px var(--gap);
  padding-block: clamp(64px, 8vw, 128px) 40px;
}
.foot-main { grid-column: 1 / span 6; }
.foot-line { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; max-width: 12ch; margin-bottom: 28px; }
.foot-cta { font-size: var(--fs-mid); font-weight: 700; }
.foot-mail { margin-top: 12px; font-size: var(--fs-mid); }
.foot-col { grid-column: span 3; }
.foot-col h2 { font-size: 1rem; font-weight: 800; letter-spacing: 0; margin-bottom: 16px; color: var(--muted-on-ink); }
.foot-col ul { list-style: none; display: grid; gap: 8px; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { text-decoration: underline; }
.foot-base {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  margin-top: clamp(24px, 4vw, 64px); color: var(--muted-on-ink); font-size: .9375rem;
}
.foot-base img { height: 36px; width: auto; display: block; }
.foot-base p { margin: 0; }
@media (max-width: 900px) {
  .foot-main { grid-column: 1 / -1; }
  .foot-col { grid-column: span 6; }
}
@media (max-width: 520px) { .foot-col { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
