/* ─────────────────────────────────────────────────────────────
   ronniedicicco.com — lux ceiling design layer
   Type: Cormorant Garamond (display, editorial-italic) + Inter (body)
   Palette: deep antique gold on near-black with subtle warm paper
   No template tells: no CSS line-grid, no fractal noise, no radial gradients,
   no uppercase chip-strip. Hairlines do the work. Photography does the rest.
   ───────────────────────────────────────────────────────────── */

:root {
  /* Surfaces */
  --ink: #0a0a0c;            /* outer ground — near-black with cool warmth */
  --paper: #111114;          /* card / panel surface */
  --paper-2: #15151a;        /* lifted panel */
  --line: #1f1d1a;           /* hairline border */
  --line-soft: #15141200;    /* transparent fallback */

  /* Antique gold spectrum (deep, not bright) */
  --gold: #b08d3c;           /* primary accent — deep antique */
  --gold-deep: #8a6a1f;      /* borders, secondary */
  --gold-shadow: #5e4612;    /* shadow tone */
  --gold-light: #d4c084;     /* highlight / hover only */
  --gold-cream: #efe6cf;     /* warm cream for type accents */

  /* Type colors */
  --cream: #e9e0c9;          /* body cream */
  --cream-soft: #c9bfa6;     /* body secondary */
  --muted: #8b8576;          /* tertiary copy */
  --muted-2: #6d685c;        /* faintest copy */
  --white-warm: #f5eedb;     /* H1 cream */

  /* Effects */
  --shadow-lift: 0 24px 70px rgba(0,0,0,.55);
  --shadow-portrait: 0 60px 120px -30px rgba(0,0,0,.85);
  --gold-glow: 0 0 0 1px rgba(176,141,60,.18), 0 18px 48px -22px rgba(176,141,60,.18);

  /* Type */
  --display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

/* Universal italics — Cormorant italic is the signature treatment */
em, .display-italic { font-family: var(--display); font-style: italic; font-weight: 500; color: var(--gold-cream); letter-spacing: -.01em; }

/* ─────────────────────── Header ─────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 82px;
  padding: 16px clamp(22px, 4.5vw, 64px);
  background: rgba(10,10,12,.78);
  backdrop-filter: blur(22px) saturate(120%);
  -webkit-backdrop-filter: blur(22px) saturate(120%);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 16px; }
.brand-mark {
  width: 48px; height: 48px;
  display: inline-grid; place-items: center;
  border: 1px solid var(--gold-deep);
  background: linear-gradient(160deg, #131210 0%, #0c0b09 100%);
  box-shadow: inset 0 0 22px rgba(176,141,60,.05);
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-text {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-cream);
  letter-spacing: .01em;
  font-size: 1.08rem;
}
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  color: var(--cream-soft);
  text-transform: uppercase;
  font-size: .68rem;
  letter-spacing: .24em;
  font-weight: 500;
  transition: color .25s ease;
  position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%;
  bottom: -8px; height: 1px; background: var(--gold);
  transition: right .3s ease;
}
.main-nav a:hover { color: var(--gold-light); }
.main-nav a:hover::after { right: 0; }
.nav-toggle {
  display: none; background: transparent;
  border: 1px solid var(--gold-deep); color: var(--gold-cream);
  padding: 10px 14px; text-transform: uppercase; letter-spacing: .22em;
  font-size: .68rem; font-weight: 500; cursor: pointer;
}

/* ─────────────────────── Hero ─────────────────────── */

.hero {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr;
  min-height: 86vh;
  overflow: hidden;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}
.hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(255,255,255,.018), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.4) 0%, transparent 30%, transparent 70%, rgba(0,0,0,.55) 100%);
  pointer-events: none; z-index: 2;
}
.hero-copy {
  position: relative; z-index: 4;
  padding: clamp(80px, 9vw, 140px) clamp(28px, 5.5vw, 90px);
  align-self: center; max-width: 760px;
}
.eyebrow, .section-kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .32em;
  font-size: .68rem;
  font-weight: 600;
  margin: 0 0 30px;
  display: inline-block;
}
.eyebrow .dot, .punch-sep, .cap-sep { display:inline-block; }
.eyebrow .dot { color: var(--gold-deep); margin: 0 .35em; }
.section-kicker {
  padding-left: 36px;
  position: relative;
}
.section-kicker::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 24px; height: 1px; background: var(--gold);
}
.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(3.4rem, 8vw, 8rem);
  line-height: 0.96;
  letter-spacing: -.025em;
  margin: 0;
  color: var(--white-warm);
}
.hero h1 em { color: var(--gold-cream); }
.hero-subtitle {
  max-width: 600px;
  margin: 38px 0 0;
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  color: var(--cream-soft);
  line-height: 1.6;
}
.hero-punch {
  color: var(--gold-light);
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .4em;
  font-size: .76rem;
  font-weight: 600;
  margin: 38px 0 0;
}
.punch-sep {
  display: inline-block;
  width: 18px; height: 1px; background: var(--gold-deep);
  margin: 0 16px 6px; vertical-align: middle;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 44px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 32px;
  border: 1px solid var(--gold);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .7rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .25s ease, background .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease;
  font-family: var(--sans);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  border-color: var(--gold-light);
  box-shadow: 0 12px 32px -16px rgba(176,141,60,.65);
}
.btn-primary:hover { box-shadow: 0 18px 44px -18px rgba(212,192,132,.85); }
.btn-secondary {
  color: var(--gold-cream);
  background: transparent;
  border-color: var(--gold-deep);
}
.btn-secondary:hover { background: rgba(176,141,60,.06); border-color: var(--gold); color: var(--gold-light); }

