/* Giorgos Charilaou — editorial premium */

:root {
  --ink: #0a0a0a;
  --ink-soft: #1c1c1c;
  --muted: #5c5c5c;
  --bg: #fafafa;
  --bg-elevated: #ffffff;
  --bg-soft: #f3f5f4;
  --line: rgba(10, 10, 10, 0.08);
  --line-strong: rgba(10, 10, 10, 0.14);
  --accent: #0a5c58;
  --accent-ink: #074743;
  --shell: 1180px;
  --gutter: clamp(1.5rem, 5vw, 3rem);
  --display: "Space Grotesk", "Avenir Next", sans-serif;
  --font: "Instrument Sans", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4rem;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --shadow: 0 18px 50px rgba(10, 10, 10, 0.08), 0 4px 18px rgba(10, 92, 88, 0.06);
  --shadow-soft: 0 10px 28px rgba(10, 10, 10, 0.05);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(1100px 640px at 8% -12%, rgba(10, 92, 88, 0.07), transparent 58%),
    radial-gradient(900px 520px at 92% 8%, rgba(10, 10, 10, 0.04), transparent 52%),
    linear-gradient(180deg, #f7f8f7 0%, var(--bg) 28%, #f4f5f4 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent);
}

:focus {
  outline: none;
}

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

::selection {
  background: rgba(10, 92, 88, 0.16);
  color: var(--ink);
}

.shell {
  max-width: var(--shell);
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + var(--safe-top) + 0.75rem);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 60;
  background: linear-gradient(90deg, var(--accent), var(--ink));
  pointer-events: none;
  transition: width 0.05s linear;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.page-spot {
  position: fixed;
  width: min(42rem, 70vw);
  height: min(42rem, 70vw);
  left: 50%;
  top: 28%;
  z-index: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: radial-gradient(circle, rgba(10, 92, 88, 0.1), transparent 68%);
}

.cursor {
  display: none;
}

@media (pointer: fine) and (hover: hover) {
  body.has-cursor,
  body.has-cursor * {
    cursor: none !important;
  }

  body.has-cursor input,
  body.has-cursor textarea,
  body.has-cursor select {
    cursor: text !important;
  }

  .cursor {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 90;
    pointer-events: none;
  }

  .cursor-dot,
  .cursor-ring {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    translate: -50% -50%;
  }

  .cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    transform: translate(var(--x, -40px), var(--y, -40px));
  }

  .cursor-ring {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(10, 92, 88, 0.45);
    transform: translate(var(--rx, -40px), var(--ry, -40px));
    transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s var(--ease);
  }

  .cursor.is-hover .cursor-ring {
    width: 52px;
    height: 52px;
    border-color: var(--accent);
  }

  .cursor.is-hidden {
    opacity: 0;
  }
}

[data-spot] {
  --mx: 50%;
  --my: 0%;
  position: relative;
  isolation: isolate;
}

[data-spot]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    280px circle at var(--mx) var(--my),
    rgba(10, 92, 88, 0.13),
    transparent 58%
  );
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

[data-spot]:hover::after {
  opacity: 1;
}

[data-spot] > * {
  position: relative;
  z-index: 2;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: calc(var(--header-h) + var(--safe-top));
  padding-top: var(--safe-top);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 0;
  overflow: visible;
}

/* Blur on a pseudo so fixed mobile nav isn't trapped by backdrop-filter */
.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: calc(100% + 2.75rem);
  z-index: 0;
  background: linear-gradient(
    to bottom,
    rgba(250, 250, 250, 0.88) 42%,
    rgba(250, 250, 250, 0.45) 72%,
    rgba(250, 250, 250, 0)
  );
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  mask-image: linear-gradient(to bottom, #000 58%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent);
  pointer-events: none;
  transition: background 0.3s var(--ease);
}

.site-header.is-scrolled::before {
  background: linear-gradient(
    to bottom,
    rgba(250, 250, 250, 0.94) 48%,
    rgba(250, 250, 250, 0.5) 74%,
    rgba(250, 250, 250, 0)
  );
}

body.nav-open .site-header::before {
  height: 100%;
  background: var(--bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  mask-image: none;
  -webkit-mask-image: none;
}

.header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  position: relative;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
}

.brand::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.55rem;
  margin-bottom: 0.08rem;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(10, 92, 88, 0.35);
  animation: brand-pulse 2.8s var(--ease) infinite;
}

