/* ============================================================
   LINGEA — Fine Jewelry  ·  Design System
   Quiet luxury · warm ivory + ink + soft gold
   ============================================================ */

:root {
  /* Neutrals (warm) */
  --paper:      #fcfbf8;
  --ivory:      #f5f2ec;
  --stone:      #e9e3d8;
  --stone-deep: #ddd5c6;
  --ink:        #1a1815;
  --ink-soft:   #5c574d;
  --ink-faint:  #908a7d;

  /* Accent — muted amethyst, drawn from the stones */
  --accent:      #8a6480;
  --accent-deep: #6d4a64;
  --accent-soft: #cdb6c6;

  /* Warm metal, used sparingly */
  --gold:       #b2925a;
  --gold-deep:  #8f7440;
  --gold-soft:  #cbb083;

  /* Lines */
  --line:       rgba(26, 24, 21, 0.13);
  --line-soft:  rgba(26, 24, 21, 0.07);

  /* Type */
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:    "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1320px;
  --gutter: clamp(20px, 5vw, 72px);
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

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

::selection { background: var(--accent-soft); color: var(--ink); }

/* ---------- Type primitives ---------- */
.display {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow.gold { color: var(--gold-deep); }
.eyebrow.accent { color: var(--accent-deep); }

.serif-quote {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
}

.body {
  font-size: 16px;
  line-height: 1.75;
  font-weight: 300;
  color: var(--ink-soft);
  letter-spacing: 0.005em;
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.full { width: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 16px 32px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn.ghost:hover { background: var(--ink); color: var(--paper); }

.btn.gold {
  background: transparent;
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}
.btn.gold:hover { background: var(--gold-deep); color: var(--paper); }

.btn.accent {
  background: transparent;
  border-color: var(--accent-deep);
  color: var(--accent-deep);
}
.btn.accent:hover { background: var(--accent-deep); color: var(--paper); }

.btn.block { width: 100%; }

/* underline link */
.ulink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  transition: gap .4s var(--ease), opacity .3s;
  align-self: flex-start;
}
.ulink:hover { gap: 14px; }
.ulink .arr { transition: transform .4s var(--ease); }
.ulink:hover .arr { transform: translateX(4px); }

/* ---------- Image placeholder (until real photos drop in) ---------- */
.ph {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, var(--stone) 0%, var(--ivory) 55%, var(--stone-deep) 100%);
  overflow: hidden;
}
.ph::before {
  /* fine vertical studio striping */
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(26,24,21,0.022) 0px,
    rgba(26,24,21,0.022) 1px,
    transparent 1px,
    transparent 9px
  );
}
.ph__label {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: "SFMono-Regular", ui-monospace, "Menlo", monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
  line-height: 1.7;
  white-space: nowrap;
}
.ph__ring {
  position: absolute;
  left: 50%; top: 50%;
  width: 38%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(26,24,21,0.10);
}

/* product image wrapper — photos are on pure white, so tiles are white */
.pimg {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  overflow: hidden;
}
.pimg img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 1.4s var(--ease);
}

/* ---------- Misc ---------- */
.rule { height: 1px; background: var(--line); border: 0; width: 100%; }

.fade-up {
  animation: lin-rise 0.8s var(--ease) both;
}
@keyframes lin-rise {
  from { transform: translateY(16px); }
  to   { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fade-up { animation: none; transform: none; }
}

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: var(--stone-deep); border: 3px solid var(--ivory); }
