/* KUBO JEWELLERY — collections site design system.
   Brief palette: white surface, charcoal ink, cool grey panels, cobalt blue
   reserved for links and key buttons. Serif display + Inter/system body.
   Content capped at 1200px. */

:root {
  --paper: #ffffff;
  --paper-2: #f3f5f7;
  --ink: #25282c;
  --ink-soft: #5c636b;
  --line: #e3e7eb;
  --blue: #2455d6;
  --blue-dark: #1c44ab;
  --pad: clamp(20px, 4.5vw, 64px);
  --maxw: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: Inter, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .6rem 1rem;
}
.skip:focus { left: 0; z-index: 99; }

.shell { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* ---------------- header ---------------- */
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-head__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 64px;
}
.brand {
  font-family: var(--serif); font-size: 1.25rem; letter-spacing: .01em;
  color: var(--ink); font-weight: 600; white-space: nowrap;
}
.brand:hover { text-decoration: none; color: var(--ink); }
.brand__dot { color: var(--blue); margin: 0 .12em; }
.brand--foot { color: #fff; }

.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav__list {
  display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0;
}
.nav__list a {
  color: var(--ink); font-size: .92rem; font-weight: 500;
  padding: .35rem 0; border-bottom: 2px solid transparent;
}
.nav__list a:hover { color: var(--blue); text-decoration: none; }
.nav__list a.is-active { border-bottom-color: var(--blue); color: var(--ink); }
.nav__cta { padding: .5rem 1rem; font-size: .88rem; }
.nav__item--mobile { display: none; }
.nav__burger { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; }
.nav__burger span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  margin: 5px 0; transition: all .2s var(--ease);
}

/* ---------------- breadcrumb ---------------- */
.crumbs { padding-top: 1rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; }
.crumbs li { font-size: .8rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-right: .3rem; color: var(--line); }
.crumbs a { color: var(--ink-soft); }
.crumbs li:last-child { color: var(--ink); }

/* ---------------- hero ---------------- */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.15;
  margin: 0 0 1rem;
}
.hero__sub { font-size: clamp(1rem, 1.2vw, 1.1rem); color: var(--ink-soft); max-width: 54ch; margin: 0 0 1.6rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.hero__media { border-radius: 6px; overflow: hidden; background: var(--paper-2); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.hero__note { font-size: .78rem; color: var(--ink-soft); margin-top: .9rem; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .7rem 1.3rem; border-radius: 4px;
  font-weight: 600; font-size: .95rem; border: 1px solid transparent;
  cursor: pointer; transition: background .15s var(--ease), color .15s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }

/* ---------------- sections ---------------- */
.section { padding: clamp(2.2rem, 5vw, 3.6rem) 0; }
.section--tint { background: var(--paper-2); }
.section-head { max-width: 720px; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.section-head h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0 0 .5rem;
}
.section-head p { margin: 0; color: var(--ink-soft); }

.eyebrow {
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); font-weight: 600; margin: 0 0 .7rem;
}

/* cards */
.card-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; display: flex; flex-direction: column;
}
.card--tint { background: var(--paper-2); border-color: transparent; }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card__body h3 { font-family: var(--serif); font-size: 1.15rem; margin: 0; font-weight: 600; }
.card__body p { margin: 0; font-size: .92rem; color: var(--ink-soft); flex: 1; }
.card__link { font-weight: 600; font-size: .9rem; }
.card__foot {
  font-size: .78rem; color: var(--ink-soft); border-top: 1px solid var(--line);
  padding: .7rem 1.2rem; margin-top: auto;
}

