/* ============================================
   katteryn. — bespoke jewelry, atelier-only
   warm cream + champagne brass, artisan editorial
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,ital,wght@9..144,0,300;9..144,0,400;9..144,0,500;9..144,1,300;9..144,1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg: #fbf6ee;
  --bg-alt: #f3ebdb;
  --bg-deep: #2c241c;
  --ink: #1a1612;
  --ink-muted: #7a6f63;
  --rule: #e8dfd1;
  --accent: #b08d5b;
  --accent-deep: #8a6d40;
  --accent-warm: #c9a576;
  --max: 1280px;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* ========== Layout ========== */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 36px;
}

@media (max-width: 640px) {
  .wrap { padding: 0 22px; }
}

/* ========== Header ========== */

.site-header {
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  background: rgba(251, 246, 238, 0.92);
  backdrop-filter: blur(12px);
  z-index: 50;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brand .dot { color: var(--accent); }

.nav {
  display: flex;
  gap: 36px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav a {
  color: var(--ink-muted);
  transition: color 0.2s ease;
  position: relative;
}

.nav a:hover, .nav a.active { color: var(--ink); }

.nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--accent);
}

.nav-cta {
  padding: 10px 20px;
  background: var(--ink);
  color: var(--bg) !important;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.nav-cta:hover { background: var(--accent-deep); }

@media (max-width: 820px) {
  .nav { gap: 18px; font-size: 12px; }
  .nav a:not(.nav-cta) { display: none; }
}

/* ========== Typography ========== */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--ink);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.lede {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 56ch;
}

/* ========== Hero ========== */

.hero {
  padding: 120px 0 100px;
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(ellipse at 90% 30%, rgba(176, 141, 91, 0.08), transparent 60%),
    var(--bg);
  position: relative;
}

.hero h1 {
  font-size: clamp(56px, 9vw, 144px);
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin-bottom: 36px;
  font-weight: 300;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.hero h1 .dot {
  color: var(--accent);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--rule);
}

.hero-meta .label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.hero-meta .value {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  font-style: italic;
}

@media (max-width: 640px) {
  .hero { padding: 80px 0 72px; }
  .hero-meta { grid-template-columns: 1fr; gap: 28px; }
}

/* ========== Page Header ========== */

.page-head {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--rule);
}

.page-head h1 {
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 300;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.page-head h1 em {
  font-style: italic;
  color: var(--accent);
}

/* ========== Section ========== */

section { padding: 100px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.section-head p {
  max-width: 40ch;
  color: var(--ink-muted);
}

/* ========== Featured piece (hero piece) ========== */

.featured-piece {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.featured-piece .visual {
  aspect-ratio: 4/5;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}

.featured-piece .visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(176, 141, 91, 0.15), transparent 70%);
}

.featured-piece .visual .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(80px, 12vw, 200px);
  font-weight: 300;
  color: rgba(176, 141, 91, 0.18);
  letter-spacing: -0.04em;
}

.featured-piece .info .label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.featured-piece .info h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.featured-piece .info h2 em {
  font-style: italic;
  color: var(--accent);
}

.featured-piece .info .subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-muted);
  margin-bottom: 32px;
}

.featured-piece .info p {
  color: var(--ink-muted);
  margin-bottom: 16px;
  max-width: 48ch;
}

.featured-piece .info dl {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.featured-piece .info dl > div {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--rule);
  font-size: 14px;
}

.featured-piece .info dt {
  color: var(--ink-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.featured-piece .info dd {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink);
}

@media (max-width: 820px) {
  .featured-piece { grid-template-columns: 1fr; gap: 40px; }
}

/* ========== Pieces grid ========== */

.pieces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 32px;
}

.piece {
  display: block;
  transition: opacity 0.25s ease;
}

.piece:hover { opacity: 0.85; }

.piece .thumb {
  aspect-ratio: 4/5;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
}

.piece .thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(176, 141, 91, 0.12), transparent 70%);
  pointer-events: none;
}

.piece .thumb .ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 88px;
  color: rgba(176, 141, 91, 0.22);
  font-weight: 300;
}

