/* =========================================================
   CARIBRIDGE — Sun & Terracotta Design System v2.0
   ========================================================= */

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

:root {
  --cream:           #FDF6EC;
  --cream-2:         #FFF8F2;
  --terracotta:      #E85D30;
  --terracotta-dark: #C74A1E;
  --terracotta-pale: #FAE8DF;
  --brown:           #2C2416;
  --brown-mid:       #5A3E25;
  --brown-text:      #3E2C14;
  --brown-muted:     #9B7A4E;
  --border:          #E8D5B8;
  --border-dark:     #D4BC94;
  --gold:            #C9903A;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--brown-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a   { color: inherit; }
p   { font-size: 16px; line-height: 1.7; }
h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; letter-spacing: -.02em; line-height: 1.08; }

/* ── LAYOUT ── */
.container  { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.section    { padding: 100px 0; }
.section-sm { padding: 64px 0; }

/* ── NAVIGATION ── */
.nav {
  background: var(--brown);
  position: sticky; top: 0; z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo {
  font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 300;
  font-size: 23px; color: #F5D98A; text-decoration: none; letter-spacing: -.01em;
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 14px; font-weight: 400; color: rgba(253,246,236,.5);
  text-decoration: none; transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: #FDF6EC; }
.nav-cta {
  background: var(--terracotta) !important; color: #fff !important;
  padding: 9px 22px; border-radius: 5px; font-weight: 500 !important;
  letter-spacing: .01em; transition: background .2s !important;
}
.nav-cta:hover { background: var(--terracotta-dark) !important; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 5px;
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500;
  text-decoration: none; cursor: pointer; border: none;
  transition: all .2s; letter-spacing: .01em; line-height: 1;
}
.btn-primary       { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-1px); }
.btn-outline       { background: transparent; color: var(--terracotta); border: 1.5px solid var(--terracotta); }
.btn-outline:hover { background: var(--terracotta); color: #fff; }
.btn-outline-white       { background: transparent; color: rgba(255,255,255,.85); border: 1.5px solid rgba(255,255,255,.3); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); color: #fff; }
.btn-white       { background: #fff; color: var(--brown); }
.btn-white:hover { background: var(--cream); transform: translateY(-1px); }
.btn-dark        { background: var(--brown); color: var(--cream); }
.btn-dark:hover  { background: #3D321F; transform: translateY(-1px); }
.btn-lg  { padding: 16px 36px; font-size: 16px; border-radius: 6px; }
.btn-sm  { padding: 10px 20px; font-size: 13px; }

/* ── LABELS ── */
.label {
  display: inline-block; font-size: 10.5px; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 16px;
}
.label-light { color: rgba(253,246,236,.5); }
.label-gold  { color: var(--gold); }

/* ── CARDS ── */
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 32px; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 40px rgba(44,36,22,.1); }
.card-icon {
  width: 44px; height: 44px; background: var(--terracotta-pale);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}

/* ── SECTION HEADER ── */
.section-header { margin-bottom: 60px; }
.section-header h2 { font-size: clamp(30px,4vw,48px); font-weight: 700; color: var(--brown); margin-bottom: 16px; }
.section-header p  { font-size: 17px; color: var(--brown-muted); max-width: 520px; line-height: 1.65; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* ── CHECKLIST ── */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.checklist li {
  font-size: 15px; color: var(--brown-mid);
  display: flex; align-items: flex-start; gap: 12px; line-height: 1.5;
}
.checklist li::before {
  content: ''; flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px;
  background: var(--terracotta); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' fill='none' viewBox='0 0 10 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* ── PAGE HERO ── */
.page-hero { background: var(--terracotta); padding: 88px 0; position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; top: -40%; right: -8%;
  width: 55%; height: 200%; background: rgba(255,255,255,.04); border-radius: 50%;
}
.page-hero .label { color: rgba(255,255,255,.5); }
.page-hero h1 { font-size: clamp(36px,5vw,64px); font-weight: 700; color: #fff; margin-bottom: 18px; letter-spacing: -.025em; }
.page-hero h1 em { font-style: italic; font-weight: 300; }
.page-hero .hero-sub { font-size: 18px; color: rgba(255,255,255,.62); max-width: 540px; line-height: 1.65; }

/* ── MARQUEE ── */
.marquee-strip { background: var(--brown); padding: 15px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; animation: marquee 36s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-track span { font-size: 11px; font-weight: 400; color: rgba(253,246,236,.4); letter-spacing: .1em; text-transform: uppercase; padding: 0 22px; }
.marquee-track .sep { color: var(--terracotta); padding: 0 6px; }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── PHOTO MOSAIC ── */
.photo-mosaic { overflow: hidden; }
.pm-grid { display: grid; grid-template-columns: 1.65fr 1fr; height: 460px; gap: 3px; background: var(--brown); }
.pm-col  { display: grid; grid-template-rows: 1fr 1fr; gap: 3px; height: 100%; overflow: hidden; }
.pm-item { position: relative; overflow: hidden; background: var(--brown); }
.pm-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s ease; }
.pm-item:hover img { transform: scale(1.04); }
.pm-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 20px;
  background: linear-gradient(0deg, rgba(44,36,22,.7), transparent);
  font-family: 'DM Sans', sans-serif; font-size: 10.5px; font-weight: 500;
  color: rgba(255,255,255,.75); letter-spacing: .12em; text-transform: uppercase;
}

/* ── PHOTO BANNER ── */
.photo-banner { position: relative; overflow: hidden; }
.photo-banner > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 52px 64px; }
.pb-content { max-width: 680px; }
.pb-content .label { margin-bottom: 10px; }
.pb-quote {
  font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 300;
  color: #fff; line-height: 1.25; font-size: clamp(20px,2.6vw,36px); letter-spacing: -.01em;
}
.pb-dark-left  > .pb-overlay { background: linear-gradient(90deg, rgba(44,36,22,.72) 0%, rgba(44,36,22,.2) 55%, transparent 100%); }
.pb-terracotta > .pb-overlay { background: linear-gradient(135deg, rgba(44,36,22,.6) 0%, rgba(232,93,48,.4) 100%); }
.pb-bottom     > .pb-overlay { background: linear-gradient(0deg, rgba(44,36,22,.75) 0%, transparent 60%); }

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 1; transform: none; transition: opacity .65s ease, transform .65s ease; }
.js-reveal .reveal { opacity: 0; transform: translateY(26px); }
.js-reveal .reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }
.d5 { transition-delay: .40s; }

/* ── FOOTER ── */
footer { background: var(--brown); padding: 80px 0 44px; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 52px; margin-bottom: 64px; }
.footer-brand-logo {
  font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 300;
  font-size: 24px; color: #F5D98A; text-decoration: none; display: block; margin-bottom: 12px;
}
.footer-brand p { font-size: 14px; color: rgba(253,246,236,.38); line-height: 1.65; max-width: 252px; }
.footer-col h5 {
  font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(253,246,236,.28); margin-bottom: 20px;
}
.footer-col a { display: block; font-size: 14px; color: rgba(253,246,236,.52); text-decoration: none; margin-bottom: 11px; transition: color .2s; }
.footer-col a:hover { color: #FDF6EC; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 13px; color: rgba(253,246,236,.25); }
.footer-email a { font-size: 14px; color: #F5D98A; text-decoration: none; opacity: .85; transition: opacity .2s; }
.footer-email a:hover { opacity: 1; }
