/* ============================================================
   R&R Sister Designs — Brand Stylesheet
   ============================================================ */

/* ── Variables ────────────────────────────────────────────── */
:root {
  --ivory:        #FAF8F3;
  --ivory-mid:    #F2EDE3;
  --ivory-dark:   #E8DFD0;
  --white:        #FFFFFF;
  --black:        #0A0A0A;
  --charcoal:     #1C1C1C;
  --text:         #2A2520;
  --muted:        #7A726A;
  --gold:         #C49A2E;
  --gold-light:   #D9BB5A;
  --gold-dark:    #9A7820;
  --gold-pale:    #F7F0DC;
  --line:         #DDD5C3;
  --line-dark:    #C4B89A;

  --serif:        'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:         'Inter', system-ui, -apple-system, sans-serif;

  --max-width:    76rem;
  --nav-height:   5rem;

  --shadow-sm:    0 2px 12px rgba(10, 8, 5, 0.06);
  --shadow:       0 8px 40px rgba(10, 8, 5, 0.10);
  --shadow-lg:    0 20px 60px rgba(10, 8, 5, 0.14);

  --ease:         0.3s ease;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  color: var(--text);
  background: var(--ivory);
  font: 400 1rem/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── Type Scale ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  color: var(--black);
}
h1 { font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 300; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 300; }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.15rem; font-weight: 500; font-family: var(--sans); }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout ───────────────────────────────────────────────── */
.container          { width: min(calc(100% - 3rem), var(--max-width)); margin-inline: auto; }
.container--narrow  { max-width: 52rem; }
.section            { padding: 6rem 0; }
.section--sm        { padding: 4rem 0; }
.section--lg        { padding: 9rem 0; }

