/* ==========================================================================
   KAPETAN — Maritime Marketing Agency
   Premium Maritime · Glassmorphism · BEM
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Palette — deep navy abyss + container-ship red */
  --navy-950: #050d1a;
  --navy-900: #071426;
  --navy-800: #0b1f3a;
  --navy-700: #12294b;
  --red: #d62828;
  --red-bright: #e5383b;
  --red-light: #f99797;
  --foam: #f2f6fa;
  --mist: rgba(242, 246, 250, 0.66);
  --mist-dim: rgba(242, 246, 250, 0.42);

  /* Glass */
  --glass-bg: linear-gradient(150deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-hover: rgba(255, 255, 255, 0.26);
  --glass-shadow: 0 24px 60px rgba(2, 8, 20, 0.4);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.14);

  /* Type */
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Archivo", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  /* Rhythm */
  --radius: 20px;
  --nav-h: 78px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 18px);
  background:
    radial-gradient(120% 90% at 70% -10%, #0d2242 0%, transparent 55%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 40%, var(--navy-950) 100%);
  background-color: var(--navy-950);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--foam);
  background-color: transparent;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Drifting caustic light — the water beneath everything */
body::before {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 28% at 22% 22%, rgba(43, 91, 158, 0.28), transparent 70%),
    radial-gradient(30% 24% at 78% 68%, rgba(214, 40, 40, 0.1), transparent 70%),
    radial-gradient(26% 22% at 68% 12%, rgba(72, 140, 190, 0.16), transparent 70%);
  animation: caustics 30s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes caustics {
  0% { transform: translate3d(-2%, -1%, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(2%, 2%, 0) rotate(2deg) scale(1.06); }
  100% { transform: translate3d(-1%, 3%, 0) rotate(-2deg) scale(1.02); }
}

/* Fine grain — premium texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--red);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--navy-950);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

/* --------------------------------------------------------------------------
   3. Utilities
   -------------------------------------------------------------------------- */
.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(90px, 11vw, 150px);
}

.section--tight {
  padding-block: clamp(48px, 7vw, 90px);
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section__head {
  max-width: 760px;
  margin-bottom: clamp(44px, 6vw, 76px);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0.012em;
  text-transform: uppercase;
  margin-top: 18px;
  text-wrap: pretty;
}

.section__lede {
  color: var(--mist);
  font-size: 1.08rem;
  max-width: 560px;
  margin-top: 18px;
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: bolder;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mist-dim);
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
}

.eyebrow--center {
  justify-content: center;
}

.mono {
  font-family: var(--font-mono);
  font-weight: bolder;
}

/* Glass surface */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow), var(--glass-highlight);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass {
    background: rgba(13, 34, 62, 0.88);
  }

  .nav--scrolled::before {
    background: rgba(5, 13, 26, 0.95);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease-out), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 32px rgba(214, 40, 40, 0.35);
}

.btn--primary:hover {
  background: var(--red-bright);
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(214, 40, 40, 0.45);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--foam);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 18px 38px;
  font-size: 1.05rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--red-bright);
}

.link-arrow::after {
  content: "→";
  transition: transform 0.25s var(--ease-out);
}

.link-arrow:hover::after {
  transform: translateX(6px);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.25s;
}

.skip-link:focus {
  top: 14px;
}

/* Scroll reveals */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

html.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   4. Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background 0.35s, box-shadow 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}

.nav__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
  padding-inline: clamp(20px, 4vw, 48px);
}

/* Frosted bar lives on a pseudo-layer: backdrop-filter on .nav itself would
   turn it into the containing block for position:fixed descendants and break
   the full-screen mobile menu (inset: 0 would resolve to the 78px bar). */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(5, 13, 26, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.nav--scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(2, 8, 20, 0.45);
}

.nav--scrolled::before {
  opacity: 1;
}

.nav__logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 34px);
}

.nav__link {
  position: relative;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--mist);
  transition: color 0.25s;
  padding-block: 6px;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--red-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav__link:hover,
.nav__link--active {
  color: var(--foam);
}

.nav__link:hover::after,
.nav__link--active::after {
  transform: scaleX(1);
}

.nav__cta {
  display: inline-flex;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
  box-shadow: 0 8px 24px rgba(214, 40, 40, 0.3);
}

