/* LEDUCQ.EU V1.3
 * Desktop layout is intentionally composition-driven to stay close to
 * the validated reference artwork. Text remains native HTML.
 */

:root {
  --bg: rgb(2, 16, 28);
  --bg-deep: rgb(2, 13, 25);
  --ink: #f1e9dd;
  --muted: #bcb4aa;
  --gold: #c78749;
  --gold-bright: #e0a15e;
  --line: rgba(193, 128, 68, .35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  background: var(--bg);
}

body {
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.page {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 42%, rgba(124, 76, 39, .035), transparent 30%),
    linear-gradient(180deg, rgb(2, 16, 28) 0%, rgb(2, 14, 27) 72%, rgb(2, 13, 25) 100%);
}

/* ---------- Header ---------- */

.topbar {
  position: absolute;
  z-index: 20;
  top: clamp(18px, 3.6vh, 34px);
  left: clamp(24px, 2.8vw, 48px);
  right: clamp(28px, 4.2vw, 72px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1.15vw, 18px);
}

.brand-seal {
  display: block;
  width: clamp(70px, 5.15vw, 88px);
  height: auto;
  aspect-ratio: 1;
  flex: 0 0 auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 9px rgba(211, 145, 76, .15))
    drop-shadow(0 2px 5px rgba(0, 0, 0, .22));
}

.brand-name {
  color: #eee5d9;
  font-family: "Bodoni MT", Didot, "Baskerville", "Times New Roman", serif;
  font-size: clamp(1rem, 1.55vw, 1.55rem);
  letter-spacing: .18em;
  white-space: nowrap;
}

.themes {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 26px);
  color: #cf914f;
  font-family: "Bodoni MT", Didot, "Baskerville", "Times New Roman", serif;
  font-size: clamp(.67rem, .78vw, .82rem);
  letter-spacing: .18em;
  white-space: nowrap;
}

.themes i {
  width: 1px;
  height: 26px;
  background: linear-gradient(180deg, transparent, rgba(188, 119, 58, .55), transparent);
}


.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.25vw, 22px);
  min-width: 0;
}

.top-separator {
  width: 1px;
  height: 28px;
  flex: 0 0 auto;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(188, 119, 58, .52),
    transparent
  );
}

.language {
  display: flex;
  align-items: center;
  gap: .56rem;
  flex: 0 0 auto;
}

.lang-button {
  position: relative;
  padding: .24rem 0;
  border: 0;
  background: transparent;
  color: rgba(213, 195, 177, .52);
  cursor: pointer;
  font-family: "Bodoni MT", Didot, "Baskerville", "Times New Roman", serif;
  font-size: clamp(.64rem, .72vw, .76rem);
  letter-spacing: .18em;
  transition: color 260ms ease;
}

.lang-button::after {
  content: "";
  position: absolute;
  left: 0;
  right: .16em;
  bottom: 0;
  height: 1px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 260ms ease;
}

.lang-button:hover,
.lang-button:focus-visible,
.lang-button.is-active {
  color: #e4b27b;
}

.lang-button.is-active::after {
  transform: scaleX(1);
}

.lang-button:focus-visible {
  outline: 1px solid rgba(224, 161, 94, .7);
  outline-offset: 5px;
}

.lang-separator {
  color: rgba(196, 164, 134, .32);
}

/* ---------- Main desktop composition ---------- */

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

.copy {
  position: absolute;
  z-index: 8;
  left: clamp(150px, 16.8vw, 285px);
  top: clamp(160px, 23.7vh, 225px);
  width: min(43vw, 720px);
}

.eyebrow {
  margin: 0 0 clamp(13px, 2vh, 20px);
  color: #d69450;
  font-family: "Bodoni MT", Didot, "Baskerville", "Times New Roman", serif;
  font-size: clamp(.73rem, .86vw, .91rem);
  letter-spacing: .28em;
}

.ornament {
  display: flex;
  align-items: center;
  color: #a96a35;
}

.ornament span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(173, 105, 51, .6), transparent);
}

.ornament b {
  font-size: .68rem;
  font-weight: 400;
}

.ornament-top {
  width: 180px;
  margin: 0 0 9px 78px;
  gap: 9px;
}

