@import url("fonts.css");

/* ============================================================
   MEDUSA APPARELS — design tokens
   Display: Cormorant Garamond · UI: IBM Plex Sans · Data: IBM Plex Mono
   ============================================================ */

:root {
  /* light palette */
  --paper:      #FBFAF7;
  --surface:    #F3EFE6;
  --surface-2:  #EAE4D6;
  --ink:        #1A1712;
  --body:       #423B31;
  --muted:      #6E6555;
  --line:       #E0D9C8;
  --line-soft:  #EDE8DB;

  --gold:       #B5871A;         /* accent on light grounds (AA on paper) */
  --gold-bright:#E0A030;         /* the logo gold - dark grounds only */
  --gold-deep:  #8A6612;
  --gold-wash:  #FAF3E0;
  --serpent:    #33574A;
  --serpent-soft:#E4EBE6;

  /* always-dark zones (hero, footer) keep these regardless of theme */
  --ink-ground: #141210;
  --ink-raised: #201C17;
  --ink-line:   #38312A;
  --on-ink:     #F2EDE2;
  --on-ink-mut: #A79C8A;

  --shadow-sm: 0 1px 2px rgba(26,23,18,.06), 0 2px 8px rgba(26,23,18,.05);
  --shadow-md: 0 2px 6px rgba(26,23,18,.07), 0 12px 32px rgba(26,23,18,.09);

  --f-display: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --f-ui: "IBM Plex Sans", "Segoe UI", -apple-system, Helvetica, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 3px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:      #141210;
    --surface:    #1C1915;
    --surface-2:  #262119;
    --ink:        #F3EEE3;
    --body:       #CFC6B6;
    --muted:      #968C7B;
    --line:       #332C24;
    --line-soft:  #262019;

    --gold:       #E0A030;
    --gold-bright:#EFB44E;
    --gold-deep:  #F0C070;
    --gold-wash:  #241D11;
    --serpent:    #8CB4A2;
    --serpent-soft:#1B2621;

    --ink-ground: #0F0D0B;
    --ink-raised: #1A1713;
    --ink-line:   #322B24;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.3);
    --shadow-md: 0 2px 6px rgba(0,0,0,.45), 0 12px 32px rgba(0,0,0,.4);
  }
}

:root[data-theme="dark"] {
  --paper:      #141210;
  --surface:    #1C1915;
  --surface-2:  #262119;
  --ink:        #F3EEE3;
  --body:       #CFC6B6;
  --muted:      #968C7B;
  --line:       #332C24;
  --line-soft:  #262019;

  --gold:       #E0A030;
  --gold-bright:#EFB44E;
  --gold-deep:  #F0C070;
  --gold-wash:  #241D11;
  --serpent:    #8CB4A2;
  --serpent-soft:#1B2621;

  --ink-ground: #0F0D0B;
  --ink-raised: #1A1713;
  --ink-line:   #322B24;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.3);
  --shadow-md: 0 2px 6px rgba(0,0,0,.45), 0 12px 32px rgba(0,0,0,.4);
}

/* ============================================================
   Reset & base
   ============================================================ */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--gold-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: #1A1712; padding: .7rem 1.2rem; font-weight: 600;
}
.skip:focus { left: .5rem; top: .5rem; }

/* ============================================================
   Typography
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  text-wrap: balance;
  margin: 0;
  letter-spacing: .005em;
}

h1 { font-size: clamp(2.4rem, 6.2vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 4vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
h4 { font-size: 1.08rem; }

p { margin: 0 0 1.05rem; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.05rem, 1.9vw, 1.24rem);
  line-height: 1.6;
  color: var(--body);
  max-width: 60ch;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin: 0 0 .85rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
  flex: none;
}
.eyebrow.is-plain::before { display: none; }

.section-head { max-width: 62ch; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section-head p { margin-top: .9rem; }

/* ============================================================
   Layout primitives
   ============================================================ */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-narrow { max-width: 800px; }

.section { padding-block: clamp(3.2rem, 8vw, 6rem); }
.section-tight { padding-block: clamp(2.4rem, 5vw, 3.6rem); }
.section--surface { background: var(--surface); }
.section--ink {
  background: var(--ink-ground);
  color: var(--on-ink-mut);
}
.section--ink h2, .section--ink h3, .section--ink h4 { color: var(--on-ink); }
.section--ink .eyebrow { color: var(--gold-bright); }
.section--ink .eyebrow::before { background: var(--gold-bright); }
.section--ink a { color: var(--gold-bright); }