.nav__cta:hover {
  background: var(--red-bright);
  transform: translateY(-2px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.nav__toggle-bar {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--foam);
  transition: transform 0.3s var(--ease-out);
}

.nav--open .nav__toggle-bar:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.nav--open .nav__toggle-bar:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

.nav__progress {
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  transform: scaleX(0);
  transform-origin: left;
  box-shadow: 0 0 12px rgba(229, 56, 59, 0.6);
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.14);
  filter: saturate(1.05) contrast(1.06) brightness(0.88);
  will-change: transform;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 30% 40%, transparent 40%, rgba(5, 13, 26, 0.55) 100%),
    linear-gradient(180deg, rgba(5, 13, 26, 0.66) 0%, rgba(5, 13, 26, 0.24) 38%, rgba(5, 13, 26, 0.38) 62%, var(--navy-950) 98%);
}

.hero__content {
  position: relative;
  z-index: 2;
  will-change: transform;
}

.hero__eyebrow {
  color: rgba(242, 246, 250, 0.72);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.2rem, 9.5vw, 8rem);
  line-height: 0.94;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-top: 22px;
  color: var(--foam);
  text-shadow: 0 8px 60px rgba(2, 8, 20, 0.5);
}

.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero__line-inner {
  display: inline-block;
}

.hero__line--outline {
  color: transparent;
  -webkit-text-stroke: 2px rgba(242, 246, 250, 0.92);
}

@supports not (-webkit-text-stroke: 1px black) {
  .hero__line--outline {
    color: var(--foam);
  }
}

.hero__line--accent {
  color: var(--red-bright);
}

/* Staggered load reveal */
.hero__eyebrow {
  opacity: 0;
  animation: heroFade 1s var(--ease-out) 0.15s forwards;
}

.hero__line-inner {
  transform: translateY(112%);
  animation: heroRise 1s var(--ease-out) forwards;
}

.hero__line:nth-child(1) .hero__line-inner { animation-delay: 0.25s; }
.hero__line:nth-child(2) .hero__line-inner { animation-delay: 0.38s; }
.hero__line:nth-child(3) .hero__line-inner { animation-delay: 0.51s; }

.hero__sub,
.hero__actions {
  opacity: 0;
  animation: heroFade 1s var(--ease-out) forwards;
}

.hero__sub {
  max-width: 580px;
  margin-top: 28px;
  font-size: 1.08rem;
  color: var(--mist);
  animation-delay: 0.75s;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
  animation-delay: 0.9s;
}

@keyframes heroRise {
  to { transform: translateY(0); }
}

@keyframes heroFade {
  to { opacity: 1; }
}

.hero__coords {
  position: absolute;
  right: clamp(24px, 4vw, 56px);
  bottom: 110px;
  z-index: 2;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(242, 246, 250, 0.4);
}

.hero__cue {
  position: absolute;
  left: clamp(24px, 4vw, 56px);
  bottom: 26px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero__cue-label {
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mist-dim);
}

.hero__cue-line {
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, var(--foam), transparent);
  transform-origin: top;
  animation: cueDrop 2.2s var(--ease-out) infinite;
}

@keyframes cueDrop {
  0% { transform: scaleY(0); opacity: 1; }
  55% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  line-height: 0;
}

.hero__wave svg {
  display: block;
  width: 100%;
  height: clamp(60px, 10vw, 110px);
}

/* --------------------------------------------------------------------------
   6. Why Kapetan
   -------------------------------------------------------------------------- */
.why {
  overflow: hidden;
  padding-bottom: unset;
}

.why::before {
  content: "";
  position: absolute;
  top: -12%;
  right: -18%;
  width: 55%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(43, 91, 158, 0.22), transparent 62%);
  filter: blur(30px);
  pointer-events: none;
}

.why__statement {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.3rem, 2.5vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: 0.012em;
  text-transform: uppercase;
  margin-top: 26px;
  max-width: 50ch;
}

.why__statement-dim {
  display: block;
  margin-top: 0.2em;
  color: rgba(242, 246, 250, 0.38);
  max-width: 40ch;
}

.why__answer {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--red-bright);
  margin-top: 30px;
  display: inline-block;
  border-bottom: 3px solid var(--red);
  padding-bottom: 8px;
}

