/* Portrait · christoforos.aigenta.gr */

:root {
  --accent: #FF5A1F;
  --accent-ink: #111112;
  --serif: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 3.4vw, 56px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* The page shifts between a paper world and a dark world, section by section */
:root,
:root[data-theme="light"] {
  --bg: #F4F3EF;
  --ink: #111112;
  --ink-2: #55544F;
  --line: rgba(17, 17, 18, 0.14);
  --card: rgba(244, 243, 239, 0.72);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #111112;
  --ink: #ECEBE4;
  --ink-2: #A9A89C;
  --line: rgba(236, 235, 228, 0.14);
  --card: rgba(26, 27, 22, 0.72);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.8s var(--ease), color 0.8s var(--ease);
}
body.is-loading { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); margin-right: 8px; vertical-align: 1px;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.3; } }

/* One type system, the menu's: Archivo for everything you read big, Geist Mono for
   labels and numbers. Bodoni appears only in the wordmark. */
.title { margin: 0; font-size: clamp(40px, 7vw, 120px); line-height: 0.92; font-weight: 800; text-transform: uppercase; }
.title__sans, .title__serif { font-family: var(--sans); font-weight: 800; font-stretch: 108%; letter-spacing: -0.035em; }
.title__serif { color: var(--ink-2); }
.section-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 6vh; }
/* Bodoni's display optical size has hairlines that vanish at large sizes */
.wordmark__serif { font-optical-sizing: none; font-variation-settings: "opsz" 14; }

/* Layers */

/* Negative z-index keeps the lines above the page background but lets main stay
   un-isolated, so the portrait can multiply straight onto the paper */
.topo { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.grain {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-2%, 6%); } 80% { transform: translate(5%, 2%); } 100% { transform: translate(0, 0); }
}
main, .footer { position: relative; }

/* Signature: the brushed CK from the concept frame, revealed with a left-to-right wipe */

.sig-img { display: block; pointer-events: none; }

/* Loader */

.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: #F4F3EF;
}
.sig-img--loader { width: min(560px, 76vw); height: auto; }

/* Nav */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 24px var(--gutter);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.wordmark { display: flex; flex-direction: column; text-transform: uppercase; line-height: 0.9; color: var(--ink); transition: color 0.8s var(--ease); }
.wordmark__serif { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.5vw, 38px); letter-spacing: 0.005em; }
.wordmark__sans { font-family: var(--sans); font-weight: 800; font-stretch: 112%; font-size: clamp(22px, 2.5vw, 38px); letter-spacing: -0.03em; }
.wordmark__bar { display: block; width: 40px; height: 3px; margin-top: 12px; background: var(--accent); }

.nav__right { display: flex; align-items: center; gap: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 14px;
  height: 52px; padding: 0 24px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}
