@import url("../shared/fonts/fonts.css");

/* ============================================================================
   CONCEPT 1 - HEIRLOOM
   Fine wedding stationery, rendered as a website. Centred axis, plate-mark
   frames, Oxford rules, engraved capitals. Lineage: voucher Concept A.
   ========================================================================= */

:root {
  --ivory:      #F7F3EA;
  --card:       #FFFDF8;
  --ink:        #241C14;
  --gold:       #9A7B2E;   /* rules, keylines, large display only - 3.6:1 on ivory */
  --gold-ink:   #7A5F1E;   /* the same gold, darkened for small text - 5.4:1 AA  */
  --gold-faint: #DCCDA6;
  --grey:       #6E655A;   /* warm grey, darkened for body use - 5.2:1 AA        */
  --grey-rule:  #C9C0B0;
  --bordeaux:   #6E2639;   /* used exactly once: the primary call to action      */

  --serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --caps:  "Cinzel", "Palatino Linotype", Georgia, serif;

  --gut: clamp(1.15rem, 5vw, 3.25rem);
  --rule: 1px solid var(--grey-rule);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--ivory);
  padding: .85rem 1.25rem; font-family: var(--caps); font-size: .8rem;
  letter-spacing: .12em; text-decoration: none;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 3px; }

/* ---- engraved capitals --------------------------------------------------
   Real capitals, letterspaced. Never font-variant: small-caps on a face that
   would fake them. */
.caps {
  font-family: var(--caps);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 700;
}

.wrap { max-width: 60rem; margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 42rem; margin-inline: auto; }

/* ---- masthead -----------------------------------------------------------*/
.bar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 243, 234, .94);
  backdrop-filter: blur(6px);
  border-bottom: var(--rule);
}
.bar-in {
  max-width: 60rem; margin-inline: auto; padding: 0 var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 3.4rem;
}
.bar-mark {
  display: flex; align-items: center; min-height: 44px;
  font-family: var(--caps); font-weight: 700;
  font-size: .74rem; letter-spacing: .17em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
}
.bar-nav { display: none; gap: 1.15rem; }
.bar-nav a {
  font-family: var(--caps); font-size: .66rem; letter-spacing: .16em;
  text-transform: uppercase; text-decoration: none; color: var(--grey);
  white-space: nowrap; display: flex; align-items: center; min-height: 44px;
  border-bottom: 1px solid transparent;
}
.bar-nav a:hover { color: var(--ink); border-bottom-color: var(--gold); }
.bar-call {
  font-family: var(--caps); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; text-decoration: none; color: var(--gold-ink);
  border: 1px solid var(--gold-faint); border-radius: 2px;
  padding: .62rem .85rem; min-height: 44px; display: flex; align-items: center;
}
@media (min-width: 70rem) {
  .bar-nav { display: flex; }
  .bar-call { display: none; }
}

/* ---- hero ---------------------------------------------------------------*/
.hero { padding: clamp(2.5rem, 9vw, 5.5rem) 0 clamp(2rem, 7vw, 4rem); text-align: center; }

.mark { margin: 0 0 1.6rem; }
.mark-1 {
  display: block; font-family: var(--caps); font-weight: 700;
  font-size: clamp(1.12rem, 5.1vw, 2.15rem); line-height: 1.24;
  letter-spacing: .06em; text-transform: uppercase; text-wrap: balance;
}
.mark-1 + .mark-1 { margin-top: .18rem; }
.mark-2 {
  display: block; margin-top: .6rem;
  font-family: var(--caps); font-weight: 400;
  font-size: clamp(.6rem, 2.5vw, .82rem); letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold-ink);
}

/* the hairline pair that draws in on load */
.rules { display: block; margin: 1.4rem auto 0; width: min(20rem, 78%); }
.rules i {
  display: block; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: center;
  animation: draw .8s cubic-bezier(.22,.61,.36,1) forwards;
}
.rules i + i { margin-top: 3px; height: 2px; animation-delay: .1s; }
@keyframes draw { to { transform: scaleX(1); } }

.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.5rem, 5.6vw, 2.6rem); line-height: 1.28; text-wrap: balance;
  margin: clamp(1.8rem, 6vw, 2.8rem) auto .9rem; max-width: 22ch;
}
.hero .stand { color: var(--grey); max-width: 44ch; margin: 0 auto;
  font-size: clamp(1rem, 2.4vw, 1.12rem); }

/* a mounted print: photograph, gold keyline, ivory mat */
.plate {
  margin: clamp(2rem, 7vw, 3.2rem) auto 0;
  max-width: 26rem; background: var(--card);
  padding: clamp(.7rem, 3vw, 1.15rem);
  border: 1px solid var(--gold-faint);
  box-shadow: 0 1px 0 rgba(36,28,20,.05), 0 18px 40px -28px rgba(36,28,20,.5);
}
.plate img { border: 1px solid var(--gold); filter: sepia(.14) saturate(.92) contrast(1.02); }
.plate figcaption {
  font-family: var(--caps); font-size: .58rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--grey); margin-top: .85rem;
}

.cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; margin-top: clamp(1.8rem, 6vw, 2.6rem);
  padding: .9rem 2.1rem; background: var(--bordeaux); color: var(--ivory);
  font-family: var(--caps); font-size: .74rem; letter-spacing: .19em;
  text-transform: uppercase; text-decoration: none; border-radius: 1px;
  transition: background .2s;
}
.cta:hover { background: #5A1E2E; }
.cta-note { display: block; margin-top: .8rem; font-size: .88rem; color: var(--grey); }

/* ---- sections -----------------------------------------------------------*/
section { padding: clamp(2.8rem, 9vw, 5rem) 0; }
section + section { border-top: var(--rule); }

.lede { text-align: center; margin-bottom: clamp(1.8rem, 6vw, 2.8rem); }
.num {
  display: block; font-family: var(--caps); font-weight: 700;
  font-size: .64rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: .9rem;
}
.lede h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.35rem, 4.6vw, 2rem); line-height: 1.28; margin: 0;
  text-wrap: balance;
}
.lede p { color: var(--grey); max-width: 44ch; margin: .9rem auto 0; }

/* Oxford rule pair */
.oxford { display: block; width: 4.5rem; margin: 1.1rem auto 0; }
.oxford i { display: block; background: var(--gold); height: 2px; }
.oxford i + i { height: 1px; margin-top: 3px; }

/* ---- credential strip ---------------------------------------------------*/
.record { text-align: center; }
.record ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.record li { padding: 1.15rem .5rem; border-bottom: 1px dotted var(--grey-rule); }
.record li:last-child { border-bottom: 0; }
.record b {
  display: block; font-family: var(--caps); font-weight: 700;
  font-size: clamp(1.6rem, 6vw, 2.1rem); letter-spacing: .04em;
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.record span {
  display: block; margin-top: .35rem; font-family: var(--caps);
  font-size: .6rem; letter-spacing: .21em; text-transform: uppercase; color: var(--grey);
}
@media (min-width: 46rem) {
  .record ol { grid-template-columns: repeat(4, 1fr); }
  .record li { border-bottom: 0; border-right: 1px dotted var(--grey-rule); }
  .record li:last-child { border-right: 0; }
}

/* ---- plate-mark frame: the double rule around a block -------------------*/
.framed { position: relative; background: var(--card); padding: clamp(1.5rem, 6vw, 2.75rem); }
.framed::before,
.framed::after { content: ""; position: absolute; pointer-events: none; }
.framed::before { inset: 0; border: 1px solid var(--gold); }
.framed::after  { inset: 5px; border: 1px solid var(--gold-faint); }

/* ---- ruled schedule (services + the standard) ---------------------------*/
.schedule { list-style: none; margin: 0; padding: 0; }
.schedule li { padding: 1.15rem 0; border-bottom: 1px solid var(--grey-rule); }
.schedule li:last-child { border-bottom: 0; padding-bottom: 0; }
.schedule .rn {
  font-family: var(--caps); font-weight: 700; font-size: .6rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink);
}
.schedule h3 {
  font-family: var(--serif); font-weight: 400; font-size: 1.14rem;
  margin: .3rem 0 .3rem; line-height: 1.35;
}
.schedule p { margin: 0; color: var(--grey); font-size: .97rem; }
.schedule em { font-style: italic; }
/* Only the numbered schedule gets the numeral rail. The unnumbered one stays a
   single column - otherwise its h3 lands in the 3.5rem numeral track. */
@media (min-width: 40rem) {
  .schedule.numbered li {
    display: grid; grid-template-columns: 3.5rem 1fr; gap: 0 1.4rem; align-items: baseline;
  }
  .schedule.numbered .rn { grid-row: span 2; padding-top: .35rem; }
}

.closing {
  text-align: center; margin: clamp(1.6rem, 5vw, 2.2rem) auto 0; max-width: 34ch;
  font-style: italic; color: var(--grey);
}

