/* ==========================================================================
   delaroderie.com — site stylesheet
   Palette: Louisiana Creole townhouse — parchment walls, cypress-green
   shutters, aged brass, iron-gall ink.
   ========================================================================== */

:root {
  /* Ground */
  --parchment:      #f3eee2;
  --parchment-deep: #e8e0cd;
  --parchment-warm: #faf7ef;

  /* Ink */
  --ink:            #1b1815;
  --ink-soft:       #4f4840;
  --ink-faint:      #7d746a;

  /* Accents */
  --cypress:        #2c4739;
  --cypress-light:  #416a54;
  --brass:          #9c6b28;
  --brass-light:    #c39244;
  --iron:           #3a3730;

  /* Structure */
  --rule:           #d2c6ad;
  --rule-strong:    #b8a988;

  /* Type */
  --display: "Marcellus", "Palatino Linotype", Palatino, Georgia, serif;
  --body:    "Spectral", Georgia, "Times New Roman", serif;
  --utility: "Barlow Semi Condensed", "Helvetica Neue", Arial, sans-serif;

  /* Metrics */
  --measure: 68ch;
  --page:    1120px;
  --gutter:  clamp(1.25rem, 4vw, 3rem);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Faint laid-paper texture, drawn not loaded */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
  background-image:
    repeating-linear-gradient(90deg,
      rgba(120,102,70,.045) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg,
      rgba(120,102,70,.030) 0 1px, transparent 1px 26px);
}
body > * { position: relative; z-index: 1; }

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

a {
  color: var(--cypress);
  text-decoration-color: var(--rule-strong);
  text-underline-offset: .18em;
  text-decoration-thickness: 1px;
  transition: color .18s ease, text-decoration-color .18s ease;
}
a:hover { color: var(--brass); text-decoration-color: var(--brass-light); }

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

/* --------------------------------------------------------------------------
   Layout shells
   -------------------------------------------------------------------------- */

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cypress);
  color: var(--parchment-warm);
  padding: .6rem 1rem;
  font-family: var(--utility);
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

/* --------------------------------------------------------------------------
   Masthead + navigation
   -------------------------------------------------------------------------- */

.masthead {
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, var(--parchment-warm), var(--parchment));
}

.masthead__inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.15rem;
  flex-wrap: wrap;
}

.wordmark {
  font-family: var(--display);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.wordmark:hover { color: var(--cypress); }

.wordmark__sub {
  display: block;
  font-family: var(--utility);
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: .45rem;
}

.nav-toggle {
  display: none;
  font-family: var(--utility);
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--rule-strong);
  color: var(--ink-soft);
  padding: .5rem .85rem;
  cursor: pointer;
  border-radius: 2px;
}

.nav ul {
  display: flex;
  gap: clamp(.9rem, 2vw, 1.85rem);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.nav a {
  font-family: var(--utility);
  font-size: .92rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  padding-bottom: .3rem;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--cypress); border-bottom-color: var(--brass-light); }
.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--cypress);
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    flex-basis: 100%;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding-block: .5rem; }
  .nav li { border-top: 1px solid var(--rule); }
  .nav a { display: block; padding: .8rem 0; border-bottom: none; }
}

/* --------------------------------------------------------------------------
   Typography primitives
   -------------------------------------------------------------------------- */

.eyebrow {
  font-family: var(--utility);
  font-size: .78rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 .9rem;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 .6rem;
}

h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); letter-spacing: .01em; }
h2 { font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2.05rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); }

p { margin: 0 0 1.15rem; max-width: var(--measure); }

.lede {
  font-size: clamp(1.08rem, 1rem + .45vw, 1.28rem);
  line-height: 1.62;
  color: var(--ink-soft);
}

.section { padding-block: clamp(3rem, 6vw, 5.25rem); }
.section + .section { border-top: 1px solid var(--rule); }

.section__head { margin-bottom: 2.4rem; }

