/* Preview-only visual system. This file is not linked by the public website. */
:root{
  --aoe-ink:#30271f;
  --aoe-green:#153d31;
  --aoe-burgundy:#552735;
  --aoe-gold:#b98a31;
  --aoe-gold-soft:#dbc17e;
  --aoe-paper:#f7f0e3;
  --aoe-panel:#fffaf0;
}

/* Sprite artwork is clipped by its SVG viewBox. Keep the source sprite from
   contributing its off-viewBox dimensions to mobile page overflow. */
.illum-art,.illum-art svg{overflow:hidden}

@media (min-width:1121px){
  .site-header{
    grid-template-columns:clamp(178px,9.8vw,214px) minmax(390px,32%) minmax(0,1fr) minmax(110px,8%)!important;
  }
}

.illuminated-destination .site-shell{
  background:
    radial-gradient(circle at 14% 8%,rgba(185,138,49,.11),transparent 24rem),
    linear-gradient(90deg,rgba(21,61,49,.035) 1px,transparent 1px),
    linear-gradient(rgba(21,61,49,.025) 1px,transparent 1px),
    var(--aoe-paper)!important;
  background-size:auto,48px 48px,48px 48px,auto!important;
}

.topic-main,.shop-main,.about-main{
  max-width:1780px!important;
  padding:34px clamp(34px,4vw,74px) 64px!important;
}

.topic-back,.back-link{
  margin:4px 0 24px!important;
  color:#5d4930!important;
  font-weight:600;
}

.topic-intro,.shop-intro,.about-introduction{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  gap:clamp(30px,4vw,70px)!important;
  margin:18px 0 28px!important;
  padding:clamp(34px,4vw,64px)!important;
  border:1px solid #b99855!important;
  background:
    linear-gradient(100deg,rgba(255,252,244,.98) 0 58%,rgba(232,216,179,.88) 100%),
    var(--aoe-panel)!important;
  box-shadow:0 18px 45px rgba(55,35,20,.12),inset 0 0 0 7px rgba(255,255,255,.58)!important;
}

.topic-intro:before,.shop-intro:before,.about-introduction:before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:12px;
  border:1px solid rgba(89,55,27,.2);
  pointer-events:none;
}

.topic-intro:after,.shop-intro:after,.about-introduction:after{
  content:"";
  position:absolute;
  z-index:-2;
  right:-72px;
  top:-88px;
  width:360px;
  aspect-ratio:1;
  border-radius:50%;
  background:repeating-conic-gradient(from 20deg,rgba(21,61,49,.11) 0 7deg,rgba(185,138,49,.14) 7deg 14deg);
  box-shadow:0 0 0 24px rgba(255,255,255,.32),0 0 0 25px rgba(89,55,27,.14);
}