/* split blocks (material pages, process) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.split img { border-radius: 6px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.step { border-top: 2px solid var(--ink); padding-top: .8rem; }
.step__n { font-family: var(--serif); font-size: 1.1rem; color: var(--blue); font-weight: 600; }
.step h3 { font-size: 1rem; margin: .3rem 0 .4rem; }
.step p { font-size: .88rem; color: var(--ink-soft); margin: 0; }

/* ---------------- article / prose ---------------- */
.prose { max-width: 720px; }
.prose h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; margin: 0 0 1rem;
}
.prose h2 { font-family: var(--serif); font-size: 1.35rem; margin: 2rem 0 .7rem; }
.prose h3 { font-size: 1.05rem; margin: 1.5rem 0 .5rem; }
.prose p { margin: 0 0 1rem; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.3rem; }
.prose li { margin-bottom: .35rem; }
.prose blockquote {
  margin: 1.2rem 0; padding: .2rem 0 .2rem 1.2rem;
  border-left: 3px solid var(--blue); color: var(--ink-soft);
}
.table-wrap { overflow-x: auto; margin: 1.2rem 0; }
.prose table, table.spec { border-collapse: collapse; width: 100%; font-size: .92rem; }
.prose th, .prose td, table.spec th, table.spec td {
  border: 1px solid var(--line); padding: .55rem .75rem; text-align: left; vertical-align: top;
}
.prose th, table.spec th { background: var(--paper-2); font-weight: 600; }

.answer {
  background: var(--paper-2); border-left: 3px solid var(--blue);
  padding: 1rem 1.2rem; border-radius: 0 4px 4px 0; margin: 0 0 1.5rem;
  font-size: .98rem;
}
.answer p { margin: 0; }

.figure-note { font-size: .78rem; color: var(--ink-soft); margin: .5rem 0 0; }

/* page hero for inner pages */
.page-hero { padding: clamp(1.8rem, 4vw, 3rem) 0 1rem; }
.page-hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; margin: 0 0 .8rem;
}
.page-hero .lede { font-size: 1.05rem; color: var(--ink-soft); max-width: 62ch; margin: 0; }

/* ---------------- forms ---------------- */
.form { display: grid; gap: 1.1rem; max-width: 640px; }
.form__row { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .9rem; font-weight: 600; }
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  font: inherit; padding: .6rem .75rem; border: 1px solid var(--line);
  border-radius: 4px; background: var(--paper); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue);
}
.field-hint { font-size: .8rem; color: var(--ink-soft); }
.field-error { font-size: .82rem; color: #b3261e; display: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #b3261e; }
.field.is-invalid .field-error { display: block; }
.moq-line {
  font-size: .88rem; color: var(--ink-soft); border-top: 1px solid var(--line);
  padding-top: .9rem; max-width: 640px;
}
.form-status { font-size: .92rem; display: none; }
.form-status.is-ok { display: block; color: #1a6b3c; }
.form-status.is-error { display: block; color: #b3261e; }

/* ---------------- footer ---------------- */
.site-foot { background: #1d2024; color: #cfd4da; margin-top: clamp(2.5rem, 6vw, 4rem); }
.site-foot a { color: #fff; }
.site-foot__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem;
  padding-top: 2.4rem; padding-bottom: 1.8rem;
}
.foot-desc { font-size: .9rem; max-width: 42ch; }
.foot-mail { font-size: .95rem; }
.foot-mail a { font-weight: 600; }
.foot-h { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #8b939c; margin: 0 0 .7rem; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .92rem; }
.foot-legal {
  border-top: 1px solid #3a3f45; padding-top: 1rem; padding-bottom: 1.6rem;
  font-size: .8rem; color: #8b939c;
}
.foot-legal p { margin: .2rem 0; }

/* ---------------- responsive ---------------- */
@media (max-width: 900px) {
  .hero__grid, .split { grid-template-columns: 1fr; }
  .card-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .site-foot__grid { grid-template-columns: 1fr; gap: 1.4rem; }
}
@media (max-width: 640px) {
  .nav__list {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: .6rem var(--pad) 1rem; z-index: 20;
  }
  .nav.is-open .nav__list { display: flex; }
  .nav__list li { border-top: 1px solid var(--line); }
  .nav__list li:first-child { border-top: 0; }
  .nav__list a { display: block; padding: .7rem 0; border-bottom: 0; }
  .nav__item--mobile { display: block; }
  .nav__burger { display: block; }
  .nav__cta { display: none; }
  .nav { position: relative; }
  .card-grid, .card-grid--2, .steps, .form__row { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(1.6rem, 7vw, 2rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