/* Ornamental divider — a shutter-slat motif */
.slats {
  display: flex;
  gap: 4px;
  align-items: center;
  margin: 2.5rem 0;
}
.slats::before,
.slats::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--rule);
}
.slats span {
  width: 5px; height: 12px;
  background: var(--cypress);
  opacity: .55;
}
.slats span:nth-child(2) { background: var(--brass); opacity: .8; height: 16px; }

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

.hero {
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(156,107,40,.10), transparent 62%),
    linear-gradient(180deg, var(--parchment-warm), var(--parchment));
}

.hero__name {
  font-family: var(--display);
  font-size: clamp(2.1rem, 10.2vw, 6.5rem);
  letter-spacing: clamp(0em, .55vw, .07em);
  line-height: .95;
  margin: 0;
  text-transform: uppercase;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.hero__rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.6rem 0 1.4rem;
  font-family: var(--utility);
  font-size: .82rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.hero__rule::before,
.hero__rule::after {
  content: "";
  height: 1px;
  background: var(--rule-strong);
  flex: 1;
}
.hero__rule span { white-space: nowrap; }

@media (max-width: 640px) {
  .hero__rule { display: block; text-align: left; letter-spacing: .2em; }
  .hero__rule::before, .hero__rule::after { display: none; }
  .hero__rule span { white-space: normal; }
  .hero__rule::after {
    content: "";
    display: block;
    height: 1px;
    background: var(--rule-strong);
    margin-top: 1rem;
  }
}

.hero__lede { max-width: 62ch; }

/* --------------------------------------------------------------------------
   SIGNATURE: the Rodolph succession — five men, one name
   -------------------------------------------------------------------------- */

.succession {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--cypress);
  background: rgba(255,255,255,.42);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.succession__title {
  font-family: var(--utility);
  font-size: .78rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1.5rem;
}

.succession__rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.succession__rail::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 15px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent, var(--rule-strong) 12%, var(--rule-strong) 88%, transparent);
}

.gen {
  text-align: center;
  padding: 0 .35rem;
  position: relative;
}

.gen__numeral {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--parchment);
  border: 1px solid var(--rule-strong);
  font-family: var(--display);
  font-size: .82rem;
  color: var(--cypress);
  margin-bottom: .85rem;
}
.gen--living .gen__numeral {
  background: var(--cypress);
  border-color: var(--cypress);
  color: var(--parchment-warm);
}

.gen__nick {
  display: block;
  font-family: var(--display);
  font-size: clamp(.95rem, .85rem + .5vw, 1.25rem);
  color: var(--ink);
  line-height: 1.15;
}
.gen__years {
  display: block;
  font-family: var(--utility);
  font-size: .74rem;
  letter-spacing: .09em;
  color: var(--ink-faint);
  margin-top: .3rem;
  font-variant-numeric: tabular-nums;
}

.succession__note {
  margin: 1.75rem 0 0;
  font-size: .95rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

@media (max-width: 620px) {
  .succession__rail { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0; }
  .succession__rail::before { display: none; }
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  display: block;
  padding: 1.75rem 1.6rem;
  background: rgba(255,255,255,.5);
  border: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.card:hover {
  border-color: var(--cypress);
  background: rgba(255,255,255,.78);
  transform: translateY(-2px);
}
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.card__more {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--utility);
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass);
}

/* --------------------------------------------------------------------------
   Lineage chart
   -------------------------------------------------------------------------- */

.tree { margin: 0; padding: 0; list-style: none; }

.tree ul {
  margin: 0;
  padding-left: clamp(1.1rem, 3vw, 2.25rem);
  list-style: none;
  border-left: 1px solid var(--rule-strong);
}

.tree li { position: relative; margin: 0; }

.tree ul > li::before {
  content: "";
  position: absolute;
  left: calc(clamp(1.1rem, 3vw, 2.25rem) * -1);
  top: 1.45em;
  width: clamp(.75rem, 2.2vw, 1.5rem);
  height: 1px;
  background: var(--rule-strong);
}

.person {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem .7rem;
  padding: .65rem 0;
}

.person__name {
  font-family: var(--display);
  font-size: 1.06rem;
  color: var(--ink);
}
.person__name a { color: inherit; text-decoration-color: var(--brass-light); }
.person__nick { color: var(--cypress); }