.ornament-top span {
  flex: 1;
}

.copy h1 {
  margin: 0;
  color: #f2eadf;
  font-family: "Bodoni MT", Didot, "Baskerville", "Times New Roman", serif;
  font-size: clamp(5rem, 7.1vw, 7.8rem);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.005em;
  white-space: nowrap;
  text-shadow: 0 2px 26px rgba(0, 0, 0, .24);
}

.ornament-mid {
  width: 315px;
  margin: 13px 0 18px 60px;
  gap: 9px;
}

.ornament-mid span {
  flex: 1;
}

.subtitle {
  margin: 0;
  color: #d28b49;
  font-family: "Bodoni MT", Didot, "Baskerville", "Times New Roman", serif;
  font-size: clamp(1.35rem, 1.95vw, 2.05rem);
  font-style: italic;
  line-height: 1.18;
}

.statement {
  margin-top: clamp(24px, 3vh, 31px);
  color: rgba(226, 219, 210, .78);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(.84rem, .91vw, .98rem);
  line-height: 1.5;
}

.statement p {
  margin: 0;
}

/* The validated decorative artwork is used only for the right-side visual.
 * All page text remains native HTML. */
.visual {
  position: absolute;
  z-index: 3;
  top: clamp(70px, 8.5vh, 92px);
  right: 0;
  width: min(54vw, 910px);
  height: min(69vh, 650px);
}

.archway {
  position: absolute;
  inset: 0;
  background:
    url("/assets/heritage-visual-reference.webp") center / cover no-repeat;
  opacity: .98;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,.25) 8%, #000 24%, #000 94%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 5%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,.25) 8%, #000 24%, #000 94%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 5%, #000 90%, transparent 100%);
  mask-composite: intersect;
}

.visual-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(2,16,28,.74) 10%, transparent 30%),
    linear-gradient(180deg, rgba(2,16,28,.12), transparent 70%, rgba(2,16,28,.25));
  pointer-events: none;
}

/* Geometry and the large L are already part of the decorative crop.
 * Keep the HTML nodes but do not draw a second copy on desktop. */
.geometry {
  display: none;
}

.botanical {
  position: absolute;
  z-index: 2;
  left: 0;
  top: clamp(120px, 14vh, 150px);
  width: clamp(190px, 15vw, 250px);
  height: min(62vh, 590px);
  color: transparent;
  background: url("/assets/botanical-reference.webp") left center / contain no-repeat;
  opacity: .78;
  pointer-events: none;
}

.botanical svg {
  display: none;
}

/* ---------- Bottom pillars ---------- */

.pillars {
  position: absolute;
  z-index: 12;
  left: 5.7vw;
  right: 5.7vw;
  bottom: clamp(68px, 8.4vh, 82px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3.5vw, 60px);
}

.pillar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.5vw, 22px);
  min-width: 0;
}