.hero-portrait {
  position: relative; z-index: 3;
  display: flex; align-items: stretch; justify-content: flex-end;
  padding: clamp(60px, 7vw, 110px) clamp(28px, 5vw, 84px) clamp(60px, 7vw, 110px) 0;
}
.portrait-frame {
  position: relative;
  width: 100%; height: 100%;
  min-height: 560px;
  border: 1px solid var(--gold-deep);
  box-shadow: var(--shadow-portrait);
  overflow: hidden;
}
.portrait-frame::before {
  content: ""; position: absolute; inset: 10px;
  border: 1px solid rgba(176,141,60,.22);
  pointer-events: none; z-index: 3;
}
.portrait-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,10,12,.45) 100%);
  pointer-events: none; z-index: 2;
}
.portrait-frame img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 18%;
  filter: contrast(1.04) saturate(.92);
}

/* ─────────────────────── Sections base ─────────────────────── */

section { padding: clamp(80px, 8vw, 130px) clamp(24px, 5.5vw, 90px); }
section + section:not(.service-strip):not(.proof-section):not(.media-section):not(.pathways-section):not(.contact-section):not(.intro-panel) {
  border-top: 1px solid var(--line);
}

h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.3rem, 4.4vw, 4.9rem);
  line-height: 1.04;
  letter-spacing: -.022em;
  margin: 0 0 28px;
  color: var(--white-warm);
}
h2 em { color: var(--gold-cream); font-style: italic; font-weight: 500; }
h3 { font-family: var(--display); font-weight: 500; font-size: 1.42rem; line-height: 1.22; margin: 0 0 12px; color: var(--gold-cream); letter-spacing: -.01em; }
p { color: var(--cream-soft); }

/* ─────────────────────── Intro panel ─────────────────────── */

.intro-panel {
  display: grid;
  grid-template-columns: .85fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.intro-copy p { margin-top: 0; font-size: 1.08rem; line-height: 1.72; }
.intro-copy .tight { color: var(--muted); font-size: 1rem; }

/* ─────────────────────── Service strip ─────────────────────── */

.service-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0;
  background: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.service-strip article {
  min-height: 280px;
  padding: 48px 32px;
  border-right: 1px solid var(--line);
  background: transparent;
  transition: background .4s ease;
  position: relative;
}
.service-strip article:last-child { border-right: 0; }
.service-strip article:hover { background: var(--paper); }
.service-strip article::before {
  content: ""; position: absolute; left: 32px; right: 32px; top: 0;
  height: 1px; background: var(--gold-deep); transform: scaleX(0);
  transform-origin: left; transition: transform .5s ease;
}
.service-strip article:hover::before { transform: scaleX(1); }
.service-strip p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.66; }
.mini-icon {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--gold-deep);
  color: var(--gold-cream);
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 24px;
}

