:root {
  --ink: #0b0c0b;
  --ink-soft: #151714;
  --paper: #f1eee7;
  --paper-deep: #e3ddd0;
  --gold: #c49a55;
  --gold-light: #e2c690;
  --green: #164b3d;
  --white: #fbfaf7;
  --line-dark: rgba(15, 16, 14, .16);
  --line-light: rgba(255, 255, 255, .18);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.section { position: relative; padding: 128px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; transform: translateY(-160%); background: var(--paper); color: var(--ink); padding: 10px 14px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; height: 94px; padding: 0 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid transparent; transition: .35s ease; }
.site-header.scrolled { height: 76px; background: rgba(11, 12, 11, .9); border-color: var(--line-light); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 12px; letter-spacing: .08em; }
.brand-mark { width: 34px; height: 34px; fill: none; stroke: var(--gold-light); stroke-width: 1.2; }
.brand span { display: grid; line-height: 1; }
.brand strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.brand small { margin-top: 5px; font-size: 8px; letter-spacing: .25em; opacity: .72; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.site-nav > a:not(.nav-cta) { position: relative; padding: 8px 0; }
.site-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.site-nav > a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 12px 18px; border: 1px solid rgba(255,255,255,.35); transition: .2s ease; }
.nav-cta:hover { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 0; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; height: 1px; margin: 6px 0; background: currentColor; transition: .25s ease; }

.hero { position: relative; min-height: 820px; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image { background: url("assets/hero-gemstones.jpg") 62% center / cover no-repeat; transform: scale(1.015); animation: heroIn 1.5s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-shade { background: linear-gradient(90deg, rgba(6,7,6,.98) 0%, rgba(6,7,6,.85) 31%, rgba(6,7,6,.23) 70%, rgba(6,7,6,.06) 100%), linear-gradient(0deg, rgba(5,6,5,.55) 0%, transparent 45%); }
.hero-content { position: relative; z-index: 2; padding-top: 62px; }
.eyebrow { margin: 0 0 24px; color: var(--gold-light); font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; }
.eyebrow.dark { color: #7c5f2e; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; line-height: .98; }
h1 { max-width: 780px; margin-bottom: 32px; font-size: clamp(66px, 7.4vw, 118px); }
h1 em, h2 em { color: var(--gold-light); font-weight: 400; }
.hero-copy { max-width: 610px; margin-bottom: 38px; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 56px; padding: 0 24px; border: 1px solid transparent; font-size: 11px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: #11120f; }
.button-gold:hover { background: var(--gold-light); }
.button-outline { border-color: rgba(255,255,255,.45); }
.button-outline:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.button-full { width: 100%; }
.text-link, .arrow-link { display: inline-flex; align-items: center; gap: 18px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.35); font-size: 12px; letter-spacing: .08em; }
.hero-meta { position: absolute; z-index: 2; right: 48px; bottom: 34px; display: flex; gap: 28px; color: rgba(255,255,255,.52); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.hero-meta span + span::before { content: "◆"; margin-right: 28px; color: var(--gold); font-size: 6px; }

.story { background: var(--paper); color: var(--ink); }
.story-grid, .company-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; align-items: start; }
h2 { margin-bottom: 32px; font-size: clamp(50px, 5.4vw, 80px); }
.story h2 em, .process h2 em, .company h2 em { color: #8a6833; }
.story-copy { padding-top: 48px; max-width: 640px; }
.story-copy .lead { font-family: var(--serif); font-size: 29px; line-height: 1.35; letter-spacing: -.02em; }
.story-copy > p:not(.lead) { color: #55564f; line-height: 1.9; }
.arrow-link { margin-top: 20px; border-color: rgba(0,0,0,.25); font-size: 11px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }

.offerings { background: var(--ink); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 56px; margin-bottom: 64px; }
.section-heading > p { max-width: 390px; margin-bottom: 10px; color: rgba(255,255,255,.56); }
.offering-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.offering-card { position: relative; min-height: 560px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border: 1px solid rgba(255,255,255,.14); background-color: #181a17; isolation: isolate; }
.offering-card::before, .offering-card::after { content: ""; position: absolute; inset: 0; z-index: -2; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.offering-card::after { z-index: -1; background: linear-gradient(0deg, rgba(6,7,6,.98) 0%, rgba(6,7,6,.2) 76%); }
.offering-card:hover::before { transform: scale(1.045); filter: saturate(1.1); }
.offering-card.rough::before { background: url("assets/hero-gemstones.jpg") 68% center / cover no-repeat; }
.offering-card.cut::before { background: url("assets/gemstone-selection.jpg") 28% center / cover no-repeat; }
.offering-card.jewelry::before { background: url("assets/fine-jewelry.jpg") 54% center / cover no-repeat; }
.card-number { color: rgba(255,255,255,.7); font-family: var(--serif); font-size: 14px; }
.card-kicker { color: var(--gold-light); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.card-content h3 { margin: 0 0 14px; font-family: var(--serif); font-size: 36px; font-weight: 400; }
.card-content p { color: rgba(255,255,255,.68); }
.card-content a { display: inline-flex; gap: 16px; margin-top: 16px; font-size: 10px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }

.process { background: var(--paper); color: var(--ink); }
.process-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 8vw; align-items: center; }
.process-visual { position: relative; margin: 0; }
.process-visual::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid #b7955b; }
.process-visual img { position: relative; width: 100%; height: 650px; object-fit: cover; box-shadow: 0 24px 70px rgba(32,25,16,.18); }
.process-visual figcaption { position: absolute; bottom: 20px; left: 22px; padding: 8px 12px; background: rgba(11,12,11,.78); color: rgba(255,255,255,.72); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.process-list { margin: 52px 0 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line-dark); }
.process-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.process-list li > span { color: #96733c; font-family: var(--serif); font-size: 14px; }
.process-list h3 { margin: 0 0 5px; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.process-list p { margin: 0; color: #62635d; font-size: 14px; }

.jewelry-showcase { overflow: hidden; background: var(--ink-soft); }
.showcase-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 8vw; align-items: center; }
.showcase-copy p:not(.eyebrow) { max-width: 480px; margin-bottom: 34px; color: rgba(255,255,255,.62); }
.showcase-image { position: relative; margin: 0; }
.showcase-image::before { content: ""; position: absolute; z-index: -1; top: -18%; right: -22%; width: 70%; aspect-ratio: 1; border: 1px solid rgba(196,154,85,.22); border-radius: 50%; }
.showcase-image img { width: 100%; height: auto; box-shadow: var(--shadow); }

.company { background: var(--paper-deep); color: var(--ink); }
.company-facts dl { margin: 0 0 34px; }
.company-facts dl > div { display: grid; grid-template-columns: 170px 1fr; padding: 17px 0; border-bottom: 1px solid var(--line-dark); }
.company-facts dt { color: #77736b; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.company-facts dd { margin: 0; font-family: var(--serif); font-size: 19px; }
.company-facts > p { color: #55564f; line-height: 1.9; }

.contact { overflow: hidden; background: #0e1713; }
.contact::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: radial-gradient(circle at 30% 20%, #c49a55 0 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, black, transparent 60%); }
.contact-glow { position: absolute; top: -30%; left: -10%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(28,97,75,.28), transparent 68%); }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 470px; gap: 10vw; align-items: center; }
.contact-copy > p:not(.eyebrow) { max-width: 560px; color: rgba(255,255,255,.62); }
.contact-panel { padding: 44px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.055); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.panel-label { color: var(--gold-light); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.contact-panel h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 36px; font-weight: 400; }
.contact-panel > p:not(.panel-label):not(.contact-note) { color: rgba(255,255,255,.6); }
.contact-note { margin: 9px 0 0; color: rgba(255,255,255,.38); font-size: 10px; letter-spacing: .08em; text-align: center; text-transform: uppercase; }

.site-footer { padding: 76px 0 28px; background: #070807; color: rgba(255,255,255,.63); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; padding-bottom: 66px; }
.footer-brand { color: var(--paper); }
.footer-grid > div:first-child > p { max-width: 330px; margin-top: 22px; font-family: var(--serif); font-size: 22px; line-height: 1.45; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.footer-links > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-links span { margin-bottom: 10px; color: var(--gold-light); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.footer-links a, .footer-links button { padding: 0; border: 0; background: transparent; cursor: pointer; font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.11); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.footer-bottom p { margin: 0; }

.whatsapp-float { position: fixed; z-index: 90; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 18px; border-radius: 28px; background: #1f9b5c; color: white; box-shadow: 0 10px 30px rgba(0,0,0,.3); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: transform .2s ease, background .2s ease; }
.whatsapp-float:hover { transform: translateY(-3px); background: #25ad68; }
.whatsapp-float svg { width: 22px; fill: currentColor; }

.legal-modal { width: min(650px, calc(100% - 36px)); padding: 50px; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 30px 120px rgba(0,0,0,.55); }
.legal-modal::backdrop { background: rgba(0,0,0,.75); backdrop-filter: blur(4px); }
.legal-modal h2 { font-size: 48px; }
.legal-modal p { color: #50534d; }
.legal-modal a { border-bottom: 1px solid; }
.modal-close { position: absolute; top: 14px; right: 18px; border: 0; background: transparent; color: var(--ink); font-family: var(--serif); font-size: 34px; cursor: pointer; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.visible { opacity: 1; transform: none; }
@keyframes heroIn { from { opacity: .65; transform: scale(1.06); } to { opacity: 1; transform: scale(1.015); } }

@media (max-width: 980px) {
  .wrap { width: min(100% - 48px, 800px); }
  .section { padding: 92px 0; }
  .site-header { height: 78px; padding: 0 24px; }
  .menu-toggle { display: block; z-index: 3; }
  .site-nav { position: fixed; inset: 0; padding: 120px 28px 50px; flex-direction: column; align-items: flex-start; gap: 18px; background: rgba(9,10,9,.98); transform: translateX(100%); transition: transform .35s ease; }
  .site-nav.open { transform: translateX(0); }
  .site-nav a { font-family: var(--serif); font-size: 36px; letter-spacing: -.02em; text-transform: none; }
  .site-nav .nav-cta { margin-top: 14px; font-family: var(--sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 760px; }
  .hero-image { background-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(6,7,6,.97), rgba(6,7,6,.58) 66%, rgba(6,7,6,.18)), linear-gradient(0deg, rgba(5,6,5,.7), transparent 55%); }
  .hero-meta { right: 24px; left: 24px; justify-content: space-between; }
  .hero-meta span:last-child { display: none; }
  .story-grid, .company-grid, .process-grid, .showcase-grid, .contact-grid { grid-template-columns: 1fr; gap: 54px; }
  .story-copy { padding-top: 0; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .offering-grid { grid-template-columns: 1fr; }
  .offering-card { min-height: 430px; }
  .process-visual { order: 2; }
  .process-visual img { height: 480px; }
  .contact-panel { width: min(100%, 520px); }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px); }
  .section { padding: 76px 0; }
  .brand-mark { width: 30px; height: 30px; }
  .brand strong { font-size: 19px; }
  .hero { min-height: 720px; }
  .hero-image { background-position: 63% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(6,7,6,.92), rgba(6,7,6,.42)), linear-gradient(0deg, rgba(5,6,5,.85), transparent 65%); }
  .hero-content { padding-top: 20px; }
  h1 { font-size: clamp(52px, 16vw, 76px); }
  h2 { font-size: clamp(44px, 13vw, 62px); }
  .hero-copy { max-width: 94%; font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .hero-meta { bottom: 22px; justify-content: flex-start; gap: 12px; }
  .hero-meta span + span::before { margin-right: 12px; }
  .story-copy .lead { font-size: 24px; }
  .section-heading { margin-bottom: 44px; }
  .offering-card { min-height: 460px; padding: 22px; }
  .process-visual::before { display: none; }
  .process-visual img { height: 390px; }
  .company-facts dl > div { grid-template-columns: 1fr; gap: 3px; }
  .contact-panel { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 46px; }
  .footer-bottom { flex-direction: column; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 52px; height: 52px; padding: 0; justify-content: center; }
  .whatsapp-float span { display: none; }
  .legal-modal { padding: 46px 26px 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