.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.8rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--f-ui);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .78rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--gold { background: var(--gold); color: #17130A; border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: #17130A; }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold-deep); background: var(--gold-wash); }

.btn--ghost-ink { background: transparent; color: var(--on-ink); border-color: var(--ink-line); }
.btn--ghost-ink:hover { border-color: var(--gold-bright); color: var(--gold-bright); background: rgba(224,160,48,.07); }

.btn--sm { padding: .5rem 1rem; font-size: .8rem; }

.arrow { transition: transform .22s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   Header / navigation
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ink-ground);
  border-bottom: 1px solid var(--ink-line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  margin-right: auto;
  flex: none;
}
.brand img { width: 40px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--f-display);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.brand-sub {
  font-family: var(--f-mono);
  font-size: .58rem;
  letter-spacing: .27em;
  text-transform: uppercase;
  color: var(--on-ink-mut);
  margin-top: .3rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: .5rem .68rem;
  font-size: .845rem;
  font-weight: 500;
  color: var(--on-ink-mut);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--on-ink); background: rgba(255,255,255,.05); }
.nav-links a[aria-current="page"] { color: var(--gold-bright); }

.nav-actions { display: flex; align-items: center; gap: .5rem; flex: none; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  background: transparent;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  color: var(--on-ink-mut);
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.icon-btn:hover { color: var(--gold-bright); border-color: var(--gold-bright); }
.icon-btn svg { width: 17px; height: 17px; }

.nav-toggle { display: none; }
[data-theme="dark"] .theme-sun, :root:not([data-theme="light"]) .theme-sun { display: block; }
.theme-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-sun { display: none; }
  :root:not([data-theme="light"]) .theme-moon { display: block; }
}
:root[data-theme="dark"] .theme-sun { display: none; }
:root[data-theme="dark"] .theme-moon { display: block; }
:root[data-theme="light"] .theme-sun { display: block; }
:root[data-theme="light"] .theme-moon { display: none; }

@media (max-width: 1040px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink-ground);
    border-bottom: 1px solid var(--ink-line);
    padding: .6rem var(--gutter) 1.4rem;
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a { padding: .82rem .3rem; font-size: .96rem; border-bottom: 1px solid var(--ink-line); border-radius: 0; }
  .nav-cta { display: none; }
}
@media (max-width: 420px) {
  .brand-sub { display: none; }
  .brand img { width: 34px; }
  .brand-name { font-size: 1.12rem; }
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  background: var(--ink-ground);
  color: var(--on-ink-mut);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(224,160,48,.13), transparent 65%);
  z-index: -1;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 8vw, 5.5rem);
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-block: 2.8rem 2.2rem; }
  .hero-emblem { display: none; }
}

.hero h1 { color: var(--on-ink); }
.hero h1 em {
  font-style: italic;
  color: var(--gold-bright);
}
.hero-lede {
  color: var(--on-ink-mut);
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  max-width: 52ch;
  margin-top: 1.3rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero-emblem { display: grid; place-items: center; }
.hero-emblem img {
  width: min(320px, 100%);
  filter: drop-shadow(0 8px 40px rgba(224,160,48,.22));
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-emblem img { animation: none; }
}

.hero-quote {
  border-left: 2px solid var(--gold-bright);
  padding-left: 1.1rem;
  margin-top: 2.4rem;
  max-width: 46ch;
}
.hero-quote q {
  font-family: var(--f-display);
  font-size: 1.16rem;
  font-style: italic;
  color: var(--on-ink);
  quotes: "\201C" "\201D";
  line-height: 1.4;
}
.hero-quote cite {
  display: block;
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--on-ink-mut);
  font-style: normal;
  margin-top: .6rem;
}

/* marquee strip of real product photography */
.marquee {
  position: relative;
  border-top: 1px solid var(--ink-line);
  background: var(--ink-raised);
  overflow: hidden;
  padding-block: .9rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex;
  gap: .75rem;
  width: max-content;
  animation: slide 68s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img {
  height: 128px;
  width: auto;
  border-radius: var(--radius);
  object-fit: cover;
  opacity: .82;
  transition: opacity .3s var(--ease);
}
.marquee img:hover { opacity: 1; }
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}
@media (max-width: 620px) { .marquee img { height: 96px; } }

/* ============================================================
   Page banner (interior pages)
   ============================================================ */

