/* ══════════════════════════════════════════
   FONTS — self-hosted Poppins
══════════════════════════════════════════ */
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

* {
  margin: 0;
}

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

@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;
    scroll-behavior: auto !important;
  }
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

ol, ul {
  list-style: none;
  padding: 0;
}

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

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 3px;
  border-radius: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ══════════════════════════════════════════
   TOKENS
══════════════════════════════════════════ */
:root {
  /* ── Brand Colors ── */
  --color-navy-deep:  #0B2A3F;
  --color-navy-mid:   #1E4763;
  --color-orange:     #F39A1F;
  --color-silver:     #C4C9CE;
  --color-sky:        #CBE5FA;
  --color-cream:      #FBF7EF;
  --color-white:      #FFFFFF;

  /* ── Semantic Tokens ── */
  --color-bg:           var(--color-cream);
  --color-bg-alt:       var(--color-white);
  --color-bg-dark:      var(--color-navy-deep);
  --color-bg-mid:       var(--color-navy-mid);
  --color-text:         var(--color-navy-deep);
  --color-text-muted:   var(--color-navy-mid);
  --color-text-inverse: var(--color-cream);
  --color-accent:       var(--color-orange);
  --color-border:       var(--color-silver);
  --color-surface:      var(--color-sky);

  /* ── Typography ── */
  --font-family:        'Poppins', sans-serif;
  --font-weight-reg:    400;
  --font-weight-med:    500;
  --font-weight-bold:   700;

  /* Fluid type scale */
  --text-xs:      0.75rem;
  --text-sm:      0.875rem;
  --text-base:    1rem;
  --text-lg:      1.125rem;
  --text-xl:      1.25rem;
  --text-2xl:     1.5rem;
  --text-3xl:     clamp(1.5rem,  2.5vw + 0.5rem, 2rem);
  --text-4xl:     clamp(2rem,    3.5vw + 0.5rem, 3rem);
  --text-5xl:     clamp(2.5rem,  5vw   + 0.5rem, 4.5rem);
  --text-display: clamp(3rem,    6vw   + 1rem,   6rem);

  --leading-tight:   1.2;
  --leading-snug:    1.35;
  --leading-base:    1.625;
  --leading-relaxed: 1.75;

  /* ── Spacing (8pt grid) ── */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-40: 10rem;

  --section-py: clamp(var(--space-16), 8vw, var(--space-32));

  /* ── Border Radius ── */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-sm: 0 1px 3px rgba(11, 42, 63, 0.08), 0 1px 2px rgba(11, 42, 63, 0.04);
  --shadow-md: 0 4px 16px rgba(11, 42, 63, 0.10), 0 2px 6px rgba(11, 42, 63, 0.06);
  --shadow-lg: 0 8px 32px rgba(11, 42, 63, 0.14), 0 4px 12px rgba(11, 42, 63, 0.08);

  /* ── Transitions ── */
  --transition-fast: 150ms ease-out;
  --transition-base: 250ms ease-out;
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Z-index ── */
  --z-base:     0;
  --z-raised:   10;
  --z-dropdown: 20;
  --z-sticky:   40;
  --z-overlay:  100;
  --z-modal:    200;

  /* ── Layout ── */
  --container-padding: clamp(var(--space-4), 5vw, var(--space-16));
  --container-max:     1280px;
  --container-narrow:  720px;
  --container-wide:    1440px;
  --header-height:     72px;
}

/* ══════════════════════════════════════════
   BASE
══════════════════════════════════════════ */
html {
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-reg);
  font-size: var(--text-base);
  line-height: var(--leading-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-text);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  max-width: 65ch;
  line-height: var(--leading-base);
}

a {
  transition: color var(--transition-fast);
}

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

strong {
  font-weight: var(--font-weight-bold);
}

.skip-link {
  position: absolute;
  top: -120%;
  left: var(--space-4);
  background: var(--color-orange);
  color: var(--color-navy-deep);
  font-weight: var(--font-weight-bold);
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-md);
  z-index: var(--z-modal);
  transition: top var(--transition-fast);
  white-space: nowrap;
}

.skip-link:focus {
  top: var(--space-4);
}

/* ══════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding-block: var(--section-py);
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + var(--space-2));
}

.grid {
  display: grid;
  gap: var(--space-8);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
}

.stack {
  display: flex;
  flex-direction: column;
}

.stack--sm { gap: var(--space-4); }
.stack--md { gap: var(--space-8); }
.stack--lg { gap: var(--space-16); }

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

/* ══════════════════════════════════════════
   1. Site Header
══════════════════════════════════════════ */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  z-index: var(--z-sticky);
  background-color: var(--color-bg);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.site-header.is-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  gap: var(--space-4);
}

