
:root{
  --bg:#050506;
  --bg-soft:#0d0d12;
  --panel:rgba(255,255,255,0.05);
  --panel-2:rgba(255,255,255,0.08);
  --border:rgba(255,255,255,0.11);
  --text:#ffffff;
  --muted:rgba(255,255,255,0.72);
  --soft:rgba(255,255,255,0.54);
  --gold:#d4af37;
  --max:1280px;
  --radius:28px;
  --shadow:0 18px 60px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
   radial-gradient(circle at top, rgba(255,255,255,.08), transparent 24%),
   radial-gradient(circle at 82% 18%, rgba(212,175,55,.16), transparent 20%),
   linear-gradient(180deg, #060607, #0b0b10 35%, #050506 100%);
  color:var(--text);
  line-height:1.65;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(calc(100% - 32px), var(--max));margin:0 auto}
.site-header{
  position:sticky;top:0;z-index:1000;
  backdrop-filter: blur(18px);
  background:rgba(5,5,6,.68);
  border-bottom:1px solid var(--border);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0}
.brand{font-size:1.1rem;font-weight:600;letter-spacing:.34em}
.menu-toggle{display:none;background:transparent;color:#fff;border:1px solid var(--border);border-radius:999px;padding:10px 14px;font:inherit;font-size:.88rem}
.nav{display:flex;flex-wrap:wrap;gap:20px;justify-content:center}
.nav a{font-size:.92rem;color:var(--muted)}
.nav a.active,.nav a:hover{color:#fff}
.header-actions{display:flex;gap:10px;align-items:center}
.btn,.chip{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  border-radius:999px;padding:12px 18px;border:1px solid var(--border);font-weight:600;
}
.btn-primary{background:#fff;color:#000;border-color:#fff}
.btn-secondary{background:transparent;color:#fff}
.hero{padding:84px 0 38px;border-bottom:1px solid var(--border)}
.hero-grid,.grid-2{display:grid;grid-template-columns:1.05fr .95fr;gap:34px;align-items:center}
.badge{
  display:inline-flex;align-items:center;border-radius:999px;padding:7px 13px;
  border:1px solid var(--border);background:var(--panel-2);
  font-size:.72rem;text-transform:uppercase;letter-spacing:.24em;color:rgba(255,255,255,.84)
}
h1,h2,h3,h4{font-family: Georgia, "Times New Roman", serif;line-height:1.08;margin:0}
h1{font-size:clamp(2.8rem,7vw,5.2rem);font-weight:400;letter-spacing:-.03em}
h2{font-size:clamp(2rem,4.6vw,3.4rem);font-weight:400}
h3{font-size:clamp(1.5rem,3vw,2.2rem);font-weight:400}
p.lead{font-size:1.08rem;color:var(--muted);max-width:760px}
.meta-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:30px}
.meta-card,.card,.content-card{
  border:1px solid var(--border);background:var(--panel);
  border-radius:var(--radius);box-shadow:var(--shadow)
}
.meta-card{padding:18px}
.meta-card strong{display:block;font-size:1.4rem;font-family:Georgia, serif;font-weight:400}
.hero-media,.media-panel{
  position:relative;overflow:hidden;border-radius:32px;min-height:520px;
  border:1px solid var(--border);background:#111;box-shadow:var(--shadow)
}
.hero-media img,.media-panel img,.hero-media video,.media-panel video{width:100%;height:100%;object-fit:cover;display:block}
.asset-label{
  position:absolute;left:16px;top:16px;z-index:2;padding:8px 12px;border-radius:999px;
  background:rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.16);
  font-size:.66rem;letter-spacing:.23em;text-transform:uppercase;color:rgba(255,255,255,.8)
}
.media-gradient{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.78))}
.media-copy{position:absolute;left:24px;right:24px;bottom:24px}
.section{padding:72px 0}
.section.alt{background:rgba(255,255,255,.02);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.section-head{margin-bottom:26px;max-width:820px}
.eyebrow{margin-bottom:10px;font-size:.72rem;text-transform:uppercase;letter-spacing:.34em;color:var(--soft)}
.cards-3,.cards-4,.cards-5,.journal-grid{display:grid;gap:18px}
.cards-3{grid-template-columns:repeat(3,1fr)}
.cards-4{grid-template-columns:repeat(4,1fr)}
.cards-5{grid-template-columns:repeat(5,1fr)}
.journal-grid{grid-template-columns:repeat(3,1fr)}
.card{overflow:hidden}
.card .card-body{padding:22px}
.card h3,.card h4{margin-bottom:10px}
.card p{color:var(--muted);margin:0}
.hero-buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.product-grid{display:grid;grid-template-columns:320px 1fr;gap:24px}
.side-nav{display:grid;gap:12px}
.side-nav a{
  display:block;padding:18px;border:1px solid var(--border);background:var(--panel);
  border-radius:22px;color:var(--muted)
}
.side-nav a.active,.side-nav a:hover{background:var(--panel-2);color:#fff}
.list{display:grid;gap:14px}
.list-item{
  border:1px solid var(--border);background:rgba(255,255,255,.025);padding:16px;border-radius:20px
}
.list-item strong{display:block;font-size:1.05rem;font-weight:600}
.table{width:100%;border-collapse:collapse;margin-top:18px}
.table td,.table th{border:1px solid var(--border);padding:14px 16px;text-align:left;vertical-align:top}
.table th{background:rgba(255,255,255,.05);font-weight:600}
.form-grid{display:grid;gap:14px}
input,textarea,select{
  width:100%;padding:14px 16px;border-radius:18px;border:1px solid var(--border);
  background:rgba(0,0,0,.28);color:#fff;font:inherit
}
textarea{min-height:140px;resize:vertical}
.footer{padding:42px 0;border-top:1px solid var(--border);background:rgba(255,255,255,.02);margin-top:40px}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:28px}
.kicker{font-size:.92rem;color:var(--soft);text-transform:uppercase;letter-spacing:.2em}
.small{font-size:.94rem;color:var(--muted)}
.notice{font-size:.82rem;color:var(--soft)}
.tag-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.tag{padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid var(--border);font-size:.84rem;color:var(--muted)}
.breadcrumbs{font-size:.9rem;color:var(--soft);margin-bottom:22px}
ul.clean{margin:0;padding-left:18px}
ul.clean li{margin:8px 0;color:var(--muted)}
.feature-grid{display:grid;gap:18px;grid-template-columns:repeat(2,1fr)}
@media (max-width: 1080px){
  .hero-grid,.grid-2,.product-grid,.footer-grid{grid-template-columns:1fr}
  .cards-5,.cards-4{grid-template-columns:repeat(2,1fr)}
  .cards-3,.journal-grid,.feature-grid{grid-template-columns:1fr}
  .meta-grid{grid-template-columns:1fr}
}
@media (max-width: 760px){
  .nav{display:none}
  .cards-5,.cards-4,.cards-3,.journal-grid{grid-template-columns:1fr}
  .header-inner{flex-wrap:wrap}
  .hero{padding-top:48px}
}

.footer address{font-style:normal}
@media (max-width: 760px){
  .brand-text{font-size:.95rem;letter-spacing:.22em}
  .menu-toggle{display:inline-flex;align-items:center;justify-content:center}
  .nav{display:none;width:100%;order:5;flex-direction:column;gap:8px;padding:12px 0 4px}
  .nav.open{display:flex}
  .nav a{display:block;padding:12px 14px;border:1px solid var(--border);border-radius:16px;background:rgba(255,255,255,.04)}
  .header-actions{margin-left:auto}
  .header-actions .btn-primary{display:none}
  h1{font-size:clamp(2.15rem,10vw,3.25rem)}
  h2{font-size:clamp(1.8rem,8vw,2.55rem)}
  .hero-media,.media-panel{min-height:340px;border-radius:24px}
  .section{padding:54px 0}
  .hero-buttons .btn{width:100%}
  .table{display:block;overflow-x:auto;white-space:nowrap}
  .footer-grid{gap:34px}
}


/* Consultation form */
.compact{padding-top:72px;padding-bottom:72px}
.centred{text-align:center;margin-left:auto;margin-right:auto}
.consultation-shell{display:grid;grid-template-columns:1.45fr .85fr;gap:28px;align-items:start;margin-top:34px}
.consultation-form,.consultation-aside{border:1px solid var(--border);background:rgba(255,255,255,.055);border-radius:28px;padding:28px;box-shadow:0 24px 80px rgba(0,0,0,.28)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.consultation-form label{display:grid;gap:8px;color:rgba(255,255,255,.75);font-size:.92rem}
.consultation-form label span:first-child{font-size:.78rem;text-transform:uppercase;letter-spacing:.18em;color:rgba(255,255,255,.55)}
.consultation-form label.full{grid-column:1/-1}
.consultation-form input,.consultation-form select,.consultation-form textarea{width:100%;border:1px solid var(--border);background:rgba(0,0,0,.32);color:#fff;border-radius:18px;padding:14px 15px;font:inherit;outline:none}
.consultation-form textarea{min-height:150px;resize:vertical}
.consultation-form input:focus,.consultation-form select:focus,.consultation-form textarea:focus{border-color:rgba(255,255,255,.42);box-shadow:0 0 0 4px rgba(255,255,255,.08)}
.consultation-form select option{background:#080808;color:#fff}
.consent{display:flex!important;grid-template-columns:auto 1fr!important;align-items:flex-start;gap:12px}
.consent input{width:auto;margin-top:4px}
.consent span{font-size:.92rem!important;text-transform:none!important;letter-spacing:0!important;color:rgba(255,255,255,.7)!important}
.form-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.form-note{margin-top:18px;color:rgba(255,255,255,.48);font-size:.86rem;line-height:1.65}
.consultation-aside h3{font-size:1.65rem;font-weight:300;margin:12px 0 18px}
.contact-card{margin-top:22px;border-top:1px solid var(--border);padding-top:20px;color:rgba(255,255,255,.7);line-height:1.65}
.contact-card a{color:#fff}
@media (max-width: 900px){
  .consultation-shell{grid-template-columns:1fr}
}
@media (max-width: 640px){
  .consultation-form,.consultation-aside{padding:20px;border-radius:22px}
  .form-grid{grid-template-columns:1fr;gap:15px}
  .form-actions .btn{width:100%;justify-content:center}
  .consultation-form input,.consultation-form select,.consultation-form textarea{border-radius:15px;padding:13px 14px}
}


.consultation-form-card{border:1px solid var(--border);background:rgba(255,255,255,.055);border-radius:28px;padding:28px;box-shadow:0 24px 80px rgba(0,0,0,.28)}
.consultation-form-card h3{font-size:1.65rem;font-weight:300;margin:0 0 22px}
@media (max-width: 640px){.consultation-form-card{padding:20px;border-radius:22px}}


/* GEMIA logo integration */
.brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none}
.brand-logo{width:46px;height:46px;object-fit:contain;display:block}
.brand-text{letter-spacing:.32em;font-weight:600;color:#fff;font-size:1.02rem;white-space:nowrap}
.consultation-form input[type="datetime-local"]{color-scheme:dark}
.consultation-form input[type="datetime-local"]::-webkit-calendar-picker-indicator{filter:invert(1);opacity:.82;cursor:pointer}
@media (max-width:760px){
  .brand-logo{width:38px;height:38px}
  .brand-text{font-size:.82rem;letter-spacing:.18em}
}
@media (max-width:430px){
  .brand-text{display:none}
  .brand-logo{width:42px;height:42px}
}


/* Provenance image frame fit */
.provenance-frame{
  display:flex;
  align-items:center;
  justify-content:center;
  aspect-ratio:4/3;
  min-height:clamp(320px,42vw,520px);
  background:radial-gradient(circle at 50% 42%,rgba(255,255,255,.08),rgba(0,0,0,.78) 62%),#050505;
}
.provenance-frame img.fit-to-frame{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center center;
  display:block;
}
@media (max-width:760px){
  .provenance-frame{
    min-height:300px;
    aspect-ratio:4/3;
    border-radius:24px;
  }
}
@media (max-width:430px){
  .provenance-frame{
    min-height:250px;
    aspect-ratio:1/1;
  }
}


/* Consultation link button update */
.go-button{margin-top:16px;display:inline-flex}
.slim-cta{padding-top:34px;padding-bottom:54px}
.cta-strip{display:flex;align-items:center;justify-content:space-between;gap:22px;border:1px solid var(--border);background:rgba(255,255,255,.055);border-radius:28px;padding:28px}
.cta-strip h2{font-size:clamp(1.55rem,3vw,2.4rem);margin:8px 0 0;font-weight:300}
@media (max-width:760px){
  .cta-strip{flex-direction:column;align-items:flex-start;padding:22px;border-radius:22px}
  .cta-strip .btn,.go-button{width:100%;justify-content:center}
}


/* Global country and dial-code form fields */
.consultation-form select{max-width:100%;text-overflow:ellipsis}
.consultation-form select option{white-space:normal}
@media (max-width:640px){
  .consultation-form select{font-size:.95rem}
}


/* Full global country and dial-code dropdowns */
.consultation-form select{
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
}
.consultation-form select option{
  background:#080808;
  color:#fff;
}
@media (max-width:640px){
  .consultation-form select{
    font-size:.93rem;
    min-height:48px;
  }
}


/* UK consultation booking window */
.field-note{display:block;margin-top:2px;color:rgba(255,255,255,.52);font-size:.78rem;line-height:1.5}
.consultation-form input.field-invalid{border-color:rgba(255,130,130,.85);box-shadow:0 0 0 4px rgba(255,80,80,.12)}


/* Active cPanel consultation form */
.form-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.notice[data-form-message]{min-height:1.4em;color:rgba(255,255,255,.76);font-size:.92rem}


/* Final GEMIA media frame controls */
.media-panel img,
.media-panel video,
.hero-media video{
  object-fit:cover;
  object-position:center center;
}
.media-panel.contain img,
.media-panel.contain video,
.provenance-frame img.fit-to-frame{
  object-fit:contain;
  object-position:center center;
}
.media-panel,
.hero-media{
  background:radial-gradient(circle at 50% 35%,rgba(255,255,255,.08),rgba(0,0,0,.82) 70%),#050505;
}
@media (max-width:760px){
  .media-panel img,
  .media-panel video,
  .hero-media video{
    object-position:center center;
  }
}


/* Robust video playback and fallback */
.hero-media video,
.media-panel video{
  min-width:100%;
  min-height:100%;
  background:#050505;
}
.video-autoplay-blocked{
  opacity:1;
}
.hero-media video img,
.media-panel video img{
  width:100%;
  height:100%;
  object-fit:cover;
}


/* UI/UX audit implementation: accessibility, mobile, touch and performance */
:root{
  --focus-gold:#d7b46a;
  --touch-min:44px;
}
.skip-link{
  position:absolute;
  left:16px;
  top:-80px;
  z-index:9999;
  background:#fff;
  color:#000;
  padding:12px 16px;
  border-radius:999px;
  transition:top .2s ease;
}
.skip-link:focus{top:16px}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
.btn:focus-visible{
  outline:3px solid var(--focus-gold);
  outline-offset:4px;
  box-shadow:0 0 0 6px rgba(215,180,106,.16);
}
a,button,.btn,.nav a,.clean a{min-height:var(--touch-min)}
.nav a,.footer a,.clean a,.btn{display:inline-flex;align-items:center}
.btn,.nav a,button{-webkit-tap-highlight-color:rgba(215,180,106,.25)}
.btn:active,.nav a:active,button:active{transform:scale(.98);opacity:.88}
.nav a.active{
  color:#fff;
  border-color:rgba(215,180,106,.55);
  background:rgba(215,180,106,.10);
}
.breadcrumb{
  max-width:1180px;
  margin:22px auto 0;
  padding:0 22px;
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  color:rgba(255,255,255,.58);
  font-size:.88rem;
}
.breadcrumb a{color:rgba(255,255,255,.82);text-decoration:none;padding:8px 0}
.breadcrumb span[aria-current="page"]{color:#fff}
picture{display:block;width:100%;height:100%}
picture>img{width:100%;height:100%;display:block}
.loading-spinner{
  display:inline-block;
  width:1em;
  height:1em;
  border:2px solid rgba(255,255,255,.35);
  border-top-color:#fff;
  border-radius:50%;
  animation:gemia-spin .7s linear infinite;
  margin-right:.5em;
}
@keyframes gemia-spin{to{transform:rotate(360deg)}}
.form-is-submitting .btn-primary{opacity:.85;pointer-events:none}
p,.lead,.small,.clean li{line-height:1.65}
.section-head p,.section-heading p,.hero p{max-width:72ch}
@media (max-width: 1024px){
  .hero-grid,.split,.two-column,.feature-split{grid-template-columns:1fr!important}
  .hero-grid .media-panel,.hero-media{min-height:420px}
}
@media (max-width: 760px){
  body{font-size:16px}
  .header .container,.nav-wrap,.topbar{gap:12px}
  .menu-toggle{display:inline-flex!important;min-height:44px;min-width:44px}
  .nav{
    display:none!important;
    position:absolute;
    left:16px;
    right:16px;
    top:72px;
    z-index:80;
    flex-direction:column!important;
    align-items:stretch!important;
    padding:14px;
    border:1px solid var(--border);
    background:rgba(5,5,5,.96);
    border-radius:22px;
    box-shadow:0 24px 80px rgba(0,0,0,.42);
    backdrop-filter:blur(18px);
  }
  .nav.open{display:flex!important}
  .nav a{
    width:100%;
    min-height:48px;
    padding:13px 14px;
    border-radius:15px;
  }
  .header-actions .locale{display:none}
  .header-actions .btn-primary{
    display:inline-flex!important;
    padding:10px 14px;
    min-height:44px;
    font-size:.88rem;
  }
  .hero-grid,.grid-3,.cards,.product-grid,.consultation-shell{grid-template-columns:1fr!important}
  .hero{padding-top:50px}
  .hero h1,h1{font-size:clamp(2.15rem,10vw,3.35rem);line-height:1.05}
  h2{font-size:clamp(1.85rem,8vw,2.65rem)}
  .hero-media,.media-panel{min-height:320px!important;border-radius:24px}
  .btn,.hero-buttons .btn{width:100%;justify-content:center;min-height:48px}
  .cta-strip{align-items:stretch}
}
@media (max-width: 430px){
  .header-actions .btn-primary{display:none!important}
  .brand-text{display:none}
  .hero-media,.media-panel{min-height:270px!important}
  .section{padding:48px 0}
}
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    scroll-behavior:auto!important;
    transition-duration:.01ms!important;
  }
  video[data-autoplay-video]{animation:none!important}
}


/* Accessibility form fix: labels, errors and loading state */
.form-field{display:grid;gap:8px}
.form-field.full{grid-column:1/-1}
.form-field>label{
  color:rgba(255,255,255,.86);
  font-size:.82rem;
  text-transform:uppercase;
  letter-spacing:.16em;
}
.form-field input,
.form-field select,
.form-field textarea{
  width:100%;
  border:1px solid var(--border);
  background:rgba(0,0,0,.32);
  color:#fff;
  border-radius:18px;
  padding:14px 15px;
  font:inherit;
  outline:none;
}
.form-field textarea{min-height:150px;resize:vertical}
.field-error{
  min-height:1.2em;
  margin:0;
  color:#ffb4b4;
  font-size:.86rem;
  line-height:1.45;
}
.form-status{
  min-height:1.35em;
  margin-bottom:16px;
  color:rgba(255,255,255,.82);
  font-size:.94rem;
}
.form-field [aria-invalid="true"]{
  border-color:rgba(255,130,130,.95)!important;
  box-shadow:0 0 0 4px rgba(255,80,80,.13)!important;
}
.consent{
  display:grid!important;
  grid-template-columns:auto 1fr;
  align-items:start;
  column-gap:12px;
}
.consent input{margin-top:5px;width:auto}
.consent label{
  text-transform:none;
  letter-spacing:0;
  font-size:.94rem;
  line-height:1.55;
  color:rgba(255,255,255,.76);
}
.consent .field-error{grid-column:2}
.loading-spinner{
  display:inline-block;
  width:1em;
  height:1em;
  border:2px solid rgba(255,255,255,.35);
  border-top-color:#fff;
  border-radius:50%;
  animation:gemia-spin .7s linear infinite;
  margin-right:.5em;
}
@keyframes gemia-spin{to{transform:rotate(360deg)}}
.form-is-submitting button[type="submit"]{
  opacity:.82;
  cursor:wait;
}
@media(max-width:640px){
  .form-field.full{grid-column:auto}
  .form-field input,.form-field select,.form-field textarea{font-size:16px}
}


/* Footer legal identity update */
.footer-legal{
  border-top:1px solid rgba(255,255,255,.12);
  margin-top:32px;
  padding-top:18px;
  display:flex;
  flex-direction:column;
  gap:8px;
  color:rgba(255,255,255,.62);
  font-size:.86rem;
  line-height:1.55;
}
.footer-legal a{
  color:rgba(255,255,255,.86);
  text-decoration:none;
}
.footer-legal a:hover{
  color:#d4af37;
  text-decoration:underline;
}
@media(max-width:760px){
  .footer-legal{
    text-align:center;
    align-items:center;
    font-size:.82rem;
  }
}


/* Final removal of UK locale tab */
.locale,
button.locale,
a.locale,
.header-actions .locale{
  display:none!important;
  visibility:hidden!important;
  width:0!important;
  min-width:0!important;
  height:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  overflow:hidden!important;
}


/* SVG form icons replacing emoji */
.form-icon{
  color:#d4af37;
}
.gemia-form-svg-icon{
  width:28px;
  height:28px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* Mobile-safe form font sizing */
.form-input,
.form-select,
.form-textarea,
.form-field input,
.form-field select,
.form-field textarea,
.consultation-form input,
.consultation-form select,
.consultation-form textarea{
  font-size:16px!important;
}

/* Media protection: discourage casual save/download actions */
img[data-protected-media],
video[data-protected-media],
.media-panel img,
.media-panel video,
.hero-media img,
.hero-media video{
  -webkit-user-drag:none;
  user-select:none;
  -webkit-user-select:none;
}
.protected-media-notice{
  position:fixed;
  left:50%;
  bottom:22px;
  transform:translateX(-50%);
  z-index:9999;
  background:rgba(5,5,5,.92);
  color:#fff;
  border:1px solid rgba(212,175,55,.45);
  border-radius:999px;
  padding:10px 16px;
  font-size:13px;
  box-shadow:0 18px 60px rgba(0,0,0,.38);
}
@media(max-width:640px){
  .protected-media-notice{
    width:calc(100% - 32px);
    text-align:center;
    border-radius:16px;
  }
}

/* SEO content sections */
.seo-content-section .section-head p{max-width:82ch}.seo-content-section .text-link{color:#d4af37;font-weight:700;text-decoration:none}.seo-content-section .text-link:hover{text-decoration:underline}


/* UI/UX Pro Max audit fixes */
:root{
  --gemia-gold:#d4af37;
  --gemia-gold-deep:#a16207;
  --gemia-black:#0a0a0a;
  --gemia-card:#1c1c1c;
  --font-display:"Bodoni 72","Bodoni Moda","Didot","Cormorant Garamond",Georgia,serif;
  --font-body:"Jost","Montserrat","Avenir Next",Inter,system-ui,sans-serif;
}
body{font-family:var(--font-body)}
h1,h2,h3,.brand-text{font-family:var(--font-display)}
.skip-link{
  position:absolute;
  left:16px;
  top:-96px;
  z-index:10000;
  background:#fff;
  color:#000;
  padding:12px 16px;
  border-radius:999px;
  font-weight:700;
}
.skip-link:focus{top:16px}
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(10,10,10,.92);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(255,255,255,.12);
}
.nav-shell{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  min-height:78px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:max-content;
}
.brand-logo{
  width:52px;
  height:52px;
  object-fit:contain;
}
.nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
}
.nav a{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  padding:10px 12px;
  border-radius:999px;
  text-decoration:none;
  color:rgba(255,255,255,.76);
  white-space:nowrap;
}
.nav a:hover,
.nav a.active{
  color:#fff;
  background:rgba(212,175,55,.10);
}
.nav-dropdown{position:relative}
.nav-dropdown-menu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:220px;
  display:none;
  flex-direction:column;
  padding:10px;
  border:1px solid rgba(212,175,55,.28);
  border-radius:18px;
  background:rgba(10,10,10,.98);
  box-shadow:0 24px 80px rgba(0,0,0,.44);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu{display:flex}
.mobile-menu-toggle{
  display:none;
  width:46px;
  height:46px;
  border:1px solid rgba(212,175,55,.38);
  border-radius:999px;
  background:rgba(212,175,55,.08);
  cursor:pointer;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
}
.mobile-menu-toggle span{
  display:block;
  width:19px;
  height:2px;
  background:#fff;
  border-radius:999px;
}
.btn-primary{
  background:var(--gemia-gold)!important;
  border-color:var(--gemia-gold)!important;
  color:#090909!important;
  font-weight:800;
}
.btn-secondary{
  background:transparent!important;
  border:1px solid rgba(212,175,55,.55)!important;
  color:#fff!important;
}
.trust-signals{
  border-top:1px solid rgba(212,175,55,.22);
  border-bottom:1px solid rgba(212,175,55,.18);
}
.trust-strip{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
  margin-top:22px;
}
.trust-pill{
  border:1px solid rgba(212,175,55,.35);
  background:rgba(212,175,55,.07);
  border-radius:999px;
  color:#f3e4b2;
  padding:12px 14px;
  text-align:center;
  font-size:.9rem;
}
.scroll-affordance{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:18px auto 0;
  color:rgba(255,255,255,.72);
  text-decoration:none;
  font-size:.84rem;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.scroll-affordance svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:var(--gemia-gold);
  stroke-width:2;
}
.footer-social,
.footer-policy-links{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:14px;
}
.footer-social a,
.footer-policy-links a{
  color:rgba(255,255,255,.75);
  text-decoration:none;
}
.footer-social a:hover,
.footer-policy-links a:hover{
  color:var(--gemia-gold);
  text-decoration:underline;
}
.cookie-banner{
  position:fixed;
  left:24px;
  right:24px;
  bottom:24px;
  z-index:10000;
  max-width:980px;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:18px;
  border:1px solid rgba(212,175,55,.36);
  border-radius:24px;
  background:rgba(10,10,10,.96);
  box-shadow:0 24px 90px rgba(0,0,0,.55);
}
.cookie-banner p{margin:.35rem 0 0;color:rgba(255,255,255,.72)}
.cookie-actions{display:flex;gap:10px;flex-wrap:wrap}
@media(min-width:1180px){
  .product-grid,.grid-5{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
}
@media(max-width:980px){
  .trust-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nav-cta{display:none!important}
}
@media(max-width:760px){
  .nav-shell{min-height:70px}
  .mobile-menu-toggle{display:inline-flex}
  .nav{
    display:none!important;
    position:absolute;
    left:16px;
    right:16px;
    top:78px;
    z-index:1001;
    flex-direction:column;
    align-items:stretch;
    padding:14px;
    border:1px solid rgba(212,175,55,.32);
    border-radius:22px;
    background:rgba(10,10,10,.98);
    box-shadow:0 24px 80px rgba(0,0,0,.5);
  }
  .nav.open{display:flex!important}
  .nav a{
    width:100%;
    min-height:48px;
    justify-content:flex-start;
  }
  .nav-dropdown-menu{
    position:static;
    display:flex;
    min-width:0;
    border:0;
    box-shadow:none;
    background:rgba(255,255,255,.04);
    margin:4px 0 6px 14px;
  }
  .brand-text{font-size:.9rem}
  .trust-strip{grid-template-columns:1fr}
  .cookie-banner{
    left:14px;
    right:14px;
    bottom:14px;
    flex-direction:column;
    align-items:stretch;
  }
  .cookie-actions .btn{width:100%;justify-content:center}
}


/* UI/UX Deep Audit v2 refinements */
:root{
  --gemia-gold:#d4af37;
  --gemia-gold-deep:#a16207;
  --gemia-black:#0a0a0a;
  --gemia-card:#1c1c1c;
  --font-display:"Bodoni Moda","Bodoni 72","Didot","Cormorant Garamond",Georgia,serif;
  --font-body:"Jost","Montserrat","Avenir Next",Inter,system-ui,sans-serif;
}
body{overflow-x:hidden}
.skip-link{
  position:absolute!important;
  left:16px!important;
  top:-96px!important;
  z-index:10000!important;
  background:#fff!important;
  color:#000!important;
  padding:12px 16px!important;
  border-radius:999px!important;
  font-weight:800!important;
  text-decoration:none!important;
}
.skip-link:focus{top:16px!important}
.nav-shell{position:relative}
.nav-dropdown{position:relative}
.nav-dropdown>a::after{
  content:"";
  width:7px;
  height:7px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
  margin-left:8px;
}
.nav-dropdown-menu a::after{display:none}
.nav-dropdown-menu{
  opacity:0;
  pointer-events:none;
  transform:translateY(8px);
  transition:opacity .18s ease, transform .18s ease;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu{
  display:flex!important;
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}
.nav a:focus-visible,
.mobile-menu-toggle:focus-visible,
.btn:focus-visible{
  outline:3px solid var(--gemia-gold)!important;
  outline-offset:4px!important;
}
@media(max-width:980px){
  .brand-text{letter-spacing:.18em}
  .nav-cta{display:none!important}
}
@media(max-width:760px){
  .site-header{position:sticky}
  .nav-shell{
    min-height:70px;
    gap:12px;
  }
  .brand-logo{
    width:44px!important;
    height:44px!important;
  }
  .mobile-menu-toggle{
    display:inline-flex!important;
    flex-shrink:0;
  }
  .nav{
    display:none!important;
    position:absolute!important;
    left:12px!important;
    right:12px!important;
    top:72px!important;
    width:auto!important;
    max-width:calc(100vw - 24px)!important;
    overflow-x:hidden!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:6px!important;
    padding:14px!important;
    background:rgba(10,10,10,.98)!important;
    border:1px solid rgba(212,175,55,.35)!important;
    border-radius:22px!important;
    box-shadow:0 24px 80px rgba(0,0,0,.52)!important;
  }
  .nav.open{display:flex!important}
  .nav a{
    width:100%!important;
    min-height:48px!important;
    justify-content:flex-start!important;
    white-space:normal!important;
    padding:12px 14px!important;
  }
  .nav-dropdown{
    width:100%!important;
  }
  .nav-dropdown-menu{
    position:static!important;
    display:flex!important;
    opacity:1!important;
    pointer-events:auto!important;
    transform:none!important;
    min-width:0!important;
    width:100%!important;
    margin:4px 0 6px 0!important;
    padding:8px!important;
    border:0!important;
    border-left:2px solid rgba(212,175,55,.38)!important;
    border-radius:0 14px 14px 0!important;
    background:rgba(255,255,255,.04)!important;
    box-shadow:none!important;
  }
  .nav-dropdown-menu a{
    font-size:.95rem!important;
    color:rgba(255,255,255,.68)!important;
  }
}
@media(max-width:430px){
  .brand-text{
    max-width:170px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:.82rem!important;
  }
  .container{
    padding-left:16px!important;
    padding-right:16px!important;
  }
  h1{
    font-size:clamp(2.1rem,12vw,3.2rem)!important;
    line-height:1.02!important;
  }
  .hero-buttons{
    flex-direction:column!important;
    align-items:stretch!important;
  }
  .hero-buttons .btn{
    width:100%!important;
    justify-content:center!important;
  }
}
@media(max-width:390px){
  .brand-text{display:none!important}
  .nav{top:68px!important}
}


/* Cookie, typography and card-frame correction */
.cookie-banner[hidden]{
  display:none!important;
}
.cookie-banner{
  position:fixed!important;
  left:50%!important;
  right:auto!important;
  bottom:24px!important;
  transform:translateX(-50%)!important;
  z-index:10000!important;
  width:min(860px, calc(100vw - 48px))!important;
  max-width:860px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:18px!important;
  padding:18px 20px!important;
  border:1px solid rgba(212,175,55,.45)!important;
  border-radius:22px!important;
  background:rgba(10,10,10,.97)!important;
  box-shadow:0 24px 90px rgba(0,0,0,.62)!important;
  backdrop-filter:blur(18px)!important;
}
.cookie-copy strong{
  display:block;
  color:#fff;
  margin-bottom:6px;
  font-size:1rem;
}
.cookie-copy p{
  margin:0!important;
  color:rgba(255,255,255,.72)!important;
  line-height:1.55!important;
  max-width:62ch;
}
.cookie-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  flex-wrap:wrap!important;
}
.cookie-actions .btn{
  width:auto!important;
  min-height:44px!important;
  white-space:nowrap!important;
  padding:11px 18px!important;
}

/* Repair overlapping SEO/card typography seen on production */
.seo-content-section{
  overflow:hidden;
}
.seo-content-section .container{
  max-width:1180px;
}
.seo-content-section .section-head{
  margin-bottom:34px!important;
}
.seo-content-section h2{
  max-width:880px;
  line-height:1.04!important;
  letter-spacing:-.025em;
  margin:0 0 18px!important;
  font-size:clamp(2.15rem, 4.4vw, 4.35rem)!important;
}
.seo-content-section .grid-3{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
  align-items:stretch!important;
}
.seo-content-section .card,
.seo-content-section article.card{
  position:relative!important;
  min-width:0!important;
  height:auto!important;
  padding:28px 28px 26px!important;
  border-radius:26px!important;
  border:1px solid rgba(255,255,255,.14)!important;
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.035))!important;
  overflow:hidden!important;
}
.seo-content-section .card h3,
.seo-content-section article.card h3{
  margin:0 0 14px!important;
  padding:0!important;
  line-height:1.08!important;
  font-size:clamp(1.38rem, 2vw, 2.08rem)!important;
  letter-spacing:-.018em!important;
  overflow-wrap:break-word!important;
  hyphens:auto!important;
}
.seo-content-section .card p,
.seo-content-section article.card p{
  margin:0 0 16px!important;
  line-height:1.6!important;
  color:rgba(255,255,255,.74)!important;
  font-size:1rem!important;
}
.seo-content-section .card .text-link,
.seo-content-section article.card .text-link{
  display:inline-flex!important;
  align-items:center!important;
  margin-top:auto!important;
  line-height:1.35!important;
  color:#d4af37!important;
  font-weight:800!important;
  text-decoration:none!important;
}
.seo-content-section .card .text-link:hover{
  text-decoration:underline!important;
}

/* General luxury card frame fix */
.card{
  box-sizing:border-box!important;
}
.card h2,
.card h3{
  overflow-wrap:break-word;
}

/* Maintain footer visibility when cookie banner is present */
body{
  padding-bottom:0;
}

@media(max-width:980px){
  .seo-content-section .grid-3{
    grid-template-columns:1fr!important;
  }
  .seo-content-section .card,
  .seo-content-section article.card{
    padding:24px!important;
  }
}
@media(max-width:760px){
  .cookie-banner{
    width:calc(100vw - 28px)!important;
    bottom:14px!important;
    grid-template-columns:1fr!important;
    align-items:stretch!important;
    padding:16px!important;
    border-radius:18px!important;
  }
  .cookie-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
  .cookie-actions .btn{
    width:100%!important;
    justify-content:center!important;
  }
  .seo-content-section h2{
    font-size:clamp(2rem, 9vw, 3rem)!important;
  }
}


/* Customisation page enhancement */
.customisation-page-fix{
  padding-top:56px!important;
  overflow:hidden;
}
.customisation-page-fix .container{
  max-width:1180px;
}
.customisation-page-fix .customisation-hero-copy{
  max-width:920px;
}
.customisation-page-fix h1{
  margin:0 0 22px!important;
  max-width:860px!important;
  font-size:clamp(3.2rem, 7vw, 5.8rem)!important;
  line-height:.98!important;
  letter-spacing:-.04em!important;
}
.customisation-page-fix .lead{
  max-width:880px;
  font-size:1.14rem!important;
  line-height:1.65!important;
  color:rgba(255,255,255,.78)!important;
  margin-bottom:32px!important;
}
.customisation-steps{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:stretch!important;
  margin-top:20px!important;
}
.customisation-steps .card{
  min-height:184px;
  padding:24px!important;
}
.step-label{
  text-transform:uppercase;
  letter-spacing:.28em;
  font-size:.78rem;
  color:rgba(255,255,255,.62);
  margin:0 0 8px!important;
}
.customisation-steps h3{
  margin:0 0 10px!important;
  line-height:1.05!important;
  font-size:clamp(1.8rem,2.4vw,2.45rem)!important;
}
.customisation-steps p:last-child{
  margin-bottom:0!important;
  line-height:1.58!important;
}

.split-grid-custom{
  display:grid!important;
  grid-template-columns:1.08fr .92fr!important;
  gap:28px!important;
  align-items:stretch!important;
}
.split-grid-reverse{
  grid-template-columns:.92fr 1.08fr!important;
}
.media-card-large{
  overflow:hidden!important;
  padding:0!important;
}
.media-card-large img{
  display:block;
  width:100%;
  height:100%;
  min-height:420px;
  object-fit:cover;
}
.image-tag{
  position:absolute;
  top:18px;
  left:18px;
  z-index:2;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(52,46,35,.78);
  color:#f4ead1;
  border:1px solid rgba(255,255,255,.12);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.76rem;
}
.media-card{
  position:relative;
  border-radius:28px!important;
}
.content-card{
  padding:28px!important;
}
.content-card h2{
  margin:0 0 14px!important;
  font-size:clamp(2rem,3vw,3.15rem)!important;
  line-height:1.05!important;
  letter-spacing:-.03em!important;
}
.feature-list{
  margin:0;
  padding-left:22px;
}
.feature-list li{
  margin:0 0 12px!important;
  line-height:1.58!important;
  color:rgba(255,255,255,.78);
}
.section-head-narrow{
  max-width:900px;
  margin-bottom:28px!important;
}
.section-head-narrow h2{
  margin:0 0 16px!important;
  font-size:clamp(2.2rem,4vw,4rem)!important;
  line-height:1.04!important;
}
.tech-approach-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
}
.tech-approach-grid .card{
  padding:26px!important;
}
.tech-approach-grid h3{
  margin:0 0 12px!important;
  font-size:clamp(1.45rem,2vw,2.1rem)!important;
  line-height:1.08!important;
}
.page-cta-strip .cta-strip{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:22px!important;
  align-items:center!important;
  padding:28px!important;
}
.cta-strip-actions{
  display:flex!important;
  gap:12px!important;
  flex-wrap:wrap!important;
}
@media(max-width:1100px){
  .customisation-steps{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .split-grid-custom,
  .split-grid-reverse{
    grid-template-columns:1fr!important;
  }
  .tech-approach-grid{
    grid-template-columns:1fr!important;
  }
  .page-cta-strip .cta-strip{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:760px){
  .customisation-page-fix{
    padding-top:42px!important;
  }
  .customisation-page-fix h1{
    font-size:clamp(2.4rem, 11vw, 4rem)!important;
    line-height:1.02!important;
  }
  .customisation-steps{
    grid-template-columns:1fr!important;
  }
  .content-card,
  .tech-approach-grid .card,
  .customisation-steps .card{
    padding:22px!important;
  }
  .media-card-large img{
    min-height:280px;
  }
  .page-cta-strip .btn{
    width:100%!important;
    justify-content:center!important;
  }
  .cta-strip-actions{
    flex-direction:column!important;
    align-items:stretch!important;
  }
}


/* Infrastructure image placement */
.infrastructure-image-section{
  overflow:hidden;
}
.infrastructure-image-card{
  position:relative;
  overflow:hidden;
  border-radius:30px;
  border:1px solid rgba(212,175,55,.28);
  background:#050505;
  box-shadow:0 28px 90px rgba(0,0,0,.36);
}
.infrastructure-image-card picture,
.infrastructure-image-card img{
  display:block;
  width:100%;
}
.infrastructure-image-card img{
  aspect-ratio:16/9;
  object-fit:cover;
}
.infrastructure-copy{
  margin-top:24px;
  max-width:900px;
}
.product-infrastructure-band .content-card{
  align-self:center;
}
.infrastructure-callout-card{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(280px,420px);
  gap:24px;
  align-items:center;
  padding:26px!important;
}
.infrastructure-thumb{
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(212,175,55,.22);
}
.infrastructure-thumb img{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}
@media(max-width:900px){
  .infrastructure-callout-card{
    grid-template-columns:1fr;
  }
}


/* GEMIA typography + brand copy upgrade: Cormorant Garamond + Montserrat */
:root{
  --cg:'Cormorant Garamond', Georgia, serif;
  --mt:'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --gold:#A16207;
  --warm-white:#f5f0e8;
  --gemia-gold:#A16207;
  --font-display:var(--cg);
  --font-body:var(--mt);
}
html{
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body{
  font-family:var(--mt)!important;
  font-weight:400;
}
h1,h2,h3,h4,
.brand-text,
.footer .brand,
.gemia-story-title,
.gemia-founder-quote,
.about-story h1,
.about-story h2{
  font-family:var(--cg)!important;
  font-weight:400!important;
  letter-spacing:-.015em;
}
p,
li,
small,
.nav a,
.btn,
.kicker,
.eyebrow,
.badge,
.footer,
.footer-legal,
.footer-policy-links,
.footer-social,
.card p,
.form-field label{
  font-family:var(--mt)!important;
}
h1{
  font-weight:400!important;
}
.eyebrow,
.kicker,
.badge,
.gemia-story-eyebrow,
.about-eyebrow{
  color:var(--gold)!important;
  letter-spacing:.22em!important;
  text-transform:uppercase;
  font-weight:500!important;
}

/* Homepage brand-copy upgrade */
.hero h1{
  max-width:780px;
  line-height:1.04!important;
}
.hero .lead{
  font-family:var(--mt)!important;
  font-size:clamp(1rem,1.25vw,1.18rem)!important;
  line-height:1.8!important;
  max-width:680px;
  color:rgba(245,240,232,.68)!important;
}

/* About story section */
.about-story{
  padding:clamp(56px,7vw,112px) 0;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 18% 10%, rgba(161,98,7,.14), transparent 32%),
    radial-gradient(circle at 82% 45%, rgba(212,175,55,.08), transparent 38%);
}
.about-story-grid{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:clamp(32px,5vw,72px);
  align-items:start;
}
.about-story h1,
.about-story h2{
  font-size:clamp(3rem,6vw,5.8rem)!important;
  line-height:1.02!important;
  margin:0 0 24px!important;
  max-width:780px;
}
.about-story-lead{
  font-family:var(--cg)!important;
  font-size:clamp(1.35rem,2vw,1.75rem)!important;
  font-style:italic;
  font-weight:300!important;
  line-height:1.55!important;
  color:rgba(245,240,232,.72)!important;
  padding-bottom:24px;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.about-story-body{
  font-size:1rem!important;
  line-height:1.9!important;
  color:rgba(245,240,232,.68)!important;
  margin:0 0 20px!important;
}
.about-values{
  display:grid;
  gap:14px;
  margin:28px 0;
}
.value-row{
  display:flex;
  gap:14px;
  align-items:flex-start;
}
.value-dot{
  width:5px;
  height:5px;
  margin-top:.72em;
  border-radius:999px;
  flex:0 0 auto;
  background:var(--gold);
  box-shadow:0 0 0 5px rgba(161,98,7,.12);
}
.value-text{
  color:rgba(245,240,232,.82);
  line-height:1.65;
}
.value-text span{
  color:#fff;
  font-weight:600;
}
.about-founder-panel{
  margin-top:clamp(36px,5vw,68px);
  padding:clamp(26px,4vw,44px);
  border:1px solid rgba(212,175,55,.26);
  border-radius:30px;
  background:linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
}
.gemia-founder-quote{
  font-size:clamp(1.65rem,3.1vw,3rem)!important;
  line-height:1.25!important;
  font-style:italic;
  font-weight:300!important;
  margin:0 0 18px!important;
  color:#fff;
}
.founder-attr{
  font-size:.84rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(245,240,232,.52);
}
.about-image-card{
  position:relative;
  overflow:hidden;
  border-radius:32px;
  border:1px solid rgba(212,175,55,.24);
  background:#050505;
  box-shadow:0 32px 90px rgba(0,0,0,.42);
}
.about-image-card img{
  display:block;
  width:100%;
  min-height:460px;
  object-fit:cover;
}
.about-image-card .image-tag{
  position:absolute;
  top:18px;
  left:18px;
  z-index:2;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(10,10,10,.68);
  border:1px solid rgba(212,175,55,.28);
  color:#f5f0e8;
  font-size:.72rem;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.about-mini-cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--gold);
  font-size:.78rem;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  text-decoration:none;
  border-bottom:1px solid currentColor;
  padding-bottom:3px;
}
.about-mini-cta:hover{
  color:#d4af37;
}

/* Homepage about teaser */
.home-about-story{
  padding:clamp(54px,7vw,96px) 0;
  border-top:1px solid rgba(212,175,55,.16);
}
.home-about-story .story-card{
  display:grid!important;
  grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);
  gap:clamp(28px,5vw,64px);
  align-items:start;
  padding:clamp(28px,4vw,48px)!important;
}
.home-about-story h2{
  font-size:clamp(2.4rem,4.8vw,4.6rem)!important;
  line-height:1.04!important;
  margin:0 0 16px!important;
}
.home-about-story .story-lead{
  font-family:var(--cg)!important;
  font-style:italic;
  font-weight:300!important;
  font-size:clamp(1.25rem,2vw,1.7rem)!important;
  line-height:1.55!important;
  color:rgba(245,240,232,.72)!important;
}
.home-about-story p{
  line-height:1.85!important;
  color:rgba(245,240,232,.68)!important;
}

/* More editorial compact product/card typography */
.card h3{
  font-family:var(--cg)!important;
  font-size:clamp(1.45rem,2vw,2.15rem)!important;
  line-height:1.12!important;
}
.card p{
  line-height:1.75!important;
}
.nav a,
.footer a,
.btn{
  font-size:.82rem;
  letter-spacing:.02em;
}
.btn{
  font-weight:700!important;
}

/* Footer editorial touch */
.footer .brand{
  font-size:clamp(1.4rem,2vw,2.1rem)!important;
  letter-spacing:.08em;
}
.footer-legal{
  font-size:.78rem!important;
  color:rgba(245,240,232,.46)!important;
}

@media(max-width:980px){
  .about-story-grid,
  .home-about-story .story-card{
    grid-template-columns:1fr!important;
  }
  .about-image-card img{
    min-height:340px;
  }
}
@media(max-width:640px){
  .about-story h1,
  .about-story h2,
  .home-about-story h2{
    font-size:clamp(2.45rem,12vw,3.6rem)!important;
  }
  .about-story{
    padding:44px 0;
  }
  .about-founder-panel{
    padding:22px;
    border-radius:22px;
  }
}


/* Platform page hard fix: ensure styled layout when /platform/ uses subfolder paths */
.platform-main{
  background:
    radial-gradient(circle at 70% 10%, rgba(161,98,7,.16), transparent 38%),
    radial-gradient(circle at 15% 28%, rgba(255,255,255,.055), transparent 34%),
    #050505;
  color:#f5f0e8;
}
.platform-hero{
  padding:clamp(72px,8vw,132px) 0 clamp(44px,6vw,88px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.platform-hero h1{
  max-width:1040px;
  margin:0 0 22px;
  font-size:clamp(3rem,7vw,6.6rem);
  line-height:.98;
  letter-spacing:-.045em;
}
.platform-hero .lead{
  max-width:780px;
  font-size:clamp(1rem,1.25vw,1.18rem);
  line-height:1.8;
  color:rgba(245,240,232,.72);
}
.platform-story .section-head{
  max-width:960px;
}
.platform-card-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
  align-items:stretch!important;
}
.platform-card-grid .card{
  padding:28px!important;
}
.platform-card-grid .card h3{
  margin:0 0 14px!important;
  line-height:1.08!important;
}
.platform-card-grid .card p{
  margin:0 0 16px!important;
}
.platform-card-grid .text-link{
  color:#d4af37;
  font-weight:800;
  text-decoration:none;
}
.platform-card-grid .text-link:hover{
  text-decoration:underline;
}
.infrastructure-image-card{
  position:relative;
  overflow:hidden;
  border-radius:30px;
  border:1px solid rgba(212,175,55,.28);
  background:#050505;
  box-shadow:0 28px 90px rgba(0,0,0,.36);
}
.infrastructure-image-card picture,
.infrastructure-image-card img{
  display:block;
  width:100%;
}
.infrastructure-image-card img{
  aspect-ratio:16/9;
  object-fit:cover;
}
.infrastructure-copy{
  margin-top:26px;
  max-width:900px;
}
.page-cta-strip .cta-strip{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:24px!important;
  align-items:center!important;
  padding:30px!important;
}
.cta-strip-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
@media(max-width:980px){
  .platform-card-grid{
    grid-template-columns:1fr!important;
  }
  .page-cta-strip .cta-strip{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:640px){
  .platform-hero{
    padding-top:52px;
  }
  .platform-hero h1{
    font-size:clamp(2.45rem,12vw,4rem);
  }
  .cta-strip-actions{
    flex-direction:column;
  }
  .cta-strip-actions .btn{
    width:100%!important;
    justify-content:center!important;
  }
}


/* Privacy Policy page */
.privacy-main{
  background:
    radial-gradient(circle at 18% 8%, rgba(161,98,7,.12), transparent 36%),
    radial-gradient(circle at 82% 36%, rgba(212,175,55,.08), transparent 42%),
    #050505;
  color:#f5f0e8;
}
.privacy-hero{
  padding:clamp(64px,8vw,122px) 0 clamp(34px,5vw,66px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.privacy-hero h1{
  margin:0 0 18px;
  max-width:900px;
  font-size:clamp(3.4rem,7vw,7rem);
  line-height:.98;
  letter-spacing:-.045em;
}
.privacy-hero .lead{
  max-width:780px;
  color:rgba(245,240,232,.72);
  line-height:1.8;
  font-size:clamp(1rem,1.25vw,1.18rem);
}
.privacy-meta-card{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px;
}
.privacy-meta-card span{
  display:inline-flex;
  padding:9px 13px;
  border:1px solid rgba(212,175,55,.3);
  border-radius:999px;
  background:rgba(212,175,55,.06);
  color:#f4e3b1;
  font-size:.78rem;
  letter-spacing:.04em;
}
.privacy-grid{
  display:grid;
  grid-template-columns:290px minmax(0,1fr);
  gap:28px;
  align-items:start;
}
.privacy-index{
  position:sticky;
  top:104px;
  padding:22px!important;
}
.privacy-index h2{
  margin:0 0 14px;
  font-size:1.55rem!important;
}
.privacy-index nav{
  display:grid;
  gap:8px;
}
.privacy-index a{
  color:rgba(245,240,232,.68);
  text-decoration:none;
  font-size:.86rem;
  line-height:1.35;
  padding:8px 10px;
  border-radius:12px;
}
.privacy-index a:hover,
.privacy-index a:focus{
  color:#fff;
  background:rgba(212,175,55,.08);
}
.privacy-content{
  padding:clamp(24px,4vw,46px)!important;
}
.privacy-notice{
  border-left:3px solid #d4af37;
  background:rgba(212,175,55,.07);
  border-radius:0 18px 18px 0;
  padding:18px 20px;
  margin-bottom:30px;
}
.privacy-notice strong{
  color:#fff;
}
.privacy-notice p{
  margin:.45rem 0 0;
  line-height:1.65;
  color:rgba(245,240,232,.72);
}
.privacy-section{
  padding:28px 0;
  border-top:1px solid rgba(255,255,255,.09);
}
.privacy-section:first-of-type{
  border-top:0;
  padding-top:0;
}
.privacy-section h2{
  margin:0 0 16px;
  font-size:clamp(2rem,3vw,3.25rem)!important;
  line-height:1.08;
}
.privacy-section h3{
  margin:24px 0 10px;
  font-size:clamp(1.35rem,2vw,2rem)!important;
  line-height:1.1;
}
.privacy-section p,
.privacy-section li{
  color:rgba(245,240,232,.72);
  line-height:1.82;
  font-size:.98rem;
}
.privacy-section ul{
  margin:14px 0 20px;
  padding-left:22px;
}
.privacy-section li{
  margin-bottom:9px;
}
.privacy-section a{
  color:#d4af37;
  text-decoration:none;
}
.privacy-section a:hover{
  text-decoration:underline;
}
@media(max-width:980px){
  .privacy-grid{
    grid-template-columns:1fr;
  }
  .privacy-index{
    position:relative;
    top:auto;
  }
  .privacy-index nav{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:640px){
  .privacy-index nav{
    grid-template-columns:1fr;
  }
  .privacy-hero h1{
    font-size:clamp(2.8rem,14vw,4.2rem);
  }
}


/* Terms and Conditions page */
.legal-main{
  background:
    radial-gradient(circle at 18% 8%, rgba(161,98,7,.12), transparent 36%),
    radial-gradient(circle at 82% 36%, rgba(212,175,55,.08), transparent 42%),
    #050505;
  color:#f5f0e8;
}
.legal-hero{
  padding:clamp(64px,8vw,122px) 0 clamp(34px,5vw,66px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.legal-hero h1{
  margin:0 0 18px;
  max-width:980px;
  font-size:clamp(3.4rem,7vw,7rem);
  line-height:.98;
  letter-spacing:-.045em;
}
.legal-hero .lead{
  max-width:800px;
  color:rgba(245,240,232,.72);
  line-height:1.8;
  font-size:clamp(1rem,1.25vw,1.18rem);
}
.legal-meta-card{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px;
}
.legal-meta-card span{
  display:inline-flex;
  padding:9px 13px;
  border:1px solid rgba(212,175,55,.3);
  border-radius:999px;
  background:rgba(212,175,55,.06);
  color:#f4e3b1;
  font-size:.78rem;
  letter-spacing:.04em;
}
.legal-grid{
  display:grid;
  grid-template-columns:300px minmax(0,1fr);
  gap:28px;
  align-items:start;
}
.legal-index{
  position:sticky;
  top:104px;
  padding:22px!important;
  max-height:calc(100vh - 130px);
  overflow:auto;
}
.legal-index h2{
  margin:0 0 14px;
  font-size:1.55rem!important;
}
.legal-index nav{
  display:grid;
  gap:7px;
}
.legal-index a{
  color:rgba(245,240,232,.68);
  text-decoration:none;
  font-size:.84rem;
  line-height:1.35;
  padding:8px 10px;
  border-radius:12px;
}
.legal-index a:hover,
.legal-index a:focus{
  color:#fff;
  background:rgba(212,175,55,.08);
}
.legal-content{
  padding:clamp(24px,4vw,46px)!important;
}
.legal-section{
  padding:28px 0;
  border-top:1px solid rgba(255,255,255,.09);
}
.legal-section:first-child{
  border-top:0;
  padding-top:0;
}
.legal-section h2{
  margin:0 0 16px;
  font-size:clamp(2rem,3vw,3.25rem)!important;
  line-height:1.08;
}
.legal-section h3{
  margin:24px 0 10px;
  font-size:clamp(1.35rem,2vw,2rem)!important;
  line-height:1.1;
}
.legal-section p,
.legal-section li{
  color:rgba(245,240,232,.72);
  line-height:1.82;
  font-size:.98rem;
}
.terms-mini-heading{
  margin-top:18px!important;
  color:#fff!important;
}
.legal-section ul{
  margin:14px 0 20px;
  padding-left:22px;
}
.legal-section li{
  margin-bottom:9px;
}
.legal-section a{
  color:#d4af37;
  text-decoration:none;
}
.legal-section a:hover{
  text-decoration:underline;
}
@media(max-width:980px){
  .legal-grid{
    grid-template-columns:1fr;
  }
  .legal-index{
    position:relative;
    top:auto;
    max-height:none;
  }
  .legal-index nav{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:640px){
  .legal-index nav{
    grid-template-columns:1fr;
  }
  .legal-hero h1{
    font-size:clamp(2.8rem,14vw,4.2rem);
  }
  .legal-content{
    padding:22px!important;
  }
}


/* Customisation image replacement and frame fit */
.customisation-image-frame{
  min-height:0!important;
  aspect-ratio:16/10;
  border-radius:30px!important;
  overflow:hidden!important;
  background:#050505!important;
  border:1px solid rgba(212,175,55,.26)!important;
}
.customisation-image-frame picture,
.customisation-image-frame img{
  display:block;
  width:100%;
  height:100%;
}
.customisation-image-frame img{
  object-fit:cover!important;
  object-position:center center!important;
  min-height:420px;
}
.customisation-presence .customisation-image-frame img{
  object-position:center center!important;
}
@media(max-width:900px){
  .customisation-image-frame{
    aspect-ratio:16/11;
  }
  .customisation-image-frame img{
    min-height:300px;
  }
}
@media(max-width:560px){
  .customisation-image-frame{
    aspect-ratio:4/3;
  }
  .customisation-image-frame img{
    min-height:240px;
  }
}

/* Accessible dropdown menu refinement */
.nav-link,
.nav-dropdown-toggle{
  font:inherit;
  appearance:none;
  border:0;
  background:transparent;
  color:rgba(255,255,255,.76);
  min-height:44px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
}
.nav-dropdown-toggle svg{
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:transform .18s ease;
}
.nav-dropdown-toggle[aria-expanded="true"] svg{
  transform:rotate(180deg);
}
.nav-link:hover,
.nav-link.active,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active,
.nav-dropdown-toggle[aria-expanded="true"]{
  color:#fff;
  background:rgba(212,175,55,.10);
}
.nav-dropdown-menu[hidden]{
  display:none!important;
}
.nav-dropdown-menu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:230px;
  display:flex;
  flex-direction:column;
  padding:10px;
  border:1px solid rgba(212,175,55,.28);
  border-radius:18px;
  background:rgba(10,10,10,.98);
  box-shadow:0 24px 80px rgba(0,0,0,.44);
  z-index:1002;
}
.nav-dropdown-menu a{
  min-height:44px;
  display:flex;
  align-items:center;
  padding:10px 12px;
  border-radius:12px;
  color:rgba(255,255,255,.74);
  text-decoration:none;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible{
  color:#fff;
  background:rgba(212,175,55,.10);
}
.nav-dropdown-toggle:focus-visible,
.nav-link:focus-visible,
.nav-dropdown-menu a:focus-visible{
  outline:3px solid #d4af37!important;
  outline-offset:4px!important;
}
@media(max-width:760px){
  .nav-link,
  .nav-dropdown-toggle{
    width:100%!important;
    justify-content:space-between!important;
    min-height:48px!important;
    white-space:normal!important;
    padding:12px 14px!important;
  }
  .nav-dropdown-menu{
    position:static!important;
    min-width:0!important;
    width:100%!important;
    margin:4px 0 6px 0!important;
    padding:8px!important;
    border:0!important;
    border-left:2px solid rgba(212,175,55,.38)!important;
    border-radius:0 14px 14px 0!important;
    background:rgba(255,255,255,.04)!important;
    box-shadow:none!important;
  }
}


/* Customisation final alignment and restored presence section */
.customisation-feature-restored,
.customisation-presence-restored{
  padding:clamp(54px,7vw,96px) 0!important;
}
.customisation-aligned-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important;
  gap:clamp(28px,4vw,56px)!important;
  align-items:center!important;
}
.customisation-presence-restored .customisation-aligned-grid{
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)!important;
}
.customisation-feature-restored .customisation-image-frame,
.customisation-presence-restored .customisation-image-frame{
  width:100%!important;
  min-height:0!important;
  aspect-ratio:16/10!important;
  border-radius:30px!important;
  overflow:hidden!important;
  background:#050505!important;
  border:1px solid rgba(212,175,55,.26)!important;
  box-shadow:0 28px 90px rgba(0,0,0,.34)!important;
}
.customisation-feature-restored .customisation-image-frame picture,
.customisation-feature-restored .customisation-image-frame img,
.customisation-presence-restored .customisation-image-frame picture,
.customisation-presence-restored .customisation-image-frame img{
  display:block!important;
  width:100%!important;
  height:100%!important;
}
.customisation-feature-restored .customisation-image-frame img,
.customisation-presence-restored .customisation-image-frame img{
  object-fit:cover!important;
  min-height:420px!important;
}
.customisation-feature-restored .customisation-feature-image img{
  object-position:center center!important;
}
.customisation-presence-restored .customisation-presence-image img{
  object-position:center center!important;
}
.customisation-module-card,
.customisation-presence-restored .content-card{
  width:100%!important;
  align-self:center!important;
  padding:clamp(28px,4vw,48px)!important;
  border-radius:30px!important;
}
.customisation-module-card h2,
.customisation-presence-restored .content-card h2{
  margin:0 0 18px!important;
  line-height:1.05!important;
  font-size:clamp(2.3rem,4vw,4.2rem)!important;
}
.customisation-module-card .feature-list,
.customisation-presence-restored .feature-list{
  margin-top:14px!important;
}
.customisation-module-card li,
.customisation-presence-restored li{
  line-height:1.7!important;
}
@media(max-width:1050px){
  .customisation-aligned-grid,
  .customisation-presence-restored .customisation-aligned-grid{
    grid-template-columns:1fr!important;
    align-items:stretch!important;
  }
}
@media(max-width:640px){
  .customisation-feature-restored,
  .customisation-presence-restored{
    padding:40px 0!important;
  }
  .customisation-feature-restored .customisation-image-frame,
  .customisation-presence-restored .customisation-image-frame{
    aspect-ratio:4/3!important;
    border-radius:22px!important;
  }
  .customisation-feature-restored .customisation-image-frame img,
  .customisation-presence-restored .customisation-image-frame img{
    min-height:250px!important;
  }
}


/* Customisation blue digital-preview image crop */
.customisation-feature-restored .customisation-feature-image img,
.customisation-feature .customisation-feature-image img{
  object-position:center center!important;
}
@media(min-width:1051px){
  .customisation-feature-restored .customisation-feature-image,
  .customisation-feature .customisation-feature-image{
    aspect-ratio:16/10!important;
  }
}


/* Cookies Policy page */
.cookies-main{
  background:
    radial-gradient(circle at 18% 8%, rgba(161,98,7,.12), transparent 36%),
    radial-gradient(circle at 82% 36%, rgba(212,175,55,.08), transparent 42%),
    #050505;
  color:#f5f0e8;
}
.legal-table-wrap{
  margin:24px 0 32px;
  overflow-x:auto;
  border-radius:20px;
  border:1px solid rgba(212,175,55,.22);
  background:rgba(255,255,255,.035);
}
.legal-table-wrap h3{
  margin:0;
  padding:18px 20px 10px;
  font-size:clamp(1.3rem,2vw,1.9rem)!important;
}
.legal-table{
  width:100%;
  border-collapse:collapse;
  min-width:720px;
}
.legal-table th,
.legal-table td{
  text-align:left;
  vertical-align:top;
  padding:13px 15px;
  border-top:1px solid rgba(255,255,255,.08);
  color:rgba(245,240,232,.72);
  line-height:1.55;
  font-size:.92rem;
}
.legal-table th{
  color:#f5f0e8;
  background:rgba(161,98,7,.18);
  font-weight:700;
}
.legal-note{
  border-left:3px solid #d4af37;
  background:rgba(212,175,55,.07);
  border-radius:0 18px 18px 0;
  padding:16px 18px;
  margin:20px 0 28px;
  color:rgba(245,240,232,.74);
  line-height:1.65;
}
.cookies-section strong{
  color:#fff;
}
@media(max-width:760px){
  .legal-table{
    min-width:680px;
  }
}


.footer-cookie-settings{
  appearance:none;
  border:0;
  background:transparent;
  color:rgba(255,255,255,.75);
  padding:0;
  font:inherit;
  cursor:pointer;
}
.footer-cookie-settings:hover,
.footer-cookie-settings:focus-visible{
  color:#d4af37;
  text-decoration:underline;
}


/* Product Lines five-panel architecture banner */
.product-architecture-showcase{
  padding:clamp(44px,6vw,88px) 0;
  background:#0d0b09;
  border-top:1px solid rgba(161,98,7,.22);
  border-bottom:1px solid rgba(161,98,7,.22);
  overflow:hidden;
}
.pl-architecture-wrap{
  background:
    radial-gradient(ellipse 80% 45% at 50% 0%, rgba(161,98,7,.12), transparent 64%),
    #0d0b09;
}
.pl-architecture-header{
  text-align:center;
  padding:0 0 clamp(28px,4vw,44px);
}
.pl-architecture-header h2{
  margin:0 auto 14px;
  max-width:820px;
  font-family:var(--cg, 'Cormorant Garamond', Georgia, serif)!important;
  font-size:clamp(2.8rem,5.6vw,6rem)!important;
  font-weight:400!important;
  line-height:.98!important;
  letter-spacing:-.04em;
  color:#f5f0e8;
}
.pl-architecture-header p:not(.eyebrow){
  max-width:650px;
  margin:0 auto;
  font-size:clamp(.98rem,1.1vw,1.08rem);
  line-height:1.8;
  color:rgba(245,240,232,.68);
}
.pl-panels{
  display:flex;
  min-height:460px;
  overflow:hidden;
  border-top:1px solid rgba(161,98,7,.28);
  border-bottom:1px solid rgba(161,98,7,.28);
}
.pl-panel{
  flex:1;
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  min-width:0;
  padding:clamp(24px,3vw,42px) clamp(20px,2vw,32px);
  text-decoration:none;
  overflow:hidden;
  cursor:pointer;
  border-right:1px solid rgba(161,98,7,.28);
  transition:flex .65s cubic-bezier(.25,.46,.45,.94), filter .3s ease;
  color:#f5f0e8;
}
.pl-panel:last-child{border-right:none}
.pl-panel::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.045;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 40L40 0' stroke='%23a16207' stroke-width='0.4'/%3E%3C/svg%3E");
  background-size:40px 40px;
}
.pl-panel-1{background:#18130e}
.pl-panel-2{background:#0e1318}
.pl-panel-3{background:#15110d}
.pl-panel-4{background:#0d1410}
.pl-panel-5{background:#0c1018}
.pl-glow{
  position:absolute;
  inset:0;
  background:radial-gradient(ellipse 100% 55% at 50% 108%, rgba(161,98,7,.16) 0%, transparent 65%);
  pointer-events:none;
  z-index:0;
  opacity:0;
  transition:opacity .5s ease;
}
.pl-content{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.pl-number{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:.76rem;
  font-weight:600;
  letter-spacing:.26em;
  text-transform:uppercase;
  color:#A16207;
  margin-bottom:12px;
}
.pl-number span{
  display:block;
  height:1px;
  width:0;
  background:#A16207;
  transition:width .5s ease .1s;
}
.pl-name{
  display:block;
  width:100%;
  font-family:var(--cg, 'Cormorant Garamond', Georgia, serif)!important;
  font-size:clamp(1.55rem,2vw,2.35rem);
  font-weight:400;
  line-height:1.08;
  color:#f5f0e8;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  transition:font-size .4s cubic-bezier(.25,.46,.45,.94), white-space .3s ease;
}
.pl-description{
  display:block;
  max-height:0;
  overflow:hidden;
  opacity:0;
  margin-top:12px;
  max-width:34ch;
  font-size:1rem;
  font-weight:300;
  letter-spacing:.015em;
  line-height:1.75;
  color:rgba(245,240,232,.72);
  transition:max-height .45s ease, opacity .3s ease .1s;
}
.pl-cta{
  display:block;
  margin-top:18px;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#A16207;
  opacity:0;
  transform:translateY(5px);
  transition:opacity .3s ease .15s, transform .3s ease .15s;
}
.pl-badge{
  position:absolute;
  top:24px;
  right:20px;
  z-index:1;
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#A16207;
  opacity:0;
  transition:opacity .3s ease .1s;
}
.pl-panels:hover .pl-panel{flex:.62}
.pl-panels .pl-panel:hover,
.pl-panels .pl-panel:focus-within,
.pl-panels .pl-panel:focus-visible{
  flex:2.25;
  outline:none;
}
.pl-panel:hover .pl-glow,
.pl-panel:focus-visible .pl-glow,
.pl-panel:focus-within .pl-glow{opacity:1}
.pl-panel:hover .pl-number span,
.pl-panel:focus-visible .pl-number span,
.pl-panel:focus-within .pl-number span{width:28px}
.pl-panel:hover .pl-name,
.pl-panel:focus-visible .pl-name,
.pl-panel:focus-within .pl-name{
  font-size:clamp(2.1rem,3.2vw,3.8rem);
  white-space:normal;
}
.pl-panel:hover .pl-description,
.pl-panel:focus-visible .pl-description,
.pl-panel:focus-within .pl-description{
  max-height:170px;
  opacity:1;
}
.pl-panel:hover .pl-cta,
.pl-panel:focus-visible .pl-cta,
.pl-panel:focus-within .pl-cta{
  opacity:1;
  transform:none;
}
.pl-panel:hover .pl-badge,
.pl-panel:focus-visible .pl-badge,
.pl-panel:focus-within .pl-badge{opacity:.72}
.pl-panel:focus-visible{
  box-shadow:inset 0 0 0 3px #d4af37;
}
.pl-footer-strip{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  padding:18px 0 0;
}
.pl-footer-strip span{
  font-size:.78rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:rgba(245,240,232,.45);
}
.pl-footer-strip a{
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#A16207;
  text-decoration:none;
}
.pl-footer-strip a:hover,
.pl-footer-strip a:focus-visible{
  text-decoration:underline;
  text-underline-offset:4px;
}
@media(max-width:980px){
  .pl-panels{
    display:grid;
    grid-template-columns:1fr;
    min-height:0;
    border:1px solid rgba(161,98,7,.28);
    border-radius:28px;
    margin:0 16px;
  }
  .pl-panel{
    min-height:220px;
    border-right:0;
    border-bottom:1px solid rgba(161,98,7,.28);
  }
  .pl-panel:last-child{border-bottom:0}
  .pl-panels:hover .pl-panel,
  .pl-panels .pl-panel:hover,
  .pl-panels .pl-panel:focus-within,
  .pl-panels .pl-panel:focus-visible{
    flex:1;
  }
  .pl-name,
  .pl-panel:hover .pl-name,
  .pl-panel:focus-visible .pl-name,
  .pl-panel:focus-within .pl-name{
    font-size:clamp(2rem,7vw,3.2rem);
    white-space:normal;
  }
  .pl-description,
  .pl-panel:hover .pl-description,
  .pl-panel:focus-visible .pl-description,
  .pl-panel:focus-within .pl-description{
    max-height:none;
    opacity:1;
  }
  .pl-cta,
  .pl-panel:hover .pl-cta,
  .pl-panel:focus-visible .pl-cta,
  .pl-panel:focus-within .pl-cta{
    opacity:1;
    transform:none;
  }
  .pl-number span{width:24px}
  .pl-badge{opacity:.72}
}
@media(max-width:560px){
  .product-architecture-showcase{
    padding:36px 0;
  }
  .pl-panel{
    padding:24px 20px;
    min-height:210px;
  }
  .pl-footer-strip{
    padding-left:16px;
    padding-right:16px;
  }
}


/* Product line detail pages with video hero */
.product-line-detail{
  background:#050505;
  color:#f5f0e8;
}
.product-line-core{--line-accent:#1A3A6B;}
.product-line-factory{--line-accent:#CA6F1E;}
.product-line-vault{--line-accent:#1A7A45;}
.product-line-ledger{--line-accent:#C0392B;}
.product-line-api{--line-accent:#4A5568;}
.pl-video-hero{
  position:relative;
  min-height:clamp(620px,92vh,900px);
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  border-bottom:1px solid rgba(212,175,55,.18);
}
.pl-hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
  filter:saturate(.92) contrast(1.06);
}
.pl-hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg, rgba(5,5,5,.88) 0%, rgba(5,5,5,.54) 42%, rgba(5,5,5,.26) 100%),
    linear-gradient(0deg, rgba(5,5,5,.94) 0%, rgba(5,5,5,.2) 45%, rgba(5,5,5,.56) 100%),
    radial-gradient(circle at 30% 78%, color-mix(in srgb, var(--line-accent) 28%, transparent), transparent 36%);
}
.pl-hero-content{
  position:relative;
  z-index:2;
  padding-top:120px;
  padding-bottom:clamp(54px,8vw,110px);
}
.pl-hero-content h1{
  max-width:900px;
  margin:0 0 20px;
  font-family:var(--cg, 'Cormorant Garamond', Georgia, serif)!important;
  font-size:clamp(3.4rem,7vw,7.8rem)!important;
  font-weight:400!important;
  line-height:.96!important;
  letter-spacing:-.05em;
  color:#fff;
}
.pl-hero-content .lead{
  max-width:760px;
  font-size:clamp(1.05rem,1.35vw,1.25rem);
  line-height:1.82;
  color:rgba(245,240,232,.76);
}
.pl-hero-content .hero-buttons{
  margin-top:28px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.pl-breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-bottom:28px;
  color:rgba(245,240,232,.46);
  font-size:.78rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.pl-breadcrumbs a{
  color:#d4af37;
  text-decoration:none;
}
.pl-breadcrumbs a:hover{text-decoration:underline;}
.pl-detail-intro{
  background:
    radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--line-accent) 18%, transparent), transparent 34%),
    #050505;
}
.pl-detail-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  margin-top:36px;
}
.pl-detail-section{
  padding:28px;
  border:1px solid rgba(212,175,55,.18);
  border-radius:28px;
  background:linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
}
.pl-detail-section h2{
  margin:0 0 12px;
  font-size:clamp(1.8rem,2.8vw,3rem)!important;
  line-height:1.05!important;
}
.pl-detail-section p:not(.eyebrow){
  color:rgba(245,240,232,.7);
  line-height:1.75;
}
.product-line-detail-card-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:34px;
}
.product-line-detail-card{
  min-height:190px;
  padding:26px;
  border:1px solid rgba(255,255,255,.1);
  border-top:2px solid color-mix(in srgb, var(--line-accent) 82%, #d4af37);
  border-radius:24px;
  background:rgba(255,255,255,.04);
  transition:transform .22s ease, border-color .22s ease, background .22s ease;
}
.product-line-detail-card:hover{
  transform:translateY(-4px);
  border-color:rgba(212,175,55,.3);
  background:rgba(255,255,255,.06);
}
.product-line-detail-card h3{
  margin:0 0 10px;
  font-family:var(--cg, 'Cormorant Garamond', Georgia, serif)!important;
  font-size:clamp(1.5rem,2vw,2.15rem)!important;
  line-height:1.08!important;
}
.product-line-detail-card p{
  margin:0;
  color:rgba(245,240,232,.68);
  line-height:1.72;
}
.pl-source-card{
  padding:clamp(24px,4vw,42px)!important;
  border-left:3px solid color-mix(in srgb, var(--line-accent) 75%, #d4af37)!important;
}
.pl-source-card h2{
  margin:0 0 12px;
  font-size:clamp(2rem,3.5vw,3.8rem)!important;
}
.pl-small-note{
  margin-top:16px!important;
  color:rgba(245,240,232,.52)!important;
  font-size:.92rem!important;
}
@media(max-width:980px){
  .pl-video-hero{
    min-height:680px;
    align-items:flex-end;
  }
  .pl-hero-overlay{
    background:
      linear-gradient(0deg, rgba(5,5,5,.95) 0%, rgba(5,5,5,.62) 62%, rgba(5,5,5,.34) 100%);
  }
  .pl-detail-grid,
  .product-line-detail-card-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:640px){
  .pl-video-hero{
    min-height:620px;
  }
  .pl-hero-content{
    padding-top:96px;
  }
  .pl-hero-content h1{
    font-size:clamp(2.8rem,13vw,4.2rem)!important;
  }
  .pl-hero-content .hero-buttons .btn{
    width:100%;
    justify-content:center;
  }
  .pl-detail-section,
  .product-line-detail-card{
    padding:22px;
    border-radius:22px;
  }
}


/* Core Luxury Jewellery Lines exact page fix */
.core-luxury-lines-page{
  background:#050505;
  color:#f5f0e8;
}
.core-video-hero{
  position:relative;
  min-height:clamp(680px,94vh,940px);
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  border-bottom:1px solid rgba(212,175,55,.2);
}
.core-hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
  filter:saturate(.95) contrast(1.04);
}
.core-hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg, rgba(5,5,5,.88) 0%, rgba(5,5,5,.54) 42%, rgba(5,5,5,.25) 100%),
    linear-gradient(0deg, rgba(5,5,5,.96) 0%, rgba(5,5,5,.2) 48%, rgba(5,5,5,.62) 100%),
    radial-gradient(circle at 30% 80%, rgba(212,175,55,.14), transparent 36%);
}
.core-hero-content{
  position:relative;
  z-index:2;
  padding-top:120px;
  padding-bottom:clamp(56px,8vw,112px);
}
.core-hero-content h1{
  max-width:920px;
  margin:0 0 22px;
  font-family:var(--cg, 'Cormorant Garamond', Georgia, serif)!important;
  font-size:clamp(3.4rem,7vw,7.8rem)!important;
  font-weight:400!important;
  line-height:.96!important;
  letter-spacing:-.05em;
  color:#fff;
}
.core-hero-content .lead{
  max-width:760px;
  font-size:clamp(1.05rem,1.35vw,1.25rem);
  line-height:1.82;
  color:rgba(245,240,232,.76);
}
.core-trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}
.core-trust-row span{
  display:inline-flex;
  align-items:center;
  padding:8px 13px;
  border:1px solid rgba(212,175,55,.32);
  border-radius:999px;
  color:#f4e3b1;
  background:rgba(212,175,55,.08);
  font-size:.78rem;
  letter-spacing:.04em;
}
.core-collections-section{
  background:
    radial-gradient(circle at 22% 0%, rgba(26,58,107,.2), transparent 35%),
    #050505;
}
.core-collection-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  margin-top:36px;
}
.core-collection-card{
  overflow:hidden;
  border-radius:26px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.04);
  transition:transform .22s ease, border-color .22s ease, background .22s ease;
}
.core-collection-card:hover{
  transform:translateY(-5px);
  border-color:rgba(212,175,55,.32);
  background:rgba(255,255,255,.06);
}
.core-collection-media{
  min-height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, rgba(26,58,107,.85), rgba(12,10,9,.95));
  border-bottom:1px solid rgba(212,175,55,.12);
}
.core-collection-media span{
  font-family:var(--cg, 'Cormorant Garamond', Georgia, serif)!important;
  font-size:4rem;
  line-height:1;
  color:rgba(212,175,55,.55);
}
.core-collection-body{
  padding:20px;
}
.core-collection-body h3{
  margin:0 0 8px;
  font-size:clamp(1.35rem,2vw,1.9rem)!important;
  line-height:1.08!important;
}
.core-collection-body p{
  min-height:84px;
  margin:0 0 12px;
  color:rgba(245,240,232,.68);
  line-height:1.62;
  font-size:.94rem;
}
.core-collection-body strong{
  display:block;
  color:#d4af37;
  margin-bottom:10px;
}
.core-collection-body a{
  color:rgba(245,240,232,.58);
  font-size:.74rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  text-decoration:none;
}
.core-collection-body a:hover{
  color:#d4af37;
}
.core-provenance-section{
  background:#0a0a0a;
}
.core-provenance-grid{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:clamp(30px,5vw,70px);
  align-items:center;
}
.core-provenance-grid h2,
.core-vip-section h2{
  margin:0 0 18px;
  font-size:clamp(2.5rem,5vw,5.2rem)!important;
  line-height:1.02!important;
}
.core-provenance-grid p{
  color:rgba(245,240,232,.7);
  line-height:1.82;
  max-width:680px;
}
.core-chain-card{
  padding:28px!important;
}
.core-chain-steps{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  list-style:none;
  padding:0;
  margin:0;
}
.core-chain-steps li{
  text-align:center;
  padding:18px 10px;
  border:1px solid rgba(212,175,55,.18);
  border-radius:18px;
  background:rgba(255,255,255,.035);
}
.core-chain-steps span{
  display:block;
  color:#d4af37;
  font-size:.72rem;
  letter-spacing:.14em;
  margin-bottom:8px;
}
.core-chain-steps strong{
  font-family:var(--cg, 'Cormorant Garamond', Georgia, serif)!important;
  font-size:1.35rem;
  font-weight:400;
}
.core-certificate-sample{
  margin-top:22px;
  padding:22px;
  border-radius:20px;
  background:rgba(0,0,0,.34);
  border:1px solid rgba(212,175,55,.16);
}
.core-certificate-sample code{
  color:rgba(245,240,232,.78);
  line-height:1.9;
  font-size:.88rem;
}
.core-vip-section{
  background:
    radial-gradient(circle at 70% 20%, rgba(212,175,55,.1), transparent 38%),
    #050505;
}
.core-vip-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
  margin-top:34px;
}
.core-vip-card{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(212,175,55,.28);
  border-radius:30px;
  padding:clamp(28px,4vw,44px);
  background:linear-gradient(135deg, rgba(212,175,55,.07), rgba(255,255,255,.025));
}
.core-vip-card-featured{
  border-color:rgba(212,175,55,.5);
  background:linear-gradient(135deg, rgba(212,175,55,.12), rgba(255,255,255,.035));
}
.core-vip-card h3{
  margin:0 0 12px;
  font-size:clamp(2rem,3vw,3.3rem)!important;
}
.core-vip-card strong{
  display:block;
  color:#d4af37;
  font-family:var(--cg, 'Cormorant Garamond', Georgia, serif)!important;
  font-size:clamp(2.5rem,4vw,4.4rem);
  font-weight:400;
  margin-bottom:18px;
}
.core-vip-card strong span{
  font-family:var(--mt, Montserrat, sans-serif)!important;
  font-size:1rem;
  color:rgba(245,240,232,.5);
}
.core-vip-card ul{
  margin:0 0 24px;
  padding-left:20px;
  color:rgba(245,240,232,.7);
  line-height:1.7;
}
@media(max-width:1100px){
  .core-collection-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:900px){
  .core-provenance-grid,
  .core-vip-grid{
    grid-template-columns:1fr;
  }
  .core-chain-steps{
    grid-template-columns:1fr;
  }
}
@media(max-width:640px){
  .core-video-hero{
    min-height:660px;
  }
  .core-hero-content h1{
    font-size:clamp(2.8rem,13vw,4.2rem)!important;
  }
  .core-collection-grid{
    grid-template-columns:1fr;
  }
  .core-hero-content .hero-buttons .btn,
  .cta-strip-actions .btn{
    width:100%;
    justify-content:center;
  }
}


/* xFACTORY page exact update */
.xfactory-page{
  background:#050505;
  color:#f5f0e8;
  --factory-accent:#CA6F1E;
}
.xfactory-video-hero{
  position:relative;
  min-height:clamp(680px,94vh,940px);
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  border-bottom:1px solid rgba(202,111,30,.28);
}
.xfactory-hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
  filter:saturate(.94) contrast(1.05);
}
.xfactory-hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg, rgba(5,5,5,.9) 0%, rgba(5,5,5,.58) 46%, rgba(5,5,5,.28) 100%),
    linear-gradient(0deg, rgba(5,5,5,.96) 0%, rgba(5,5,5,.24) 48%, rgba(5,5,5,.64) 100%),
    radial-gradient(circle at 78% 50%, rgba(202,111,30,.18), transparent 38%);
}
.xfactory-hero-content{
  position:relative;
  z-index:2;
  padding-top:120px;
  padding-bottom:clamp(56px,8vw,112px);
}
.xfactory-hero-content h1{
  max-width:980px;
  margin:0 0 20px;
  font-family:var(--cg, 'Cormorant Garamond', Georgia, serif)!important;
  font-size:clamp(3.2rem,6.8vw,7.6rem)!important;
  font-weight:400!important;
  line-height:.96!important;
  letter-spacing:-.05em;
  color:#fff;
}
.xfactory-hero-content .lead{
  max-width:720px;
  font-size:clamp(1.08rem,1.4vw,1.35rem);
  line-height:1.75;
  color:#f3b27d;
}
.xfactory-support-copy{
  max-width:760px;
  color:rgba(245,240,232,.72);
  line-height:1.82;
  font-size:1rem;
}
.xfactory-stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin:30px 0 28px;
  max-width:900px;
}
.xfactory-stats span{
  display:block;
  padding:16px;
  border:1px solid rgba(202,111,30,.28);
  border-radius:18px;
  background:rgba(202,111,30,.07);
  color:rgba(245,240,232,.68);
  font-size:.88rem;
}
.xfactory-stats strong{
  display:block;
  margin-bottom:4px;
  font-family:var(--cg, 'Cormorant Garamond', Georgia, serif)!important;
  font-size:2rem;
  font-weight:400;
  color:#CA6F1E;
}
.xfactory-pricing-section{
  background:
    radial-gradient(circle at 76% 0%, rgba(202,111,30,.15), transparent 34%),
    #050505;
}
.xfactory-pricing-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  margin-top:34px;
}
.xfactory-pricing-card{
  position:relative;
  border:1px solid rgba(255,255,255,.11);
  border-top:2px solid rgba(202,111,30,.62);
  border-radius:28px;
  padding:clamp(26px,4vw,42px);
  background:linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
}
.xfactory-pricing-card-featured{
  border-color:rgba(202,111,30,.52);
  background:linear-gradient(135deg, rgba(202,111,30,.11), rgba(255,255,255,.025));
}
.xfactory-pricing-card h3{
  margin:0 0 12px;
  font-size:clamp(1.8rem,3vw,3rem)!important;
}
.xfactory-pricing-card strong{
  display:block;
  color:#CA6F1E;
  font-family:var(--cg, 'Cormorant Garamond', Georgia, serif)!important;
  font-size:clamp(2.5rem,4vw,4.4rem);
  font-weight:400;
  margin-bottom:14px;
}
.xfactory-pricing-card p:not(.eyebrow){
  color:rgba(245,240,232,.68);
  line-height:1.75;
  min-height:120px;
}
.xfactory-table-wrap{
  overflow-x:auto;
  border:1px solid rgba(202,111,30,.24);
  border-radius:24px;
  background:rgba(255,255,255,.035);
}
.xfactory-table{
  width:100%;
  border-collapse:collapse;
  min-width:760px;
}
.xfactory-table th,
.xfactory-table td{
  padding:16px 18px;
  text-align:left;
  border-bottom:1px solid rgba(255,255,255,.08);
  color:rgba(245,240,232,.72);
  line-height:1.55;
}
.xfactory-table th{
  color:#fff;
  background:rgba(202,111,30,.14);
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.13em;
}
.xfactory-table td:first-child{
  color:#fff;
  font-weight:700;
}
.xfactory-table strong,
.xfactory-table a{
  color:#CA6F1E;
  text-decoration:none;
}
.xfactory-table a:hover{
  text-decoration:underline;
}
.xfactory-process-section{
  background:#0a0a0a;
}
.xfactory-process-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border:1px solid rgba(255,255,255,.1);
  border-radius:30px;
  overflow:hidden;
  margin-top:34px;
}
.xfactory-process-step{
  min-height:220px;
  padding:26px;
  border-right:1px solid rgba(255,255,255,.1);
  border-bottom:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.03);
}
.xfactory-process-step:nth-child(4n){
  border-right:0;
}
.xfactory-process-step span{
  display:block;
  color:rgba(202,111,30,.34);
  font-family:var(--cg, 'Cormorant Garamond', Georgia, serif)!important;
  font-size:3.4rem;
  line-height:1;
}
.xfactory-process-step h3{
  margin:10px 0 8px;
  font-size:clamp(1.35rem,2vw,1.9rem)!important;
}
.xfactory-process-step p{
  color:rgba(245,240,232,.64);
  line-height:1.65;
  font-size:.94rem;
}
.xfactory-process-step strong{
  display:block;
  margin-top:12px;
  color:#CA6F1E;
  font-size:.78rem;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.xfactory-trust-card{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(280px,.58fr);
  gap:28px;
  align-items:center;
  padding:clamp(28px,4vw,48px)!important;
  border-left:3px solid #CA6F1E!important;
}
.xfactory-trust-card h2{
  margin:0 0 14px;
  font-size:clamp(2.2rem,4vw,4.4rem)!important;
  line-height:1.04!important;
}
.xfactory-trust-card p:not(.eyebrow){
  color:rgba(245,240,232,.7);
  line-height:1.8;
}
.xfactory-trust-list{
  display:grid;
  gap:10px;
}
.xfactory-trust-list span{
  display:block;
  padding:12px 14px;
  border:1px solid rgba(202,111,30,.25);
  border-radius:16px;
  background:rgba(202,111,30,.07);
  color:rgba(245,240,232,.75);
}
@media(max-width:1100px){
  .xfactory-stats,
  .xfactory-pricing-grid,
  .xfactory-process-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .xfactory-process-step:nth-child(4n){
    border-right:1px solid rgba(255,255,255,.1);
  }
  .xfactory-process-step:nth-child(2n){
    border-right:0;
  }
}
@media(max-width:900px){
  .xfactory-trust-card{
    grid-template-columns:1fr;
  }
}
@media(max-width:640px){
  .xfactory-video-hero{
    min-height:700px;
  }
  .xfactory-hero-content h1{
    font-size:clamp(2.8rem,13vw,4.2rem)!important;
  }
  .xfactory-stats,
  .xfactory-pricing-grid,
  .xfactory-process-grid{
    grid-template-columns:1fr;
  }
  .xfactory-pricing-card p:not(.eyebrow){
    min-height:auto;
  }
  .xfactory-hero-content .hero-buttons .btn,
  .cta-strip-actions .btn{
    width:100%;
    justify-content:center;
  }
}


/* xVAULT page exact update */
.xvault-page{
  background:#050505;
  color:#f5f0e8;
  --vault-accent:#1A7A45;
}
.xvault-video-hero{
  position:relative;
  min-height:clamp(680px,94vh,940px);
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  border-bottom:1px solid rgba(26,122,69,.28);
}
.xvault-hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
  filter:saturate(.95) contrast(1.05);
}
.xvault-hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg, rgba(5,5,5,.9) 0%, rgba(5,5,5,.58) 46%, rgba(5,5,5,.28) 100%),
    linear-gradient(0deg, rgba(5,5,5,.96) 0%, rgba(5,5,5,.24) 48%, rgba(5,5,5,.64) 100%),
    radial-gradient(circle at 76% 55%, rgba(26,122,69,.22), transparent 42%);
}
.xvault-hero-content{
  position:relative;
  z-index:2;
  padding-top:120px;
  padding-bottom:clamp(56px,8vw,112px);
}
.xvault-hero-content h1{
  max-width:940px;
  margin:0 0 20px;
  font-family:var(--cg, 'Cormorant Garamond', Georgia, serif)!important;
  font-size:clamp(3.2rem,6.8vw,7.6rem)!important;
  font-weight:400!important;
  line-height:.96!important;
  letter-spacing:-.05em;
  color:#fff;
}
.xvault-hero-content .lead{
  max-width:780px;
  font-size:clamp(1.08rem,1.4vw,1.32rem);
  line-height:1.78;
  color:rgba(245,240,232,.76);
}
.xvault-trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:28px 0;
}
.xvault-trust-row span{
  display:inline-flex;
  align-items:center;
  padding:8px 13px;
  border:1px solid rgba(26,122,69,.34);
  border-radius:999px;
  color:#c8f2d9;
  background:rgba(26,122,69,.12);
  font-size:.78rem;
  letter-spacing:.04em;
}
.xvault-valuation-section{
  background:
    radial-gradient(circle at 76% 0%, rgba(26,122,69,.16), transparent 34%),
    #050505;
}
.xvault-valuation-grid{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(320px,.72fr);
  gap:clamp(30px,5vw,72px);
  align-items:center;
}
.xvault-valuation-grid h2{
  margin:0 0 18px;
  font-size:clamp(2.5rem,5vw,5.2rem)!important;
  line-height:1.02!important;
}
.xvault-valuation-grid p{
  color:rgba(245,240,232,.7);
  line-height:1.82;
}
.xvault-request-card{
  padding:clamp(24px,4vw,42px)!important;
  border-left:3px solid #1A7A45!important;
}
.xvault-request-card ol{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:16px;
}
.xvault-request-card li{
  padding:16px;
  border:1px solid rgba(26,122,69,.22);
  border-radius:18px;
  background:rgba(26,122,69,.07);
}
.xvault-request-card span{
  color:#7bd7a1;
  font-size:.75rem;
  letter-spacing:.16em;
}
.xvault-request-card strong{
  display:block;
  margin:5px 0;
  color:#fff;
  font-family:var(--cg, 'Cormorant Garamond', Georgia, serif)!important;
  font-size:1.7rem;
  font-weight:400;
}
.xvault-request-card p{
  margin:0;
  font-size:.94rem;
}
.xvault-services-section{
  background:#0a0a0a;
}
.xvault-services-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  margin-top:34px;
}
.xvault-service-card{
  min-height:250px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:24px;
  border:1px solid rgba(255,255,255,.1);
  border-top:2px solid rgba(26,122,69,.72);
  border-radius:24px;
  background:linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  transition:transform .22s ease, border-color .22s ease, background .22s ease;
}
.xvault-service-card:hover{
  transform:translateY(-4px);
  border-color:rgba(26,122,69,.45);
  background:rgba(255,255,255,.06);
}
.xvault-service-top h3{
  margin:0 0 8px;
  font-size:clamp(1.45rem,2vw,2rem)!important;
  line-height:1.08!important;
}
.xvault-service-top strong{
  display:block;
  color:#7bd7a1;
  font-family:var(--cg, 'Cormorant Garamond', Georgia, serif)!important;
  font-size:2rem;
  font-weight:400;
  margin-bottom:12px;
}
.xvault-service-card p{
  color:rgba(245,240,232,.66);
  line-height:1.66;
  font-size:.93rem;
}
.xvault-service-card a{
  color:#7bd7a1;
  font-size:.76rem;
  font-weight:700;
  letter-spacing:.13em;
  text-transform:uppercase;
  text-decoration:none;
}
.xvault-service-card a:hover{
  text-decoration:underline;
}
.xvault-security-section{
  background:
    radial-gradient(circle at 15% 20%, rgba(26,122,69,.14), transparent 36%),
    #050505;
}
.xvault-trust-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  margin-top:34px;
}
.xvault-trust-item{
  text-align:center;
  padding:clamp(24px,4vw,40px);
  border:1px solid rgba(26,122,69,.24);
  border-radius:26px;
  background:rgba(26,122,69,.055);
}
.xvault-trust-item h3{
  margin:0 0 12px;
  font-size:clamp(1.6rem,2.4vw,2.4rem)!important;
}
.xvault-trust-item p{
  color:rgba(245,240,232,.66);
  line-height:1.75;
}
.xvault-security-strip{
  margin-top:34px;
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}
.xvault-security-strip span{
  display:inline-flex;
  padding:9px 14px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:999px;
  color:rgba(245,240,232,.56);
  font-size:.78rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}