/* ─────────────────────── Split section ─────────────────────── */

.split-section {
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  background: var(--paper);
}
.split-copy p { font-size: 1.06rem; line-height: 1.72; }
.image-card {
  overflow: hidden;
  border: 1px solid var(--gold-deep);
  position: relative;
  box-shadow: var(--shadow-lift);
}
.image-card::before {
  content: ""; position: absolute; inset: 8px;
  border: 1px solid rgba(176,141,60,.18);
  pointer-events: none; z-index: 2;
}
.image-card img {
  aspect-ratio: 4 / 3; object-fit: cover;
  filter: contrast(1.04) saturate(.9);
}

/* ─────────────────────── Proof section ─────────────────────── */

.proof-section {
  background: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-heading { max-width: 860px; margin-bottom: 56px; }
.proof-heading p { font-size: 1.06rem; line-height: 1.68; color: var(--cream-soft); }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 48px;
}
.proof-grid article {
  padding: 36px 28px 32px;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color .4s ease, transform .4s ease, box-shadow .4s ease;
  position: relative;
}
.proof-grid article:hover {
  border-color: var(--gold-deep);
  transform: translateY(-3px);
  box-shadow: var(--gold-glow);
}
.proof-numeral {
  font-family: var(--display);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--gold-deep);
  padding-bottom: 18px;
}
.proof-grid p { margin: 0; font-size: .96rem; color: var(--muted); line-height: 1.66; }

.proof-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.proof-gallery figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  transition: border-color .4s ease;
}
.proof-gallery figure:hover { border-color: var(--gold-deep); }
.proof-gallery img {
  aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .8s ease;
  filter: contrast(1.04) saturate(.9);
}
.proof-gallery figure:hover img { transform: scale(1.04); }
figcaption {
  color: var(--gold-cream);
  font-family: var(--display);
  font-style: italic;
  font-size: .94rem;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  letter-spacing: .005em;
}
.cap-sep {
  display: inline-block;
  width: 14px; height: 1px;
  background: var(--gold-deep);
  margin: 0 10px 4px;
  vertical-align: middle;
}

.credentials-line {
  margin: 56px 0 18px;
  padding: 28px 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--gold-cream);
  text-align: center;
  max-width: 920px;
  margin-left: auto; margin-right: auto;
}
.proof-note {
  margin: 24px auto 0;
  max-width: 920px;
  color: var(--muted-2);
  font-size: .88rem;
  text-align: center;
  line-height: 1.6;
}

/* ─────────────────────── Media section ─────────────────────── */

.media-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.media-heading { max-width: 880px; margin-bottom: 52px; }
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.media-card {
  border: 1px solid var(--line);
  background: var(--ink);
  overflow: hidden;
  transition: border-color .4s ease, transform .4s ease;
}
.media-card:hover { border-color: var(--gold-deep); transform: translateY(-3px); }
.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-bottom: 1px solid var(--line);
}
.video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.media-body { padding: 28px 28px 30px; }
.media-card p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.66; }

/* ─────────────────────── Client / product section ─────────────────────── */