.piece .meta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.piece h3 {
  font-size: 22px;
  font-weight: 400;
  margin: 6px 0 4px;
}

.piece h3 em {
  font-style: italic;
}

.piece .price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-muted);
}

@media (max-width: 900px) {
  .pieces-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
}

@media (max-width: 560px) {
  .pieces-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ========== Process steps ========== */

.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.process .step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 48px;
  padding: 56px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.process .step .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 48px;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
}

.process .step h3 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.process .step p {
  color: var(--ink-muted);
  max-width: 56ch;
  line-height: 1.7;
}

.process .step .timing {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
}

@media (max-width: 640px) {
  .process .step { grid-template-columns: 1fr; gap: 12px; padding: 40px 0; }
  .process .step .num { font-size: 36px; }
}

/* ========== Dark strip ========== */

.dark-strip {
  background: var(--bg-deep);
  color: var(--bg);
  padding: 100px 0;
}

.dark-strip h2 {
  color: var(--bg);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  max-width: 22ch;
  margin-bottom: 24px;
}

.dark-strip h2 em {
  font-style: italic;
  color: var(--accent-warm);
}

.dark-strip p {
  color: rgba(251, 246, 238, 0.72);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.55;
  max-width: 56ch;
}

/* ========== CTA / Buttons ========== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

.btn.outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn.outline:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.btn.gold {
  background: var(--accent);
  color: var(--ink);
}

.btn.gold:hover { background: var(--accent-warm); color: var(--ink); }

.btn .arr {
  width: 14px; height: 14px;
}

/* ========== Form ========== */

.commission-form {
  background: var(--bg-alt);
  padding: 64px 56px;
  border: 1px solid var(--rule);
}

.form-field { margin-bottom: 24px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

@media (max-width: 640px) {
  .commission-form { padding: 40px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ========== Info grid ========== */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.info-block .label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

.info-block h3 {
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 10px;
}

.info-block p, .info-block li {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.7;
}

.info-block ul { list-style: none; }
.info-block li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--rule);
}

@media (max-width: 820px) {
  .info-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ========== FAQ ========== */

.faq-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}

.faq-item h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 10px;
}

.faq-item p { color: var(--ink-muted); }

/* ========== Membership card ========== */

.atelier-card {
  background: var(--bg-deep);
  color: var(--bg);
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
}

.atelier-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.atelier-card .label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 24px;
}

.atelier-card h2 {
  color: var(--bg);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.atelier-card h2 em {
  font-style: italic;
  color: var(--accent-warm);
}

.atelier-card p {
  color: rgba(251, 246, 238, 0.72);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.55;
  margin-bottom: 32px;
  max-width: 56ch;
}

.atelier-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  max-width: 60ch;
}

.atelier-card li {
  padding: 14px 0 14px 24px;
  border-bottom: 1px solid rgba(251, 246, 238, 0.12);
  font-size: 15px;
  color: rgba(251, 246, 238, 0.85);
  position: relative;
}

.atelier-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 22px;
  width: 12px; height: 1px;
  background: var(--accent-warm);
}

.atelier-card .powered {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(251, 246, 238, 0.18);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251, 246, 238, 0.55);
}

.atelier-card .powered a {
  color: var(--accent-warm);
  border-bottom: 1px solid var(--accent-warm);
}

@media (max-width: 640px) {
  .atelier-card { padding: 40px 24px; }
}

/* ========== Footer ========== */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 64px 0 40px;
  font-size: 14px;
  color: var(--ink-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-grid h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.footer-grid a { display: block; padding: 4px 0; }
.footer-grid a:hover { color: var(--ink); }

.footer-brand .brand {
  font-size: 28px;
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  font-weight: 300;
  max-width: 38ch;
  color: var(--ink-muted);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ========== Utilities ========== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
}

.muted { color: var(--ink-muted); }

/* Last updated stamp under the footer */
.last-updated {
  text-align: center;
  font-family: var(--sans, Inter, sans-serif);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted, #888);
  padding: 18px 0 4px;
  margin: 0;
}