.topic-intro{grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr)!important;align-items:center!important}
.shop-intro{grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr)!important;align-items:center!important;padding-bottom:clamp(34px,4vw,64px)!important}
.topic-intro h1,.shop-intro h1,.about-introduction h1{color:var(--aoe-green)!important;margin-top:10px!important}
.topic-kicker,.shop-eyebrow,.about-eyebrow{color:#7b4b27!important;letter-spacing:.19em!important}
.topic-intro [data-introduction],.shop-intro p,.about-lead{max-width:760px!important}

.topic-intro .illum-framed-heading,.shop-intro .illum-framed-heading,.about-introduction .illum-framed-heading{
  box-sizing:border-box;
  display:block!important;
  width:100%!important;
  max-width:900px!important;
  min-width:0!important;
  min-height:0;
  padding:0!important;
  background:none!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
}
.illum-heading-frame{display:none!important}
.illum-frame-corner{width:calc(54px * var(--illum-size,1))!important;height:calc(54px * var(--illum-size,1))!important}

.illum-hero-slot{
  min-height:330px;
  padding:28px;
  border:1px solid rgba(202,166,86,.9)!important;
  background:
    radial-gradient(circle at 48% 42%,rgba(255,255,255,.72),transparent 47%),
    linear-gradient(140deg,#f7ecd2,#ddc58e)!important;
  box-shadow:inset 0 0 0 8px rgba(21,61,49,.9),inset 0 0 0 9px #d0ae62,0 12px 24px rgba(22,31,25,.14)!important;
}
.illum-hero{mix-blend-mode:normal!important;filter:saturate(1.28) contrast(1.04) drop-shadow(0 12px 11px rgba(0,0,0,.16))}

.topic-sections,.shop-section{
  position:relative;
  border-top:0!important;
  margin-top:24px!important;
}
.topic-section{
  grid-template-columns:96px minmax(0,1fr)!important;
  gap:28px!important;
  margin:0!important;
  padding:28px 34px!important;
  border:1px solid #d1bd96!important;
  border-left:5px solid var(--accent,#765031)!important;
  background:rgba(255,252,245,.92)!important;
  box-shadow:0 8px 18px rgba(70,49,26,.055)!important;
}
.section-number{
  display:grid;
  place-items:center;
  width:70px;
  height:70px;
  padding:0!important;
  border-radius:50%;
  color:#fff3ce!important;
  background:var(--deep,#3b2d20)!important;
  border:1px solid var(--aoe-gold-soft);
  font-size:28px!important;
}
.topic-section h2{margin-top:2px!important;color:var(--deep,#3b2d20)}
.section-text{max-width:1180px!important}
.topic-sections>.illum-divider{
  position:relative;
  z-index:2;
  width:220px!important;
  max-width:220px!important;
  margin:-9px auto!important;
  filter:saturate(1.5) drop-shadow(0 3px 3px rgba(73,50,20,.1));
}
.topic-sections>.illum-divider:before,.topic-sections>.illum-divider:after{
  content:"";
  position:absolute;
  top:50%;
  width:min(42vw,550px);
  border-top:1px solid #caae72;
}
.topic-sections>.illum-divider:before{right:88%}
.topic-sections>.illum-divider:after{left:88%}

.topic-contact,.payment-panel,.enquiry-section{
  border:1px solid #b99855!important;
  box-shadow:0 12px 25px rgba(56,37,22,.08)!important;
}
.topic-contact{
  background:linear-gradient(120deg,rgba(21,61,49,.98),rgba(27,75,60,.94))!important;
  color:#fff5dc!important;
  padding:32px 38px!important;
}
.topic-contact .topic-kicker,.topic-contact a{color:#f0d494!important}

.individual-shop .shop-intro>.illum-hero-slot{min-height:330px}
.foundation-destination-art img{display:block;width:min(100%,390px);height:auto;margin:auto}
.individual-shop .shop-section{
  padding:32px!important;
  border:1px solid #d1bd96!important;
  background:rgba(255,252,245,.9)!important;
  box-shadow:0 10px 22px rgba(70,49,26,.055)!important;
}
.category-group,.shop-product{box-shadow:inset 0 4px var(--shop-accent),0 8px 16px rgba(50,35,20,.06)!important}
.payment-panel{margin-block:28px!important}

@media(max-width:1120px){
  .topic-main,.shop-main,.about-main{padding:28px!important}
  .topic-intro,.shop-intro,.about-introduction{padding:34px!important}
  .topic-intro,.shop-intro{grid-template-columns:1fr!important}
  .topic-intro .illum-framed-heading,.shop-intro .illum-framed-heading,.about-introduction .illum-framed-heading{font-size:clamp(2.5rem,7vw,4rem)!important}
  .illum-hero-slot{min-height:280px}
}
@media(max-width:700px){
  .topic-main,.shop-main,.about-main{padding:18px!important}
  .topic-intro,.shop-intro,.about-introduction{display:grid!important;grid-template-columns:1fr!important;padding:24px!important}
  .illum-hero-slot{min-height:240px;padding:18px}
  .topic-section{grid-template-columns:54px 1fr!important;padding:22px 18px!important;gap:14px!important}
  .section-number{width:48px;height:48px;font-size:20px!important}
  .topic-sections>.illum-divider{width:150px!important;max-width:150px!important}
  .topic-intro .illum-framed-heading,.shop-intro .illum-framed-heading,.about-introduction .illum-framed-heading{font-size:clamp(2.25rem,10vw,3rem)!important;line-height:1.05!important}
  .illum-frame-corner{width:42px!important;height:42px!important}
}

/* Community receives the same visual language without altering its account logic. */
.community-page{
  background:
    radial-gradient(circle at 12% 4%,rgba(185,138,49,.14),transparent 24rem),
    linear-gradient(90deg,rgba(21,61,49,.03) 1px,transparent 1px),
    linear-gradient(rgba(21,61,49,.025) 1px,transparent 1px),
    var(--aoe-paper)!important;
  background-size:auto,48px 48px,48px 48px,auto!important;
}
.community-page main{max-width:1500px!important;padding:34px clamp(28px,4vw,68px) 64px!important}
.community-page .intro{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:36px;
  align-items:center;
  margin:0 0 24px!important;
  padding:44px!important;
  border:1px solid #b99855!important;
  border-left:7px solid var(--aoe-green)!important;
  background:linear-gradient(110deg,#fffaf0 0 60%,#e8d8b4 100%)!important;
  box-shadow:0 18px 42px rgba(55,35,20,.11)!important;
}
.community-page .intro:after{
  content:"";
  position:absolute;
  right:-65px;
  top:-90px;
  width:300px;
  aspect-ratio:1;
  border-radius:50%;
  background:repeating-conic-gradient(rgba(21,61,49,.12) 0 8deg,rgba(185,138,49,.17) 8deg 16deg);
  opacity:.75;
}
.community-page .community-pillars{position:relative;z-index:1;display:grid!important;gap:10px}
.community-page .community-pillars span{
  display:block;
  padding:13px 18px;
  border:1px solid rgba(90,58,25,.23);
  background:rgba(255,252,245,.82);
  color:var(--aoe-green);
  font-weight:700;
}
.community-page .tabs{padding:12px!important;border:1px solid #cbb584!important;background:rgba(255,251,240,.9)!important}
.community-page .panel,.community-page .card,.community-page .post{box-shadow:0 8px 18px rgba(60,42,25,.06);border-color:#cfbb91!important}
@media(max-width:700px){.community-page .intro{grid-template-columns:1fr;padding:26px!important}.community-page main{padding:18px!important}}

/* Account screens use the same paper, panel and colour system. */
body:has(.account-header){
  background:
    radial-gradient(circle at 12% 4%,rgba(185,138,49,.14),transparent 24rem),
    linear-gradient(90deg,rgba(21,61,49,.03) 1px,transparent 1px),
    linear-gradient(rgba(21,61,49,.025) 1px,transparent 1px),
    var(--aoe-paper)!important;
  background-size:auto,48px 48px,48px 48px,auto!important;
}
.account-intro{max-width:1500px!important;padding:42px!important;border:1px solid #b99855!important;border-left:7px solid var(--aoe-green)!important;background:linear-gradient(110deg,#fffaf0 0 65%,#e8d8b4 100%)!important;box-shadow:0 18px 42px rgba(55,35,20,.11)!important}
.dashboard-grid .panel,#register-panel,#login-panel{border-color:#cfbb91!important;box-shadow:0 10px 24px rgba(60,42,25,.07)!important}

/* Services and Education follow the About page's open editorial rhythm. */
body:is(
  [data-topic="attribution"],
  [data-topic="xrf-testing"],
  [data-topic="consultation"],
  [data-topic="data-solutions"],
  [data-topic="grading-conservation"],
  [data-topic="sales"],
  [data-topic="archaeology"],
  [data-topic="podcasts"],
  [data-topic="publishing"],
  [data-topic="numismatics-foundation"]
) .topic-sections{
  counter-reset:aoe-about-section;
  margin-top:28px!important;
}
body:is(
  [data-topic="attribution"],
  [data-topic="xrf-testing"],
  [data-topic="consultation"],
  [data-topic="data-solutions"],
  [data-topic="grading-conservation"],
  [data-topic="sales"],
  [data-topic="archaeology"],
  [data-topic="podcasts"],
  [data-topic="publishing"],
  [data-topic="numismatics-foundation"]
) .topic-section{
  counter-increment:aoe-about-section;
  display:block!important;
  margin:0!important;
  padding:36px 0!important;
  border:0!important;
  border-top:1px solid #d1c2a7!important;
  background:transparent!important;
  box-shadow:none!important;
}
body:is(
  [data-topic="attribution"],
  [data-topic="xrf-testing"],
  [data-topic="consultation"],
  [data-topic="data-solutions"],
  [data-topic="grading-conservation"],
  [data-topic="sales"],
  [data-topic="archaeology"],
  [data-topic="podcasts"],
  [data-topic="publishing"],
  [data-topic="numismatics-foundation"]
) .section-number{
  display:none!important;
}
body:is(
  [data-topic="attribution"],
  [data-topic="xrf-testing"],
  [data-topic="consultation"],
  [data-topic="data-solutions"],
  [data-topic="grading-conservation"],
  [data-topic="sales"],
  [data-topic="archaeology"],
  [data-topic="podcasts"],
  [data-topic="publishing"],
  [data-topic="numismatics-foundation"]
) .topic-section h2:before{
  content:counter(aoe-about-section,upper-roman) " · ";
  display:block;
  margin:0 0 9px;
  color:#785b29;
  font:700 12px/1.5 Georgia,"Times New Roman",serif;
  letter-spacing:.18em;
  text-transform:uppercase;
}
body:is(
  [data-topic="attribution"],
  [data-topic="xrf-testing"],
  [data-topic="consultation"],
  [data-topic="data-solutions"],
  [data-topic="grading-conservation"],
  [data-topic="sales"],
  [data-topic="archaeology"],
  [data-topic="podcasts"],
  [data-topic="publishing"],
  [data-topic="numismatics-foundation"]
) .topic-sections>.illum-divider{
  width:190px!important;
  max-width:55%!important;
  margin:12px auto!important;
  filter:saturate(1.22) drop-shadow(0 2px 2px rgba(73,50,20,.08));
}
body:is(
  [data-topic="attribution"],
  [data-topic="xrf-testing"],
  [data-topic="consultation"],
  [data-topic="data-solutions"],
  [data-topic="grading-conservation"],
  [data-topic="sales"],
  [data-topic="archaeology"],
  [data-topic="podcasts"],
  [data-topic="publishing"],
  [data-topic="numismatics-foundation"]
) .topic-sections>.illum-divider:before,
body:is(
  [data-topic="attribution"],
  [data-topic="xrf-testing"],
  [data-topic="consultation"],
  [data-topic="data-solutions"],
  [data-topic="grading-conservation"],
  [data-topic="sales"],
  [data-topic="archaeology"],
  [data-topic="podcasts"],
  [data-topic="publishing"],
  [data-topic="numismatics-foundation"]
) .topic-sections>.illum-divider:after{
  display:none!important;
  content:none!important;
}

@media(max-width:700px){
  body:is(
    [data-topic="attribution"],
    [data-topic="xrf-testing"],
    [data-topic="consultation"],
    [data-topic="data-solutions"],
    [data-topic="grading-conservation"],
    [data-topic="sales"],
    [data-topic="archaeology"],
    [data-topic="podcasts"],
    [data-topic="publishing"],
    [data-topic="numismatics-foundation"]
  ) .topic-section{padding:28px 0!important}
}

/* Owner-approved 2026-09-17 visual consolidation.  This block is deliberately
   limited to the approved header, Homepage cards, Services/Education pages,
   About page, and two individual shop pages. */
:root{
  --aoe-approved-divider:url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTYwMCAxMDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHJvbGU9InByZXNlbnRhdGlvbiIgYXJpYS1oaWRkZW49InRydWUiPgogIDxkZWZzPgogICAgPGxpbmVhckdyYWRpZW50IGlkPSJwcmV2aWV3LWRpdmlkZXItZ29sZCIgeDE9IjAiIHgyPSIxIj4KICAgICAgPHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjYTc3OTFkIi8+CiAgICAgIDxzdG9wIG9mZnNldD0iLjUiIHN0b3AtY29sb3I9IiNlMGJkNTgiLz4KICAgICAgPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjOWE2ZDE2Ii8+CiAgICA8L2xpbmVhckdyYWRpZW50PgogIDwvZGVmcz4KICA8ZyBzdHJva2U9IiNjYWFlNzIiIHN0cm9rZS13aWR0aD0iMS42IiBmaWxsPSJub25lIj4KICAgIDxwYXRoIGQ9Ik00MCA1MEg2NTAiLz48cGF0aCBkPSJNOTUwIDUwSDE1NjAiLz4KICA8L2c+CiAgPHN2ZyB4PSI2NDAiIHk9IjAiIHdpZHRoPSIzMjAiIGhlaWdodD0iMTAwIiB2aWV3Qm94PSItMTc1IC03NSAzNTAgMTUwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCBtZWV0IiBvdmVyZmxvdz0idmlzaWJsZSI+CiAgICA8ZyBzdHJva2U9IiM5YTc0MjciIHN0cm9rZS13aWR0aD0iNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj4KICAgICAgPHBhdGggZD0iTS0xNjQgMEMtMTIwLTQtOTAtMjItNTItNTQiLz48cGF0aCBkPSJNMTY0IDBDMTIwLTQgOTAtMjIgNTItNTQiLz4KICAgICAgPHBhdGggZD0iTS0xNjQgMEMtMTIwIDQtOTAgMjItNTIgNTQiLz48cGF0aCBkPSJNMTY0IDBDMTIwIDQgOTAgMjIgNTIgNTQiLz4KICAgIDwvZz4KICAgIDxnIGZpbGw9IiM2NjcxM2EiIHN0cm9rZT0iIzQ4NTQyYSIgc3Ryb2tlLXdpZHRoPSIyIj4KICAgICAgPGVsbGlwc2UgY3g9Ii0xMzMiIGN5PSItMjIiIHJ4PSIyNSIgcnk9IjEwIiB0cmFuc2Zvcm09InJvdGF0ZSgyOCAtMTMzIC0yMikiLz4KICAgICAgPGVsbGlwc2UgY3g9Ii05NiIgY3k9Ii00MiIgcng9IjI1IiByeT0iMTAiIHRyYW5zZm9ybT0icm90YXRlKDQzIC05NiAtNDIpIi8+CiAgICAgIDxlbGxpcHNlIGN4PSItMTMyIiBjeT0iMjMiIHJ4PSIyNSIgcnk9IjEwIiB0cmFuc2Zvcm09InJvdGF0ZSgtMjggLTEzMiAyMykiLz4KICAgICAgPGVsbGlwc2UgY3g9Ii05NiIgY3k9IjQzIiByeD0iMjUiIHJ5PSIxMCIgdHJhbnNmb3JtPSJyb3RhdGUoLTQzIC05NiA0MykiLz4KICAgICAgPGVsbGlwc2UgY3g9IjEzMyIgY3k9Ii0yMiIgcng9IjI1IiByeT0iMTAiIHRyYW5zZm9ybT0icm90YXRlKC0yOCAxMzMgLTIyKSIvPgogICAgICA8ZWxsaXBzZSBjeD0iOTYiIGN5PSItNDIiIHJ4PSIyNSIgcnk9IjEwIiB0cmFuc2Zvcm09InJvdGF0ZSgtNDMgOTYgLTQyKSIvPgogICAgICA8ZWxsaXBzZSBjeD0iMTMyIiBjeT0iMjMiIHJ4PSIyNSIgcnk9IjEwIiB0cmFuc2Zvcm09InJvdGF0ZSgyOCAxMzIgMjMpIi8+CiAgICAgIDxlbGxpcHNlIGN4PSI5NiIgY3k9IjQzIiByeD0iMjUiIHJ5PSIxMCIgdHJhbnNmb3JtPSJyb3RhdGUoNDMgOTYgNDMpIi8+CiAgICA8L2c+CiAgICA8ZyBmaWxsPSJ1cmwoI3ByZXZpZXctZGl2aWRlci1nb2xkKSIgc3Ryb2tlPSIjOGE2NDE5IiBzdHJva2Utd2lkdGg9IjIiPgogICAgICA8Y2lyY2xlIGN4PSItMTU1IiBjeT0iMCIgcj0iNyIvPjxjaXJjbGUgY3g9IjE1NSIgY3k9IjAiIHI9IjciLz4KICAgICAgPGNpcmNsZSBjeD0iLTc3IiBjeT0iLTE4IiByPSIxMCIvPjxjaXJjbGUgY3g9Ii03NyIgY3k9IjE4IiByPSIxMCIvPgogICAgICA8Y2lyY2xlIGN4PSI3NyIgY3k9Ii0xOCIgcj0iMTAiLz48Y2lyY2xlIGN4PSI3NyIgY3k9IjE4IiByPSIxMCIvPgogICAgICA8cGF0aCBkPSJNMC02N0w1MSAwIDAgNjctNTEgMFoiLz4KICAgICAgPHBhdGggZD0iTTAtMzlMMjkgMCAwIDM5LTI5IDBaIiBmaWxsPSIjZjFjZjcwIi8+CiAgICA8L2c+CiAgICA8Y2lyY2xlIHI9IjkiIGZpbGw9IiMxNzRkM2QiIHN0cm9rZT0iI2Q3YWU0NSIgc3Ryb2tlLXdpZHRoPSI0Ii8+CiAgPC9zdmc+Cjwvc3ZnPg==") center/100% 100% no-repeat;
}

@media(min-width:1121px){
  .site-header .primary-navigation{transform:translateX(-24px)!important}
}

.service-card{
  grid-template-columns:50% 50%!important;
  background:var(--aoe-approved-card,#24483d)!important;
  border-color:rgba(184,153,91,.68)!important;
}
.attribution-service{--aoe-approved-card:#24483d}
.xrf-service{--aoe-approved-card:#17354c}
.consultation-service{--aoe-approved-card:#4a3326}
.data-service{--aoe-approved-card:#253953}
.grading-service{--aoe-approved-card:#2b4338}
.sales-service{--aoe-approved-card:#4b2d39}
.service-card .info-card__copy{
  box-sizing:border-box;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  width:100%!important;
  height:100%!important;
  padding:12px 38px 12px 22px!important;
  color:#f0d491!important;
  background:transparent!important;
}
.service-card .info-card__copy strong,
.service-card .info-card__copy small,
.service-card .info-card__arrow{color:#f0d491!important}
.service-card .info-card__copy small{opacity:.88}

@media(min-width:1121px) and (max-width:1672px){
  #education .topic-member-community{grid-template-columns:144px minmax(0,1fr)!important}
}
@media(min-width:721px) and (max-width:1120px){
  #education .topic-member-community{grid-template-columns:168px minmax(0,1fr)!important}
}
@media(min-width:1673px){
  #education .topic-member-community{grid-template-columns:clamp(144px,8.61vw,207px) minmax(0,1fr)!important}
}

body[data-topic].illuminated-destination .topic-main{padding-top:26px!important;padding-bottom:44px!important}
body[data-topic].illuminated-destination .topic-intro{
  gap:clamp(24px,3vw,46px)!important;
  margin:12px 0 18px!important;
  padding:clamp(34px,3vw,48px)!important;
}
body[data-topic].illuminated-destination .topic-sections{margin-top:8px!important}
body[data-topic].illuminated-destination .topic-section{padding:14px 0!important;border-top:0!important}
body[data-topic].illuminated-destination .topic-section h2{margin-bottom:10px!important}
body[data-topic].illuminated-destination .section-text p{margin-bottom:10px!important}
body[data-topic].illuminated-destination .topic-contact{margin-top:26px!important}

body[data-topic].illuminated-destination .topic-sections>.illum-divider,
html body.about-page .about-main>.illum-divider,
html body.individual-shop .shop-main>.illum-divider{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  max-width:none!important;
  height:100px!important;
  margin:-2px auto!important;
  overflow:visible!important;
  filter:none!important;
  background:var(--aoe-approved-divider)!important;
}
body[data-topic].illuminated-destination .topic-sections>.illum-divider>* ,
html body.about-page .about-main>.illum-divider>* ,
html body.individual-shop .shop-main>.illum-divider>*{display:none!important}
body[data-topic].illuminated-destination .topic-sections>.illum-divider::before,
body[data-topic].illuminated-destination .topic-sections>.illum-divider::after,
html body.about-page .about-main>.illum-divider::before,
html body.about-page .about-main>.illum-divider::after,
html body.individual-shop .shop-main>.illum-divider::before,
html body.individual-shop .shop-main>.illum-divider::after{content:none!important;display:none!important}

html body.about-page .about-main>.illum-divider+.about-story{
  border-top:0!important;
  margin-top:0!important;
  padding-top:14px!important;
  padding-bottom:14px!important;
}
html body.about-page .about-main>.illum-divider+.copyright-section{
  border-top:0!important;
  margin-top:0!important;
  padding-top:14px!important;
}
html body.individual-shop .shop-main>.illum-divider+.shop-section{
  border-top:0!important;
  margin-top:0!important;
  padding-top:14px!important;
}
html body.about-page .about-main>#copyright{
  border-top:0!important;
  margin-top:0!important;
  padding-top:14px!important;
}
html body.about-page #copyright::before{
  content:"";
  display:block;
  box-sizing:border-box;
  width:100%;
  height:100px;
  margin:-2px auto!important;
  background:var(--aoe-approved-divider)!important;
}

body.theme-grading-conservation .pna-section[data-section="1"]>div{
  grid-template-rows:auto auto!important;
  align-content:start!important;
}
body.theme-grading-conservation .pna-section[data-section="1"]>div>h2{
  grid-column:1/-1!important;
  grid-row:1!important;
}
body.theme-grading-conservation .pna-section[data-section="1"]>div>.section-text{
  grid-column:1!important;
  grid-row:2!important;
}
body.theme-grading-conservation .pna-section[data-section="1"] .pna-founder{
  grid-column:2!important;
  grid-row:2!important;
  margin-top:0!important;
}

@media(max-width:700px){
  body[data-topic].illuminated-destination .topic-intro{padding:20px!important}
  body[data-topic].illuminated-destination .topic-section{padding:12px 0!important}
  body[data-topic].illuminated-destination .topic-sections>.illum-divider,
  html body.about-page .about-main>.illum-divider,
  html body.individual-shop .shop-main>.illum-divider,
  html body.about-page #copyright::before{height:72px!important}
}

:root{--aoe-approved-divider:url("/assets/aoe-approved-divider-choice2.svg") center/100% 100% no-repeat}

/* Homepage Services cards: keep the approved desktop composition at 1800px,
   and let artwork/copy tracks share narrower cards instead of clipping copy. */
@media(max-width:1500px){
  #services .service-card{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  }
  #services .service-card .info-card__visual{
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  #services .service-card .info-card__copy{
    min-width:0!important;
  }
}

@media(max-width:340px){
  #services .service-card .info-card__copy{
    padding:10px 20px 10px 8px!important;
  }
  #services .service-card .info-card__copy strong{
    font-size:1.1rem!important;
    line-height:1.08!important;
  }
  #services .service-card .info-card__copy small{
    font-size:.58rem!important;
    line-height:1.35!important;
  }
}

/* Homepage phone repair: clear the logo before navigation and keep hero copy
   in its own row above the intact layered landscape-and-coins artwork. */
@media(max-width:620px){
  body.home-page .site-header{
    grid-template-rows:100px auto!important;
    min-height:0!important;
  }
  body.home-page .primary-navigation{
    grid-row:2!important;
    align-self:stretch!important;
  }
  body.home-page .hero{
    display:flex!important;
    flex-direction:column!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:auto!important;
    overflow:hidden!important;
  }
  body.home-page .hero__copy{
    position:relative!important;
    order:0!important;
    inset:auto!important;
    width:100%!important;
    flex:none!important;
    padding:16px 12px 14px!important;
  }
  body.home-page .hero__art--layered{
    position:relative!important;
    order:1!important;
    inset:auto!important;
    width:100%!important;
    height:auto!important;
    flex:none!important;
    aspect-ratio:3/1!important;
    overflow:hidden!important;
  }

  /* Keep the existing Metrōön artwork centred within its unchanged card. */
  body.home-page #services .data-service .data-symbol{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    background-position:center!important;
  }
  body.home-page #services .data-service .data-button-logo{
    flex:none!important;
    margin:0 auto!important;
  }
}

/* Phone-only internal-page repair: retain every approved asset and all copy,
   while removing the obsolete outer hero card and forcing one readable flow. */
@media(max-width:700px){
  body.illuminated-destination:is([data-topic="attribution"],[data-topic="xrf-testing"],[data-topic="consultation"],[data-topic="data-solutions"],[data-topic="grading-conservation"],[data-topic="sales"],[data-topic="archaeology"],[data-topic="podcasts"],[data-topic="publishing"],[data-topic="numismatics-foundation"]) .topic-intro,
  html body.about-page .about-introduction,
  html body.individual-shop:is([data-shop="relic-emporium"],[data-shop="aoe-bazaar"]) .shop-intro{
    display:block!important;
    grid-template-columns:none!important;
    margin:14px 0 26px!important;
    padding:0!important;
    border:0!important;
    overflow:visible!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  body.illuminated-destination:is([data-topic="attribution"],[data-topic="xrf-testing"],[data-topic="consultation"],[data-topic="data-solutions"],[data-topic="grading-conservation"],[data-topic="sales"],[data-topic="archaeology"],[data-topic="podcasts"],[data-topic="publishing"],[data-topic="numismatics-foundation"]) .topic-intro::before,
  body.illuminated-destination:is([data-topic="attribution"],[data-topic="xrf-testing"],[data-topic="consultation"],[data-topic="data-solutions"],[data-topic="grading-conservation"],[data-topic="sales"],[data-topic="archaeology"],[data-topic="podcasts"],[data-topic="publishing"],[data-topic="numismatics-foundation"]) .topic-intro::after,
  html body.about-page .about-introduction::before,
  html body.about-page .about-introduction::after,
  html body.individual-shop:is([data-shop="relic-emporium"],[data-shop="aoe-bazaar"]) .shop-intro::before,
  html body.individual-shop:is([data-shop="relic-emporium"],[data-shop="aoe-bazaar"]) .shop-intro::after{
    content:none!important;
    display:none!important;
  }
  body.illuminated-destination:is([data-topic="attribution"],[data-topic="xrf-testing"],[data-topic="consultation"],[data-topic="data-solutions"],[data-topic="grading-conservation"],[data-topic="sales"],[data-topic="archaeology"],[data-topic="podcasts"],[data-topic="publishing"],[data-topic="numismatics-foundation"]) .topic-intro>* ,
  html body.about-page .about-introduction>* ,
  html body.individual-shop:is([data-shop="relic-emporium"],[data-shop="aoe-bazaar"]) .shop-intro>*{
    grid-column:auto!important;
    grid-row:auto!important;
    min-width:0!important;
  }
  body.illuminated-destination:is([data-topic="attribution"],[data-topic="xrf-testing"],[data-topic="consultation"],[data-topic="data-solutions"],[data-topic="grading-conservation"],[data-topic="sales"],[data-topic="archaeology"],[data-topic="podcasts"],[data-topic="publishing"],[data-topic="numismatics-foundation"]) .topic-intro>.illum-hero-slot,
  html body.about-page .about-introduction>.illum-hero-slot,
  html body.individual-shop:is([data-shop="relic-emporium"],[data-shop="aoe-bazaar"]) .shop-intro>.illum-hero-slot{
    box-sizing:border-box!important;
    width:min(100%,430px)!important;
    min-height:0!important;
    margin:24px auto 0!important;
    padding:14px!important;
  }
  body.illuminated-destination:is([data-topic="attribution"],[data-topic="xrf-testing"],[data-topic="consultation"],[data-topic="data-solutions"],[data-topic="grading-conservation"],[data-topic="sales"],[data-topic="archaeology"],[data-topic="podcasts"],[data-topic="publishing"],[data-topic="numismatics-foundation"]) .topic-intro .illum-framed-heading,
  html body.about-page .about-introduction .illum-framed-heading,
  html body.individual-shop:is([data-shop="relic-emporium"],[data-shop="aoe-bazaar"]) .shop-intro .illum-framed-heading{
    display:block!important;
    width:auto!important;
    max-width:100%!important;
  }
}

@media(max-width:480px){
  body.theme-grading-conservation .pna-gallery{
    grid-template-columns:1fr!important;
    gap:18px!important;
  }
  body.theme-grading-conservation .pna-gallery .pna-capsule{
    width:100%!important;
    height:auto!important;
  }
  body.theme-grading-conservation .pna-gallery img{
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    object-fit:contain!important;
  }
  html body.individual-shop:is([data-shop="relic-emporium"],[data-shop="aoe-bazaar"]) .category-groups{
    grid-template-columns:1fr!important;
  }
}

/* Mobile-only sandbox copy preserves the approved divider artwork proportions. */
@media(max-width:700px){:root{--aoe-approved-divider:url("/assets/aoe-approved-divider-proportioned.svg") center/100% 100% no-repeat}}
