:root{--header-height:76px;--ink:#193f33;--paper:#faf8f1;--line:#d9d5c6;--gold:#e2c584;--edge:clamp(20px,6vw,100px)}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 'DM Sans',Arial,sans-serif}h1,h2,h3,.brand,#categories span{font-family:'Baskervville',Georgia,serif;font-weight:400}a{color:inherit;text-decoration:none}button,input,select{font:inherit}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a78434;outline-offset:3px}header,footer,.wrap,.hero{padding-inline:var(--edge)}header{height:var(--header-height);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;background:var(--paper);border-bottom:1px solid var(--line);z-index:2}.brand{font-size:28px;letter-spacing:.08em}.brand span{color:#927333}nav{display:flex;gap:32px}nav a{font-size:14px}nav a:hover,footer a:hover{text-decoration:underline}#menu{display:none}.hero{background:radial-gradient(ellipse at 76% 45%,#285642,#113e31 46%,#0c3028 85%);color:var(--paper);display:grid;grid-template-columns:1.2fr 1fr;align-items:center;min-height:450px;overflow:hidden}.hero-copy{padding-block:48px;z-index:1}h1{font-size:clamp(2.375rem,1.45rem + 3.25vw,5rem);line-height:1.01;letter-spacing:-.048em;margin:0}h1 em{color:var(--gold);font-weight:400}.hero-copy p{color:#e4e7da;margin:22px 0 27px}.cta{background:var(--gold);color:#193d30;padding:12px 19px;display:inline-flex;align-items:center;gap:24px;font-size:14px;font-weight:600}.cta:hover{background:#efdaa8}.hero-media {
  width: min(100%, 380px);
  aspect-ratio: 1;
  justify-self: center;
  margin: 0;
}
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.wrap{padding-block:52px}h2{font-size:clamp(32px,3.35vw,53px);letter-spacing:-.045em;line-height:1.1;margin:0 0 25px}#categories{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}#categories a,.photo{background:radial-gradient(ellipse at 52% 45%,#faf7ef,#eae5d8);position:relative}#categories a{display:flex;align-items:flex-start;flex-direction:column;border:1px solid var(--line);padding:clamp(12px,1.5vw,22px);gap:12px}#categories img{width:100%;aspect-ratio:2 / 1;height:auto;object-fit:contain;filter:drop-shadow(2px 5px 3px #45382435)}#categories span{padding-right:16px;font-size:clamp(18px,1.65vw,26px)}#categories b{position:absolute;right:14px;bottom:18px;font-weight:400}#categories a:hover{border-color:#968452}.collection{border-top:1px solid var(--line)}.controls{display:grid;grid-template-columns:repeat(2,minmax(0,18rem));gap:18px}.controls label{display:grid;gap:6px;font-size:14px}.controls input,.controls select{width:100%;border:1px solid var(--line);min-height:48px;font-size:16px;padding:10px 14px;background:#fffdf7;color:var(--ink);border-radius:0}#status{font-size:13px}#products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}article{border:1px solid var(--line)}.photo{aspect-ratio:3 / 2;display:grid;place-items:center}.photo img{display:block;width:85%;height:85%;min-height:0;object-fit:contain}.details{padding:20px}h3{font-size:clamp(23px,2vw,32px);letter-spacing:-.025em;line-height:1.2;margin:0}.details p{margin:6px 0 20px;color:#526558;font-variant-numeric:tabular-nums}.action>*{padding:7px 13px;border:1px solid #bcbcad;background:transparent;font-size:14px;color:inherit}.action button:disabled{color:#74786c;background:#eeeee5}.about{background:#eae8dc}.about p{max-width:680px;margin:0}footer{padding-block:44px;background:#10392e;color:var(--paper);display:flex;gap:38px;justify-content:space-between}footer div{display:grid;align-content:start;gap:5px;font-size:14px}footer strong{color:var(--gold)}
@media(max-width:850px){#categories{grid-template-columns:repeat(2,1fr)}#products{grid-template-columns:repeat(2,1fr)}footer{display:grid;grid-template-columns:1fr 1fr}.hero-media{max-width:300px}.hero{min-height:380px}}
@media(max-width:620px){:root{--header-height:62px}.brand{font-size:24px}#menu{display:block;color:inherit;background:none;border:1px solid var(--line);padding:5px 10px}nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--paper);padding:16px var(--edge);border-bottom:1px solid var(--line);gap:15px;flex-direction:column}#menu[aria-expanded=true]+nav{display:flex}.hero{grid-template-columns:1fr;text-align:center}.hero-copy{padding:39px 0 0}.hero-media{max-width:210px;margin:12px 0 22px}.wrap{padding-block:35px}#categories,.controls,#products{gap:10px}#categories a{padding:8px 10px 12px}#categories b{right:7px;bottom:13px}.controls label{min-width:0;flex:1}.details{padding:12px}h3{font-size:21px}.details p{font-size:13px}footer{gap:22px}.desktop{display:none}}
@media(max-width:480px){#products,.controls{grid-template-columns:1fr}}
@media(max-width:370px){#categories span{font-size:16px}}

html {
  scroll-padding-top: calc(var(--header-height) + 12px);
}
.action a {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: 10px 16px;
  background: var(--ink);
  border-color: var(--ink);
  color: white;
  font-weight: 600;
}
.action a::after {
  content: "↗";
}
@media (hover: hover) {
  #categories a:hover, #products article:hover {
    box-shadow: 0 5px 18px rgb(25 63 51 / 10%);
  }
  .action a:hover {
    background: #285640;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  #categories a, #products article {
    transition: box-shadow 180ms ease, border-color 180ms ease;
  }
}

.photo span {
  color: #60665e;
  font-size: .875rem;
}
.details .price {
  color: var(--ink);
  font-weight: 600;
}

.product-page { min-height: 60vh; }
.crumbs { font-size: .875rem; color: #526558; margin-bottom: 2rem; overflow-wrap: anywhere; }
.crumbs a:hover, .back:hover, .details h3 a:hover { text-decoration: underline; }
#detail:not([hidden]) { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(24px,5vw,80px); }
#viewer { aspect-ratio: 1; border: 1px solid var(--line); }
#detail h1 { font-size: clamp(2rem,3.4vw,3.5rem); line-height: 1.1; overflow-wrap: anywhere; }
#price { font-size: 1.4rem; font-weight: 600; }
#specifications { display: grid; grid-template-columns: auto 1fr; margin: 1.5rem 0; }
#specifications > * { padding: .45rem 0; border-bottom: 1px solid var(--line); }
#specifications dd { margin: 0; padding-left: 1.5rem; overflow-wrap: anywhere; }
#purchase a { padding: .9rem 1.8rem; }
#thumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
#thumbs button { cursor: pointer; width: 64px; height: 64px; background: var(--paper); border: 1px solid var(--line); }
#thumbs button[aria-pressed=true] { border: 2px solid var(--ink); }
#thumbs img { width: 100%; height: 100%; object-fit: contain; }
.back { display: inline-block; margin-block: 1.5rem; }
#related { margin-top: 2rem; }
@media(max-width:720px) { #detail:not([hidden]) { grid-template-columns: minmax(0,1fr); } }

#catalog-controls {
  grid-template-columns: repeat(3, minmax(0,1fr));
  align-items: end;
}
#catalog-controls button {
  min-height: 48px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
}
.details .action { display: flex; flex-wrap: wrap; gap: 8px; }
.action a.view-details { background: transparent; color: var(--ink); }
.action a.view-details::after { content: none; }
.action a.view-details:hover, #catalog-controls button:hover { background: #eceade; }
@media (max-width:850px) {
  #catalog-controls { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:480px) {
  #catalog-controls { grid-template-columns: 1fr; }
}

.collection-link { margin-top: 1.75rem; text-align: center; }
.catalogue-page h1 { font-size: clamp(2.25rem, 4vw, 4rem); }

footer [hidden] { display: none; }
#nav a[aria-current], footer a[aria-current] {
  text-decoration: underline;
  text-decoration-color: #ad9050;
  text-underline-offset: .35em;
}
.intro-band { background: #10392e; color: var(--paper); }
.intro-band p { max-width: 62ch; margin: 1.25rem 0 0; }
.story-copy { max-width: 68ch; }
.story-copy section { margin-bottom: 2.2rem; }
.story-copy h2, .contact-body h2 { font-size: clamp(1.8rem,3vw,3rem); margin-bottom: .7rem; }
.story-copy p { margin: 0; }
.business-photo { display: grid; place-items: center; aspect-ratio: 4 / 3; background: #eae7da; border: 1px solid var(--line); color: #566456; text-align: center; }
.read-more { display: inline-block; margin-top: 1rem; text-decoration: underline; text-underline-offset: .25em; }
.contact-body { display: grid; gap: 2rem; min-height: 32vh; }
.contact-list, .social-list { display: grid; gap: .75rem; justify-items: start; }
.social-list a, .footer-icons a { display: inline-flex; align-items: center; gap: .75rem; min-height: 44px; }
.social-list a:hover, .contact-list a:hover { text-decoration: underline; }
.footer-icons { display: flex; flex-wrap: wrap; gap: 4px; }
.footer-icons a { justify-content: center; width: 44px; color: var(--gold); }
.social-list svg, .footer-icons svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
#footer-contact, .contact-list { overflow-wrap: anywhere; }
address { white-space: pre-line; font-style: normal; }
@media(max-width:700px) { .story-layout { grid-template-columns: minmax(0,1fr); } }

.brand { text-transform: uppercase; }
@media(min-width:701px) { .contact-body { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:480px) { footer { grid-template-columns: minmax(0,1fr); } }

/* Editorial business pages */
header .brand [data-business-name] { color: var(--ink); }
.editorial-hero, .collection-band {
  background: radial-gradient(ellipse at 85% 65%, #254f40, #10382e 65%);
  color: var(--paper);
  padding: clamp(44px,6vw,88px) var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.editorial-hero h1 { line-height: 1.07; max-width: 19ch; }
.editorial-hero h1 em { color: var(--gold); }
.editorial-hero p:last-child { margin: 1.3rem 0 0; }
.eyebrow { color: #87692f; font: 600 .73rem/1.5 Arial,sans-serif; text-transform: uppercase; letter-spacing: .17em; margin: 0 0 1.1rem; }
.editorial-hero .eyebrow { color: var(--gold); }
.facet-art { width: clamp(100px,19vw,245px); flex: none; color: var(--gold); stroke-width: 1.15; }
.editorial-body { padding: clamp(36px,5vw,76px) var(--edge); max-width: 1500px; margin: auto; }
.story-row { display: grid; grid-template-columns: .9fr 1.2fr; gap: clamp(20px,7vw,100px); border-bottom: 1px solid var(--line); padding-bottom: 2.4rem; margin-bottom: 2.6rem; }
.story-row h2 { max-width: 14ch; }
.story-row p:first-child, .method-card h3 { margin-top: 0; }
.story-row p:last-child, .value-card p { margin-bottom: 0; }
.value-grid, .method-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.value-card, .method-card { padding: clamp(20px,2.5vw,36px); background: #fffcf5; border: 1px solid var(--line); }
.value-card svg, .method-card svg { width: 30px; height: 30px; margin-bottom: 16px; fill: none; stroke: #96743a; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.owner-panel { margin-top: 3rem; padding: clamp(24px,4vw,58px); background: #eeebdf; display: flex; align-items: center; gap: 2rem; }
.owner-panel [data-portrait]:empty { display: none; }
.owner-panel img { width: min(190px,100%); display: block; }
.owner-panel p { max-width: 62ch; }
.owner-panel h2, .profile-card h2, .collection-band h2 { margin-bottom: 0; }
#owner-link a, .journey a { display: inline-flex; gap: .7rem; align-items: center; border: 1px solid #b6a780; padding: .65rem 1rem; font-weight: 600; }
#owner-link svg { width: 18px; height: 18px; fill: currentColor; }
.collection-band { padding-block: 3rem; }
.connect-hero .facet-art { width: clamp(85px,12vw,155px); }
.contact-editorial { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.5fr); gap: clamp(18px,3vw,42px); align-items: start; }
.profile-card { padding: clamp(25px,3vw,44px); background: #163d31; color: var(--paper); border-top: 3px solid var(--gold); }
.profile-card h2 { font-size: clamp(32px,3vw,49px); }
.profile-card p { margin: .45rem 0; }
.profile-card .cta { margin-top: 1.25rem; }
.monogram { width: 74px; height: 74px; border: 1px solid #bfa36d; border-radius: 50%; display: grid; place-items: center; color: var(--gold); font: 32px Georgia,serif; margin-bottom: 1.7rem; overflow: hidden; }
.monogram img { width: 100%; height: 100%; object-fit: cover; }
.method-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.method-card { overflow-wrap: anywhere; }
.method-card h3 { margin-bottom: .45rem; }
.method-card a:hover { text-decoration: underline; }
.journey { margin-top: 2rem; }
.journey h2 { font-size: clamp(28px,3vw,40px); }
.journey .social-list { display: flex; flex-wrap: wrap; gap: 10px; }
@media(max-width:760px) {
  .story-row, .contact-editorial { grid-template-columns: minmax(0,1fr); }
  .story-row { gap: .8rem; }
  .story-row h2 { margin-bottom: 0; max-width: none; }
  .value-grid { grid-template-columns: 1fr; }
  .collection-band, .owner-panel { align-items: flex-start; flex-direction: column; }
}
@media(max-width:540px) {
  .facet-art { display: none; }
  .method-grid { grid-template-columns: minmax(0,1fr); }
}

.policy { max-width: 960px; margin: auto; }
.policy h2 { margin: 2rem 0 .75rem; font-size: 2rem; }
.policy p a:not(.cta) { text-decoration: underline; }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 8; padding: .65rem 1rem; background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.whatsapp-float {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--gold);
  box-shadow: 0 3px 12px rgb(12 48 40 / 18%);
}
.whatsapp-float svg, .gemstone-enquiry svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.whatsapp-float:hover { background: #285640; }
#purchase { display: grid; justify-items: start; gap: .65rem; }
#purchase .gemstone-enquiry { background: transparent; color: var(--ink); border-color: var(--line); }
#purchase .gemstone-enquiry::after { content: none; }
#purchase .gemstone-enquiry:hover { border-color: var(--ink); }
.gemstone-enquiry svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (max-width: 620px) {
  /* Reserve the bottom strip outside the scrollable page so controls stay reachable. */
  html.has-whatsapp { height: 100%; overflow: hidden; }
  .has-whatsapp body {
    height: calc(100% - 60px - env(safe-area-inset-bottom));
    overflow-y: auto;
    scroll-padding-top: calc(var(--header-height) + 12px);
  }
  .whatsapp-float {
    width: 44px; height: 44px;
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(8px + env(safe-area-inset-bottom));
  }
}

/* Responsive editorial art. Catalogue images continue to come from product data. */
.hero:has(.hero-editorial) {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(420px, 45vw, 710px);
}
.hero-editorial, .hero-editorial img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-editorial { z-index: -2; }
.hero-editorial img { object-fit: cover; object-position: 68% 55%; }
.hero:has(.hero-editorial)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(8 31 24 / 74%), rgb(8 31 24 / 48%) 39%, transparent 69%);
}
#categories img { display: block; aspect-ratio: 4/3; object-fit: cover; filter: none; }
.collection-editorial figure { margin: 1.5rem 0 0; }
.collection-editorial img { display: block; width: 100%; height: auto; }
.collection-editorial figcaption { font-size: .8rem; color: #526558; margin-top: .4rem; }
@media(max-width:620px) {
  .hero:has(.hero-editorial) {
    min-height: clamp(495px, calc(132vw + 24px), 754px);
    justify-content: center;
    align-items: flex-start;
  }
  .hero-editorial img { object-position: center bottom; }
  .hero:has(.hero-editorial)::before {
    background: linear-gradient(180deg, rgb(8 31 24 / 78%), rgb(8 31 24 / 42%) 45%, transparent 70%);
  }
}

/* Display the approved square PNG without its excess transparent top/bottom margins.
   The artwork retains its original aspect ratio; no bitmap pixels are changed. */
.brand { position: relative; display: block; flex: none; width: 112px; height: 70px; overflow: hidden; }
.brand-logo { position: absolute; display: block; width: 112px; height: 112px; max-width: none; top: -23px; left: 0; object-fit: contain; }
footer .brand { justify-self: start; width: 168px; height: 108px; background: var(--paper); border-radius: 4px; }
footer .brand-logo { width: 168px; height: 168px; top: -33px; }
@media (max-width: 620px) {
  header .brand { width: 96px; height: 58px; }
  header .brand-logo { width: 96px; height: 96px; top: -20px; }
}

/* Category artwork is editorial; unavailable categories are not shopping links. */
#categories .category-card { display: flex; flex-direction: column; align-items: stretch; position: relative; min-width: 0; border: 1px solid var(--line); background: #f1eee4; padding: clamp(12px,1.5vw,22px); gap: 12px; }
#categories .category-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
#categories .category-card span { font-size: clamp(18px,1.65vw,26px); padding: 0; }
#categories .category-card small { font: 12px/1.5 'DM Sans',Arial,sans-serif; color: #526558; }
#categories .category-status { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); }
#categories a.category-card .category-status { color: var(--ink); font-weight: 600; }
#categories a.category-card:hover { border-color: #968452; box-shadow: 0 3px 12px #193f3310; }
@media(max-width:480px) { #categories { grid-template-columns: 1fr; } }