.pagehead {
  background: var(--ink-ground);
  color: var(--on-ink-mut);
  padding-block: clamp(2.4rem, 6vw, 4rem);
  position: relative;
  overflow: hidden;
}
.pagehead::after {
  content: "";
  position: absolute;
  right: -80px; top: 50%;
  transform: translateY(-50%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(224,160,48,.1), transparent 68%);
  pointer-events: none;
}
.pagehead h1 { color: var(--on-ink); font-size: clamp(2.1rem, 5vw, 3.3rem); }
.pagehead p { color: var(--on-ink-mut); max-width: 58ch; margin-top: .9rem; }
.pagehead .eyebrow { color: var(--gold-bright); }
.pagehead .eyebrow::before { background: var(--gold-bright); }

.crumbs {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--on-ink-mut);
  margin-bottom: 1rem;
}
.crumbs a { color: var(--on-ink-mut); text-decoration: none; }
.crumbs a:hover { color: var(--gold-bright); }
.crumbs span { opacity: .5; margin-inline: .45rem; }

/* ============================================================
   Cards
   ============================================================ */

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 2.5vw, 1.7rem);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  height: 100%;
}
.section--surface .card { background: var(--paper); }
.card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .93rem; }

.card-num {
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  color: var(--gold-deep);
  display: block;
  margin-bottom: .8rem;
}

.card--ink {
  background: var(--ink-raised);
  border-color: var(--ink-line);
}
.card--ink h3 { color: var(--on-ink); }
.card--ink p { color: var(--on-ink-mut); }
.card--ink:hover { border-color: var(--gold-bright); }

/* icon tile */
.tile-icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.tile-icon svg { width: 20px; height: 20px; }
.card--ink .tile-icon { border-color: var(--gold-bright); color: var(--gold-bright); }

/* ============================================================
   Stats
   ============================================================ */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.section--ink .stats, .stats--ink { background: var(--ink-line); border-color: var(--ink-line); }

.stat { background: var(--paper); padding: 1.3rem 1.2rem; }
.section--ink .stat, .stats--ink .stat { background: var(--ink-ground); }

.stat-num {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1;
  color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
  display: block;
}
.section--ink .stat-num, .stats--ink .stat-num { color: var(--gold-bright); }
.stat-label {
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .6rem;
  display: block;
  line-height: 1.45;
}
.section--ink .stat-label, .stats--ink .stat-label { color: var(--on-ink-mut); }

/* ============================================================
   Spec list (dt/dd pairs)
   ============================================================ */

.spec { margin: 0; }
.spec div {
  display: grid;
  grid-template-columns: minmax(120px, 34%) 1fr;
  gap: 1rem;
  padding: .62rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.spec div:last-child { border-bottom: 0; }
.spec dt {
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: .18rem;
}
.spec dd { margin: 0; color: var(--ink); font-size: .94rem; }
@media (max-width: 480px) {
  .spec div { grid-template-columns: 1fr; gap: .15rem; }
}

/* ============================================================
   Feature list with gold ticks
   ============================================================ */

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .68rem; }
.ticks li {
  position: relative;
  padding-left: 1.7rem;
  font-size: .95rem;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: .52em;
  width: 9px; height: 9px;
  border: 1.5px solid var(--gold);
  border-top: 0; border-left: 0;
  transform: rotate(42deg) translateY(-2px);
}
.section--ink .ticks li::before { border-color: var(--gold-bright); }

.pills { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.pill {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .04em;
  padding: .3rem .7rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--muted);
  background: var(--paper);
}
.section--ink .pill { border-color: var(--ink-line); color: var(--on-ink-mut); background: var(--ink-raised); }

/* ============================================================
   Tables
   ============================================================ */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .9rem; }
thead th {
  text-align: left;
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  padding: .85rem 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
tbody td {
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--line-soft);
  color: var(--body);
  vertical-align: top;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--gold-wash); }
td.num, th.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
td strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   Catalogue
   ============================================================ */

.filters {
  position: sticky;
  top: 74px;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding-block: .9rem;
}
.filters-inner { display: flex; flex-wrap: wrap; gap: .9rem 1.4rem; align-items: center; }

.filter-group { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.filter-label {
  font-family: var(--f-mono);
  font-size: .66rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
}
.chip {
  font-size: .8rem;
  font-weight: 500;
  padding: .34rem .78rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--body);
  border-radius: 100px;
  cursor: pointer;
  transition: all .2s var(--ease);
  font-family: var(--f-ui);
}
.chip:hover { border-color: var(--gold); color: var(--gold-deep); }
.chip[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: #17130A;
}

