/* Maria Torrano — jewelry brand site */

:root {
  --bg:        #faf8f5;
  --bg-alt:    #f2ede6;
  --ink:       #1f1b18;
  --muted:     #6b615a;
  --accent:    #a8834f;
  --border:    #e5ded4;
  --white:     #ffffff;

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

  --wrap: 1120px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
h3 { font-size: 1.375rem; }

p { margin: 0 0 1.25rem; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}

.lead { font-size: 1.125rem; color: var(--muted); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}

.logo img { height: 27px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.25rem);
  font-size: 0.9375rem;
}

.nav a {
  color: var(--muted);
  transition: color 0.2s ease;
  position: relative;
  padding-block: 0.25rem;
}

.nav a:hover,
.nav a[aria-current="page"] { color: var(--ink); }

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent);
}

.nav-shop {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.5rem 1.125rem !important;
  color: var(--ink) !important;
  font-size: 0.875rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-shop:hover { background: var(--ink); color: var(--bg) !important; }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 4.5rem);
  padding-block: clamp(3.5rem, 9vw, 7rem);
}

.hero-media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.hero blockquote {
  margin: 2rem 0 0;
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent);
  font-family: var(--serif);
  font-size: 1.375rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.4;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.8125rem 1.75rem;
  font-size: 0.9375rem;
  font-family: var(--sans);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn:hover { opacity: 0.85; }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); opacity: 1; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* ---------- page header ---------- */

.page-head {
  padding-block: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-head p { max-width: 34rem; margin-inline: auto; }

/* ---------- sections ---------- */

.section { padding-block: clamp(3rem, 8vw, 6rem); }
.section-alt { background: var(--bg-alt); }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}

.split-top { align-items: start; }

.split img { border-radius: 4px; }

.prose { max-width: 42rem; margin-inline: auto; }

/* ---------- cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem 1.75rem;
}

.card h3 { margin-bottom: 0.5rem; }
.card p  { margin-bottom: 0; color: var(--muted); font-size: 0.9375rem; }

.card-num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.75rem;
}

/* ---------- forms ---------- */

.field { margin-bottom: 1.125rem; }

.field label {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.75rem 0.875rem;
  transition: border-color 0.2s ease;
}

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

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

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--bg);
  padding-block: clamp(3rem, 7vw, 4.5rem) 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(250, 248, 245, 0.16);
}

.site-footer h3 {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 248, 245, 0.55);
  margin-bottom: 1.125rem;
  font-weight: 500;
}

.site-footer a { color: rgba(250, 248, 245, 0.8); transition: color 0.2s ease; }
.site-footer a:hover { color: var(--bg); }

.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.625rem; font-size: 0.9375rem; }

.footer-tagline {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  color: rgba(250, 248, 245, 0.75);
  margin: 0;
  line-height: 1.35;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: 0.8125rem;
  color: rgba(250, 248, 245, 0.5);
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .hero, .split { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .site-header .wrap { flex-wrap: wrap; min-height: 0; padding-block: 0.875rem; gap: 0.75rem; }
  .nav { width: 100%; justify-content: space-between; gap: 0.75rem; font-size: 0.875rem; }
  .logo img { height: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