.header-logo {
  justify-self: start;
  flex-shrink: 0;
  line-height: 0;
}

.header-logo img {
  height: 36px;
  width: auto;
}

/* ══════════════════════════════════════════
   2. Navigation
══════════════════════════════════════════ */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-link {
  position: relative;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-med);
  color: var(--color-text-muted);
  padding-block: var(--space-1);
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  inset-block-end: -2px;
  inset-inline-start: 0;
  inset-inline-end: 100%;
  height: 1px;
  background: var(--color-orange);
  transition: inset-inline-end var(--transition-base);
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link:hover::after {
  inset-inline-end: 0;
}

.mobile-lang {
  display: none;
}

/* ══════════════════════════════════════════
   3. Nav CTA button
══════════════════════════════════════════ */
.nav-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-family);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.05em;
  background-color: var(--color-navy-deep);
  color: var(--color-white);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  border: 2px solid var(--color-navy-deep);
  white-space: nowrap;
  flex-shrink: 0;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
}

.nav-cta:hover {
  background-color: var(--color-navy-mid);
  border-color: var(--color-navy-mid);
  color: var(--color-white);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════
   4. Header end
══════════════════════════════════════════ */
.header-end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* ══════════════════════════════════════════
   5. Language Picker
══════════════════════════════════════════ */
.lang-picker {
  position: relative;
}

.lang-picker__toggle {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-family);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.lang-picker__toggle:hover {
  color: var(--color-text);
  background-color: rgba(11, 42, 63, 0.05);
}

.lang-picker__toggle svg {
  transition: transform var(--transition-fast);
  color: var(--color-silver);
}

.lang-picker[data-open="true"] .lang-picker__toggle {
  color: var(--color-text);
  background-color: rgba(11, 42, 63, 0.05);
}

.lang-picker[data-open="true"] .lang-picker__toggle svg {
  transform: rotate(180deg);
  color: var(--color-text-muted);
}

.lang-picker__menu {
  display: none;
  position: absolute;
  top: calc(100% + var(--space-2));
  right: 0;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-2);
  min-width: 148px;
  z-index: var(--z-dropdown);
  flex-direction: column;
  gap: 2px;
}

.lang-picker[data-open="true"] .lang-picker__menu {
  display: flex;
}

.lang-picker__menu a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-med);
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.lang-picker__menu a:hover {
  background-color: rgba(11, 42, 63, 0.05);
  color: var(--color-text);
}

.lang-picker__menu a[aria-current="true"] {
  font-weight: var(--font-weight-bold);
  color: var(--color-navy-deep);
  background-color: rgba(11, 42, 63, 0.06);
}

.lang-picker__menu span {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-med);
  color: var(--color-silver);
  border-radius: var(--radius-sm);
  cursor: default;
  user-select: none;
}

/* ══════════════════════════════════════════
   6. Mobile Toggle
══════════════════════════════════════════ */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-navy-deep);
  border-radius: 1px;
  transform-origin: center;
  transition:
    transform var(--transition-base),
    opacity var(--transition-fast);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ══════════════════════════════════════════
   7. Mobile Nav Overlay