.search {
  flex: 1 1 190px;
  min-width: 150px;
  padding: .5rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-ui);
  font-size: .87rem;
}
.search::placeholder { color: var(--muted); }
.search:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-wash); }

.result-count {
  font-family: var(--f-mono);
  font-size: .74rem;
  color: var(--muted);
  letter-spacing: .06em;
  margin-left: auto;
  white-space: nowrap;
}

/* ---- catalogue sidebar layout ---- */

.cat-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(1.4rem, 3vw, 2.6rem);
  align-items: start;
}

.cat-sidebar {
  position: sticky;
  top: calc(74px + 1.4rem);
  max-height: calc(100dvh - 74px - 2.8rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: .3rem;
}
.cat-sidebar::-webkit-scrollbar { width: 8px; }
.cat-sidebar::-webkit-scrollbar-thumb { background: var(--line); border-radius: 100px; }

.filter-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .8rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.1rem;
}
.filter-head h2 {
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}
.clear-all {
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--f-ui);
  font-size: .76rem;
  font-weight: 600;
  color: var(--gold-deep);
  cursor: pointer;
  border-bottom: 1px solid transparent;
}
.clear-all:hover { border-bottom-color: var(--gold); }
.clear-all[disabled] { color: var(--muted); cursor: default; opacity: .55; border-bottom-color: transparent; }

.sidebar-search { position: relative; margin-bottom: 1.3rem; }
.sidebar-search .search { width: 100%; padding-left: 2.2rem; }
.sidebar-search svg {
  position: absolute;
  left: .72rem; top: 50%;
  transform: translateY(-50%);
  width: 15px; height: 15px;
  color: var(--muted);
  pointer-events: none;
}

.fgroup { margin-bottom: 1.3rem; }
.fgroup:last-of-type { margin-bottom: 0; }
.fgroup-title {
  font-family: var(--f-mono);
  font-size: .66rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 .55rem;
  font-weight: 500;
}
.fopts { display: grid; gap: .12rem; }
.fopt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  width: 100%;
  text-align: left;
  padding: .44rem .6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--body);
  font-family: var(--f-ui);
  font-size: .855rem;
  line-height: 1.35;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.fopt:hover { background: var(--surface); color: var(--ink); }
.fopt[aria-pressed="true"] {
  background: var(--gold-wash);
  border-color: var(--gold);
  color: var(--gold-deep);
  font-weight: 600;
}
.fopt-count {
  font-family: var(--f-mono);
  font-size: .71rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  flex: none;
}
.fopt[aria-pressed="true"] .fopt-count { color: var(--gold-deep); }
.fopt[data-empty="true"] { opacity: .38; }
.fopt[data-empty="true"]:hover { background: transparent; color: var(--body); }

/* toolbar above the grid */
.cat-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem .9rem;
  padding-bottom: 1rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.cat-toolbar .result-count { margin-left: 0; }
.active-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-left: auto; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .76rem;
  font-weight: 500;
  padding: .26rem .4rem .26rem .68rem;
  border: 1px solid var(--gold);
  background: var(--gold-wash);
  color: var(--gold-deep);
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--f-ui);
}
.tag:hover { background: var(--gold); color: #17130A; }
.tag::after {
  content: "\00d7";
  font-size: .95rem;
  line-height: 1;
  opacity: .75;
}

/* mobile: sidebar collapses behind a toggle */
.filter-toggle { display: none; }

@media (max-width: 900px) {
  .cat-layout { grid-template-columns: 1fr; gap: 1.2rem; }
  .cat-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0;
  }
  .filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .7rem;
    width: 100%;
    padding: .85rem 1rem;
    background: var(--surface);
    border: 0;
    border-radius: var(--radius);
    cursor: pointer;
    font-family: var(--f-ui);
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink);
  }
  .filter-toggle .chev {
    width: 14px; height: 14px;
    border-right: 1.6px solid var(--gold);
    border-bottom: 1.6px solid var(--gold);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .25s var(--ease);
    flex: none;
  }
  .filter-toggle[aria-expanded="true"] .chev { transform: rotate(-135deg) translate(-3px, -3px); }
  .filter-panel { display: none; padding: 1.1rem 1rem 1.2rem; }
  .cat-sidebar.is-open .filter-panel { display: block; }
  .active-tags { margin-left: 0; }
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: clamp(.9rem, 2vw, 1.4rem);
}

