/*
 * AKIJ Homeware — corporate site design system.
 * Clean, light, editorial-minimal. Rebuilt to match the client wireframe
 * (header, video hero, About, Product Showcase, Company Environment,
 * Stats, Certifications & Partners, CTA row, Contact + LinkedIn).
 */

:root {
  --radius: 0.5rem;

  /* brand scale */
  --ink: oklch(0.16 0.005 90);
  --stone: oklch(0.48 0.008 85);
  --copper: oklch(0.62 0.15 42);

  /* Dynamic brand colours — managed from Admin → Settings → Business.
     Default to the design's own palette; overridden per-request via an
     inline <style> in resources/views/frontend/layouts/master.blade.php
     whenever the business has custom Primary/Secondary Colour values. */
  --color-primary: var(--ink);
  --color-secondary: var(--copper);

  --white: oklch(1 0 0);
  --soft: oklch(0.975 0.003 85);
  --soft-2: oklch(0.95 0.004 85);
  --border: oklch(0.16 0.005 90 / 12%);

  --background: var(--white);
  --foreground: var(--ink);
  --muted-foreground: var(--stone);

  --container: 1280px;
}

/* ---------- Reset (minimal) ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  overflow-x: hidden;
}

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

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

ul,
dl,
dd,
h1,
h2,
h3,
h4,
p {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

::selection {
  background: var(--color-secondary);
  color: var(--white);
}

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

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- Typography / layout utilities ---------- */
.label {
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted-foreground);
}

.display-sm {
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
}

.shell {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3.5rem);
}

.section {
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.section--soft {
  background: var(--soft);
}

.section-head {
  max-width: 42rem;
}

.section-head p {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.section-head--center {
  max-width: 38rem;
  margin-inline: auto;
  text-align: center;
}

/* scroll-reveal (IntersectionObserver toggles .is-visible) */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* GSAP-driven reveals (hero entrance, staggered grids, banner scale) —
   hidden until animations.js runs; degrades to visible if JS never loads. */
[data-gsap],
[data-gsap-item] {
  opacity: 0;
}

.no-js [data-gsap],
.no-js [data-gsap-item] {
  opacity: 1;
}

/* ================================================================
   Header
   ================================================================ */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: none;
}

.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Generous clear space around the wordmark, per brand guidelines. */
  padding-block: 1.35rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-family: "Instrument Serif", ui-serif, Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--white);
}

.brand__logo {
  display: block;
  height: 2.25rem;
  width: auto;
  max-width: 12rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ================================================================
   Hero — full-bleed autoplay video with headline overlay
   ================================================================ */
.hero {
  position: relative;
  height: min(92vh, 56rem);
  min-height: 32rem;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      oklch(0.16 0.005 90 / 78%) 0%,
      oklch(0.16 0.005 90 / 32%) 38%,
      transparent 62%);
}

.hero__content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(2.25rem, 6vw, 4.5rem);
}

.hero__copy {
  max-width: 44rem;
}

.hero__title {
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  color: var(--white);
}

.hero__subtitle {
  margin-top: 1.15rem;
  max-width: 34rem;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  line-height: 1.65;
  color: oklch(1 0 0 / 82%);
}

.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  border-radius: calc(var(--radius) - 2px);
  background: var(--color-secondary);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: opacity 200ms ease;
}

.hero__btn:hover {
  opacity: 0.88;
}

.hero__btn svg {
  width: 1rem;
  height: 1rem;
}

.hero__play {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero__play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: oklch(1 0 0 / 18%);
  border: 1px solid oklch(1 0 0 / 55%);
  transition: background-color 200ms ease;
}

.hero__play-icon svg {
  width: 0.85rem;
  height: 0.85rem;
  margin-left: 0.1rem;
}

.hero__play:hover .hero__play-icon {
  background: oklch(1 0 0 / 30%);
}

/* ================================================================
   Editorial split — About / Heritage (image + copy, mirrorable)
   ================================================================ */
.editorial {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.editorial__media {
  border-radius: var(--radius);
  overflow: hidden;
}

.editorial__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.editorial__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.editorial__eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--color-secondary);
}

.editorial__title {
  margin-top: 1.5rem;
}

