/* ============================================================
   Union des Artisans de Guédiawaye — static stylesheet
   Ported from the React/Tailwind source (index.css tokens).
   ============================================================ */

:root {
  --navy: #0D2B5E;
  --gold: #C9A84C;
  --forest: #1E4620;
  --foreground: #14315f;
  /* hsl(221 64% 21%) */
  --border: #e2e5ec;
  /* hsl(220 20% 90%) */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --radius-sm: 0.25rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

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

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

ul {
  list-style: none;
}

::selection {
  background-color: rgba(201, 168, 76, 0.3);
  color: var(--navy);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- Helper tokens ---------- */
.text-navy {
  color: var(--navy);
}

.text-gold {
  color: var(--gold);
}

.font-heading {
  font-family: var(--font-heading);
}

.smallcaps {
  font-variant: small-caps;
  letter-spacing: 0.08em;
}

.tracking-institutional {
  letter-spacing: 0.2em;
}

.text-balance {
  text-wrap: balance;
}

.container {
  margin-inline: auto;
  max-width: 80rem;
  padding-inline: 1.5rem;
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 2.5rem;
  }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  display: block;
  height: 1px;
  width: 2.5rem;
  background: var(--gold);
}

.section-title {
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  max-width: 48rem;
  text-wrap: balance;
}

.section-title.light {
  color: #fff;
}

.section-intro {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(20, 49, 95, 0.7);
  max-width: 48rem;
}

.section-intro.light {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Decorative patterns ---------- */
.gold-thread {
  background: linear-gradient(180deg, transparent, var(--gold) 15%, var(--gold) 85%, transparent);
}

.pattern-weave {
  background-image:
    repeating-linear-gradient(45deg, rgba(201, 168, 76, 0.04) 0, rgba(201, 168, 76, 0.04) 1px, transparent 1px, transparent 24px),
    repeating-linear-gradient(-45deg, rgba(201, 168, 76, 0.04) 0, rgba(201, 168, 76, 0.04) 1px, transparent 1px, transparent 24px);
}

.navy-grain {
  background-color: var(--navy);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(201, 168, 76, 0.08) 0, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(30, 70, 32, 0.12) 0, transparent 50%);
}

.lift-hover {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lift-hover:hover {
  transform: translateY(-6px);
}

.icon-box {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: var(--radius-sm);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 52px;
  padding-inline: 2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: #fff;
  border-color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

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

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .5s, backdrop-filter .5s, border-color .5s;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.6);
}

/* scrolled: dark text on white */
.navbar.scrolled .brand-name {
  color: var(--navy);
}

.navbar.scrolled .nav-links a.link {
  color: rgba(13, 43, 94, 0.8);
}

.navbar.scrolled .nav-links a.link:hover {
  color: var(--navy);
}

.navbar.scrolled .nav-cta {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.navbar.scrolled .nav-cta:hover {
  background: transparent;
  color: var(--navy);
}

.navbar.scrolled .nav-toggle {
  color: var(--navy);
}

.navbar .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

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

.brand img {
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 6px rgba(0, 0, 0, .2);
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.4);
}

.brand-text {
  line-height: 1.1;
}

.brand-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.brand-sub {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  padding-block: 0.5rem;
  transition: color .3s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a.link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width .3s;
}

.nav-links a.link:hover::after {
  width: 100%;
}

.nav-cta {
  margin-left: 0.5rem;
  min-height: 44px;
  padding-inline: 1.5rem;
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: var(--navy);
  border: 1px solid var(--gold);
  transition: background-color .3s, border-color .3s;
}

.nav-cta:hover {
  background: #fff;
  border-color: #fff;
}

/* mobile menu (checkbox hack) */
.nav-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

#nav-check {
  display: none;
}

.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid rgba(201, 168, 76, 0.4);
}

#nav-check:checked~.mobile-menu {
  display: block;
}

.mobile-menu nav {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.mobile-menu a {
  padding-block: 0.75rem;
  color: var(--navy);
  font-weight: 500;
  border-bottom: 1px solid rgba(226, 229, 236, 0.6);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.nav-toggle .icon-close {
  display: none;
}

#nav-check:checked~.bar-wrap .nav-toggle .icon-open {
  display: none;
}

#nav-check:checked~.bar-wrap .nav-toggle .icon-close {
  display: block;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg .grad-1 {
  position: absolute;
  inset: 0;
  background: rgba(13, 43, 94, 0.40);
}

.hero-thread {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  opacity: 0.5;
}

@media (max-width: 1023px) {
  .hero-thread {
    display: none;
  }
}

.hero-inner {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: 4rem;
  padding-left: 4rem;
  padding-right: 4rem;
}

#accueil>div.hero-inner>div {
  margin-right: auto !important;
  margin-left: unset;
}