/* ── Decorative utilities ─────────────────────────────────── */
.eyebrow {
  display: block;
  margin-bottom: 1rem;
  color: var(--gold-dark);
  font: 500 0.7rem/1 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.lead {
  font: 300 1.2rem/1.8 var(--serif);
  color: var(--muted);
  max-width: 42rem;
}
.gold-rule {
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
}
.gold-rule--center { margin-inline: auto; }
.section-head {
  text-align: center;
  margin-bottom: 4.5rem;
}
.section-head h2    { max-width: 22ch; margin-inline: auto; margin-bottom: 1rem; }
.section-head .lead { margin: 0 auto; }

/* ── Navigation ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 248, 243, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 2.75rem; width: auto; }
.nav-list { display: flex; align-items: center; gap: 0.1rem; }
.nav-list a {
  position: relative;
  display: block;
  padding: 0.5rem 1rem;
  color: var(--muted);
  font: 400 0.75rem/1 var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color var(--ease);
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0.15rem;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.nav-list a:hover                  { color: var(--black); }
.nav-list a:hover::after           { transform: scaleX(1); }
.nav-list a[aria-current="page"]   { color: var(--black); }
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font: 500 0.72rem/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--gold        { background: var(--gold);    border-color: var(--gold);    color: var(--white); }
.btn--gold:hover  { background: var(--gold-dark); border-color: var(--gold-dark); }

.btn--black       { background: var(--black);   border-color: var(--black);   color: var(--white); }
.btn--black:hover { background: var(--charcoal); border-color: var(--charcoal); }

.btn--outline        { background: transparent; border-color: var(--black); color: var(--black); }
.btn--outline:hover  { background: var(--black); color: var(--white); }

.btn--outline-gold        { background: transparent; border-color: var(--gold); color: var(--gold-dark); }
.btn--outline-gold:hover  { background: var(--gold); color: var(--white); }

.btn--outline-ivory       { background: transparent; border-color: rgba(250,248,243,0.5); color: var(--ivory); }
.btn--outline-ivory:hover { background: var(--ivory); color: var(--black); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold-dark);
  font: 500 0.72rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(196,154,46,0.3);
  padding-bottom: 3px;
  transition: color var(--ease), border-color var(--ease);
}
.text-link:hover { color: var(--gold); border-color: var(--gold); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 7rem 0 6.5rem;
  text-align: center;
  overflow: hidden;
  background: var(--ivory);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 35% at 50% 0%,   rgba(196,154,46,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 35% 25% at 15% 100%,  rgba(196,154,46,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 35% 25% at 85% 100%,  rgba(196,154,46,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero-logo {
  display: block;
  margin: 0 auto 3.5rem;
  width: min(21rem, 78vw);
  animation: fadeUp 0.9s ease both;
}
.hero h1 {
  max-width: 18ch;
  margin: 0 auto 1.5rem;
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  animation: fadeUp 0.9s 0.12s ease both;
}
.hero .lead {
  margin: 0 auto 3rem;
  max-width: 36rem;
  animation: fadeUp 0.9s 0.22s ease both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  animation: fadeUp 0.9s 0.32s ease both;
}
.hero-tagline {
  margin-top: 3.5rem;
  color: var(--gold-dark);
  font: 300 italic 1.1rem var(--serif);
  letter-spacing: 0.06em;
  animation: fadeUp 0.9s 0.44s ease both;
}

/* ── Collections grid ─────────────────────────────────────── */
.collections-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: repeat(2, 1fr);
}
.collection-card {
  padding: 2.5rem 1.75rem;
  background: var(--white);
  transition: background var(--ease);
  position: relative;
}
.collection-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.collection-card:hover              { background: var(--ivory); }
.collection-card:hover::after       { transform: scaleX(1); }
.collection-card h3                 { font-size: 1.45rem; margin-bottom: 0.6rem; }
.collection-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* ── Project Cards ────────────────────────────────────────── */
.project-grid {
  display: grid;
  gap: 2rem;
}
.project-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.project-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--line-dark);
}
.card-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ivory-mid);
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}
.project-card:hover .card-image img { transform: scale(1.04); }
.card-body {
  padding: 1.75rem;
  border-top: 1px solid var(--line);
}
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.card-category {
  font: 500 0.66rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.card-avail { font: 400 0.7rem/1 var(--sans); color: var(--muted); }
.card-body h3,
.card-body h2 { font-size: 1.5rem; margin-bottom: 1rem; font-weight: 400; }
.card-body h3 a:hover,
.card-body h2 a:hover { color: var(--gold-dark); }

/* ── About preview (dark) ─────────────────────────────────── */
.about-preview { background: var(--black); color: var(--ivory); }
.about-preview h2          { color: var(--ivory); }
.about-preview p           { color: rgba(250,248,243,0.72); }
.about-preview .eyebrow    { color: var(--gold-light); }
.about-preview .lead       { color: rgba(250,248,243,0.68); }
.about-preview .gold-rule  { background: rgba(196,154,46,0.4); }
.about-split {
  display: grid;
  gap: 4.5rem;
  align-items: center;
}
.about-ornament {
  display: grid;
  place-items: center;
  min-height: 22rem;
  border: 1px solid rgba(196,154,46,0.25);
  background: rgba(196,154,46,0.04);
  position: relative;
}
.about-ornament::before {
  content: '';
  position: absolute;
  inset: 0.85rem;
  border: 1px solid rgba(196,154,46,0.12);
  pointer-events: none;
}
.ornament-inner { text-align: center; padding: 2rem; }
.ornament-inner p {
  font: 300 italic 1.7rem/1.9 var(--serif);
  color: var(--gold-light);
  margin: 0;
}

/* ── Why Handmade ─────────────────────────────────────────── */
.why-grid {
  display: grid;
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.why-item {
  padding: 2.75rem 2.25rem;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.why-item::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.why-item:hover::after { transform: scaleX(1); }
.why-number {
  display: block;
  font: 300 italic 3.5rem var(--serif);
  color: var(--ivory-dark);
  line-height: 1;
  margin-bottom: 1.25rem;
}
.why-item h3  { font-size: 1.3rem; margin-bottom: 0.75rem; }
.why-item p   { color: var(--muted); font-size: 0.92rem; line-height: 1.7; margin: 0; }

/* ── CTA section ──────────────────────────────────────────── */
.cta-section {
  background: var(--ivory-mid);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.cta-section h2    { max-width: 18ch; margin: 0 auto 1.5rem; }
.cta-section .lead { margin: 0 auto 2.5rem; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* ── Page header ──────────────────────────────────────────── */
.page-header {
  padding: 5rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(170deg, var(--ivory) 40%, var(--ivory-mid) 100%);
}
.page-header h1    { max-width: 18ch; margin-inline: auto; margin-bottom: 1.25rem; }
.page-header .lead { margin-inline: auto; }

/* ── Detail page ──────────────────────────────────────────── */
.detail-section { padding: 5rem 0 7rem; }
.detail-grid {
  display: grid;
  gap: 4rem;
  align-items: start;
}
.detail-image {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ivory-mid);
}
.detail-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font: 400 0.72rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  transition: color var(--ease);
}
.detail-back:hover { color: var(--black); }
.detail-copy h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 1.25rem;
}
.project-facts {
  margin: 2.5rem 0;
  border-top: 1px solid var(--line);
}
.project-facts div {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.project-facts dt {
  font: 600 0.68rem/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black);
}
.project-facts dd { color: var(--muted); font-size: 0.95rem; }
.avail-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: var(--gold-pale);
  border: 1px solid var(--gold-light);
  color: var(--gold-dark);
  font: 500 0.68rem/1.5 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── About page ───────────────────────────────────────────── */
.about-story-grid {
  display: grid;
  gap: 5rem;
  align-items: center;
}
.about-story-grid p + p {
  margin-top: 1rem;
}
.about-pull {
  padding: 3rem 3rem 3rem 2.5rem;
  border-left: 2px solid var(--gold);
  background: var(--ivory-mid);
}
.about-pull blockquote {
  font: 300 italic 1.9rem/1.4 var(--serif);
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}
.about-pull cite {
  color: var(--gold-dark);
  font: 500 0.7rem/1 var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.process-steps { display: grid; gap: 0; }
.process-step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.5rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.process-step:last-child { border-bottom: none; }
.step-num {
  font: 300 italic 2.5rem var(--serif);
  color: var(--gold);
  line-height: 1;
  padding-top: 0.1rem;
}
.process-step h3  { font-size: 1.2rem; margin-bottom: 0.5rem; }
.process-step p   { color: var(--muted); font-size: 0.93rem; margin: 0; }
.values-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  margin-top: 3rem;
}
.value-item {
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--white);
}
.value-item h4  { margin-bottom: 0.75rem; color: var(--black); }
.value-item p   { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ── Contact page ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  gap: 5rem;
  align-items: start;
}
.contact-intro h2 { margin-bottom: 1.25rem; }
.contact-note {
  margin-top: 2.5rem;
  padding: 1.75rem;
  border-left: 2px solid var(--gold);
  background: var(--gold-pale);
}
.contact-note .eyebrow { margin-bottom: 0.5rem; }
.contact-note p { color: var(--text); font-size: 0.93rem; }
.form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2.75rem;
}
.form-field { margin-bottom: 1.5rem; }
.form-field label {
  display: block;
  margin-bottom: 0.5rem;
  font: 600 0.68rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
}
.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--text);
  font: 400 1rem/1.5 var(--sans);
  border-radius: 0;
  appearance: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,154,46,0.12);
}
.form-field textarea  { resize: vertical; min-height: 9rem; }
.btn--submit          { width: 100%; }
.form-disclaimer {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}
.form-success {
  padding: 3rem 2.5rem;
  text-align: center;
  border: 1px solid var(--gold-light);
  background: var(--gold-pale);
}
.form-success h2 { font-size: 2rem; margin-bottom: 1rem; }
.form-success p  { color: var(--muted); margin-bottom: 1.5rem; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--black);
  color: rgba(250,248,243,0.55);
  padding: 5rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  gap: 3.5rem;
  margin-bottom: 4rem;
}
.footer-brand-name {
  display: block;
  font: 300 italic 1.6rem var(--serif);
  color: var(--ivory);
  margin-bottom: 1rem;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.75; }
.footer-col-head {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--white);
  font: 600 0.65rem/1 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { font-size: 0.88rem; transition: color var(--ease); }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.76rem;
}
.footer-bottom a { transition: color var(--ease); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeUp 0.7s ease both; }

/* ── Responsive ───────────────────────────────────────────── */
@media (min-width: 44rem) {
  .project-grid     { grid-template-columns: repeat(2, 1fr); }
  .why-grid         { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 62rem) {
  .collections-grid { grid-template-columns: repeat(3, 1fr); }
  .project-grid     { grid-template-columns: repeat(3, 1fr); }
  .about-split      { grid-template-columns: 1fr 1fr; }
  .about-story-grid { grid-template-columns: 1fr 1fr; }
  .why-grid         { grid-template-columns: repeat(3, 1fr); }
  .detail-grid      { grid-template-columns: 1.1fr 0.9fr; gap: 6rem; }
  .contact-grid     { grid-template-columns: 0.85fr 1.15fr; }
  .footer-grid      { grid-template-columns: 1.6fr 1fr 1fr; }
}

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