/* ---- wall of fame -------------------------------------------------------*/
.wall { display: grid; gap: .7rem; grid-template-columns: 1fr; }
@media (min-width: 34rem) { .wall { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 58rem) { .wall { grid-template-columns: repeat(3, 1fr); } }
.wall img {
  width: 100%; aspect-ratio: 2/1; object-fit: cover;
  border: 1px solid var(--gold-faint);
  filter: sepia(.16) saturate(.86) contrast(1.03);
  transition: filter .35s;
}
.wall a:hover img, .wall a:focus-visible img { filter: none; }

.roster {
  margin: clamp(1.6rem, 5vw, 2.4rem) auto 0; max-width: 46rem;
  text-align: center; font-family: var(--caps); font-weight: 400;
  font-size: clamp(.62rem, 2.3vw, .72rem); letter-spacing: .17em;
  text-transform: uppercase; line-height: 2.5; color: var(--ink);
}
.roster i { color: var(--gold); font-style: normal; padding: 0 .3rem; }
.roster small {
  display: block; margin-top: 1.4rem; font-family: var(--serif);
  text-transform: none; letter-spacing: 0; font-size: .92rem;
  line-height: 1.7; color: var(--grey);
}

/* ---- venues -------------------------------------------------------------*/
.venues { list-style: none; margin: 0; padding: 0; max-width: 34rem; margin-inline: auto; }
.venues li {
  padding: .85rem 0; border-bottom: 1px dotted var(--grey-rule);
  text-align: center; font-size: 1.05rem;
}
.venues li:last-child { border-bottom: 0; }

/* ---- testimonials -------------------------------------------------------*/
.reviews { display: grid; gap: clamp(1.1rem, 4vw, 1.6rem); }
@media (min-width: 52rem) { .reviews { grid-template-columns: repeat(2, 1fr); } }
.review { background: var(--card); border: 1px solid var(--gold-faint); padding: clamp(1.4rem, 5vw, 2rem); }
.review blockquote { margin: 0; font-size: 1.02rem; }
.review blockquote p { margin: 0 0 .9rem; }
.review blockquote p:last-of-type { margin-bottom: 0; }
.review .pull { font-style: italic; font-size: 1.14rem; color: var(--ink); }
.review figcaption {
  margin-top: 1.2rem; padding-top: .9rem; border-top: 1px solid var(--grey-rule);
  font-family: var(--caps); font-size: .6rem; letter-spacing: .21em;
  text-transform: uppercase; color: var(--gold-ink);
}

/* ---- team ---------------------------------------------------------------*/
.team { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 40rem) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 58rem) { .team { grid-template-columns: repeat(5, 1fr); } }
.team figure { margin: 0; text-align: center; }
.team img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border: 1px solid var(--gold-faint); filter: grayscale(1) sepia(.2) contrast(1.04);
}
.mono {
  width: 100%; aspect-ratio: 4/5; border: 1px solid var(--gold-faint);
  background: var(--card); display: grid; place-items: center;
  font-family: var(--caps); font-weight: 700; font-size: 1.7rem;
  letter-spacing: .06em; color: var(--gold);
}
.team figcaption { margin-top: .6rem; }
.team .nm { display: block; font-size: .96rem; }
.team .rl {
  display: block; margin-top: .15rem; font-family: var(--caps);
  font-size: .53rem; letter-spacing: .17em; text-transform: uppercase; color: var(--grey);
}

/* ---- V.O.G. -------------------------------------------------------------*/
.reels { display: grid; gap: 1rem; }
@media (min-width: 44rem) { .reels { grid-template-columns: repeat(2, 1fr); } }
.reel {
  display: block; position: relative; text-decoration: none;
  border: 1px solid var(--gold-faint); background: var(--card); padding: .55rem;
}
.reel img { aspect-ratio: 3/2; object-fit: cover; filter: sepia(.14) saturate(.9); }
.reel span {
  display: flex; align-items: center; gap: .6rem; min-height: 44px;
  padding: .7rem .2rem 0; font-family: var(--caps); font-size: .63rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink);
}
.reel span::before {
  content: ""; flex: none; width: 0; height: 0;
  border-left: 9px solid var(--bordeaux);
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.reel:hover span { color: var(--ink); }

/* ---- contact ------------------------------------------------------------*/
.contact-grid { display: grid; gap: clamp(1.6rem, 5vw, 2.4rem); }
@media (min-width: 46rem) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-grid h3 {
  font-family: var(--caps); font-weight: 700; font-size: .62rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink);
  margin: 0 0 .9rem; padding-bottom: .6rem; border-bottom: 1px solid var(--grey-rule);
}
.contact-grid a { color: var(--ink); }
.big-tel {
  font-family: var(--caps); font-weight: 700;
  font-size: clamp(1.25rem, 5.2vw, 1.6rem); letter-spacing: .04em;
  font-variant-numeric: tabular-nums; text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px;
}
.mailto { display: inline-flex; align-items: center; min-height: 44px; word-break: break-word; }
.hours { width: 100%; border-collapse: collapse; font-size: .97rem; }
.hours th {
  text-align: left; font-weight: 400; padding: .5rem 0;
  border-bottom: 1px dotted var(--grey-rule); color: var(--grey);
}
.hours td {
  text-align: right; padding: .5rem 0; font-variant-numeric: tabular-nums;
  border-bottom: 1px dotted var(--grey-rule);
}
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

/* ---- footer -------------------------------------------------------------*/
footer { border-top: var(--rule); padding: 2.6rem 0 3.4rem; text-align: center; }
footer .fm {
  font-family: var(--caps); font-weight: 700; font-size: .68rem;
  letter-spacing: .19em; text-transform: uppercase;
}
footer .fs { margin: .7rem 0 0; font-size: .86rem; color: var(--grey); }
.back {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 1.2rem;
  font-family: var(--caps); font-size: .6rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--grey);
}

/* ---- scroll reveal ------------------------------------------------------*/
.rise { opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .7s ease; }
.rise.in { opacity: 1; transform: none; }
.no-js .rise { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .rise.in { opacity: 1; transform: none; transition: none; }
  .rules i { animation: none; transform: scaleX(1); }
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