══════════════════════════════════════════ */
@media (max-width: 768px) {
  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .lang-picker {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: fixed;
    inset-block-start: var(--header-height);
    inset-inline: 0;
    inset-block-end: 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    background-color: var(--color-navy-deep);
    padding: var(--space-10) var(--container-padding) var(--space-12);
    overflow-y: auto;
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .nav-link {
    display: block;
    font-size: clamp(var(--text-3xl), 5vw, var(--text-4xl));
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.01em;
    color: rgba(251, 247, 239, 0.35);
    padding-block: var(--space-4);
    border-bottom: 1px solid rgba(203, 229, 250, 0.06);
    width: 100%;
    transition:
      color var(--transition-fast),
      padding-inline-start var(--transition-base);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover {
    color: var(--color-cream);
    padding-inline-start: var(--space-3);
  }

  .nav-cta {
    margin-top: auto;
    background-color: var(--color-orange);
    border-color: var(--color-orange);
    color: var(--color-navy-deep);
    align-self: flex-start;
  }

  .nav-cta:hover {
    background-color: var(--color-orange);
    border-color: var(--color-orange);
    opacity: 0.88;
    transform: none;
  }

  .mobile-lang {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    padding-top: var(--space-5);
    border-top: 1px solid rgba(203, 229, 250, 0.08);
    margin-top: var(--space-5);
    width: 100%;
  }

  .mobile-lang a {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.04em;
    padding: var(--space-2) var(--space-4);
    color: rgba(251, 247, 239, 0.4);
    border: 1px solid rgba(251, 247, 239, 0.12);
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), border-color var(--transition-fast);
  }

  .mobile-lang a[aria-current="true"] {
    color: var(--color-cream);
    border-color: rgba(251, 247, 239, 0.45);
  }

  .mobile-lang a:hover {
    color: var(--color-cream);
  }

  .mobile-lang span {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.04em;
    padding: var(--space-2) var(--space-4);
    color: rgba(251, 247, 239, 0.2);
    border: 1px solid rgba(251, 247, 239, 0.07);
    border-radius: var(--radius-sm);
    cursor: default;
    user-select: none;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .nav-list { gap: var(--space-4); }
  .site-nav  { gap: var(--space-4); }
}

/* ══════════════════════════════════════════
   8. Hero Section
══════════════════════════════════════════ */
.section-hero {
  background-color: var(--color-bg);
  padding-block-start: calc(var(--header-height) + var(--space-16));
  padding-block-end: var(--space-16);
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-12);
}

.hero-content {
  text-align: center;
  max-width: 720px;
}

.hero-eyebrow {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
  max-width: none;
}

.hero-heading {
  font-size: var(--text-display);
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-navy-deep);
  letter-spacing: -0.025em;
  margin-bottom: var(--space-6);
}

.hero-accent {
  font-style: normal;
  color: var(--color-orange);
}

.hero-body {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
  max-width: 55ch;
  margin-inline: auto;
  margin-bottom: var(--space-10);
}

.hero-cta {
  justify-content: center;
}

.hero-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--color-silver);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

/* ══════════════════════════════════════════
   9. Hero Entrance Animations
══════════════════════════════════════════ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  animation: fade-up 0.65s cubic-bezier(0.4, 0, 0.2, 1) both;
  animation-delay: 80ms;
}
.hero-heading {
  animation: fade-up 0.65s cubic-bezier(0.4, 0, 0.2, 1) both;
  animation-delay: 200ms;
}
.hero-body {
  animation: fade-up 0.65s cubic-bezier(0.4, 0, 0.2, 1) both;
  animation-delay: 320ms;
}
.hero-cta {
  animation: fade-up 0.65s cubic-bezier(0.4, 0, 0.2, 1) both;
  animation-delay: 440ms;
}
.hero-video {
  animation: fade-up 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
  animation-delay: 560ms;
}

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow,
  .hero-heading,
  .hero-body,
  .hero-cta,
  .hero-video {
    animation: none;
  }
}

/* ══════════════════════════════════════════
   10. Buttons
══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base),
    transform var(--transition-fast),
    box-shadow var(--transition-base);
}

.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background-color: var(--color-orange);
  color: var(--color-navy-deep);
  border-color: var(--color-orange);
}

.btn--primary:hover {
  background-color: transparent;
  color: var(--color-orange);
}

.btn--dark {
  background-color: var(--color-navy-deep);
  color: var(--color-white);
  border-color: var(--color-navy-deep);
}

.btn--dark:hover {
  background-color: var(--color-navy-mid);
  border-color: var(--color-navy-mid);
  color: var(--color-white);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-navy-mid);
  color: var(--color-text);
}

/* ══════════════════════════════════════════
   11. Section Backgrounds & Spacing
══════════════════════════════════════════ */
.section-about    { background-color: var(--color-bg-alt); }
.section-why      { background-color: var(--color-bg); }
.section-projects { background-color: var(--color-bg-alt); }
.section-contact  { background-color: var(--color-bg-mid); }
.section-legal    { background-color: var(--color-bg); }
.site-footer      { background-color: var(--color-bg-dark); }

.section-about,
.section-why,
.section-projects,
.section-contact {
  padding-block: var(--section-py);
}

.section-legal {
  padding-block-end: var(--section-py);
  padding-block-start: calc(var(--header-height) + var(--section-py));
}

.section-legal .container {
  max-width: 760px;
}

.section-legal h1 {
  margin-block-end: var(--space-8);
}

.legal-meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-block-end: var(--space-10);
}

