:root {
  --black: #080705;
  --panel: #11100d;
  --panel-soft: #17140f;
  --gold: #d6a84f;
  --gold-light: #f0d08a;
  --ivory: #f5efe2;
  --muted: #bdb3a3;
  --line: rgba(214, 168, 79, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--ivory); font-family: Montserrat, sans-serif; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 82px; padding: 10px clamp(20px, 5vw, 72px); border-bottom: 1px solid var(--line); background: rgba(8, 7, 5, .92); backdrop-filter: blur(15px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: "Cormorant Garamond", serif; font-size: 21px; letter-spacing: .04em; }
.brand img { width: 55px; height: 55px; object-fit: cover; border-radius: 50%; }
nav { display: flex; gap: 34px; }
nav a { color: var(--muted); text-decoration: none; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
nav a:hover { color: var(--gold-light); }
.language-switcher { justify-self: end; display: flex; align-items: center; gap: 8px; color: #6e6659; }
.language { border: 0; background: transparent; color: var(--muted); cursor: pointer; font: 600 12px Montserrat, sans-serif; }
.language.active { color: var(--gold-light); }
.menu-button { display: none; }

.hero { position: relative; min-height: calc(100vh - 82px); display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 5vw, 90px); padding: clamp(70px, 9vw, 130px) clamp(24px, 8vw, 120px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30%; background: radial-gradient(circle at 76% 45%, rgba(214,168,79,.12), transparent 28%), radial-gradient(circle at 20% 20%, rgba(214,168,79,.06), transparent 24%); pointer-events: none; }
.hero-copy, .hero-logo { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 17px; color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Cormorant Garamond", serif; }
h1 { max-width: 760px; margin: 0; font-size: clamp(58px, 7.4vw, 112px); font-weight: 500; line-height: .88; letter-spacing: -.035em; }
.hero-text { max-width: 650px; margin: 34px 0; color: var(--muted); font-size: clamp(15px, 1.45vw, 19px); line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: 0 24px; border: 1px solid var(--gold); text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .04em; transition: .25s ease; }
.button.gold { background: var(--gold); color: #12100b; }
.button.gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.button.outline:hover { background: rgba(214,168,79,.1); }
.appointment { margin: 18px 0 0; color: #82796a; font-size: 12px; }
.hero-logo { display: grid; place-items: center; min-height: 500px; }
.hero-logo img { position: relative; z-index: 2; width: min(100%, 640px); filter: drop-shadow(0 30px 50px rgba(0,0,0,.45)); }
.halo { position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; background: rgba(214,168,79,.13); filter: blur(80px); }

.intro-strip { display: flex; justify-content: center; align-items: center; gap: clamp(22px, 4vw, 65px); padding: 22px 5vw; border-block: 1px solid var(--line); color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; text-align: center; }
.intro-strip span { color: var(--gold); font-size: 8px; }
.section { padding: clamp(80px, 10vw, 150px) clamp(24px, 8vw, 120px); }
.section-heading { max-width: 760px; margin-bottom: 55px; }
.section-heading.compact { margin-bottom: 34px; }
h2 { margin: 0 0 20px; font-size: clamp(42px, 5vw, 72px); font-weight: 500; line-height: .98; }
.section-heading > p:last-child, .craft-copy > p { color: var(--muted); line-height: 1.8; }

.services { background: linear-gradient(180deg, #0c0b08, #11100d); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-grid article { min-height: 260px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-grid article > span { color: var(--gold); font: 500 13px "Cormorant Garamond", serif; }
.service-grid h3 { margin: 45px 0 14px; font-size: 30px; font-weight: 500; }
.service-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }

.gallery { background: #0b0a08; }
.gallery .section-heading { margin-bottom: 38px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-card { margin: 0; border: 1px solid var(--line); background: var(--panel); }
.gallery-card img { display: block; width: 100%; height: 340px; object-fit: cover; }
.gallery-card:nth-child(2) img { object-position: center 45%; }
.gallery-card figcaption { padding: 17px 20px; color: var(--gold-light); font: 500 20px "Cormorant Garamond", serif; }

.craft { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 9vw, 140px); align-items: center; }
.craft-photo { position: relative; min-height: 560px; margin: 0; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.craft-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(5,4,3,.84) 100%); pointer-events: none; }
.craft-photo img { display: block; width: 100%; height: 620px; object-fit: cover; object-position: 50% 42%; }
.craft-photo figcaption { position: absolute; z-index: 1; left: 32px; right: 32px; bottom: 28px; color: var(--gold-light); font: 600 12px Montserrat, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.craft-copy > p { max-width: 670px; }
.principles { display: grid; gap: 0; margin-top: 38px; border-top: 1px solid var(--line); }
.principles div { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.principles strong { color: var(--gold-light); font-family: "Cormorant Garamond", serif; font-size: 21px; }
.principles span { color: var(--muted); font-size: 13px; align-self: center; }

.process { background: var(--panel-soft); }
.process ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.process li { min-height: 220px; display: flex; gap: 22px; padding: 34px; background: var(--panel-soft); }
.process li > span { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-light); font-size: 12px; }
.process h3 { margin: 5px 0 12px; font-size: 26px; font-weight: 500; }
.process p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.contact { margin: clamp(35px, 5vw, 80px); padding: clamp(55px, 7vw, 105px); display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 50px; border: 1px solid var(--line); background: linear-gradient(135deg, #17130d, #0b0a08); }
.contact h2 { max-width: 850px; }
.contact > div > p:last-child { max-width: 680px; color: var(--muted); line-height: 1.8; }
.contact-actions { display: flex; flex-direction: column; align-items: stretch; gap: 17px; }
.text-link { color: var(--gold-light); text-align: center; text-underline-offset: 5px; font-size: 13px; }
footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 30px clamp(24px, 5vw, 75px); border-top: 1px solid var(--line); color: #807768; font-size: 11px; }
footer > p:last-child { justify-self: end; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ivory); font-family: "Cormorant Garamond", serif; font-size: 17px; }
.footer-brand img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .menu-button { display: block; border: 1px solid var(--line); background: transparent; color: var(--ivory); padding: 8px 12px; }
  nav { position: absolute; top: 82px; left: 0; right: 0; display: none; flex-direction: column; gap: 0; padding: 10px 22px 22px; border-bottom: 1px solid var(--line); background: #0b0a08; }
  nav.open { display: flex; }
  nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: grid; justify-items: center; }
  .hero-logo { min-height: 300px; }
  .hero-logo img { width: min(82vw, 560px); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .craft { grid-template-columns: 1fr; }
  .craft-photo { min-height: 420px; }
  .craft-photo img { height: 520px; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header { min-height: 70px; padding: 7px 15px; }
  .brand img { width: 46px; height: 46px; }
  .brand span { display: none; }
  nav { top: 70px; }
  .hero { min-height: auto; padding-top: 75px; }
  h1 { font-size: clamp(54px, 16vw, 76px); }
  .hero-logo { min-height: 260px; }
  .intro-strip { flex-wrap: wrap; gap: 12px 18px; }
  .intro-strip span { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 220px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card img { height: 300px; }
  .process ol { grid-template-columns: 1fr; }
  .contact { margin: 18px; padding: 42px 24px; }
  .principles div { grid-template-columns: 1fr; gap: 6px; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer > p:last-child { justify-self: center; }
  .footer-brand { justify-content: center; }
}
.gallery-document img { object-fit: contain; background: #14110d; }
.photo-open { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.photo-open:focus-visible { outline: 3px solid #e5c17c; outline-offset: 3px; }
.photo-viewer { width: min(96vw,1100px); max-height: 94vh; padding: 16px; background: #100e0b; border: 1px solid #cba76b; }
.photo-viewer::backdrop { background: rgba(0,0,0,.9); }
.photo-viewer img { display: block; max-width: 100%; max-height: 82vh; object-fit: contain; margin: auto; }
.photo-viewer button { display: block; margin: 0 0 12px auto; padding: 10px 18px; background: #d2ae6b; color: #17110a; cursor: pointer; }
/* Show the original jewelry photos inside the supplied catalog without its text. */
.photo-open:has(img[data-crop]), .bracelet-before, .bracelet-final { position: relative; overflow: hidden; }
.photo-open:has(img[data-crop="bracelet-before"]), .bracelet-before { aspect-ratio: 337 / 238; }
.photo-open:has(img[data-crop="bracelet-final"]), .bracelet-final { aspect-ratio: 383 / 419; }
.gallery-card .photo-open img[data-crop="bracelet-before"], .bracelet-before img { position: absolute; width: 332.94%; max-width: none; height: auto; max-height: none; left: -108.9%; top: -163.45%; }
.gallery-card .photo-open img[data-crop="bracelet-final"], .bracelet-final img { position: absolute; width: 292.95%; max-width: none; height: auto; max-height: none; left: -180.42%; top: -168.26%; }
.photo-viewer .bracelet-before, .photo-viewer .bracelet-final { width: min(70vw,600px); margin: auto; }
.photo-viewer .bracelet-final { width: min(65vw,65vh); }
.manual-sample { background: #15120d; border-top: 1px solid var(--line); }
.manual-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 18px; }
.manual-note { color: var(--muted); max-width: 820px; font-size: 13px; line-height: 1.7; }