.why__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
  margin-top: 20px;
}

.why__copy {
  align-content: center;
}

.why__copy p {
  color: var(--mist);
  font-size: 1.06rem;
  max-width: 520px;
}

.why__copy p + p {
  margin-top: 20px;
}

.why__pull {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 48px);
  overflow: hidden;
}

.why__pull::before {
  content: "”";
  position: absolute;
  top: -18px;
  right: 18px;
  font-family: var(--font-display);
  font-size: 9rem;
  line-height: 1;
  color: rgba(214, 40, 40, 0.28);
  pointer-events: none;
}

.why__pull-text {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--foam);
}

.why__pull-caption {
  margin-top: 22px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist-dim);
}

/* --------------------------------------------------------------------------
   7. Stats
   -------------------------------------------------------------------------- */
.stats {
  padding-top: 20px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stats__card {
  position: relative;
  padding: clamp(28px, 4vw, 42px);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}

.stats__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(28px, 4vw, 42px);
  width: 44px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--red);
}

.stats__card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
}

.stats__num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 1;
  color: var(--foam);
}

.stats__suffix {
  color: var(--red-bright);
}

.stats__label {
  margin-top: 14px;
  color: var(--mist);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   8. Services — Bento grid
   -------------------------------------------------------------------------- */
.services::before {
  content: "";
  position: absolute;
  bottom: -10%;
  left: -18%;
  width: 50%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(214, 40, 40, 0.1), transparent 62%);
  filter: blur(30px);
  pointer-events: none;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(235px, auto);
  gap: 20px;
}

.service-card {
  position: relative;
  overflow: hidden;
  display: flex;
  padding: clamp(26px, 3vw, 38px);
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
}

/* Shine sweep on hover */
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.09) 46%, transparent 60%);
  transform: translateX(-130%);
  transition: transform 0.9s var(--ease-out);
  pointer-events: none;
}

.service-card:hover::after {
  transform: translateX(130%);
}

.service-card--wide {
  grid-column: span 7;
  grid-row: span 2;
}

.service-card--half {
  grid-column: span 5;
}

.service-card--row {
  grid-column: span 12;
  min-height: 210px;
}

.service-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: saturate(0.9);
  transition: transform 0.7s var(--ease-out);
}

.service-card:hover .service-card__bg {
  transform: scale(1.05);
}

.service-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 13, 26, 0.15) 0%, rgba(5, 13, 26, 0.88) 100%);
}

.service-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.service-card--row .service-card__body {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.service-card__head {
  align-items: baseline;
  gap: 16px;
}

.service-card__index {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  color: var(--red-light);
}

.service-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.015em;
  margin-top: 12px;
}

.service-card--row .service-card__title {
  margin-top: 0;
}

.service-card__list {
  margin-top: 18px;
}

.service-card__list li {
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--mist);
  font-size: 0.94rem;
}

.service-card__list li::before {
  content: "—";
  color: var(--red-bright);
  margin-right: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.service-card__list--row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 0;
}

.service-card__list--row li {
  border-top: 0;
  padding: 0;
}

/* --------------------------------------------------------------------------
   9. Marquee — cinematic ship strip
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  padding-block: clamp(36px, 5vw, 56px);
  border-block: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.015);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 60s linear infinite;
}

.marquee__group {
  display: flex;
  gap: 18px;
  padding-right: 18px;
}

.marquee__img {
  height: clamp(170px, 24vw, 290px);
  width: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 14px;
  filter: saturate(0.92) brightness(0.92);
}

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

/* --------------------------------------------------------------------------
   10. Greece
   -------------------------------------------------------------------------- */
.greece__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}

.greece__tagline {
  margin-top: 26px;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--foam);
  max-width: 400px;
}

.greece__copy .link-arrow {
  margin-top: 20px;
}

.greece__media {
  position: relative;
}

.greece__frame {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 32px 80px rgba(2, 8, 20, 0.5);
}

.greece__img {
  position: absolute;
  left: 0;
  top: -8%;
  width: 100%;
  height: 116%;
  object-fit: cover;
  will-change: transform;
}

.greece__fact {
  position: absolute;
  left: clamp(-44px, -3vw, -16px);
  bottom: -30px;
  width: min(400px, 92%);
  padding: 26px 28px;
}