@keyframes brand-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(10, 92, 88, 0.28);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(10, 92, 88, 0);
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.65rem;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.site-nav a:not(.nav-cta):hover,
.site-nav a:not(.nav-cta).is-active {
  color: var(--ink);
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta).is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff !important;
  font-weight: 500;
  background: var(--ink);
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.25s var(--ease);
}

.nav-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    110deg,
    transparent 25%,
    rgba(255, 255, 255, 0.16) 48%,
    transparent 72%
  );
  transform: translateX(-130%);
  transition: transform 0.7s var(--ease);
}

.nav-cta:hover::after,
.nav-cta.is-active::after {
  transform: translateX(130%);
}

.nav-cta:hover,
.nav-cta.is-active {
  background: var(--accent);
  color: #fff !important;
}

.nav-cta:focus-visible {
  outline-offset: 2px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lang-toggle {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
}

.lang-toggle:hover {
  border-color: var(--ink);
  background: #fff;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 50%;
  width: 1.15rem;
  height: 1px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), top 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle-bars {
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  transform: translateX(-50%);
}

.nav-toggle-bars::before {
  top: -5px;
}

.nav-toggle-bars::after {
  top: 5px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: translateX(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: translateX(-50%) rotate(-45deg);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 28px rgba(10, 10, 10, 0.12);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    110deg,
    transparent 25%,
    rgba(255, 255, 255, 0.16) 48%,
    transparent 72%
  );
  transform: translateX(-130%);
  transition: transform 0.7s var(--ease);
}

.btn-primary:hover::after {
  transform: translateX(130%);
}

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(10, 92, 88, 0.22);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:focus-visible {
  outline-offset: 3px;
}

.btn-text {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  border-radius: var(--radius-sm);
  padding-inline: 0.2rem;
  min-height: auto;
  position: relative;
  box-shadow: none;
}

.btn-text::after {
  content: "";
  position: absolute;
  left: 0.2rem;
  right: 0.2rem;
  bottom: 0.15rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.btn-text:hover {
  color: var(--accent);
  transform: none;
  box-shadow: none;
}

.btn-text:hover::after {
  transform: scaleX(1);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
  border-radius: 999px;
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.text-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.1rem;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.text-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  transform: translateX(2px);
}

/* Hero */

.hero {
  --spot-x: 72%;
  --spot-y: 38%;
  position: relative;
  min-height: min(88vh, 50rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(6rem, 13vw, 9.5rem) 0 clamp(5rem, 10vw, 7rem);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-spot {
  position: absolute;
  width: min(56rem, 95vw);
  height: min(56rem, 95vw);
  left: var(--spot-x);
  top: var(--spot-y);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(10, 92, 88, 0.16), transparent 72%);
  pointer-events: none;
  will-change: left, top;
}

.hero-wash {
  position: absolute;
  top: -30%;
  left: -20%;
  width: 140%;
  height: 160%;
  background: radial-gradient(
    ellipse 70% 65% at 68% 42%,
    rgba(10, 92, 88, 0.16),
    rgba(10, 92, 88, 0.05) 42%,
    transparent 70%
  );
  will-change: transform;
}

.hero-wash::after {
  display: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.25rem);
}

.hero-copy {
  max-width: 38rem;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.35rem;
  padding: 0.38rem 0.8rem 0.38rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(10, 92, 88, 0.08);
  border: 1px solid rgba(10, 92, 88, 0.12);
  border-radius: 999px;
}

.hero-status::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(10, 92, 88, 0.35);
  animation: brand-pulse 2.8s var(--ease) infinite;
}

.hero-title {
  margin: 0 0 1.25rem;
  font-family: var(--display);
  font-size: clamp(2.7rem, 6.2vw, 4.7rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.052em;
  color: var(--ink);
  display: grid;
  gap: 0.04em;
}

.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
}

.hero-title-a,
.hero-title-b {
  display: block;
}

.hero-title-b {
  color: var(--accent);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.hero-lead {
  margin: 0 0 1.85rem;
  color: var(--muted);
  max-width: 38ch;
  font-size: clamp(1.02rem, 1.5vw, 1.12rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.4rem;
  margin-bottom: 2.35rem;
}

.hero-actions .btn-text {
  font-size: 0.95rem;
  font-weight: 500;
}

.hero-proof {
  margin: 0;
  padding: 1.1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.7rem;
  border-top: 1px solid var(--line);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--muted);
}

.hero-proof-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
}

.hero-proof a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(10, 10, 10, 0.16);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.hero-proof a:hover {
  color: var(--accent);
  border-bottom-color: rgba(10, 92, 88, 0.4);
}

.hero-proof-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.22);
  flex: 0 0 auto;
}