.editorial__copy {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

.editorial .btn-outline {
  margin-top: 2rem;
}

.editorial__facts {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.editorial__fact-num {
  font-family: "Instrument Serif", ui-serif, Georgia, serif;
  font-size: 1.75rem;
  color: var(--ink);
}

.editorial__fact-label {
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 900px) {
  .editorial {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .editorial--reverse .editorial__media {
    order: 2;
  }

  .editorial--reverse .editorial__body {
    order: 1;
  }
}

/* ================================================================
   About split — heading/copy/facts on the left, photo on the right
   ================================================================ */
.about-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.about-split__title {
  display: inline-block;
  font-size: clamp(1.75rem, 3.4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-primary);
  padding-bottom: 0.85rem;
  position: relative;
}

.about-split__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3rem;
  height: 3px;
  border-radius: 999px;
  background: var(--color-secondary);
}

.about-split__lead {
  margin-top: 1.1rem;
  font-size: 0.95rem;
  color: var(--muted-foreground);
}

.about-split__copy {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

.about-split__facts {
  margin-top: 2rem;
  display: flex;
  align-items: stretch;
  gap: 1.75rem;
}

.about-split__fact {
  padding-left: 1.75rem;
  border-left: 1px solid var(--border);
}

.about-split__fact:first-child {
  padding-left: 0;
  border-left: none;
}

.about-split__fact-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-primary);
}

.about-split__fact-title--accent {
  color: var(--color-secondary);
}

.about-split__fact-label {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

.about-split__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1.5rem 3rem -1.5rem oklch(0.16 0.005 90 / 30%);
}

.about-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

@media (min-width: 900px) {
  .about-split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* ================================================================
   Section head with an inline action (Browse Categories / etc.)
   ================================================================ */
.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

/* ================================================================
   Company Environment — full-bleed aerial layout
   ================================================================ */
.env-section {
  padding-block: clamp(3.5rem, 7vw, 6rem) 0;
  background: var(--background);
}

.env-header {
  max-width: 36rem;
  margin-inline: auto;
  text-align: center;
  padding-inline: clamp(1.25rem, 5vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.env-header__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.env-header__sub {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

.env-photo {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.env-photo__fade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 38%;
  background: linear-gradient(to bottom, var(--background) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.env-photo__img {
  display: block;
  width: 100%;
  height: clamp(22rem, 55vw, 42rem);
  object-fit: cover;
  object-position: center 40%;
}

/* ================================================================
   Employee Engagement & Training section
   ================================================================ */
.engage-section {
  --engage-bg: oklch(0.32 0.035 205);
  background: var(--engage-bg);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.engage-header {
  max-width: 38rem;
  margin-inline: auto;
  text-align: center;
  padding-inline: clamp(1.25rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.engage-header__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
}

.engage-header__sub {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: oklch(1 0 0 / 65%);
}

/* 3-column photo grid */
.engage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-inline: clamp(1.25rem, 5vw, 3.5rem);
  max-width: var(--container);
  margin-inline: auto;
}

@media (min-width: 640px) {
  .engage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.engage-card {
  display: flex;
  flex-direction: column;
}

.engage-card__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: oklch(1 0 0 / 6%);
}

.engage-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.engage-card:hover .engage-card__media img {
  transform: scale(1.04);
}

.engage-card__caption {
  margin-top: 0.85rem;
  text-align: center;
}

.engage-card__line1 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}

.engage-card__line2 {
  font-size: 0.8125rem;
  font-style: italic;
  color: oklch(1 0 0 / 60%);
  margin-top: 0.1rem;
}

/* Stat cards row inside engage section */
.engage-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-inline: clamp(1.25rem, 5vw, 3.5rem);
  max-width: var(--container);
  margin-inline: auto;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(1rem, 3vw, 2rem);
}

@media (min-width: 768px) {
  .engage-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.engage-stat-card {
  background: var(--white);
  border-radius: 1rem;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 2vw, 1.5rem);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.engage-stat-card__num {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: oklch(0.32 0.035 205);
  line-height: 1;
}

.engage-stat-card__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: oklch(0.32 0.035 205);
  text-transform: uppercase;
  opacity: 0.75;
}

/* ================================================================
   Photo card grid — shared by Categories
   ================================================================ */
.card-grid {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: 1fr;
}

.card-grid__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft-2);
}

.card-grid__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.card-grid__item:hover .card-grid__media img {
  transform: scale(1.04);
}

.card-grid__caption {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.card-grid__caption p {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink);
}



/* ---------- Categories: image + white body card ---------- */
.card-grid--categories .card-grid__item {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px oklch(0.16 0.005 90 / 8%);
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.card-grid--categories .card-grid__item:hover {
  box-shadow: 0 8px 20px oklch(0.16 0.005 90 / 12%);
  transform: translateY(-2px);
}

.card-grid--categories .card-grid__media {
  border-radius: 0;
  aspect-ratio: 12 / 5;
}

.card-grid--categories .card-grid__caption {
  margin-top: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 1.25rem 1.5rem 1.5rem;
}

.card-grid--categories .card-grid__caption p {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
}

.card-grid--categories .card-grid__desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}

/* ---------- Centered accent heading (Company Environment, Product Showcase, ...) ---------- */
.section-heading {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.section-heading__title {
  display: inline-block;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-primary);
  padding-bottom: 0.85rem;
  position: relative;
}

.section-heading__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 3px;
  border-radius: 999px;
  background: var(--color-secondary);
}

.section-heading__sub {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

/* ================================================================
   Textural banner — "Materiality with Intention"
   ================================================================ */
.material-banner {
  position: relative;
  height: clamp(18rem, 32vw, 28rem);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.material-banner__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.material-banner__scrim {
  position: absolute;
  inset: 0;
  background: oklch(0.16 0.005 90 / 42%);
}

.material-banner__content {
  position: relative;
  text-align: center;
  padding-inline: 1.5rem;
  color: var(--white);
}

.material-banner__title {
  font-weight: 300;
  letter-spacing: -0.01em;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.material-banner__sub {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(1 0 0 / 78%);
}

/* ================================================================
   Stats
   ================================================================ */
.stats-grid {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  gap: 1.75rem 1.25rem;
  grid-template-columns: repeat(2, 1fr);
  background: var(--color-primary);
  border-radius: 1rem;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 2rem);
}

.stats-grid>div {
  text-align: center;
}

.stats-grid__num {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--white);
}

.stats-grid__label {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: oklch(1 0 0 / 75%);
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ================================================================
   Trust bar — certifications & standards
   ================================================================ */
.certs {
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.certs-heading {
  max-width: 34rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.certs-heading__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.certs-heading__title {
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.certs-logos {
  margin-top: 2.75rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.certs-logos::-webkit-scrollbar {
  display: none;
}

.cert-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Circle wrapper for image-based certs */
.cert-badge__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.5rem;
  height: 5.5rem;
  background: var(--white);
  border-radius: 9999px;
  border: 1.5px solid transparent;
  padding: 0.2rem;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.cert-badge:hover .cert-badge__img-wrap {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -10px oklch(0.16 0.005 90 / 25%);
  border-color: var(--color-secondary);
}

.cert-badge__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Circle text badge (NSF, Sedex fallback) */
.cert-badge__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 9999px;
  border: 1.5px solid oklch(0.55 0.09 168);
  background: var(--white);
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  text-align: center;
  line-height: 1;
}

/* NSF: filled badge removes border */
.cert-badge__mark[style*="background"] {
  border-color: transparent;
}

/* .cert-badge:hover .cert-badge__mark {
  border-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -10px oklch(0.16 0.005 90 / 25%);
} */
.cert-badge__mark--underline {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cert-badge__sub {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

.cert-badge__dot {
  color: inherit;
  opacity: 1;
  font-size: 0.85em;
}

.certs-divider {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--border);
}

.certs .tabs {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

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

/* ================================================================
   Catalogue & Resources — quick-link buttons + document table
   ================================================================ */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-width: 15rem;
  padding: 1.1rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: var(--white);
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.tab-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.tab-btn:hover {
  border-color: var(--color-secondary);
  transform: translateY(-2px);
}

.tab-btn.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--white);
}

.tab-panels {
  margin-top: 1.75rem;
}

.doc-group__desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.doc-table-wrap {
  margin-top: 1.25rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 2px oklch(0.16 0.005 90 / 4%), 0 12px 28px -18px oklch(0.16 0.005 90 / 18%);
}

.doc-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.doc-table thead th {
  text-align: left;
  padding: 1rem 1.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted-foreground);
  background: var(--soft);
  border-bottom: 1px solid var(--border);
}

.doc-table__actions-head {
  text-align: right;
}

.doc-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background-color 200ms ease;
}

.doc-table tbody tr:last-child {
  border-bottom: 0;
}

.doc-table tbody tr:hover {
  background: var(--soft);
}

.doc-table td {
  padding: 1.1rem 1.5rem;
  vertical-align: middle;
  font-size: 0.9rem;
}

.doc-table__name {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.file-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: calc(var(--radius) - 2px);
}

.file-badge svg {
  width: 1.1rem;
  height: 1.1rem;
}

.file-badge--pdf {
  background: color-mix(in oklab, var(--color-secondary) 14%, transparent);
  color: var(--color-secondary);
}

.file-badge--zip {
  background: oklch(0.16 0.005 90 / 8%);
  color: var(--ink);
}

.file-badge--youtube {
  background: oklch(0.63 0.24 29 / 14%);
  color: oklch(0.55 0.22 29);
}

.file-badge--link {
  background: oklch(0.16 0.005 90 / 8%);
  color: var(--ink);
}

.doc-table__empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.doc-table__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  transition: border-color 200ms ease, color 200ms ease;
  white-space: nowrap;
}

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

.btn-ghost svg {
  width: 0.9rem;
  height: 0.9rem;
}

.btn-solid-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--color-primary);
  background: var(--color-primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: opacity 200ms ease;
  white-space: nowrap;
}

.btn-solid-sm:hover {
  opacity: 0.85;
}

.btn-solid-sm svg {
  width: 0.9rem;
  height: 0.9rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--white);
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease;
}

.btn-outline:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--white);
}

.btn-outline svg {
  width: 1rem;
  height: 1rem;
}

/* ================================================================
   Contact
   ================================================================ */
#contact.section {
  --contact-bg: oklch(0.32 0.035 205);
  background: var(--contact-bg);
  color: oklch(1 0 0 / 85%);
  position: relative;
  overflow: hidden;
}