.pillar-icon {
  width: clamp(66px, 4.8vw, 80px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(193, 127, 66, .62);
  border-radius: 50%;
  color: #b9783f;
}

.pillar-icon svg {
  width: 54%;
  height: 54%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar h2 {
  margin: 0;
  color: #cf8f4d;
  font-family: "Bodoni MT", Didot, "Baskerville", "Times New Roman", serif;
  font-size: clamp(.88rem, 1vw, 1.05rem);
  font-weight: 400;
  letter-spacing: .14em;
}

.pillar p {
  margin: 8px 0 0;
  color: rgba(219, 211, 201, .77);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(.72rem, .82vw, .86rem);
  line-height: 1.35;
  white-space: nowrap;
}

.footer-ornament {
  position: absolute;
  z-index: 10;
  left: 5.4vw;
  right: 5.4vw;
  bottom: clamp(18px, 2.3vh, 24px);
  height: 44px;
  background: url("/assets/footer-ornament-reference.webp") center / 100% 100% no-repeat;
  opacity: .78;
}

.footer-ornament > * {
  display: none;
}

/* ---------- Mobile / narrow layouts ---------- */

@media (max-width: 820px) {
  .page {
    min-height: 100svh;
    overflow: visible;
    padding: 20px 18px 30px;
  }

  .topbar {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
  }

  .themes,
  .top-separator {
    display: none;
  }

  .top-actions {
    gap: 0;
    margin-left: auto;
  }

  .language {
    gap: .45rem;
  }

  .lang-button {
    font-size: .68rem;
    letter-spacing: .14em;
  }

  .brand-seal {
    width: 62px;
  }

  .brand-name {
    font-size: .9rem;
  }

  .hero {
    position: relative;
    inset: auto;
    margin-top: 44px;
  }

  .copy {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    text-align: center;
  }

  .eyebrow {
    font-size: .7rem;
    line-height: 1.5;
  }

  .ornament-top,
  .ornament-mid {
    margin-left: auto;
    margin-right: auto;
  }

  .copy h1 {
    font-size: clamp(3.45rem, 15vw, 5.8rem);
    white-space: normal;
  }

  .subtitle {
    font-size: clamp(1.25rem, 5vw, 1.65rem);
  }

  .statement {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    font-size: .93rem;
  }

  .botanical {
    opacity: .34;
    left: -35px;
    top: 50px;
    width: 170px;
    height: 420px;
  }

  .visual {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: 440px;
    margin-top: 30px;
  }

  .archway {
    inset: 0;
    background-size: cover;
    background-position: center;
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, #000 18%, #000 92%, transparent 100%),
      linear-gradient(180deg, transparent 0%, #000 7%, #000 92%, transparent 100%);
    mask-image:
      linear-gradient(90deg, transparent 0%, #000 18%, #000 92%, transparent 100%),
      linear-gradient(180deg, transparent 0%, #000 7%, #000 92%, transparent 100%);
  }

  .visual-fade {
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(2,16,28,.35) 14%, transparent 38%),
      linear-gradient(180deg, rgba(2,16,28,.08), transparent 70%, var(--bg));
  }

  .pillars {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 26px auto 0;
    width: min(700px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 16px;
  }

  .pillar {
    justify-content: flex-start;
  }

  .pillar-icon {
    width: 62px;
  }

  .footer-ornament {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 40px;
    margin-top: 24px;
  }
}

@media (max-width: 520px) {
  .brand {
    gap: 12px;
  }

  .topbar {
    gap: 14px;
  }

  .brand-seal {
    width: 56px;
  }

  .visual {
    height: 390px;
  }

  .pillars {
    grid-template-columns: 1fr;
    width: min(390px, 96vw);
    gap: 22px;
  }

  .pillar p {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}


/* ---------- Domain identity refinement ---------- */

.brand-name {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.brand-core {
  color: var(--ivory);
  font-weight: 600;
  letter-spacing: .19em;
}

.brand-dot {
  margin: 0 .055em 0 .015em;
  color: var(--gold-bright);
  font-weight: 500;
  text-shadow:
    0 0 5px rgba(219, 146, 76, .28),
    0 0 11px rgba(219, 146, 76, .12);
}

.brand-domain {
  color: rgba(211, 164, 112, .88);
  font-weight: 400;
  letter-spacing: .16em;
}

.hero-title {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  white-space: nowrap;
}

.hero-core {
  color: var(--ivory);
  font-weight: 400;
}

.hero-dot {
  display: inline-block;
  margin: 0 .075em 0 .025em;
  color: var(--gold-bright);
  font-weight: 500;
  text-shadow:
    0 0 7px rgba(219, 146, 76, .32),
    0 0 18px rgba(219, 146, 76, .12);
  animation: leducq-dot-breathe 8s ease-in-out infinite;
}

.hero-domain {
  color: rgba(216, 173, 125, .92);
  font-weight: 300;
  letter-spacing: .035em;
}

@keyframes leducq-dot-breathe {
  0%, 100% {
    opacity: .86;
    text-shadow:
      0 0 5px rgba(219, 146, 76, .24),
      0 0 14px rgba(219, 146, 76, .08);
  }
  50% {
    opacity: 1;
    text-shadow:
      0 0 8px rgba(219, 146, 76, .40),
      0 0 20px rgba(219, 146, 76, .15);
  }
}

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


/* Matomo no-JavaScript fallback beacon. */
.matomo-beacon {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