.hero-content {
  margin-right: auto;
}

.hero-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-weight: 700;
  line-height: 0.98;
  font-size: clamp(2rem, 9vw, 6rem);
}

.hero h1 .accent {
  display: block;
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

.hero-lead {
  margin-top: 2rem;
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 42rem;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.scroll-cue {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 2rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color .3s;
}

.scroll-cue:hover {
  color: var(--gold);
}

.scroll-cue span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-cue svg {
  animation: bob 2s ease-in-out infinite;
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  padding-block: 4rem;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 1024px) {
  .stats {
    padding-block: 5rem;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}

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

.stat {
  background: #fff;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.stat .value {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(3rem, 6vw, 3.75rem);
}

.stat .label {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* ============================================================
   ABOUT
   ============================================================ */
.section {
  padding-block: 6rem;
}

@media (min-width: 1024px) {
  .section {
    padding-block: 8rem;
  }
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 7fr 5fr;
    gap: 4rem;
  }
}

.about-body {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: rgba(20, 49, 95, 0.75);
  line-height: 1.7;
}

.values-wrap {
  position: relative;
}

.values-frame {
  position: absolute;
  top: -1rem;
  left: -1rem;
  right: 1rem;
  bottom: 1rem;
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: var(--radius-sm);
}

.values-card {
  position: relative;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 2rem;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .values-card {
    padding: 2.5rem;
  }
}

.values-card .weave {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  border-radius: var(--radius-sm);
}

.values-card .inner {
  position: relative;
}

.values-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.value {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.value:last-child {
  margin-bottom: 0;
}

.value .icon-box {
  width: 3rem;
  height: 3rem;
}

.value h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gold);
}

.value p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.25rem;
  line-height: 1.6;
}

/* ============================================================
   PRESIDENT MESSAGE
   ============================================================ */
.president {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.president .weave {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.president .thread-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  opacity: 0.6;
}

.president-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-block: 5rem;
}

@media (min-width: 1024px) {
  .president-grid {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
    padding-block: 7rem;
  }
}

.president-portrait {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.president-portrait .halo {
  position: absolute;
  top: 0;
  width: 18rem;
  height: 18rem;
  border-radius: 9999px;
  background: rgba(201, 168, 76, 0.1);
  filter: blur(48px);
}

.president-portrait img {
  position: relative;
  width: 20rem;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.4));
}

.president-portrait .name-block {
  position: relative;
  margin-top: 1.5rem;
  text-align: center;
}

.president-portrait .role {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.president-portrait .name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

.president-msg .tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
}

.president-msg .tag::before {
  content: "";
  height: 1px;
  width: 2.5rem;
  background: var(--gold);
}

.president-msg .quote-icon {
  color: rgba(201, 168, 76, 0.4);
  margin-bottom: 1.5rem;
}

.president-msg blockquote {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.president-msg blockquote .em {
  color: var(--gold);
  font-weight: 600;
}

.president-msg .sign {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.president-msg .sign::before {
  content: "";
  height: 1px;
  width: 4rem;
  background: var(--gold);
}

.president-msg .sign .name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.president-msg .sign .sub {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   CRAFTS
   ============================================================ */
.crafts {
  position: relative;
  color: #fff;
  overflow: hidden;
}

.crafts .weave {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

.crafts .inner {
  position: relative;
}

.crafts-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}

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

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

.craft {
  position: relative;
  background: var(--navy);
  padding: 2rem;
  cursor: default;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .craft {
    padding: 2.5rem;
  }
}

.craft .icon-box {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.5rem;
  transition: background-color .5s;
}

.craft .icon-box svg {
  color: var(--gold);
  transition: color .5s;
}

.craft:hover .icon-box {
  background: var(--gold);
}

.craft:hover .icon-box svg {
  color: var(--navy);
}

.craft h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.craft p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.craft .underline {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  transition: width .5s;
}

.craft:hover .underline {
  width: 100%;
}

/* ============================================================
   ARTISANS
   ============================================================ */
.artisans-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.artisan {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.artisan .weave {
  position: absolute;
  inset: 0;
  opacity: 0.4;
}

.artisan .mono {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 3.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.15);
  transition: color .5s;
}

.artisan:hover .mono {
  color: rgba(201, 168, 76, 0.4);
}

.artisan .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 43, 94, 0.8), transparent 60%);
}

.artisan .info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  color: #fff;
}

.artisan .info h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
}

.artisan .info .craft {
  font-size: 0.75rem;
  font-variant: small-caps;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-top: 0.25rem;
  background-color: unset !important;
  padding: unset !important;
}