/* Large decorative logo — left side watermark */
.contact-deco-logo {
  position: absolute;
  left: 0px;
  top: 67%;
  transform: translateY(-50%);
  width: 1238.5985107421875px;
  height: 1066.67431640625px;
  max-width: none;
  filter: brightness(0) invert(1);
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.contact-section-wrap .shell {
  position: relative;
  z-index: 1;
}

.contact-grid {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
}

.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  background: var(--white);
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
}

.field input::placeholder,
.field textarea::placeholder {
  color: color-mix(in oklab, var(--muted-foreground) 80%, transparent);
}

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

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
}

/* Dark-bg overrides for contact section */
#contact .field label {
  color: oklch(1 0 0 / 85%);
}

#contact .field input,
#contact .field textarea {
  background: var(--white);
  border-color: var(--border);
  color: var(--ink);
}

#contact .field input::placeholder,
#contact .field textarea::placeholder {
  color: var(--muted-foreground);
}

#contact .field input:focus,
#contact .field textarea:focus {
  border-color: var(--copper);
  background: var(--white);
}

#contact .btn-solid {
  background: var(--copper);
  border-color: var(--copper);
  color: var(--white);
}

#contact .btn-solid:hover {
  opacity: 0.9;
}

.field-error {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: oklch(0.577 0.245 27.325);
  min-height: 1em;
}