.greece__fact-label {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red-light);
}

.greece__fact-title {
  margin-top: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--foam);
}

.greece__fact-text {
  margin-top: 8px;
  color: var(--mist);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   11. Why Now — pillars
   -------------------------------------------------------------------------- */
.why-now__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pillar {
  padding: clamp(26px, 3vw, 34px);
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}

.pillar:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
}

.pillar__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  color: var(--red-bright);
  background: rgba(214, 40, 40, 0.12);
  border: 1px solid rgba(214, 40, 40, 0.28);
}

.pillar__icon svg {
  width: 24px;
  height: 24px;
}

.pillar__title {
  margin-top: 20px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--foam);
}

.pillar__text {
  margin-top: 10px;
  color: var(--mist);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   12. Quote
   -------------------------------------------------------------------------- */
.quote {
  position: relative;
  overflow: hidden;
  padding-block: clamp(110px, 15vw, 190px);
  text-align: center;
}

.quote__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.quote__img {
  position: absolute;
  left: 0;
  top: -10%;
  width: 100%;
  height: 120%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.75);
  will-change: transform;
}

.quote__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--navy-950) 0%, rgba(5, 13, 26, 0.74) 22%, rgba(5, 13, 26, 0.8) 78%, var(--navy-950) 100%);
}

.quote__inner {
  position: relative;
  z-index: 1;
}

.quote__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4.4vw, 3.5rem);
  line-height: 1.18;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--foam);
  max-width: 1000px;
  margin-inline: auto;
  text-shadow: 0 8px 50px rgba(2, 8, 20, 0.6);
}

.quote__cite {
  display: block;
  margin-top: 30px;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red-bright);
}

/* --------------------------------------------------------------------------
   13. Why Us
   -------------------------------------------------------------------------- */
.why-us__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.advantage {
  padding: clamp(28px, 3.4vw, 38px);
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}

.advantage:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
}

.advantage__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  color: var(--red-bright);
  background: rgba(214, 40, 40, 0.12);
  border: 1px solid rgba(214, 40, 40, 0.28);
}

.advantage__icon svg {
  width: 24px;
  height: 24px;
}

.advantage__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: 22px;
  color: var(--foam);
}

.advantage__text {
  margin-top: 12px;
  color: var(--mist);
  font-size: 0.96rem;
  line-height: 1.68;
}

/* Ticker */
.ticker {
  margin-top: clamp(44px, 6vw, 68px);
  padding-block: 16px;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: tickerScroll 36s linear infinite;
}

.ticker__group {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(242, 246, 250, 0.42);
  white-space: nowrap;
}

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

/* --------------------------------------------------------------------------
   14. Founder
   -------------------------------------------------------------------------- */
.founder::before {
  content: "";
  position: absolute;
  top: 10%;
  left: -20%;
  width: 48%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(43, 91, 158, 0.2), transparent 62%);
  filter: blur(30px);
  pointer-events: none;
}

.founder__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(44px, 6vw, 88px);
  align-items: center;
}

.founder__media {
  position: relative;
  max-width: 440px;
}

.founder__frame {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 32px 80px rgba(2, 8, 20, 0.55);
}

.founder__frame::before {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 56px;
  height: 56px;
  border-top: 3px solid var(--red);
  border-right: 3px solid var(--red);
  border-top-right-radius: 12px;
  z-index: 1;
}

.founder__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder__plate {
  position: absolute;
  left: clamp(-32px, -2.4vw, -14px);
  bottom: 30px;
  padding: 16px 24px;
  border-radius: 16px;
}

.founder__plate-name {
  display: block;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--foam);
}

.founder__plate-role {
  display: block;
  margin-top: 4px;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-light);
}

.founder__bio {
  margin-top: 24px;
  color: var(--mist);
  font-size: 1.02rem;
  max-width: 580px;
}

.credentials {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}

.credentials__item {
  padding: 18px 24px;
  border-left: 3px solid var(--red);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.credentials__degree {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-bright);
}

.credentials__school {
  margin-top: 6px;
  font-weight: 600;
  color: var(--foam);
}

.credentials__note {
  margin-top: 2px;
  font-size: 0.86rem;
  color: var(--mist-dim);
}

.certs {
  margin-top: 36px;
}

.certs__label {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--mist-dim);
}