.hero-stage {
  position: relative;
  min-height: 22rem;
  padding: 0.85rem 0.85rem 2.7rem;
  perspective: 1100px;
}

.hero-tilt {
  position: relative;
  transform: rotateX(3deg) rotateY(-8deg);
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-stack {
  position: absolute;
  inset: 10% 4% -6% 10%;
  z-index: 0;
  border-radius: 20px;
  background:
    linear-gradient(155deg, rgba(10, 92, 88, 0.95), #0a0a0a 72%);
  transform: rotate(-7deg) translateZ(-48px);
  box-shadow: 0 24px 50px rgba(10, 10, 10, 0.16);
}

.hero-device {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transform: translateZ(24px);
}

.hero-chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfbfb, #f4f5f4);
}

.hero-dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #d8d8d8;
}

.hero-dot:nth-child(1) {
  background: #e4c4c4;
}

.hero-dot:nth-child(2) {
  background: #e2d7b3;
}

.hero-dot:nth-child(3) {
  background: #c5d6c8;
}

.hero-url {
  margin-left: 0.45rem;
  flex: 1;
  min-width: 0;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.04);
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-preview {
  padding: 0;
  background: #062e2c;
}

.hp-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.8rem 1rem;
}

.hp-mark-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #7ee0d6;
  box-shadow: 0 0 0 4px rgba(126, 224, 214, 0.18);
}