.style-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.style-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.style-figure {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--surface-2);
  overflow: hidden;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  display: block;
  width: 100%;
}
.style-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.style-card:hover .style-figure img { transform: scale(1.045); }

.style-id {
  position: absolute;
  top: .55rem; left: .55rem;
  font-family: var(--f-mono);
  font-size: .66rem;
  letter-spacing: .1em;
  background: rgba(20,18,16,.82);
  color: var(--gold-bright);
  padding: .18rem .5rem;
  border-radius: 2px;
  backdrop-filter: blur(3px);
}

.style-body { padding: .85rem .95rem 1rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.style-name {
  font-family: var(--f-ui);
  font-size: .89rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  margin: 0;
}
.style-meta {
  font-family: var(--f-mono);
  font-size: .7rem;
  color: var(--muted);
  line-height: 1.55;
  display: grid;
  gap: .15rem;
}
.style-meta b { color: var(--body); font-weight: 500; }
.style-foot {
  margin-top: auto;
  padding-top: .6rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.style-price {
  font-family: var(--f-mono);
  font-size: .82rem;
  color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.style-inquire {
  font-family: var(--f-ui);
  font-size: .74rem;
  font-weight: 600;
  color: var(--gold-deep);
  text-decoration: none;
  letter-spacing: .03em;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.style-inquire:hover { border-bottom-color: var(--gold); }

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3.5rem 1rem;
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: .85rem;
}

/* ============================================================
   Gallery
   ============================================================ */

.gal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: clamp(.6rem, 1.5vw, 1rem);
}
.gal-item {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-2);
  cursor: zoom-in;
  padding: 0;
  display: block;
  width: 100%;
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gal-item:hover img { transform: scale(1.06); }
.gal-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  font-family: var(--f-mono);
  font-size: .64rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #F2EDE2;
  background: linear-gradient(transparent, rgba(15,13,11,.9));
  padding: 1.6rem .6rem .55rem;
  text-align: left;
  opacity: 0;
  transition: opacity .28s var(--ease);
}
.gal-item:hover figcaption, .gal-item:focus-visible figcaption { opacity: 1; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(10,9,8,.93);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 70px rgba(0,0,0,.6);
}
.lightbox-cap {
  color: #C8BFAE;
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: .1em;
  text-align: center;
  margin-top: 1rem;
}
.lightbox-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  color: #F2EDE2;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,.16); }
.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 46px; height: 62px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  color: #F2EDE2;
  cursor: pointer;
  border-radius: var(--radius);
}
.lightbox-nav:hover { background: rgba(255,255,255,.15); }
.lightbox-prev { left: max(.6rem, 2vw); }
.lightbox-next { right: max(.6rem, 2vw); }
@media (max-width: 560px) { .lightbox-nav { display: none; } }

/* ============================================================
   Accordion (FAQ)
   ============================================================ */

.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.15rem .25rem;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--f-display);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  transition: color .2s var(--ease);
}
.acc-btn:hover { color: var(--gold-deep); }
.acc-sign { flex: none; position: relative; width: 15px; height: 15px; margin-top: .35rem; }
.acc-sign::before, .acc-sign::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: transform .28s var(--ease), opacity .28s var(--ease);
}
.acc-sign::before { inset: 7px 0 auto 0; height: 1.5px; }
.acc-sign::after { inset: 0 7px auto auto; width: 1.5px; height: 15px; }
.acc-btn[aria-expanded="true"] .acc-sign::after { transform: scaleY(0); opacity: 0; }

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease);
}
.acc-panel.is-open { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 .25rem 1.3rem; font-size: .95rem; max-width: 74ch; }
@media (prefers-reduced-motion: reduce) { .acc-panel { transition: none; } }

/* ============================================================
   Certification strip
   ============================================================ */