/* Honeypot — invisible to sighted users and screen readers, but present
   in the DOM for bots that blindly fill every field to trip. Positioned
   off-screen rather than display:none, which some bots skip over. */
.field-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--ink);
}

#contact .contact-title {
  color: var(--white);
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--color-primary);
  background: var(--color-primary);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: opacity 200ms ease;
}

.btn-solid:hover {
  opacity: 0.85;
}

.btn-solid--block {
  display: flex;
  width: 100%;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.form-note.is-success {
  color: var(--color-secondary);
}

#contact .form-note {
  color: oklch(1 0 0 / 55%);
}

.linkedin-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  padding: 2.5rem 2rem;
  text-align: center;
  background: var(--white);
  align-self: start;
  width: 100%;
  max-width: 440px;
  height: auto;
}

.linkedin-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: calc(var(--radius) - 1px);
  background: var(--soft-2);
  color: oklch(0.32 0.035 205);
}

.linkedin-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.linkedin-card__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.linkedin-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.linkedin-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted-foreground);
  margin: 0;
}

.linkedin-card .btn-outline {
  width: 100%;
  justify-content: center;
  border-color: var(--ink);
  margin: 0;
}

/* LinkedIn card dark-bg override */
#contact .linkedin-card {
  background: var(--white);
  border: 1.5px solid transparent;
  box-shadow: 0 10px 30px -15px oklch(0.16 0.005 90 / 15%);
}