.hp-word {
  margin-left: auto;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hp-cta {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hp-hero {
  padding: 1.35rem 1.15rem 1.4rem;
  min-height: 12.2rem;
  background:
    radial-gradient(420px 200px at 88% 120%, rgba(255, 255, 255, 0.14), transparent 58%),
    linear-gradient(180deg, #0c6b66, #063835);
}

.hp-headline {
  margin: 0 0 1.15rem;
  max-width: 9ch;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
  color: #fff;
}

.hp-meta {
  display: flex;
  gap: 0.7rem;
}

.hp-meta span {
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-person {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  max-width: calc(100% - 1rem);
  padding: 0.42rem 1rem 0.42rem 0.42rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(10, 10, 10, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: hero-float 5.8s var(--ease) infinite;
}

.hero-person img {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  object-fit: cover;
  background: #ececec;
}

.hero-person-copy {
  min-width: 0;
  padding-right: 0.15rem;
}

.hero-person-name,
.hero-person-meta {
  margin: 0;
  white-space: nowrap;
}

.hero-person-name {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-person-meta {
  font-size: 0.72rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-person-meta [data-clock-time] {
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  font-weight: 600;
}

.hero-marks {
  position: absolute;
  right: 0.15rem;
  top: 3.35rem;
  z-index: 2;
  display: grid;
  gap: 0.5rem;
}

.hero-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.7rem 0.38rem 0.4rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(10, 10, 10, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.hero-mark:hover {
  color: inherit;
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.hero-mark img {
  width: 1.15rem;
  height: 1.15rem;
  object-fit: contain;
}

.hero-mark span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.hero-scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 1.75rem;
  z-index: 1;
  width: 1.25rem;
  height: 2.4rem;
  display: grid;
  place-items: end center;
  text-decoration: none;
  opacity: 0.4;
  transition: opacity 0.25s var(--ease);
}

.hero-scroll:hover {
  opacity: 0.9;
  color: inherit;
}

.hero-scroll-line {
  width: 1px;
  height: 2rem;
  background: linear-gradient(to bottom, transparent, var(--ink));
  transform-origin: top;
  animation: scroll-pulse 1.8s var(--ease) infinite;
}

@keyframes scroll-pulse {
  0% {
    transform: scaleY(0.35);
    opacity: 0.2;
  }
  45% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(0.35);
    opacity: 0.2;
  }
}

/* Ticker */

.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 0.95rem 0;
  background: rgba(255, 255, 255, 0.48);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-move 34s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-set {
  display: flex;
  align-items: center;
  gap: 2.35rem;
  padding-right: 2.35rem;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--muted);
  white-space: nowrap;
}

.ticker-set span::after {
  content: "·";
  margin-left: 2.35rem;
  color: var(--accent);
}

@keyframes ticker-move {
  to {
    transform: translateX(-50%);
  }
}

/* Stats */

.stats {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.stat {
  padding: 1.35rem 0.75rem 1.4rem;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat-value {
  margin: 0 0 0.2rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}

/* Sections */

.section {
  padding: clamp(5.25rem, 12vw, 8.5rem) 0;
  border-bottom: 1px solid var(--line);
}

.section:last-of-type {
  border-bottom: 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.section-head--inline {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.work .section-head {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.build {
  padding-block: clamp(4rem, 9vw, 6.5rem);
  background:
    radial-gradient(800px 360px at 8% 80%, rgba(10, 92, 88, 0.05), transparent 62%),
    linear-gradient(180deg, transparent, rgba(10, 92, 88, 0.035) 40%, transparent);
}

.about {
  background: var(--bg-soft);
  border-bottom-color: transparent;
}

.profile {
  background: linear-gradient(180deg, var(--bg-soft) 0%, transparent 7rem);
}

.section-index {
  margin: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(10, 92, 88, 0.08);
  border: 1px solid rgba(10, 92, 88, 0.12);
  border-radius: 999px;
  flex: 0 0 auto;
}

.section-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.9rem, 4.2vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
  max-width: 16ch;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  max-width: 36ch;
  font-size: 1.05rem;
  line-height: 1.55;
}

/* Work */

.work-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.work-case {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  align-items: stretch;
  min-height: 17.25rem;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.work-case:nth-child(even) .work-visual {
  order: 2;
}

.work-case.reveal.is-visible:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.work-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 17.25rem;
  padding: 1.75rem 1.5rem 3.6rem;
  overflow: hidden;
  background:
    radial-gradient(240px 130px at 92% 118%, rgba(255, 255, 255, 0.16), transparent 55%),
    linear-gradient(165deg, #12827c, #063835);
  color: #fff;
}

.work-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.28;
  pointer-events: none;
}

.work-visual--seat {
  background:
    radial-gradient(240px 130px at 92% 118%, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(165deg, #a01a3c, #5a0018);
}

.work-visual--ms {
  background:
    radial-gradient(240px 130px at 92% 118%, rgba(0, 174, 239, 0.22), transparent 55%),
    linear-gradient(165deg, #1a6bb5, #0a1628);
}

.work-visual--sys {
  background:
    radial-gradient(240px 130px at 92% 118%, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(165deg, #1a6b66, #0a2e2c);
}

.work-visual--3d {
  background:
    radial-gradient(240px 130px at 92% 118%, rgba(255, 255, 255, 0.1), transparent 55%),
    linear-gradient(165deg, #2a2a2a, #0c0c0c);
}

.work-ui {
  position: relative;
  z-index: 1;
  width: min(100%, 17.5rem);
  padding: 0.9rem 0.95rem 1.05rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.45s var(--ease);
}

.work-case:hover .work-ui {
  transform: translateY(-5px) scale(1.03);
}

.work-ui-chrome {
  display: flex;
  gap: 0.28rem;
  margin-bottom: 0.85rem;
}

.work-ui-chrome i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
}

.work-ui-line {
  height: 8px;
  width: 72%;
  margin-bottom: 0.45rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.3);
}

.work-ui-line--short {
  width: 44%;
  opacity: 0.72;
}

.work-ui-rows {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.95rem;
}

.work-ui-rows span {
  display: block;
  height: 1.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.work-ui-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}

.work-ui-grid span {
  aspect-ratio: 1;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.work-ui-grid span:nth-child(3),
.work-ui-grid span:nth-child(6) {
  background: rgba(255, 255, 255, 0.28);
}

.work-ui-table {
  display: grid;
  gap: 0.38rem;
}

.work-ui-table span {
  height: 1.4rem;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.22) 26%,
    rgba(255, 255, 255, 0.08) 26%,
    rgba(255, 255, 255, 0.08) 64%,
    rgba(255, 255, 255, 0.14) 64%
  );
}

.work-ui--sign {
  padding-bottom: 1.15rem;
}

.work-sign {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
}

.work-sign span {
  width: 2px;
  height: 1.05rem;
  background: rgba(255, 255, 255, 0.38);
}

.work-sign b {
  display: block;
  width: 100%;
  height: 4.15rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.work-ui--geom {
  display: grid;
  place-items: center;
  width: 9.5rem;
  aspect-ratio: 1;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.work-cube {
  grid-area: 1 / 1;
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(18deg) skewX(-8deg);
}

.work-cube--b {
  transform: rotate(18deg) skewX(-8deg) translate(1.15rem, 0.9rem);
  background: rgba(255, 255, 255, 0.04);
  opacity: 0.72;
}

.work-visual-caption {
  position: absolute;
  left: 1.2rem;
  bottom: 1.05rem;
  z-index: 1;
  display: grid;
  gap: 0.08rem;
  color: #fff;
}

.work-visual-caption span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

.work-visual-caption strong {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.work-case-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.15rem 1.25rem;
  align-content: center;
  align-items: start;
  padding: 1.7rem 1.8rem;
}

.work-logo {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  flex: 0 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.work-logo img {
  display: block;
  max-width: 2.6rem;
  max-height: 2.6rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

.work-logo:hover,
.work-logo:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 10px 24px rgba(10, 10, 10, 0.06);
  color: inherit;
}

.work-logo--doc {
  background: #f3f0ff;
  border-color: rgba(110, 90, 200, 0.18);
}

.work-logo--doc img {
  max-width: 2.75rem;
  max-height: 2.75rem;
  border-radius: 12px;
}

.work-logo--seat {
  background: #800020;
  border-color: rgba(128, 0, 32, 0.35);
}

.work-logo--seat img {
  max-width: 1.55rem;
  max-height: 2.35rem;
}

.work-logo--ms {
  background: #07111f;
  border-color: rgba(0, 55, 100, 0.35);
}

.work-logo--ms img {
  max-width: 2.85rem;
  max-height: 2.85rem;
}

.work-logo--mark {
  color: var(--accent);
  background: rgba(10, 92, 88, 0.06);
  border-color: rgba(10, 92, 88, 0.14);
}

.work-logo--mark img {
  max-width: 2.15rem;
  max-height: 2.15rem;
}

.work-case-body {
  min-width: 0;
  display: grid;
  justify-items: start;
  gap: 0.35rem;
}

.work-case-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.work-case-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.work-case-kicker {
  margin: 0.15rem 0 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.work-case-copy {
  margin: 0.2rem 0 0.55rem;
  color: var(--muted);
  max-width: 46ch;
  font-size: 0.98rem;
  line-height: 1.55;
}

.work-case-body .text-link,
.work-case-body .feature-links {
  margin-top: 0.15rem;
}

.feature-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.5rem;
}

.feature-links .text-link {
  margin-top: 0;
}

/* Build */

.build-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.build-item {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  padding: 1.5rem 1.4rem 1.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
  counter-increment: build;
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.build-item:last-child,
.build-item:first-child {
  padding-right: 1.4rem;
  padding-left: 1.4rem;
  border-right: 1px solid var(--line);
}

.build-item:hover,
.build-item.reveal.is-visible:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.build-item::before {
  content: "0" counter(build);
  display: inline-flex;
  width: fit-content;
  z-index: 2;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  background: rgba(10, 92, 88, 0.08);
  border: 1px solid rgba(10, 92, 88, 0.12);
}

.build .build-list {
  counter-reset: build;
}

.build-item h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.build-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 26ch;
}

/* About */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: end;
}

.about-copy {
  max-width: 40rem;
}

.about .section-head {
  margin-bottom: 1.75rem;
}

.about .section-title {
  max-width: none;
}

.about-lead {
  margin: 0 0 1.25rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  font-weight: 500;
  color: var(--ink);
  max-width: 18ch;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.about .section-copy {
  max-width: 42ch;
  font-size: 1.1rem;
}

.about-closing {
  position: relative;
  margin: 0;
  padding: 1.7rem 1.6rem 1.7rem 1.75rem;
  max-width: none;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.35;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.about-closing.reveal.is-visible:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.about-closing::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  bottom: 1.15rem;
  z-index: 3;
  width: 3px;
  border-radius: 999px;
  background: var(--accent);
}

/* Profile / CV */

.profile-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.profile-head .section-title {
  max-width: none;
}

.profile-sheet {
  display: grid;
  gap: 2rem;
  padding: 0;
  background: transparent;
  border: 0;
}

.profile-sheet--lean {
  max-width: 48rem;
}

.profile-meta {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  margin-bottom: 1.1rem;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.profile-meta.reveal.is-visible:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.profile-avatar {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 50%;
  background: #f0f0ee;
  box-shadow: 0 0 0 1px var(--line);
}

.profile-meta-copy {
  min-width: 0;
}

.profile-role {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 1rem;
}

.profile-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
}

.profile-chips li {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 92, 88, 0.05);
}

.profile-block h3 {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.plain-mini,
.creds-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 400;
}

.creds-list {
  gap: 0.7rem;
}

.creds-list--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.creds-list--inline li {
  position: relative;
  padding: 0.42rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.profile-main {
  display: grid;
  gap: 2.15rem;
  padding: 1.6rem 1.5rem 1.7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.cv-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
}

.cv-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem 1.5rem;
  padding: 0 0 1.5rem 1.35rem;
  border-bottom: 0;
  margin-bottom: 0;
}

.cv-timeline-item::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 0.45rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 1.5px var(--accent);
}

.cv-timeline-item:last-child {
  padding-bottom: 0;
}

.cv-timeline-when {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.cv-timeline-what h4 {
  margin: 0 0 0.3rem;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.cv-timeline-what p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cv-banner {
  display: none;
}

.cv-sheet {
  display: block;
}

/* Contact */

.contact {
  padding-top: clamp(5.5rem, 12vw, 8rem);
  padding-bottom: clamp(5.75rem, 13vw, 8.5rem);
  background:
    radial-gradient(900px 480px at 90% 10%, rgba(10, 92, 88, 0.07), transparent 60%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.75) 35%);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}

.contact-copy .section-index {
  margin-bottom: 0.85rem;
}

.contact-title {
  margin: 0 0 1.15rem;
  font-family: var(--display);
  font-size: clamp(2.35rem, 5.5vw, 3.65rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.contact-title-b {
  color: var(--muted);
  font-weight: 400;
}

.contact-lead {
  margin: 0 0 2.15rem;
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 26ch;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.contact-links a:first-child {
  flex: 1 0 100%;
  font-family: var(--display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  padding: 0;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.2);
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0.35rem;
}

.contact-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.42rem 0.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  transition:
    color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.contact-links a:hover {
  color: var(--accent);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.contact-links a.is-hire {
  color: var(--accent-ink);
  border-color: rgba(10, 92, 88, 0.22);
  background: rgba(10, 92, 88, 0.07);
}

.contact-links a:first-child:hover {
  transform: none;
  border-bottom-color: var(--accent);
}

.contact-form {
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.45rem, 3.2vw, 1.9rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0.85rem 0.95rem;
  min-height: 3rem;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% + 2px), calc(100% - 10px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
  line-height: 1.5;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(10, 10, 10, 0.28);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(10, 92, 88, 0.12);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #8a1f1f;
  box-shadow: 0 0 0 3px rgba(138, 31, 31, 0.1);
}

.contact-form .btn {
  width: fit-content;
  margin-top: 0.5rem;
  min-width: 12rem;
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--accent-ink);
}

.form-note.is-error {
  color: #8a1f1f;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 calc(2rem + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.62);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.75rem;
  justify-content: space-between;
}

.footer-brand,
.footer-meta,
.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-brand {
  font-family: var(--display);
  font-weight: 500;
  color: var(--ink);
}

.footer-brand::before {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.5rem;
  margin-bottom: 0.08rem;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.footer-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.footer-links a.is-hire {
  color: var(--accent-ink);
  border-color: rgba(10, 92, 88, 0.22);
  background: rgba(10, 92, 88, 0.07);
}

/* Motion */

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: blur(4px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease),
    filter 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.hero-line.reveal {
  opacity: 1;
  filter: none;
  transform: none;
}

.hero-line.reveal .hero-title-a,
.hero-line.reveal .hero-title-b {
  transform: translate3d(0, 108%, 0);
  transition: transform 1s var(--ease);
}

.hero-line.reveal.is-visible .hero-title-a,
.hero-line.reveal.is-visible .hero-title-b {
  transform: none;
}

body.is-booting .site-header,
body.is-booting .hero-atmosphere,
body.is-booting .page-spot {
  opacity: 0;
}

body.is-booting .site-header {
  animation: boot-failsafe 0s 2s forwards;
}

body.is-ready .site-header,
body.is-ready .hero-atmosphere,
body.is-ready .page-spot {
  opacity: 1;
}

body.is-ready .site-header {
  transition: opacity 0.7s var(--ease);
}

body.is-ready .hero-atmosphere,
body.is-ready .page-spot {
  transition: opacity 1.1s var(--ease);
}

body.is-booting .reveal {
  animation: boot-failsafe-reveal 0s 2s forwards;
}

body.is-ready .reveal,
.reveal.is-visible {
  animation: none;
}

body.is-booting .hero-line.reveal .hero-title-a,
body.is-booting .hero-line.reveal .hero-title-b {
  animation: boot-failsafe-title 0s 2s forwards;
}

body.is-ready .hero-line.reveal .hero-title-a,
body.is-ready .hero-line.reveal .hero-title-b {
  animation: none;
}

@keyframes boot-failsafe {
  to {
    opacity: 1;
  }
}

@keyframes boot-failsafe-reveal {
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes boot-failsafe-title {
  to {
    transform: none;
  }
}

.hero-copy > .hero-status.reveal {
  transition-delay: 0.12s;
}

.hero-title .hero-line:nth-child(1) .hero-title-a {
  transition-delay: 0.22s;
}

.hero-title .hero-line:nth-child(2) .hero-title-b {
  transition-delay: 0.38s;
}

.hero-copy > .hero-lead.reveal {
  transition-delay: 0.52s;
}

.hero-copy > .hero-actions.reveal {
  transition-delay: 0.64s;
}

.hero-copy > .hero-proof.reveal {
  transition-delay: 0.76s;
}

.hero-stage.reveal {
  transition-delay: 0.32s;
}

.build-item.reveal:nth-child(1) {
  transition-delay: 0.05s;
}
.build-item.reveal:nth-child(2) {
  transition-delay: 0.14s;
}
.build-item.reveal:nth-child(3) {
  transition-delay: 0.23s;
}

.work-case.reveal:nth-child(2) {
  transition-delay: 0.08s;
}
.work-case.reveal:nth-child(3) {
  transition-delay: 0.14s;
}
.work-case.reveal:nth-child(4) {
  transition-delay: 0.2s;
}
.work-case.reveal:nth-child(5) {
  transition-delay: 0.26s;
}

.work-case.reveal.is-visible {
  transform: none;
  transition:
    opacity 0.8s var(--ease),
    transform 0.3s var(--ease),
    filter 0.8s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .work-case.reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
    animation: none;
  }

  .hero-scroll-line,
  .ticker-track,
  .hero-person {
    animation: none;
  }

  .hero-wash {
    transform: none !important;
    will-change: auto;
  }

  .hero-tilt {
    transform: none !important;
  }

  .page-spot {
    display: none;
  }

  .cursor {
    display: none !important;
  }

  .hero-line.reveal .hero-title-a,
  .hero-line.reveal .hero-title-b {
    transform: none !important;
    transition: none !important;
  }

  .brand::before,
  .hero-status::before,
  .hero-person {
    animation: none !important;
  }

  body.is-booting .site-header,
  body.is-booting .hero-atmosphere,
  body.is-booting .page-spot {
    opacity: 1;
    animation: none;
  }

  body.is-ready .site-header,
  body.is-ready .hero-atmosphere,
  body.is-ready .page-spot {
    transition: none;
  }

  .work-case:hover .work-ui {
    transform: none;
  }
}

/* Responsive */

@media (max-width: 960px) {
  .site-nav {
    position: fixed;
    top: calc(var(--header-h) + var(--safe-top));
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.15rem;
    padding: 2rem max(var(--gutter), var(--safe-left)) calc(2.25rem + var(--safe-bottom))
      max(var(--gutter), var(--safe-right));
    background:
      radial-gradient(900px 420px at 100% 0%, rgba(10, 92, 88, 0.07), transparent 55%),
      var(--bg);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease), visibility 0.35s var(--ease);
    overflow: auto;
    overscroll-behavior: contain;
    pointer-events: none;
    visibility: hidden;
  }

  .site-nav.is-open {
    transform: none;
    pointer-events: auto;
    visibility: visible;
  }

  .site-nav a:not(.nav-cta) {
    width: 100%;
    padding: 0.95rem 0;
    border-bottom: 0;
    font-family: var(--display);
    font-size: clamp(2rem, 9vw, 2.6rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--ink);
  }

  .site-nav a:not(.nav-cta)::after {
    display: none;
  }

  .site-nav a:not(.nav-cta):hover,
  .site-nav a:not(.nav-cta).is-active {
    color: var(--accent);
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .build-list,
  .cv-timeline-item,
  .contact-wrap,
  .field-row {
    grid-template-columns: 1fr;
  }

  .site-nav .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    width: 100%;
    max-width: none;
    margin-top: auto;
    margin-bottom: 0;
    padding: 0.95rem 1.35rem;
    border-bottom: 0;
    border-radius: 999px;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    text-align: center;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(10, 10, 10, 0.12);
  }

  .site-nav .nav-cta:hover,
  .site-nav .nav-cta.is-active {
    background: var(--accent);
    color: #fff !important;
  }

  .work-list {
    grid-template-columns: 1fr;
  }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .work-case,
  .work-case:nth-child(even) {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .work-visual,
  .work-case:nth-child(even) .work-visual {
    order: -1;
    min-height: 13.5rem;
    padding-bottom: 3.4rem;
  }

  .work-case-main {
    padding: 1.35rem 1.3rem 1.45rem;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:nth-child(odd) {
    border-right: 1px solid var(--line);
    padding-right: 1rem;
  }

  .stat:nth-child(n + 3) {
    border-bottom: 0;
  }

  .work-logo {
    width: 3.85rem;
    height: 3.85rem;
  }

  .build-list {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .build-item,
  .build-item:first-child,
  .build-item:last-child {
    padding: 1.3rem 1.25rem;
    border: 1px solid var(--line);
  }

  .about-closing {
    max-width: 36rem;
  }

  .profile-head .print-btn {
    width: 100%;
  }

  .section-title {
    max-width: none;
  }

  .hero-scroll {
    display: none;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .hero-stage {
    max-width: 34rem;
    min-height: 0;
    padding-bottom: 2.35rem;
  }

  .hero-title {
    font-size: clamp(2.55rem, 8.5vw, 3.85rem);
  }

  .hero-lead {
    max-width: 42ch;
  }
}

@media (max-width: 560px) {
  :root {
    --header-h: 3.7rem;
  }

  .hero {
    min-height: auto;
    padding-top: clamp(5rem, 16vw, 6.25rem);
    padding-bottom: clamp(3.25rem, 10vw, 4.5rem);
  }

  .hero-title {
    font-size: clamp(2.35rem, 11vw, 3.15rem);
  }

  .hero-actions {
    margin-bottom: 2rem;
  }

  .hero-actions .btn-primary,
  .contact-form .btn {
    width: 100%;
  }

  .hero-stage {
    padding: 0 0 0.25rem;
  }

  .hero-stack {
    display: none;
  }

  .hero-person {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    margin-top: 0.85rem;
    border-radius: 16px;
    animation: none;
  }

  .hero-marks {
    position: relative;
    top: auto;
    right: auto;
    display: flex;
    flex-wrap: wrap;
    margin-top: 0.75rem;
  }

  .hero-preview {
    padding: 0.95rem 0.9rem 1.05rem;
  }

  .hp-headline {
    max-width: none;
  }

  .hp-hero {
    min-height: 10.5rem;
  }

  .contact-title {
    font-size: clamp(2.1rem, 11vw, 3rem);
  }
}

/* Print / PDF CV */

@page {
  size: A4;
  margin: 14mm 14mm 16mm;
}

@media print {
  html,
  body {
    background: #fff !important;
    color: #111 !important;
    font-size: 10.5pt;
    line-height: 1.45;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body * {
    visibility: hidden;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .site-header,
  .site-footer,
  .hero,
  .about,
  .work,
  .build,
  .contact,
  .print-btn,
  .skip-link,
  .progress,
  .grain,
  .page-spot,
  .cursor,
  .ticker,
  .profile-head,
  .screen-only {
    display: none !important;
  }

  #profile,
  #profile * {
    visibility: visible;
  }

  #profile {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff !important;
    border: 0 !important;
  }

  #profile .shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .cv-banner {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 14px;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 2px solid #0a5c58;
  }

  .cv-banner-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 18%;
    background: #ececec;
  }

  .cv-banner-name {
    margin: 0;
    font-family: var(--display), sans-serif;
    font-size: 20pt;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #111;
    line-height: 1.1;
  }

  .cv-banner-role {
    margin: 3px 0 4px;
    font-size: 10.5pt;
    font-weight: 600;
    color: #0a5c58;
  }

  .cv-banner-meta {
    margin: 0;
    font-size: 9pt;
    color: #444;
  }

  .profile-sheet {
    display: block;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .profile-meta {
    margin-bottom: 12px;
    padding: 0 0 10px !important;
    border: 0;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
  }

  .profile-chips {
    gap: 4px 12px;
  }

  .profile-chips li {
    font-size: 9pt;
    color: #444;
    padding: 0;
    border: 0;
    background: none;
  }

  .profile-main {
    gap: 14px;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .profile-block h3 {
    margin: 0 0 6px;
    font-size: 9.5pt;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0a5c58;
    font-weight: 700;
    border-bottom: 1px solid #ddd;
    padding-bottom: 4px;
  }

  .plain-mini,
  .creds-list {
    gap: 3px;
    font-size: 9.5pt;
    color: #222;
  }

  .creds-list--inline li {
    padding: 0;
    border: 0;
    background: none;
    border-radius: 0;
    font-size: 9.5pt;
  }

  .cv-timeline-item {
    grid-template-columns: 78px 1fr;
    gap: 6px 10px;
    padding: 0 0 10px;
    margin-bottom: 10px;
    page-break-inside: avoid;
  }

  .cv-timeline-when {
    font-size: 8.5pt;
    color: #555;
  }

  .cv-timeline-what h4 {
    margin: 0 0 2px;
    font-size: 10.5pt;
    color: #111;
  }

  .cv-timeline-what p {
    margin: 0;
    font-size: 9.5pt;
    color: #333;
  }

  .profile-block {
    page-break-inside: avoid;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