.pill:hover { background: var(--ink); color: var(--bg); }
.menu-btn {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid var(--ink); background: var(--card); color: var(--ink);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: grid; place-content: center; gap: 6px; cursor: pointer;
  transition: border-color 0.8s var(--ease), background 0.8s var(--ease);
}
.menu-btn span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease); }
.menu-btn span:last-child { width: 12px; justify-self: end; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { width: 18px; transform: translateY(-3.75px) rotate(-45deg); }

@media (max-width: 640px) {
  .pill span { display: none; }
  .pill { width: 52px; padding: 0; justify-content: center; }
}

/* Menu */

.menu {
  position: fixed; inset: 0; z-index: 45;
  background: #111112; color: #ECEBE4;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex; align-items: baseline; gap: 20px;
  font-family: var(--sans); font-weight: 800; font-stretch: 108%; text-transform: uppercase;
  font-size: clamp(40px, 7.5vw, 120px); line-height: 0.95; letter-spacing: -0.035em;
  border-bottom: 1px solid rgba(236, 235, 228, 0.14); padding: 10px 0;
  transition: color 0.3s, padding 0.6s var(--ease);
}
.menu__links a:hover { color: var(--accent); padding-left: 16px; }
.menu__num { font-family: var(--mono); font-size: 13px; font-weight: 400; letter-spacing: 0.08em; color: #A9A89C; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 32px; }
.menu__foot a { color: #ECEBE4; }
.menu__foot a:hover { color: var(--accent); }

/* Hero */

.hero { --hero-h: max(100svh, 640px); position: relative; height: var(--hero-h); overflow: hidden; }
/* The artwork keeps the concept frame's 16:9 at full hero height, centred: on wide
   screens paper shows at the sides, on phones the sides crop and the face stays.
   .hero__art must stay a plain box (no transform, opacity or z-index) so the photo
   can multiply onto the paper behind it. */
.hero__art {
  position: absolute; top: 0; bottom: 0;
  width: calc(var(--hero-h) * 16 / 9);
  left: calc(50% - var(--hero-h) * 8 / 9);
}
.hero__layer {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; user-select: none;
}
.hero__photo { mix-blend-mode: multiply; }
/* A second copy of the headphones lights up around the cursor */
.hero__phones--lit {
  -webkit-mask-image: radial-gradient(circle var(--lit-r, 240px) at var(--mx, -999px) var(--my, -999px), #000 0%, rgba(0, 0, 0, 0.6) 45%, transparent 100%);
  mask-image: radial-gradient(circle var(--lit-r, 240px) at var(--mx, -999px) var(--my, -999px), #000 0%, rgba(0, 0, 0, 0.6) 45%, transparent 100%);
  filter: saturate(1.5) brightness(1.08) drop-shadow(0 0 6px rgba(255, 90, 31, 0.55));
}
.now-card {
  position: absolute; z-index: 4; left: var(--gutter); bottom: 28px;
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 20px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: border-color 0.3s;
}
.now-card:hover { border-color: var(--accent); }
.now-card .dot { margin-right: 0; }
.now-card__sep { color: var(--ink-2); }
.now-card__name { font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }

/* Quote */

.quote { position: relative; padding: 22vh 0 16vh; overflow: hidden; }
.marquee { white-space: nowrap; overflow: hidden; text-transform: uppercase; line-height: 0.9; }
.marquee__inner { display: inline-flex; will-change: transform; }
.marquee--serif { font-family: var(--sans); font-weight: 800; font-stretch: 108%; font-size: clamp(60px, 10.5vw, 196px); letter-spacing: -0.045em; color: transparent; -webkit-text-stroke: 1.5px var(--ink-2); }
.marquee--sans { font-family: var(--sans); font-weight: 800; font-stretch: 108%; font-size: clamp(60px, 10.5vw, 196px); letter-spacing: -0.045em; }
.quote__card {
  position: absolute; z-index: 2; margin: 0;
  left: 50%; top: 22vh; transform: translate(-50%, -12%);
  width: clamp(200px, 22vw, 360px); aspect-ratio: 4 / 5;
}
.quote__card > img:first-child { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(0.82) sepia(0.18); }
.sig-img--card { position: absolute; width: 240%; height: auto; left: -70%; top: 52%; transform: rotate(-4deg); }
.quote__body {
  position: relative; z-index: 3;
  max-width: 600px; margin: 18vh auto 0; padding: 0 var(--gutter);
  text-align: center; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ink-2);
}
.quote__body em { font-style: normal; font-weight: 700; color: var(--ink); }

/* Lineup: rows built exactly like the menu links */

.lineup { padding: 16vh var(--gutter) 14vh; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr) 170px;
  gap: 24px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  transition: color 0.3s, padding 0.6s var(--ease);
}
.row:hover { color: var(--accent); padding-left: 16px; }
.row__num { align-self: center; }
.row__name {
  font-weight: 800; font-stretch: 108%; text-transform: uppercase;
  font-size: clamp(32px, 4.6vw, 80px); line-height: 0.95; letter-spacing: -0.035em;
}
.row__text { color: var(--ink-2); font-size: 15px; line-height: 1.5; max-width: 420px; align-self: center; }
.row__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; align-self: center; }
.rows--small .row__name { font-size: clamp(24px, 2.6vw, 40px); }
.rows--small .row { padding: 14px 0; }
.rows-label { margin: 8vh 0 14px; }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s ease-in-out infinite; }
.status--int i { background: var(--ink-2); animation: none; }

/* Product preview that follows the cursor over the rows */
.preview {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: 340px; aspect-ratio: 4 / 3; overflow: hidden;
  opacity: 0; transform: translate(-50%, -50%) scale(0.92);
  transition: opacity 0.3s, transform 0.5s var(--ease);
}
.preview.is-on { opacity: 1; }
.preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

@media (max-width: 820px) {
  .row { grid-template-columns: 40px minmax(0, 1fr) 110px; }
  .row__text { display: none; }
  .preview { display: none; }
}

/* Stats */

.stats { padding: 18vh var(--gutter) 10vh; }
.stats__head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 8vh; }
.stats__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: 14px; padding: 40px 32px 40px 0; border-bottom: 1px solid var(--line); }
.stat:not(:nth-child(3n + 1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.stat__n { font-weight: 800; font-stretch: 108%; font-size: clamp(60px, 7.6vw, 136px); line-height: 0.85; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.stat__l { color: var(--ink-2); max-width: 300px; }

@media (max-width: 820px) {
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat, .stat:not(:nth-child(3n + 1)) { padding: 28px 16px 28px 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
}

/* Career */

.career { padding: 10vh var(--gutter) 18vh; }
.career__head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 6vh; }
.career__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.leg {
  display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: baseline;
  padding: 28px 0; border-top: 1px solid var(--line);
  transition: padding 0.6s var(--ease);
}
.leg:hover { padding-left: 16px; }
.leg__name { font-weight: 800; font-stretch: 108%; text-transform: uppercase; font-size: clamp(32px, 4.6vw, 80px); line-height: 0.95; letter-spacing: -0.035em; transition: color 0.3s; }
.leg:hover .leg__name { color: var(--accent); }
.leg__text { color: var(--ink-2); font-size: 17px; max-width: 520px; }

@media (max-width: 820px) {
  .leg { grid-template-columns: 1fr; gap: 10px; }
}

/* Agent */

.agent { min-height: 100svh; padding: 18vh var(--gutter) 14vh; display: flex; flex-direction: column; }
.agent__eyebrow { margin: 0; }
.agent__title { margin: 4vh 0 8vh; font-size: clamp(64px, 13.5vw, 252px); line-height: 0.86; font-weight: 800; text-transform: uppercase; }
.agent__title .title__serif { color: var(--accent); }
.agent__line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.agent__line > span { display: inline-block; }
.agent__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); align-items: start; margin-top: auto; }
.agent__lede { margin: 0; max-width: 560px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ink-2); }