@media(max-width:1200px){
  .xvault-services-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:900px){
  .xvault-valuation-grid,
  .xvault-trust-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:640px){
  .xvault-video-hero{
    min-height:700px;
  }
  .xvault-hero-content h1{
    font-size:clamp(2.8rem,13vw,4.2rem)!important;
  }
  .xvault-services-grid{
    grid-template-columns:1fr;
  }
  .xvault-hero-content .hero-buttons .btn,
  .cta-strip-actions .btn{
    width:100%;
    justify-content:center;
  }
}


/* xLEDGER page exact update */
.xledger-page{
  background:#050505;
  color:#f5f0e8;
  --ledger-accent:#C0392B;
}
.xledger-video-hero{
  position:relative;
  min-height:clamp(680px,94vh,940px);
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  border-bottom:1px solid rgba(192,57,43,.28);
}
.xledger-video-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  opacity:.05;
  pointer-events:none;
  background-image:radial-gradient(circle, rgba(255,255,255,.85) 1px, transparent 1px);
  background-size:32px 32px;
}
.xledger-hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
  filter:saturate(.95) contrast(1.05);
}
.xledger-hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg, rgba(5,5,5,.9) 0%, rgba(5,5,5,.6) 46%, rgba(5,5,5,.3) 100%),
    linear-gradient(0deg, rgba(5,5,5,.96) 0%, rgba(5,5,5,.24) 48%, rgba(5,5,5,.64) 100%),
    radial-gradient(circle at 78% 50%, rgba(192,57,43,.22), transparent 40%);
}
.xledger-hero-content{
  position:relative;
  z-index:2;
  padding-top:120px;
  padding-bottom:clamp(56px,8vw,112px);
}
.xledger-hero-content h1{
  max-width:900px;
  margin:0 0 20px;
  font-family:var(--cg, 'Cormorant Garamond', Georgia, serif)!important;
  font-size:clamp(3.2rem,6.8vw,7.4rem)!important;
  font-weight:400!important;
  line-height:.96!important;
  letter-spacing:-.05em;
  color:#fff;
}
.xledger-hero-content .lead{
  max-width:780px;
  font-size:clamp(1.08rem,1.4vw,1.32rem);
  line-height:1.78;
  color:rgba(245,240,232,.82);
}
.xledger-support-copy{
  max-width:760px;
  color:rgba(245,240,232,.68);
  line-height:1.82;
  font-size:1rem;
}
.xledger-feature-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:28px 0;
}
.xledger-feature-row span{
  display:inline-flex;
  align-items:center;
  padding:8px 13px;
  border:1px solid rgba(192,57,43,.38);
  border-radius:999px;
  color:#ffd1cd;
  background:rgba(192,57,43,.12);
  font-size:.78rem;
  letter-spacing:.04em;
}
.xledger-feature-section{
  background:
    radial-gradient(circle at 76% 0%, rgba(192,57,43,.15), transparent 34%),
    #050505;
}
.xledger-mini-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  margin-top:34px;
}
.xledger-mini-feature{
  padding:26px;
  border:1px solid rgba(255,255,255,.1);
  border-top:2px solid rgba(192,57,43,.72);
  border-radius:24px;
  background:rgba(255,255,255,.04);
}
.xledger-mini-feature h3{
  margin:0 0 10px;
  font-size:clamp(1.5rem,2vw,2.2rem)!important;
}
.xledger-mini-feature p{
  color:rgba(245,240,232,.68);
  line-height:1.72;
}
.xledger-pricing-section{
  background:#0a0a0a;
}
.xledger-pricing-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  margin-top:34px;
}
.xledger-price-card{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:360px;
  padding:clamp(24px,3vw,34px);
  border:1px solid rgba(255,255,255,.11);
  border-top:2px solid rgba(192,57,43,.62);
  border-radius:26px;
  background:linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
}
.xledger-price-card-featured{
  border-color:rgba(192,57,43,.58);
  background:linear-gradient(135deg, rgba(192,57,43,.12), rgba(255,255,255,.025));
}
.xledger-price-card h3{
  margin:0 0 12px;
  font-size:clamp(1.6rem,2.4vw,2.7rem)!important;
}
.xledger-price-card strong{
  display:block;
  color:#ff9f95;
  font-family:var(--cg, 'Cormorant Garamond', Georgia, serif)!important;
  font-size:clamp(2.2rem,3.3vw,3.7rem);
  font-weight:400;
  margin-bottom:12px;
}
.xledger-price-card p:not(.eyebrow){
  color:rgba(245,240,232,.68);
  line-height:1.68;
  font-size:.94rem;
}
.xledger-table-wrap{
  margin-top:42px;
  overflow-x:auto;
  border:1px solid rgba(192,57,43,.24);
  border-radius:24px;
  background:rgba(255,255,255,.035);
}
.xledger-table-wrap h3{
  margin:0;
  padding:20px 20px 8px;
  font-size:clamp(1.5rem,2.4vw,2.4rem)!important;
}
.xledger-table{
  width:100%;
  border-collapse:collapse;
  min-width:720px;
}
.xledger-table th,
.xledger-table td{
  padding:16px 18px;
  text-align:left;
  border-top:1px solid rgba(255,255,255,.08);
  color:rgba(245,240,232,.72);
  line-height:1.55;
}
.xledger-table th{
  color:#fff;
  background:rgba(192,57,43,.14);
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.13em;
}
.xledger-table td:first-child{
  color:#fff;
  font-weight:700;
}
.xledger-table strong{
  color:#ff9f95;
}
.xledger-dashboard-section{
  background:
    radial-gradient(circle at 18% 24%, rgba(192,57,43,.13), transparent 34%),
    #050505;
}
.xledger-dashboard-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  margin-top:34px;
}
.xledger-dashboard-panel{
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:22px;
  align-items:center;
  padding:24px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:26px;
  background:rgba(255,255,255,.04);
}
.xledger-screen{
  min-height:190px;
  display:grid;
  gap:12px;
  align-content:center;
  padding:20px;
  border-radius:20px;
  background:#111;
  border:1px solid rgba(192,57,43,.22);
  color:rgba(245,240,232,.55);
}
.xledger-screen span{
  color:#ff9f95;
  font-size:.75rem;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.xledger-screen code{
  white-space:normal;
  font-size:.82rem;
  line-height:1.7;
}
.xledger-dashboard-panel h3{
  margin:0 0 10px;
  font-size:clamp(1.5rem,2vw,2.25rem)!important;
}
.xledger-dashboard-panel p{
  color:rgba(245,240,232,.68);
  line-height:1.72;
}
.xledger-compliance-card{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(280px,.58fr);
  gap:28px;
  align-items:center;
  padding:clamp(28px,4vw,48px)!important;
  border-left:3px solid #C0392B!important;
}
.xledger-compliance-card h2{
  margin:0 0 14px;
  font-size:clamp(2.2rem,4vw,4.4rem)!important;
  line-height:1.04!important;
}
.xledger-compliance-card p:not(.eyebrow){
  color:rgba(245,240,232,.7);
  line-height:1.8;
}
.xledger-compliance-list{
  display:grid;
  gap:10px;
}
.xledger-compliance-list span{
  display:block;
  padding:12px 14px;
  border:1px solid rgba(192,57,43,.25);
  border-radius:16px;
  background:rgba(192,57,43,.08);
  color:rgba(245,240,232,.75);
}
@media(max-width:1200px){
  .xledger-pricing-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .xledger-dashboard-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:900px){
  .xledger-mini-grid,
  .xledger-compliance-card,
  .xledger-dashboard-panel{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:640px){
  .xledger-video-hero{
    min-height:700px;
  }
  .xledger-hero-content h1{
    font-size:clamp(2.8rem,13vw,4.2rem)!important;
  }
  .xledger-pricing-grid{
    grid-template-columns:1fr;
  }
  .xledger-price-card{
    min-height:auto;
  }
  .xledger-hero-content .hero-buttons .btn,
  .cta-strip-actions .btn{
    width:100%;
    justify-content:center;
  }
}


/* xAPI page exact update */
.xapi-page{
  background:#050505;
  color:#f5f0e8;
  --api-accent:#4A5568;
}
.xapi-video-hero{
  position:relative;
  min-height:clamp(720px,96vh,980px);
  display:flex;
  align-items:center;
  overflow:hidden;
  border-bottom:1px solid rgba(74,85,104,.32);
}
.xapi-video-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  opacity:.05;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.55) 1px, transparent 1px);
  background-size:40px 40px;
}
.xapi-hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
  filter:saturate(.92) contrast(1.04);
}
.xapi-hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg, rgba(5,5,5,.92) 0%, rgba(5,5,5,.66) 48%, rgba(5,5,5,.34) 100%),
    linear-gradient(0deg, rgba(5,5,5,.96) 0%, rgba(5,5,5,.26) 48%, rgba(5,5,5,.68) 100%),
    radial-gradient(circle at 72% 50%, rgba(74,85,104,.28), transparent 42%);
}
.xapi-hero-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,.82fr);
  gap:clamp(34px,5vw,78px);
  align-items:center;
  padding-top:120px;
  padding-bottom:clamp(60px,8vw,116px);
}
.xapi-hero-content h1{
  max-width:900px;
  margin:0 0 20px;
  font-family:var(--cg, 'Cormorant Garamond', Georgia, serif)!important;
  font-size:clamp(3rem,6.2vw,7rem)!important;
  font-weight:400!important;
  line-height:.98!important;
  letter-spacing:-.05em;
  color:#fff;
}
.xapi-hero-content .lead{
  max-width:760px;
  font-size:clamp(1.08rem,1.4vw,1.28rem);
  line-height:1.78;
  color:rgba(245,240,232,.78);
}
.xapi-feature-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:28px 0;
}
.xapi-feature-row span{
  display:inline-flex;
  align-items:center;
  padding:8px 13px;
  border:1px solid rgba(148,163,184,.34);
  border-radius:999px;
  color:#d7deea;
  background:rgba(74,85,104,.18);
  font-size:.78rem;
  letter-spacing:.04em;
}
.xapi-code-card{
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  border-radius:24px;
  background:rgba(5,5,5,.66);
  box-shadow:0 28px 90px rgba(0,0,0,.34);
}
.xapi-code-header{
  display:flex;
  align-items:center;
  gap:8px;
  padding:14px 18px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.035);
}
.xapi-code-header span{
  width:10px;
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,.24);
}
.xapi-code-header span:nth-child(1){background:#FF5F57;}
.xapi-code-header span:nth-child(2){background:#FEBC2E;}
.xapi-code-header span:nth-child(3){background:#28C840;}
.xapi-code-header strong{
  margin-left:auto;
  color:rgba(245,240,232,.52);
  font-size:.78rem;
  letter-spacing:.08em;
}
.xapi-code-card pre{
  margin:0;
  padding:22px;
  overflow:auto;
  color:rgba(245,240,232,.74);
  font-size:.86rem;
  line-height:1.75;
}
.xapi-modules-section{
  background:
    radial-gradient(circle at 76% 0%, rgba(74,85,104,.2), transparent 34%),
    #050505;
}
.xapi-module-grid,
.xapi-use-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  margin-top:34px;
}
.xapi-module-card,
.xapi-use-card{
  padding:26px;
  border:1px solid rgba(255,255,255,.1);
  border-top:2px solid rgba(148,163,184,.62);
  border-radius:24px;
  background:rgba(255,255,255,.04);
}
.xapi-module-card h3,
.xapi-use-card h3{
  margin:0 0 10px;
  font-size:clamp(1.45rem,2vw,2.1rem)!important;
}
.xapi-module-card p,
.xapi-use-card p{
  color:rgba(245,240,232,.68);
  line-height:1.72;
}
.xapi-module-card a{
  display:inline-block;
  margin-top:14px;
  color:#cbd5e1;
  font-size:.76rem;
  font-weight:700;
  letter-spacing:.13em;
  text-transform:uppercase;
  text-decoration:none;
}
.xapi-module-card a:hover{
  color:#fff;
  text-decoration:underline;
}
.xapi-endpoints-section{
  background:#0a0a0a;
}
.xapi-endpoints-list{
  display:grid;
  gap:12px;
  margin-top:34px;
}
.xapi-endpoint-card{
  border:1px solid rgba(255,255,255,.1);
  border-radius:18px;
  background:rgba(255,255,255,.035);
  overflow:hidden;
}
.xapi-endpoint-card summary{
  display:grid;
  grid-template-columns:76px minmax(210px,.8fr) minmax(0,1fr) 80px;
  gap:14px;
  align-items:center;
  padding:16px 18px;
  cursor:pointer;
  list-style:none;
}
.xapi-endpoint-card summary::-webkit-details-marker{display:none;}
.xapi-endpoint-card summary:hover{
  background:rgba(255,255,255,.035);
}
.xapi-method{
  display:inline-flex;
  justify-content:center;
  padding:4px 10px;
  border-radius:6px;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.08em;
}
.xapi-method-get{background:rgba(26,122,69,.2);color:#7bd7a1;}
.xapi-method-post{background:rgba(202,111,30,.2);color:#f4a261;}
.xapi-endpoint-card code{
  color:#e5e7eb;
  font-size:.88rem;
}
.xapi-endpoint-card span:not(.xapi-method){
  color:rgba(245,240,232,.62);
  font-size:.9rem;
}
.xapi-endpoint-card strong{
  color:#cbd5e1;
  font-size:.82rem;
}
.xapi-endpoint-card p{
  margin:0;
  padding:0 18px 18px 108px;
  color:rgba(245,240,232,.66);
  line-height:1.75;
}
.xapi-pricing-section{
  background:
    radial-gradient(circle at 18% 18%, rgba(74,85,104,.18), transparent 34%),
    #050505;
}
.xapi-pricing-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
  margin-top:34px;
}
.xapi-price-card{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:330px;
  padding:clamp(22px,2.5vw,30px);
  border:1px solid rgba(255,255,255,.11);
  border-top:2px solid rgba(148,163,184,.62);
  border-radius:24px;
  background:linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
}
.xapi-price-card-featured{
  border-color:rgba(203,213,225,.5);
  background:linear-gradient(135deg, rgba(148,163,184,.12), rgba(255,255,255,.025));
}
.xapi-price-card h3{
  margin:0 0 10px;
  font-size:clamp(1.35rem,1.8vw,1.9rem)!important;
}
.xapi-price-card strong{
  display:block;
  color:#cbd5e1;
  font-family:var(--cg, 'Cormorant Garamond', Georgia, serif)!important;
  font-size:clamp(2rem,3vw,3.3rem);
  font-weight:400;
  margin-bottom:10px;
}
.xapi-price-card p:not(.eyebrow){
  color:rgba(245,240,232,.66);
  line-height:1.62;
  font-size:.9rem;
}
.xapi-usecases-section{
  background:#0a0a0a;
}
.xapi-compliance-card{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(280px,.58fr);
  gap:28px;
  align-items:center;
  padding:clamp(28px,4vw,48px)!important;
  border-left:3px solid #94a3b8!important;
}
.xapi-compliance-card h2{
  margin:0 0 14px;
  font-size:clamp(2.2rem,4vw,4.4rem)!important;
  line-height:1.04!important;
}
.xapi-compliance-card p:not(.eyebrow){
  color:rgba(245,240,232,.7);
  line-height:1.8;
}
.xapi-compliance-list{
  display:grid;
  gap:10px;
}
.xapi-compliance-list span{
  display:block;
  padding:12px 14px;
  border:1px solid rgba(148,163,184,.25);
  border-radius:16px;
  background:rgba(148,163,184,.08);
  color:rgba(245,240,232,.75);
}
@media(max-width:1200px){
  .xapi-pricing-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:980px){
  .xapi-hero-grid,
  .xapi-module-grid,
  .xapi-use-grid,
  .xapi-compliance-card{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:760px){
  .xapi-endpoint-card summary{
    grid-template-columns:1fr;
    gap:8px;
  }
  .xapi-endpoint-card p{
    padding:0 18px 18px;
  }
}
@media(max-width:640px){
  .xapi-video-hero{
    min-height:760px;
  }
  .xapi-hero-content h1{
    font-size:clamp(2.8rem,13vw,4.2rem)!important;
  }
  .xapi-pricing-grid{
    grid-template-columns:1fr;
  }
  .xapi-price-card{
    min-height:auto;
  }
  .xapi-hero-content .hero-buttons .btn,
  .cta-strip-actions .btn{
    width:100%;
    justify-content:center;
  }
}


/* Homepage exact index.html update from uploaded strategy */
.home-index-updated{
  background:#050505;
  color:#f5f0e8;
}
.home-auth-hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  border-bottom:1px solid rgba(212,175,55,.2);
}
.home-auth-bg{
  position:absolute;
  inset:0;
  z-index:0;
  background:
    linear-gradient(160deg, rgba(5,5,5,.94) 0%, rgba(12,10,9,.88) 46%, rgba(28,25,23,.62) 100%),
    radial-gradient(ellipse 70% 55% at 74% 36%, rgba(212,175,55,.14) 0%, transparent 64%),
    radial-gradient(circle at 84% 18%, rgba(212,175,55,.16), transparent 20%),
    #050505;
}
.home-auth-bg::after{
  content:"";
  position:absolute;
  inset:0;
  opacity:.05;
  background-image:radial-gradient(circle, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size:34px 34px;
}
.home-auth-content{
  position:relative;
  z-index:1;
  padding-top:128px;
  padding-bottom:120px;
}
.home-auth-content h1{
  max-width:940px;
  margin:0 0 22px;
  font-family:var(--cg, 'Cormorant Garamond', Georgia, serif)!important;
  font-size:clamp(3.4rem,7vw,7.8rem)!important;
  font-weight:400!important;
  line-height:.96!important;
  letter-spacing:-.05em;
  color:#fff;
}
.home-auth-content .lead{
  max-width:720px;
  font-size:clamp(1.08rem,1.45vw,1.32rem);
  line-height:1.78;
  color:rgba(245,240,232,.78);
}
.home-trust-pills,
.home-investor-pills{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:30px;
}
.home-trust-pills span,
.home-investor-pills span{
  display:inline-flex;
  align-items:center;
  padding:8px 13px;
  border:1px solid rgba(212,175,55,.3);
  border-radius:999px;
  color:#f4e3b1;
  background:rgba(212,175,55,.08);
  font-size:.78rem;
  letter-spacing:.04em;
}
.home-scroll-indicator{
  position:absolute;
  z-index:2;
  left:50%;
  bottom:28px;
  transform:translateX(-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:5px;
  color:rgba(245,240,232,.45);
  text-decoration:none;
  text-transform:uppercase;
  font-size:.68rem;
  letter-spacing:.18em;
}
.home-scroll-indicator svg{
  width:26px;
  height:26px;
  fill:none;
  stroke:#d4af37;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  animation:gemia-home-bounce 1.8s ease-in-out infinite;
}
@keyframes gemia-home-bounce{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(7px);}
}
.home-trust-bar{
  padding:clamp(38px,5vw,64px) 0;
  background:#090909;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.home-trust-logos{
  display:flex;
  justify-content:center;
  gap:clamp(18px,4vw,54px);
  flex-wrap:wrap;
  margin-bottom:30px;
}
.home-trust-logos span{
  color:rgba(245,240,232,.42);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.home-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.home-metrics div{
  text-align:center;
  padding:24px 18px;
  border-right:1px solid rgba(255,255,255,.08);
}
.home-metrics div:last-child{border-right:0;}
.home-metrics strong{
  display:block;
  font-family:var(--cg, 'Cormorant Garamond', Georgia, serif)!important;
  font-size:clamp(2.5rem,4vw,4.5rem);
  font-weight:400;
  color:#fff;
  line-height:1;
}
.home-metrics span{
  display:block;
  margin-top:8px;
  color:rgba(245,240,232,.48);
  font-size:.78rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.home-ecosystem{
  padding:clamp(64px,8vw,120px) 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(212,175,55,.1), transparent 34%),
    #050505;
}
.home-centred{
  text-align:center;
  margin-inline:auto;
}
.home-centred p:not(.eyebrow){
  margin-inline:auto;
}
.home-product-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:16px;
  margin-top:42px;
}
.home-product-card{
  position:relative;
  min-height:310px;
  display:flex;
  flex-direction:column;
  padding:24px;
  border:1px solid rgba(255,255,255,.1);
  border-top:2px solid rgba(212,175,55,.42);
  border-radius:26px;
  background:linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  text-decoration:none;
  color:#f5f0e8;
  overflow:hidden;
  transition:transform .25s ease, border-color .25s ease, background .25s ease;
}
.home-product-card:hover,
.home-product-card:focus-visible{
  transform:translateY(-6px);
  border-color:rgba(212,175,55,.42);
  background:rgba(255,255,255,.06);
  outline:none;
}
.home-product-index{
  display:flex;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  margin-bottom:20px;
  border:1px solid rgba(212,175,55,.28);
  border-radius:999px;
  color:#d4af37;
  font-family:var(--cg, 'Cormorant Garamond', Georgia, serif)!important;
  font-size:1.45rem;
}
.home-product-card h3{
  margin:0 0 12px;
  font-size:clamp(1.55rem,2vw,2.25rem)!important;
  line-height:1.08!important;
}
.home-product-card p{
  flex:1;
  color:rgba(245,240,232,.66);
  line-height:1.68;
  font-size:.94rem;
}
.home-product-card strong{
  margin-top:20px;
  color:#d4af37;
  font-size:.76rem;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.home-provenance-steps{
  padding:clamp(64px,8vw,120px) 0;
  background:#0a0a0a;
}
.home-steps{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  margin:42px 0 0;
  padding:0;
  list-style:none;
}
.home-step{
  display:flex;
  gap:18px;
  padding:28px;
  border:1px solid rgba(212,175,55,.18);
  border-radius:26px;
  background:rgba(255,255,255,.04);
}
.home-step > span{
  flex:0 0 auto;
  width:56px;
  height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(212,175,55,.28);
  border-radius:999px;
  color:#d4af37;
  font-family:var(--cg, 'Cormorant Garamond', Georgia, serif)!important;
  font-size:1.5rem;
}
.home-step h3{
  margin:0 0 8px;
  font-size:clamp(1.45rem,2vw,2.1rem)!important;
}
.home-step p{
  margin:0;
  color:rgba(245,240,232,.66);
  line-height:1.7;
}
.home-investor-strip{
  position:relative;
  padding:clamp(64px,8vw,112px) 0;
  text-align:center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(212,175,55,.1) 0%, transparent 70%),
    #050505;
  border-top:1px solid rgba(212,175,55,.24);
  border-bottom:1px solid rgba(212,175,55,.24);
}
.home-investor-strip h2{
  max-width:860px;
  margin:0 auto 18px;
  font-size:clamp(2.6rem,5vw,5.8rem)!important;
  line-height:1.02!important;
}
.home-investor-strip p:not(.eyebrow){
  max-width:760px;
  margin:0 auto;
  color:rgba(245,240,232,.7);
  line-height:1.82;
}
.home-investor-pills,
.home-investor-strip .hero-buttons{
  justify-content:center;
}
@media(max-width:1200px){
  .home-product-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media(max-width:900px){
  .home-product-grid,
  .home-steps,
  .home-metrics{
    grid-template-columns:1fr;
  }
  .home-metrics div{
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.08);
  }
  .home-metrics div:last-child{border-bottom:0;}
}
@media(max-width:640px){
  .home-auth-content h1{
    font-size:clamp(2.8rem,13vw,4.3rem)!important;
  }
  .home-auth-content{
    padding-top:110px;
  }
  .home-auth-content .hero-buttons .btn,
  .home-investor-strip .hero-buttons .btn{
    width:100%;
    justify-content:center;
  }
  .home-product-card{
    min-height:auto;
  }
  .home-step{
    flex-direction:column;
  }
}


/* Product pillar icon upgrade */

.home-product-card-i, .pl-panel-1 { --pillar-accent:#2563eb; }
.home-product-card-ii, .pl-panel-2 { --pillar-accent:#f59e0b; }
.home-product-card-iii, .pl-panel-3 { --pillar-accent:#10b981; }
.home-product-card-iv, .pl-panel-4 { --pillar-accent:#ef4444; }
.home-product-card-v, .pl-panel-5 { --pillar-accent:#94a3b8; }

.home-product-card,
.pl-panel{
  position:relative;
  overflow:hidden;
}
.home-product-card::before,
.pl-panel::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:3px;
  background:linear-gradient(90deg, var(--pillar-accent, #d4af37) 0%, rgba(255,255,255,0) 100%);
  opacity:.95;
}
.home-product-icon,
.pl-icon-badge{
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--pillar-accent, #d4af37);
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05), 0 18px 30px rgba(0,0,0,.18);
}
.home-product-index{
  width:52px;
  height:52px;
  margin-bottom:20px;
  border-radius:16px;
  font-size:inherit;
}
.pl-number{
  width:56px;
  height:56px;
  gap:0;
  margin-bottom:18px;
  border-radius:16px;
  font-size:inherit;
}
.home-product-icon svg,
.pl-icon-badge svg{
  width:24px;
  height:24px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.pl-icon-badge svg{ width:26px; height:26px; }
.pl-number span{ display:none; }
.home-product-card strong{ color:var(--pillar-accent, #d4af37); }
.pl-panel .pl-cta{ color:var(--pillar-accent, #d4af37); }
.home-product-card:hover .home-product-index,
.home-product-card:focus-visible .home-product-index,
.pl-panel:hover .pl-number,
.pl-panel:focus-visible .pl-number,
.pl-panel:focus-within .pl-number{
  border-color:color-mix(in srgb, var(--pillar-accent, #d4af37) 60%, white 20%);
  transform:translateY(-1px);
}
@supports not (color: color-mix(in srgb, white 50%, black 50%)) {
  .home-product-card:hover .home-product-index,
  .home-product-card:focus-visible .home-product-index,
  .pl-panel:hover .pl-number,
  .pl-panel:focus-visible .pl-number,
  .pl-panel:focus-within .pl-number{
    border-color:rgba(212,175,55,.45);
  }
}


/* Core Luxury Jewellery collection icon upgrade */
.core-collection-card{
  position:relative;
  overflow:hidden;
}
.core-collection-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:3px;
  background:linear-gradient(90deg, var(--core-card-accent, #d4af37), rgba(255,255,255,0));
  opacity:.92;
  z-index:2;
}
.core-collection-media{
  min-height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--core-card-accent, #d4af37) 24%, transparent), transparent 44%),
    linear-gradient(135deg, rgba(255,255,255,.045), rgba(0,0,0,.18));
  border-bottom:1px solid rgba(212,175,55,.12);
}
.core-collection-icon{
  width:72px;
  height:72px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  color:var(--core-card-accent, #d4af37);
  background:rgba(0,0,0,.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 18px 42px rgba(0,0,0,.22);
}
.core-collection-icon svg{
  width:38px;
  height:38px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.core-icon-heritage{--core-card-accent:#b88a2e;}
.core-icon-modern{--core-card-accent:#7d8cff;}
.core-icon-ethical{--core-card-accent:#7bd87b;}
.core-icon-bridal{--core-card-accent:#d78ad7;}
.core-icon-diamond{--core-card-accent:#71c7ff;}
.core-icon-rare{--core-card-accent:#c678dd;}
.core-icon-gold{--core-card-accent:#d4af37;}
.core-icon-vip{--core-card-accent:#e0b84f;}

.core-collection-card:hover .core-collection-icon,
.core-collection-card:focus-within .core-collection-icon{
  border-color:color-mix(in srgb, var(--core-card-accent, #d4af37) 58%, white 12%);
  transform:translateY(-2px);
}
.core-collection-card,
.core-collection-icon{
  transition:transform .22s ease, border-color .22s ease, background .22s ease;
}
@supports not (color: color-mix(in srgb, white 50%, black 50%)){
  .core-collection-media{
    background:linear-gradient(135deg, rgba(255,255,255,.045), rgba(0,0,0,.18));
  }
  .core-collection-card:hover .core-collection-icon,
  .core-collection-card:focus-within .core-collection-icon{
    border-color:rgba(212,175,55,.45);
  }
}
@media(max-width:640px){
  .core-collection-icon{
    width:64px;
    height:64px;
    border-radius:20px;
  }
  .core-collection-icon svg{
    width:34px;
    height:34px;
  }
}


/* Product lines page: move five-panel architecture to top and remove duplicate cards */
.product-architecture-showcase-top{
  padding-top:clamp(72px,8vw,120px);
  margin-top:0;
}
.product-architecture-showcase-top .pl-architecture-header h1{
  margin:0 auto 14px;
  max-width:820px;
  font-family:var(--cg, 'Cormorant Garamond', Georgia, serif)!important;
  font-size:clamp(2.8rem,5.6vw,6rem)!important;
  font-weight:400!important;
  line-height:.98!important;
  letter-spacing:-.04em;
  color:#f5f0e8;
}
.product-architecture-showcase-top + .seo-content-section{
  padding-top:clamp(46px,6vw,82px);
  border-top:1px solid rgba(161,98,7,.18);
}
@media(max-width:560px){
  .product-architecture-showcase-top{
    padding-top:76px;
  }
}