.legal-body h2 {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-navy-deep);
  margin-block-start: var(--space-10);
  margin-block-end: var(--space-3);
}

.legal-body h2:first-child {
  margin-block-start: 0;
}

.legal-body p,
.legal-body ul {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-block-end: var(--space-4);
  max-width: 65ch;
}

.legal-body ul {
  padding-inline-start: var(--space-6);
}

.legal-body li {
  margin-block-end: var(--space-2);
}

.legal-body a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-body code {
  font-family: monospace;
  font-size: 0.9em;
  background: var(--color-sky);
  padding: 0.1em 0.35em;
  border-radius: var(--radius-sm);
  color: var(--color-navy-deep);
}

.site-footer {
  padding-block: var(--space-16);
}

/* ══════════════════════════════════════════
   12. Placeholder Blocks
══════════════════════════════════════════ */
.placeholder-block {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-silver);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-8);
}

.section-contact .placeholder-block,
.site-footer .placeholder-block {
  border-color: var(--color-navy-mid);
  color: var(--color-navy-mid);
}

/* ══════════════════════════════════════════
   Phase 2 — Shared section utilities
══════════════════════════════════════════ */
.section-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: var(--space-5);
  max-width: none;
}

.section-heading {
  font-size: var(--text-4xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-snug);
  color: var(--color-navy-deep);
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.section-body {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
  max-width: 52ch;
}

/* ══════════════════════════════════════════
   Phase 2 — About intro
══════════════════════════════════════════ */
.about-intro {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-16);
  align-items: start;
  margin-bottom: var(--space-20);
}

.about-intro__body {
  padding-block-start: var(--space-12);
}

.about-intro__body p + p {
  margin-top: var(--space-4);
}

@media (max-width: 768px) {
  .about-intro {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-12);
  }

  .about-intro__body {
    padding-block-start: 0;
  }
}

/* ══════════════════════════════════════════
   Phase 2 — Services list
══════════════════════════════════════════ */
.services-list {
  border-top: 1px solid var(--color-border);
}

.service-item {
  display: grid;
  grid-template-columns: 2.5rem 1fr 1.6fr;
  gap: var(--space-8);
  align-items: start;
  padding-block: var(--space-8);
  border-bottom: 1px solid var(--color-border);
  transition: background-color var(--transition-fast);
  margin-inline: calc(var(--space-4) * -1);
  padding-inline: var(--space-4);
  border-radius: var(--radius-sm);
}

.service-item:hover {
  background-color: rgba(11, 42, 63, 0.025);
}

.service-item:hover .service-number {
  color: var(--color-orange);
}

.service-number {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.06em;
  color: var(--color-silver);
  padding-block-start: 6px;
  font-feature-settings: "tnum";
  transition: color var(--transition-fast);
}

.service-name {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-navy-deep);
  line-height: var(--leading-snug);
}

.service-desc {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
  max-width: 52ch;
  padding-block-start: 4px;
}

@media (max-width: 900px) {
  .service-item {
    grid-template-columns: 2.5rem 1fr;
    gap: var(--space-5);
  }

  .service-desc {
    grid-column: 2;
    padding-block-start: var(--space-2);
  }
}

@media (max-width: 480px) {
  .service-item {
    grid-template-columns: 2rem 1fr;
    gap: var(--space-4);
    margin-inline: 0;
    padding-inline: 0;
  }
}

/* ══════════════════════════════════════════
   Phase 3 — Why us
══════════════════════════════════════════ */
.why-intro {
  margin-bottom: var(--space-16);
  max-width: 750px;
}

.why-intro .section-heading {
  margin-top: var(--space-4);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-12) var(--space-16);
}

.value-item {
  padding-block-start: var(--space-8);
  border-top: 2px solid var(--color-orange);
}

.value-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-navy-deep);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}

.value-desc {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
  max-width: 44ch;
}

@media (max-width: 640px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .value-item {
    padding-block-start: var(--space-6);
  }
}

/* ══════════════════════════════════════════
   Phase 4 — Past Projects
══════════════════════════════════════════ */
.projects-intro {
  margin-bottom: var(--space-12);
}

.projects-intro .section-heading {
  margin-block: var(--space-4) var(--space-5);
}

.projects-intro__sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 52ch;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.project-card {
  background-color: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.project-card__link {
  display: block;
  color: inherit;
}

.project-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  background-color: var(--color-silver);
  overflow: hidden;
}

.project-card__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

img.project-card__slide {
  object-fit: cover;
}

a.project-card__slide {
  display: block;
}