#contact .linkedin-card__icon {
  background: var(--soft-2);
  color: oklch(0.32 0.035 205);
}

#contact .linkedin-card h3 {
  color: var(--ink);
}

#contact .linkedin-card p {
  color: var(--muted-foreground);
}

#contact .linkedin-card .btn-outline {
  border-color: oklch(0.32 0.035 205);
  color: oklch(0.32 0.035 205);
  background: transparent;
  font-weight: 700;
}

#contact .linkedin-card .btn-outline:hover {
  background: oklch(0.32 0.035 205);
  color: var(--white);
  border-color: oklch(0.32 0.035 205);
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 3.5rem;
    align-items: start;
  }
  .linkedin-card {
    width: 440px;
    height: 410px;
    padding: 51px 58px 36px 82px;
  }
}

/* ================================================================
   Follow us — "Atelier in Context" gallery
   ================================================================ */
.gallery-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.gallery-head a {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  transition: color 200ms ease;
}

.gallery-head a:hover {
  color: var(--color-secondary);
}

.gallery-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gallery-grid__item {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.gallery-grid__item:hover img {
  transform: scale(1.06);
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ================================================================
   Footer
   ================================================================ */
.site-footer {
  --footer-bg: oklch(0.32 0.035 205);
  position: relative;
  overflow: hidden;
  background: var(--footer-bg);
  color: oklch(1 0 0 / 68%);
  border-top: 1px solid oklch(1 0 0 / 12%);
}

.footer-watermark {
  position: absolute;
  top: -8%;
  right: -6%;
  width: min(64rem, 80vw);
  height: auto;
  opacity: 0.5;
  pointer-events: none;
}

.footer-hero,
.footer-columns,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-hero {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 1px solid oklch(1 0 0 / 14%);
}

.footer-hero__eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: oklch(1 0 0 / 58%);
}

.footer-hero__row {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-hero__title {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  color: var(--white);
}

.footer-hero__arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(3.5rem, 6vw, 5rem);
  height: clamp(3.5rem, 6vw, 5rem);
  border-radius: 9999px;
  border: 1px solid oklch(1 0 0 / 30%);
  color: var(--white);
  transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.footer-hero__arrow:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--footer-bg);
  transform: scale(1.06);
}

.footer-hero__arrow svg {
  width: 1.5rem;
  height: 1.5rem;
}

.footer-columns {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid oklch(1 0 0 / 14%);
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

.footer-col__label {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-brand__logo {
  height: 1.85rem;
  width: auto;
  max-width: 2.5rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-brand__name {
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 1.15rem;
  color: var(--white);
}

.footer-address {
  margin-top: 1.1rem;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: oklch(1 0 0 / 62%);
}

.footer-links {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.25rem;
}

.footer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid oklch(1 0 0 / 16%);
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 200ms ease;
}

.footer-link:hover {
  color: oklch(0.85 0.05 90);
}

.footer-link svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  opacity: 0.6;
  transition: transform 200ms ease, opacity 200ms ease;
}

.footer-link:hover svg {
  opacity: 1;
  transform: translateX(3px);
}

.footer-newsletter {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid oklch(1 0 0 / 35%);
  padding-bottom: 0.75rem;
}

.footer-newsletter input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.9rem;
  color: var(--white);
}

.footer-newsletter input::placeholder {
  color: oklch(1 0 0 / 50%);
}

.footer-newsletter button {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: var(--white);
  color: var(--footer-bg);
  transition: opacity 200ms ease;
}

.footer-newsletter button:hover {
  opacity: 0.85;
}

.footer-newsletter button svg {
  width: 1rem;
  height: 1rem;
}

.footer-newsletter-note {
  margin-top: 0.85rem;
  font-size: 0.75rem;
  color: oklch(1 0 0 / 50%);
}

.footer-newsletter-note a {
  color: oklch(1 0 0 / 75%);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-newsletter-note a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-block: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: oklch(1 0 0 / 45%);
}

.footer-bottom__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 9999px;
  border: 1px solid oklch(1 0 0 / 30%);
  color: oklch(1 0 0 / 65%);
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  flex-shrink: 0;
}

.footer-bottom__social:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--footer-bg);
}

.footer-bottom__social svg {
  width: 0.85rem;
  height: 0.85rem;
}


@media (min-width: 900px) {
  .footer-columns {
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 3rem;
  }
}