.agent-form { position: relative; display: grid; gap: 4px; }
.agent-form__row { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); transition: border-color 0.3s; }
.agent-form__row:focus-within { border-color: var(--accent); }
.agent-form input { width: 100%; background: transparent; border: 0; outline: 0; color: var(--ink); font: inherit; font-size: 24px; letter-spacing: -0.01em; }
.agent-form input::placeholder { color: var(--ink-2); opacity: 0.6; }
.agent-form__tel { display: flex; align-items: baseline; gap: 12px; }
.agent-form__cc { font-family: var(--mono); font-size: 18px; color: var(--ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.agent-form__btn {
  justify-self: start; margin-top: 28px;
  display: inline-flex; align-items: center; gap: 18px;
  height: 64px; padding: 0 34px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--sans); font-weight: 700; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.3s, color 0.3s, opacity 0.3s;
}
.agent-form__btn:hover { background: var(--ink); color: var(--bg); }
.agent-form__btn[disabled] { opacity: 0.6; cursor: progress; }
.agent-form__status { min-height: 1.6em; margin: 16px 0 0; color: var(--ink); }
.agent-form__fine { margin: 4px 0 0; color: var(--ink-2); font-size: 14px; }
.agent-form__fine a { color: var(--ink); border-bottom: 1px solid var(--line); }
.agent-form__fine a:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 820px) {
  .agent__grid { grid-template-columns: 1fr; }
  .agent-form__row { grid-template-columns: 90px minmax(0, 1fr); }
}

/* Footer */

.footer { padding: 12vh var(--gutter) 32px; }
.footer__mark { display: flex; flex-direction: column; text-transform: uppercase; line-height: 0.84; }
.footer__mark .wordmark__serif { font-size: clamp(44px, 11.6vw, 224px); }
.footer__mark .wordmark__sans { font-size: clamp(44px, 11.6vw, 224px); }
.footer__row { display: flex; flex-wrap: wrap; gap: 16px 36px; margin-top: 6vh; padding-top: 24px; border-top: 1px solid var(--line); }
.footer__row a:hover { color: var(--accent); }

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .grain, .dot, .status i { animation: none; }
}