.client-section {
  background: var(--ink);
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.client-copy { max-width: 900px; margin-bottom: 48px; }
.client-tiles {
  display: grid;
  grid-template-columns: 1.1fr .85fr .95fr;
  gap: 20px;
}
.client-tiles figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}
.client-tiles img {
  height: 100%; min-height: 280px;
  object-fit: cover;
  background: #0d0c0a;
}
.client-tiles figcaption {
  color: var(--gold-cream);
  font-family: var(--display);
  font-style: italic;
  font-size: .98rem;
  text-align: center;
  padding: 16px;
}
.logo-tile {
  background: #f5eedb !important;
  display: flex; flex-direction: column; justify-content: center;
}
.logo-tile img { object-fit: contain; padding: 30px; background: #f5eedb; }
.logo-tile figcaption { background: var(--paper); color: var(--gold-cream); }

/* ─────────────────────── Pathways ─────────────────────── */

.pathways-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pathways-section > h2 { margin-bottom: 52px; }
.pathways-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pathways-grid div {
  padding: 36px 28px;
  min-height: 220px;
  border: 1px solid var(--line);
  background: var(--ink);
  transition: border-color .4s ease, transform .4s ease;
  display: flex; flex-direction: column;
}
.pathways-grid div:hover { border-color: var(--gold-deep); transform: translateY(-3px); }
.pathway-numeral {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 22px;
  display: inline-block;
  border-bottom: 1px solid var(--gold-deep);
  padding-bottom: 14px;
  width: fit-content;
}
.pathways-grid strong {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  color: var(--gold-cream);
  font-size: 1.24rem;
  margin-bottom: 12px;
  line-height: 1.3;
}
.pathway-desc {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.66;
}

/* ─────────────────────── Ecosystem ─────────────────────── */

.ecosystem-section {
  background: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.ecosystem-section p {
  max-width: 1080px;
  font-size: 1.06rem;
  line-height: 1.74;
  color: var(--cream-soft);
}

/* ─────────────────────── Contact ─────────────────────── */

.contact-section {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.legal-note {
  font-size: .86rem;
  color: var(--muted-2);
  margin-top: 28px;
  line-height: 1.7;
}
.contact-form { display: grid; gap: 18px; }
.contact-form label {
  display: grid; gap: 9px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .66rem;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--cream);
  padding: 16px 18px;
  font: 400 1rem var(--sans);
  outline: none;
  transition: border-color .25s ease, background .25s ease;
}
.contact-form textarea { resize: vertical; min-height: 96px; }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  background: var(--paper-2);
}
.company-field { position: absolute; left: -9999px; opacity: 0; }
.form-status { margin: 8px 0 0; font-size: .92rem; min-height: 1.2em; }
.form-status.ok { color: var(--gold-light); }
.form-status.err { color: #c75c4d; }

/* ─────────────────────── Footer ─────────────────────── */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
  padding: 64px 24px 72px;
  background: var(--ink);
  border-top: 1px solid var(--line);
}
.footer-mark { width: 58px; height: 58px; }
.footer-tag {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  color: var(--gold-cream);
  font-size: 1.15rem;
  letter-spacing: .01em;
}
.footer-tag em { display: inline; margin: 0 6px; }
.footer-meta {
  margin: 0;
  color: var(--muted-2);
  font-size: .82rem;
  letter-spacing: .04em;
}

/* ─────────────────────── Reveal animation ─────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s cubic-bezier(.22,.61,.36,1),
              transform .9s cubic-bezier(.22,.61,.36,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────── Selection ─────────────────────── */

::selection { background: rgba(176,141,60,.35); color: var(--white-warm); }

/* ─────────────────────── Responsive ─────────────────────── */

@media (max-width: 1180px) {
  .hero { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; padding: 24px 24px 0; }
  .portrait-frame { min-height: 460px; }
  .hero-copy { padding-top: 58px; padding-bottom: 84px; }
  .service-strip { grid-template-columns: repeat(2, 1fr); }
  .service-strip article:nth-child(2n) { border-right: 0; }
  .service-strip article { border-bottom: 1px solid var(--line); }
  .proof-grid, .pathways-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-gallery, .media-grid { grid-template-columns: repeat(2, 1fr); }
  .split-section, .intro-panel, .contact-section { grid-template-columns: 1fr; }
  .client-tiles { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header { min-height: 70px; padding: 14px 20px; }
  .brand-text { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; left: 14px; right: 14px; top: 78px;
    display: none; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px;
    background: rgba(10,10,12,.97);
    border: 1px solid var(--line);
    backdrop-filter: blur(20px);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 16px 12px; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a::after { display: none; }

  .hero { min-height: auto; }
  .portrait-frame { min-height: 380px; }
  .hero-copy { padding: 56px 22px 72px; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .hero-portrait { padding: 22px 22px 0; }
  .punch-sep { width: 12px; margin: 0 10px 4px; }
  .hero-punch { letter-spacing: .28em; }

  section { padding: 64px 22px; }
  .service-strip, .proof-grid, .proof-gallery, .media-grid, .pathways-grid, .client-tiles { grid-template-columns: 1fr; }
  .service-strip article { border-right: 0; min-height: auto; }
  .credentials-line { padding: 24px; font-size: 1.06rem; }
  .btn { width: 100%; }
}