.certs__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.certs__row li:nth-child(1) img {
  border-radius: 20%;
}

.certs__row li:nth-last-child(1) img {
  border-radius: 100%;
}

.certs__tile {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  border-radius: 14px;
  padding: 12px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}

.certs__tile:hover {
  transform: translateY(-3px);
  border-color: var(--glass-border-hover);
}

.certs__tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   15. Contact
   -------------------------------------------------------------------------- */
.contact {
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  aspect-ratio: 2 / 1;
  background: radial-gradient(ellipse, rgba(214, 40, 40, 0.14), transparent 62%);
  filter: blur(40px);
  pointer-events: none;
}

.contact__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.contact__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.04) brightness(0.82);
}

.contact__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--navy-950) 0%, rgba(5, 13, 26, 0.7) 28%, rgba(5, 13, 26, 0.76) 72%, var(--navy-950) 100%);
}

.contact__inner {
  text-align: center;
}

.contact__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.7rem, 6.5vw, 5.2rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.012em;
  margin-top: 20px;
}

.contact__lede {
  margin-top: 20px;
  color: var(--mist);
  font-size: 1.1rem;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
}

.contact__rows {
  max-width: 540px;
  margin: 52px auto 0;
  text-align: left;
}

.contact__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact__row:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact__key {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist-dim);
}

.contact__value {
  font-size: 0.95rem;
  color: var(--foam);
  transition: color 0.25s;
}

a.contact__value:hover {
  color: var(--red-bright);
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 0 44px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer__logo {
  height: 40px;
  width: auto;
  opacity: 0.92;
  filter: brightness(0) invert(1);
}

.footer__tagline {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist-dim);
}

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer__copy {
  font-size: 0.86rem;
  color: var(--mist);
}

.footer__link {
  font-size: 0.86rem;
  color: var(--mist);
  transition: color 0.25s;
}

.footer__link + .footer__link {
  margin-left: 18px;
}

.footer__link:hover {
  color: var(--foam);
}

.footer__coords {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: rgba(242, 246, 250, 0.32);
}

/* --------------------------------------------------------------------------
   17. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .why-now__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(215px, auto);
  }

  .service-card {
    grid-column: span 1 !important;
    grid-row: auto !important;
  }

  .service-card--wide {
    grid-row: span 1 !important;
  }

  .service-card--row {
    grid-column: span 2 !important;
  }
}

@media (max-width: 980px) {
  .greece__grid,
  .founder__grid {
    grid-template-columns: 1fr;
  }

  .founder__media {
    margin-inline: auto;
  }

  .founder__body {
    text-align: left;
  }

  .why__grid {
    grid-template-columns: 1fr;
  }

  .why__pull {
    max-width: 560px;
  }
}

@media (max-width: 900px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(4, 11, 22, 0.69);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    opacity: 0;
    visibility: hidden;
  }

  .nav--open .nav__menu {
    opacity: 1;
    visibility: visible;
    animation: menuIn 0.35s var(--ease-out);
  }

  .nav__list {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .nav__link {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--foam);
  }

  .nav__link::after {
    height: 3px;
  }

  .nav__item--cta {
    margin-top: 10px;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@keyframes menuIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

  .why-us__grid {
    grid-template-columns: 1fr;
  }

  .greece__fact {
    position: static;
    width: auto;
    margin: -52px 16px 0;
  }

  .hero__coords {
    display: none;
  }
}

@media (max-width: 620px) {
  .services__grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card--row {
    grid-column: span 1 !important;
  }

  .service-card--row .service-card__body {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-card__head {
    flex-direction: column;
    gap: 8px;
  }

  .service-card__list--row {
    flex-direction: column;
    gap: 0;
  }

  .service-card__list--row li {
    padding: 9px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }

  .why-now__grid {
    grid-template-columns: 1fr;
  }

  .hero__cue {
    display: none;
  }

  .founder__plate {
    left: 12px;
    bottom: 12px;
  }

  .founder__media {
    max-width: 100%;
  }

  .footer__meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 427px) {
  .hero__actions {
    flex-direction: column;
  }
}

/* --------------------------------------------------------------------------
   18. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero__video {
    transform: scale(1);
  }

  .marquee__track,
  .ticker__track {
    animation: none;
  }
}