.person__years {
  font-family: var(--utility);
  font-size: .82rem;
  letter-spacing: .06em;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.person--keystone .person__name {
  font-size: 1.18rem;
  border-bottom: 2px solid var(--brass-light);
  padding-bottom: 1px;
}

.flag {
  font-family: var(--utility);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1px solid var(--brass-light);
  border-radius: 2px;
  padding: .1rem .38rem;
  white-space: nowrap;
}

/* Callout */
.callout {
  border: 1px solid var(--rule-strong);
  border-top: 3px solid var(--brass);
  background: rgba(255,255,255,.55);
  padding: 1.5rem 1.6rem;
  margin: 2.5rem 0;
}
.callout h3 { font-size: 1.15rem; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout ul { max-width: var(--measure); padding-left: 1.2rem; }
.callout li { margin-bottom: .5rem; }

/* --------------------------------------------------------------------------
   Timeline
   -------------------------------------------------------------------------- */

.timeline { list-style: none; margin: 0; padding: 0; }

.entry {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 0 2rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--rule);
}
.entry:first-child { border-top: none; }

.entry__date {
  font-family: var(--utility);
  font-size: .88rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brass);
  padding-top: .28rem;
  font-variant-numeric: tabular-nums;
}
.entry__body h3 { font-size: 1.18rem; margin-bottom: .4rem; }
.entry__body p { font-size: .98rem; color: var(--ink-soft); margin-bottom: .6rem; }
.entry__body p:last-child { margin-bottom: 0; }

.entry--memorial .entry__date { color: var(--cypress); }
.entry--memorial .entry__body { border-left: 2px solid var(--rule-strong); padding-left: 1.1rem; }

@media (max-width: 680px) {
  .entry { grid-template-columns: 1fr; gap: .4rem; }
  .entry__date { padding-top: 0; }
  .entry--memorial .entry__body { border-left: none; padding-left: 0; }
}

/* Era heading inside timeline */
.era {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-top: 2px solid var(--rule-strong);
  padding-top: 1.1rem;
  margin: 3rem 0 0;
}

/* --------------------------------------------------------------------------
   Profiles
   -------------------------------------------------------------------------- */

.roster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.roster__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--rule);
  background: rgba(255,255,255,.5);
  transition: border-color .2s ease, transform .2s ease;
  height: 100%;
}
.roster__card:hover { border-color: var(--cypress); transform: translateY(-2px); }

.roster__frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--parchment-deep);
  border-bottom: 1px solid var(--rule);
}
.roster__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: sepia(.16) saturate(.92);
}
.roster__text { padding: 1.1rem 1.15rem 1.35rem; }
.roster__text h3 { font-size: 1.22rem; margin-bottom: .25rem; }
.roster__meta {
  font-family: var(--utility);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.roster__blurb { font-size: .93rem; color: var(--ink-soft); margin: .7rem 0 0; }

/* Profile page header */
.profile-head {
  display: grid;
  grid-template-columns: minmax(0, 260px) 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
  border-bottom: 1px solid var(--rule);
}
.profile-head__portrait {
  border: 1px solid var(--rule-strong);
  padding: 8px;
  background: var(--parchment-warm);
}
.profile-head__portrait img { filter: sepia(.16) saturate(.92); width: 100%; }
.profile-head__caption {
  font-family: var(--utility);
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--ink-faint);
  margin: .6rem 0 0;
  text-align: center;
}
.profile-head h1 { margin-bottom: .4rem; }
.profile-head__dates {
  font-family: var(--utility);
  font-size: .95rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1.2rem;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 700px) {
  .profile-head { grid-template-columns: 1fr; }
  .profile-head__portrait { max-width: 240px; }
}

/* Voice attribution for first-person accounts */
.voice {
  font-family: var(--utility);
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-left: 2px solid var(--brass-light);
  padding-left: .8rem;
  margin: 0 0 1.75rem;
}

