/* Christus Jewelry — feeder page */

:root {
  --cream:      #f6f1e7;
  --cream-deep: #efe8d9;
  --paper:      #fffdf8;
  --ink:        #201b13;
  --ink-soft:   #5b5344;
  --line:       #ddd2b8;
  --gold:       #a9832f;
  --gold-deep:  #8a6b26;
  --charcoal:   #161310;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  --shell: 1180px;
  --header-h: 104px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-top: var(--header-h);
}

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

h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.003em;
  margin: 0;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }

p { margin: 0; }
em { font-style: italic; }
a { color: inherit; text-decoration: none; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--s5);
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 var(--s4);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(246, 241, 231, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
}

.brand { display: inline-flex; align-items: center; gap: var(--s4); }
/* Logo mark: the Christus figure, pre-cropped from the banner photograph.
   Sized to carry the header — the client found the earlier mark too slight. */
.brand-mark {
  width: 38px;
  height: 84px;
  flex: none;
  object-fit: cover;
  object-position: center top;
  border-radius: 2px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
/* "Christus" in the serif over "JEWELRY" in letterspaced caps — the client's
   own logo lockup, set as live text so it stays sharp at any screen density */
.brand-name {
  font-family: var(--serif);
  font-size: 2.1rem;
  letter-spacing: 0.02em;
  color: var(--charcoal);
}
.brand-sub {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 7px;
  padding-left: 0.16em;
}

.header-nav {
  display: inline-flex;
  align-items: center;
  gap: var(--s5);
}

.header-link {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  transition: color .2s ease, border-color .2s ease;
}
.header-link:hover { color: var(--gold-deep); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding: clamp(48px, 7vw, 88px) 0 clamp(48px, 7vw, 88px);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero-copy { max-width: 560px; }
.hero h1 { margin-bottom: var(--s5); }
.hero-lead {
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  color: var(--ink-soft);
}
.hero-lead + .hero-lead { margin-top: var(--s4); }
.hero-lead em {
  font-family: var(--serif);
  font-size: 1.14em;
  color: var(--charcoal);
}

/* Statue photograph with the silver/gold pair inset over its lower corner */
.hero-figure {
  position: relative;
  margin: 0;
  isolation: isolate;
}

/* Christus Jewelry banner — the client's approved logo treatment: statue with
   the wordmark set over the night sky, cropped above the museum railing so no
   barriers show. The lettering is part of the image, so it scales with it. */
.hero-statue {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

/* Staggered silver/gold pair, sitting inside the banner beneath the wordmark.
   Positioned in percentages so it tracks the artwork at every screen size. */
.hero-pendants {
  position: absolute;
  left: 20%;
  top: 44%;
  width: 27%;
  background: var(--paper);
  padding: 0.9%;
  box-shadow: 0 14px 34px rgba(10, 12, 26, 0.45);
}

/* ---------- Collection grid ---------- */

.collection { padding: clamp(64px, 9vw, 120px) 0; }
.collection-head { max-width: 640px; margin-bottom: var(--s8); }

.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s7) var(--s6);
}

.piece-link { display: block; }

.piece-media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}
/* contain, not cover — every piece is shown whole, tie bars included */
.piece-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--s4);
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.piece-link:hover .piece-media img { transform: scale(1.045); }

/* the client's silver #744 shot is photographed on black — match the card to it */
.piece-media.is-dark { background: #000; border-color: #000; }

.piece-body {
  display: block;
  padding-top: var(--s4);
}
.piece-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.24rem;
  color: var(--charcoal);
  margin-bottom: var(--s2);
}
.piece-desc {
  display: block;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: var(--s3);
}
.piece-cta {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.piece-link:hover .piece-cta {
  border-color: var(--gold-deep);
  color: var(--charcoal);
}

/* ---------- Closing ---------- */

.closing {
  background: var(--charcoal);
  color: var(--cream);
}
.closing-inner {
  padding: clamp(64px, 9vw, 104px) 0;
  max-width: 640px;
  text-align: center;
  margin-inline: auto;
}
.closing h2 { color: var(--cream); margin-bottom: var(--s5); }
.closing p {
  color: rgba(246, 241, 231, 0.7);
  font-size: 1rem;
  margin-bottom: var(--s7);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 17px var(--s7);
  background: var(--gold);
  color: var(--charcoal);
  border: 1px solid var(--gold);
  transition: background-color .25s ease, border-color .25s ease;
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); }

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
  justify-content: center;
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(246, 241, 231, 0.4);
}
.btn-ghost:hover {
  background: rgba(246, 241, 231, 0.08);
  border-color: var(--cream);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
}
.footer-inner {
  padding: var(--s7) 0;
  text-align: center;
}
.footer-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: var(--s2);
}
.footer-line {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-bottom: var(--s4);
}
.footer-tel {
  color: inherit;
  border-bottom: 1px solid var(--line);
  transition: color .2s ease, border-color .2s ease;
}
.footer-tel:hover { color: var(--gold-deep); border-color: var(--gold-deep); }

.footer-copy {
  font-size: 0.76rem;
  color: var(--ink-soft);
  opacity: 0.8;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: var(--s7); }
  .hero-copy { max-width: none; }
}

@media (max-width: 620px) {
  :root { --header-h: 74px; }
  body { font-size: 16px; }
  .shell { padding: 0 var(--s4); }
  .grid { grid-template-columns: 1fr; gap: var(--s7); }
  .brand { gap: var(--s3); }
  .brand-name { font-size: 1.42rem; }
  .brand-sub { font-size: 0.58rem; letter-spacing: 0.22em; margin-top: 5px; }
  .brand-mark { width: 26px; height: 56px; }
  .header-nav { gap: var(--s3); }
  .header-link { font-size: 0.56rem; letter-spacing: 0.06em; white-space: nowrap; }
  .closing-actions { flex-direction: column; align-items: stretch; }
  .collection-head { margin-bottom: var(--s7); }
}

/* Narrow phones: the full "Shop the Collection" label no longer fits */
@media (max-width: 420px) {
  .brand-name { font-size: 1.26rem; }
  .brand-mark { width: 23px; height: 50px; }
  .header-link { font-size: 0.52rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; }
}