.certs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
}
.cert {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .9rem;
  display: grid;
  place-items: center;
  min-height: 88px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.cert:hover { border-color: var(--gold); transform: translateY(-2px); }
.cert img { max-height: 54px; width: auto; object-fit: contain; }

/* ============================================================
   Client logos / list
   ============================================================ */

.clients {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.client {
  background: var(--ink-ground);
  padding: 1.1rem 1.2rem;
}
.client b {
  display: block;
  font-family: var(--f-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--on-ink);
  line-height: 1.2;
}
.client span {
  font-family: var(--f-mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  display: block;
  margin-top: .4rem;
}
.client em {
  display: block;
  font-style: normal;
  font-size: .76rem;
  color: var(--on-ink-mut);
  margin-top: .3rem;
}

/* ============================================================
   People
   ============================================================ */

.person {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1.4rem;
  align-items: start;
}
@media (max-width: 560px) { .person { grid-template-columns: 1fr; gap: .9rem; } }

.person-mark {
  width: 92px; height: 92px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-size: 1.9rem;
  color: var(--gold-deep);
  background: var(--gold-wash);
  letter-spacing: .02em;
}
.person-role {
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: .35rem 0 .85rem;
}
.quote-block {
  border-left: 2px solid var(--gold);
  padding: .1rem 0 .1rem 1.1rem;
  margin-top: 1rem;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink);
  max-width: 62ch;
}

/* ============================================================
   Forms
   ============================================================ */

.form { display: grid; gap: 1.05rem; }
.field { display: grid; gap: .4rem; }
.field label {
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.field .req { color: var(--gold-deep); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .72rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-ui);
  font-size: .93rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-wash);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.form-note { font-size: .8rem; color: var(--muted); }
.form-status {
  padding: .8rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--serpent);
  background: var(--serpent-soft);
  color: var(--ink);
  font-size: .88rem;
}
.form-status[hidden] { display: none; }

/* ============================================================
   Contact blocks
   ============================================================ */

.contact-line {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.contact-line:last-child { border-bottom: 0; }
.contact-line svg { width: 17px; height: 17px; color: var(--gold-deep); flex: none; margin-top: .28rem; }
.contact-line div { min-width: 0; }
.contact-line b {
  display: block;
  font-family: var(--f-mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: .18rem;
}
.contact-line a, .contact-line span { color: var(--ink); font-size: .93rem; word-break: break-word; }
.contact-line a { text-decoration: none; }
.contact-line a:hover { color: var(--gold-deep); text-decoration: underline; }

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ============================================================
   CTA band
   ============================================================ */

.cta-band {
  background: var(--ink-ground);
  color: var(--on-ink-mut);
  padding-block: clamp(2.6rem, 6vw, 4.2rem);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 760px; height: 420px;
  background: radial-gradient(ellipse, rgba(224,160,48,.11), transparent 68%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  align-items: center;
  justify-content: space-between;
}
.cta-band h2 { color: var(--on-ink); }
.cta-band p { color: var(--on-ink-mut); margin-top: .7rem; max-width: 46ch; }

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--ink-ground);
  color: var(--on-ink-mut);
  border-top: 1px solid var(--ink-line);
  padding-block: clamp(2.6rem, 5vw, 3.6rem) 0;
  font-size: .875rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: 2rem clamp(1.4rem, 3vw, 2.6rem);
  padding-bottom: 2.4rem;
}
@media (max-width: 940px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img { width: 46px; margin-bottom: .9rem; }
.footer-brand p { font-size: .85rem; color: var(--on-ink-mut); max-width: 34ch; }

.footer-title {
  font-family: var(--f-mono);
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0 0 1rem;
  font-weight: 500;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-list a { color: var(--on-ink-mut); text-decoration: none; transition: color .2s var(--ease); }
.footer-list a:hover { color: var(--gold-bright); }

.footer-bottom {
  border-top: 1px solid var(--ink-line);
  padding-block: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  align-items: center;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .07em;
  color: var(--on-ink-mut);
}
.footer-bottom a { color: var(--on-ink-mut); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-bright); }

.social { display: flex; gap: .5rem; }
.social a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  color: var(--on-ink-mut);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.social a:hover { color: var(--gold-bright); border-color: var(--gold-bright); }
.social svg { width: 15px; height: 15px; }

/* floating WhatsApp */
.wa-float {
  position: fixed;
  right: 1rem; bottom: 1rem;
  z-index: 55;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0,0,0,.28);
  transition: transform .22s var(--ease);
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float svg { width: 26px; height: 26px; }

/* ============================================================
   Scroll reveal
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Utilities
   ============================================================ */

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .8rem; }
.mt-2 { margin-top: 1.6rem; }
.mt-3 { margin-top: 2.4rem; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .section-head { margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.stack { display: grid; gap: clamp(1.4rem, 3vw, 2.2rem); }

@media print {
  .site-header, .site-footer, .wa-float, .marquee, .cta-band { display: none; }
  body { background: #fff; color: #000; }
}