.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2.75rem; }
.prose figure { margin: 2.25rem 0; }
.prose figure img {
  border: 1px solid var(--rule-strong);
  padding: 6px;
  background: var(--parchment-warm);
  filter: sepia(.16) saturate(.92);
}
.prose figcaption {
  font-family: var(--utility);
  font-size: .82rem;
  color: var(--ink-faint);
  margin-top: .6rem;
  letter-spacing: .04em;
}

.afterword {
  border-top: 1px solid var(--rule-strong);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: .98rem;
  color: var(--ink-soft);
}
.afterword .eyebrow { color: var(--cypress); }

/* --------------------------------------------------------------------------
   Photographs
   -------------------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.plate { margin: 0; }
.plate button {
  display: block;
  width: 100%;
  padding: 8px;
  background: var(--parchment-warm);
  border: 1px solid var(--rule);
  cursor: zoom-in;
  transition: border-color .2s ease, transform .2s ease;
}
.plate button:hover { border-color: var(--cypress); transform: translateY(-2px); }
.plate img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: var(--parchment-deep);
  filter: sepia(.18) saturate(.9);
}
.plate figcaption {
  font-size: .9rem;
  color: var(--ink-soft);
  margin-top: .7rem;
  line-height: 1.5;
}
.plate__year {
  display: block;
  font-family: var(--utility);
  font-size: .78rem;
  letter-spacing: .18em;
  color: var(--brass);
  margin-bottom: .25rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  padding: clamp(1rem, 5vw, 3rem);
  background: rgba(20,18,15,.93);
}
.lightbox.is-open { display: grid; }
.lightbox img {
  max-width: min(92vw, 900px);
  max-height: 76vh;
  border: 1px solid rgba(210,198,173,.35);
  padding: 6px;
  background: #1b1815;
}
.lightbox__caption {
  color: var(--parchment-deep);
  font-family: var(--body);
  font-size: .98rem;
  max-width: 60ch;
  margin: 1.25rem auto 0;
  text-align: center;
}
.lightbox__close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: transparent;
  border: 1px solid rgba(210,198,173,.4);
  color: var(--parchment-deep);
  font-family: var(--utility);
  font-size: .85rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .5rem .9rem;
  cursor: pointer;
}
.lightbox__close:hover { border-color: var(--brass-light); color: var(--brass-light); }
.lightbox figure { margin: 0; text-align: center; }

/* --------------------------------------------------------------------------
   Links & contact
   -------------------------------------------------------------------------- */

.linklist { list-style: none; margin: 0; padding: 0; max-width: 760px; }
.linklist li {
  padding: 1.35rem 0;
  border-top: 1px solid var(--rule);
}
.linklist li:first-child { border-top: none; }
.linklist h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.linklist p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.linklist .status {
  font-family: var(--utility);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border: 1px solid var(--rule-strong);
  padding: .1rem .4rem;
  margin-left: .5rem;
}

.contact-block {
  border: 1px solid var(--rule-strong);
  border-left: 3px solid var(--cypress);
  background: rgba(255,255,255,.55);
  padding: 1.75rem;
  max-width: 560px;
}
.contact-block .address {
  font-family: var(--display);
  font-size: 1.3rem;
  margin: .5rem 0 0;
}

.wishlist { max-width: var(--measure); padding-left: 1.25rem; }
.wishlist li { margin-bottom: .7rem; }

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

.footer {
  border-top: 1px solid var(--rule-strong);
  background: var(--iron);
  color: var(--parchment-deep);
  padding-block: 2.75rem;
  margin-top: 4rem;
}
.footer a { color: var(--brass-light); text-decoration-color: rgba(195,146,68,.4); }
.footer a:hover { color: var(--parchment-warm); }

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: flex-end;
}
.footer__mark {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 .5rem;
  color: var(--parchment-warm);
}
.footer p {
  font-family: var(--utility);
  font-size: .85rem;
  letter-spacing: .06em;
  color: #b3aa98;
  margin: 0;
  max-width: 46ch;
}
.footer__meta { text-align: right; }
@media (max-width: 620px) {
  .footer__meta { text-align: left; }
}