a.project-card__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-card__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.project-card__dots {
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.project-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  transition:
    transform var(--transition-base),
    background-color var(--transition-base);
}

.project-dot--active {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.5);
}

.project-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.project-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.project-tag {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-navy-mid);
  background-color: rgba(11, 42, 63, 0.07);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.project-year {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-med);
  color: var(--color-silver);
  white-space: nowrap;
  flex-shrink: 0;
}

.project-card__title {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-navy-deep);
  line-height: var(--leading-snug);
  letter-spacing: -0.01em;
}

.project-card__desc {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
  max-width: none;
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ══════════════════════════════════════════
   Web Shop teaser strip
══════════════════════════════════════════ */
.webshop-teaser {
  background-color: var(--color-sky);
  border-block: 1px solid rgba(11, 42, 63, 0.08);
  padding-block: var(--space-5);
}

.webshop-teaser__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}

.webshop-teaser__dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-orange);
  flex-shrink: 0;
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

@media (prefers-reduced-motion: reduce) {
  .webshop-teaser__dot { animation: none; }
}

.webshop-teaser__content {
  text-align: center;
}

.webshop-teaser__title {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-med);
  color: var(--color-navy-deep);
  letter-spacing: 0.04em;
  max-width: none;
}

.webshop-teaser__title strong {
  font-weight: var(--font-weight-bold);
}

.webshop-teaser__sub {
  font-size: var(--text-xs);
  color: rgba(11, 42, 63, 0.5);
  letter-spacing: 0.05em;
  margin-block-start: var(--space-1);
  max-width: none;
}

.nav-soon-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.6rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-orange);
  background: rgba(243, 154, 31, 0.12);
  padding: 2px 6px;
  border-radius: var(--radius-full);
  margin-inline-start: var(--space-1);
  vertical-align: middle;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .nav-soon-badge {
    background: rgba(243, 154, 31, 0.15);
  }
}

/* ══════════════════════════════════════════
   Phase 5 — Contact
══════════════════════════════════════════ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.section-contact .section-eyebrow {
  color: var(--color-orange);
}

.contact-heading {
  color: var(--color-cream);
  margin-block-start: var(--space-4);
}

.contact-body {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: rgba(251, 247, 239, 0.62);
  max-width: 44ch;
  margin-block-start: var(--space-5);
}

.contact-email {
  display: inline-block;
  font-size: clamp(1.125rem, 2.5vw, 1.75rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-cream);
  letter-spacing: -0.01em;
  position: relative;
  padding-block-end: var(--space-2);
  margin-block-end: var(--space-8);
  overflow-wrap: break-word;
  word-break: break-all;
  transition: color var(--transition-fast);
}

.contact-email::after {
  content: '';
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  inset-inline-end: 100%;
  height: 1px;
  background: var(--color-orange);
  transition: inset-inline-end var(--transition-base);
}

.contact-email:hover {
  color: var(--color-orange);
}

.contact-email:hover::after {
  inset-inline-end: 0;
}

/* ══════════════════════════════════════════
   Social links
══════════════════════════════════════════ */
.social-links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  transition:
    color var(--transition-fast),
    background-color var(--transition-fast);
}

.social-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact-socials .social-link {
  color: rgba(251, 247, 239, 0.5);
}

.contact-socials .social-link:hover {
  color: var(--color-cream);
  background-color: rgba(251, 247, 239, 0.08);
}

@media (max-width: 768px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

/* ══════════════════════════════════════════
   Phase 6 — Footer
══════════════════════════════════════════ */
.footer-logo img {
  height: 32px;
  width: auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  padding-block-end: var(--space-8);
  border-bottom: 1px solid rgba(251, 247, 239, 0.08);
  flex-wrap: wrap;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-med);
  color: rgba(251, 247, 239, 0.4);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--color-cream);
}

.footer-socials .social-link {
  width: 36px;
  height: 36px;
  color: rgba(251, 247, 239, 0.35);
}

.footer-socials .social-link:hover {
  color: var(--color-cream);
  background-color: rgba(251, 247, 239, 0.06);
}

.footer-socials .social-link svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block-start: var(--space-6);
  flex-wrap: wrap;
}

.footer-copy {
  font-size: var(--text-xs);
  color: rgba(251, 247, 239, 0.3);
}

.footer-tagline {
  font-size: var(--text-xs);
  font-style: italic;
  color: rgba(251, 247, 239, 0.2);
}

@media (max-width: 640px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-6);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }
}