.artisan .info .area {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

.bg-navy {
  background: var(--navy);
}

.bg-forest {
  background: #1E4620;
}

.bg-brown {
  background: #3a2e1a;
}

.bg-blue {
  background: #0D2B5E;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  border-top: 1px solid var(--border);
}

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

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

.tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.tile .weave {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  mix-blend-mode: overlay;
}

.tile .veil {
  position: absolute;
  inset: 0;
  /* background: rgba(13, 43, 94, 0.4); */
  transition: background-color .5s;
}

.tile:hover .veil {
  background: rgba(13, 43, 94, 0.1);
}

.tile figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
}

.tile figcaption span {
  font-size: 0.75rem;
  font-variant: small-caps;
  letter-spacing: 0.08em;
  color: #fff;
  font-weight: 600;
}

.tile .num {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.t1 {
  background: linear-gradient(to bottom right, #1a1a1a, #3a2e1a, rgba(201, 168, 76, 0.6));
}

.t2 {
  background: linear-gradient(to bottom right, #0D2B5E, #1E4620, #0D2B5E);
}

.t3 {
  background: linear-gradient(to bottom right, #5a3a1a, #8a5a2a, #3a2e1a);
}

.t4 {
  background: linear-gradient(to bottom right, #1E4620, #0D2B5E, rgba(201, 168, 76, 0.5));
}

.t5 {
  background: linear-gradient(to bottom right, #0a0a0a, rgba(201, 168, 76, 0.4), #0D2B5E);
}

.t6 {
  background: linear-gradient(to bottom right, #3a2e1a, #7a4a2a, #1a1a1a);
}

.t7 {
  background: linear-gradient(to bottom right, #0D2B5E, rgba(201, 168, 76, 0.5), #1E4620);
}

.t8 {
  background: linear-gradient(to bottom right, #1a1a1a, rgba(201, 168, 76, 0.6), #5a2a1a);
}

/* ============================================================
   NEWS
   ============================================================ */
.news {
  position: relative;
  color: #fff;
  overflow: hidden;
}

.news .weave {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

.news .inner {
  position: relative;
}

.news-head {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .news-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.news-head .more {
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.875rem;
}

@media (min-width: 1024px) {
  .news-head .more {
    display: inline-flex;
  }
}

.news-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.news-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.news-card:hover {
  border-color: rgba(201, 168, 76, 0.5);
}

.news-card .meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.news-card .meta .date {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.news-card .meta .cat {
  margin-left: auto;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  border: 1px solid rgba(201, 168, 76, 0.4);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
}

.news-card .body {
  padding: 1.5rem;
}

.news-card .body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  transition: color .3s;
}

.news-card:hover .body h3 {
  color: var(--gold);
}

.news-card .body p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.news-card .body .read {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--gold);
  font-weight: 600;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  position: relative;
  color: #fff;
  overflow: hidden;
}

.contact .weave {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

.contact .inner {
  position: relative;
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
  }
}

.contact-infos {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info .icon-box {
  width: 2.75rem;
  height: 2.75rem;
}

.contact-info .icon-box svg {
  color: var(--gold);
}

.contact-info .label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.contact-info .val {
  color: rgba(255, 255, 255, 0.8);
}

.contact-info a.val:hover {
  color: var(--gold);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-row {
  display: grid;
  gap: 2rem;
}

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

.field label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(201, 168, 76, 0.4);
  color: #fff;
  padding-block: 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color .3s;
}

.field textarea {
  resize: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

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

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  color: #fff;
  overflow: hidden;
}

.footer .weave {
  position: absolute;
  inset: 0;
  opacity: 0.6;
}

.footer .thread-top {
  height: 1px;
}

.footer .inner {
  position: relative;
  padding-block: 4rem;
}

@media (min-width: 1024px) {
  .footer .inner {
    padding-block: 5rem;
  }
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
  }
}

.footer-brand {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .footer-brand {
    grid-column: span 2;
  }
}

.footer-brand .row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-brand img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.4);
}

.footer-brand .n {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
}

.footer-brand .s {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 28rem;
  line-height: 1.7;
}

.footer-social {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  transition: border-color .3s, color .3s;
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-col h3 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.footer-col li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-col a,
.footer-col span {
  color: rgba(255, 255, 255, 0.7);
  transition: color .3s;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-col svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom .tagline {
  color: rgba(255, 255, 255, 0.4);
  font-variant: small-caps;
  letter-spacing: 0.08em;
}

/* ---------- scroll reveal (CSS-only, no JS) ----------
   Gated behind @supports so browsers without scroll-driven
   animations (e.g. Safari) show content instead of hiding it. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      animation: reveal-in linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 25%;
    }

    @keyframes reveal-in {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
  }
}