:root {
  --paper: #faf7f1;
  --ink: #4f433a;
  --ink-soft: #766b61;
  --gold: #ad8855;
  --gold-soft: #d2b48b;
  --line: rgba(159, 125, 79, 0.34);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Raleway", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.site-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.site-header {
  position: relative;
  z-index: 2;
  height: 96px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 247, 241, 0.95);
  border-bottom: 1px solid rgba(173, 136, 85, 0.13);
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 174px;
  padding: 6px;
  border-radius: 8px;
}
.brand:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.brand img {
  display: block;
  width: 160px;
  height: auto;
  max-height: 76px;
  object-fit: contain;
}
.landing {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(460px, 0.96fr);
  align-items: center;
  flex: 1;
  min-height: 650px;
}
.artwork {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  background: var(--paper);
}
.artwork img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
}
.artwork::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(250,247,241,0.00) 0%,
    rgba(250,247,241,0.02) 38%,
    rgba(250,247,241,0.38) 53%,
    rgba(250,247,241,0.83) 69%,
    rgba(250,247,241,0.93) 100%);
}
.main-content {
  grid-column: 2;
  width: min(100%, 680px);
  justify-self: center;
  padding: 44px clamp(28px, 4vw, 75px) 42px clamp(16px, 1.9vw, 40px);
  text-align: center;
}
.eyebrow,
.countdown-label {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  line-height: 1.8;
  text-transform: uppercase;
  color: var(--gold);
}
.couple-names {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  column-gap: 0.18em;
  margin: 18px 0 15px;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.96;
  font-size: clamp(55px, 5.3vw, 88px);
  letter-spacing: -0.035em;
}
.ampersand {
  font-size: 0.63em;
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
  vertical-align: baseline;
}
.flourish {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin: 14px auto 20px;
}
.flourish > span {
  width: 64px;
  height: 1px;
  background: var(--line);
}
.wedding-date {
  margin: 0;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.subtitle {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(21px, 1.9vw, 27px);
  font-style: italic;
  line-height: 1.25;
}
.countdown-section {
  padding-top: clamp(36px, 4.8vh, 56px);
}
.countdown-label {
  color: var(--gold);
  margin-bottom: 22px;
}
.countdown {
  display: grid;
  grid-template-columns: minmax(0,1fr) 1px minmax(0,1fr) 1px minmax(0,1fr) 1px minmax(0,1fr);
  align-items: center;
  gap: clamp(7px, 1.25vw, 18px);
}
.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.time-value {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(37px, 4.25vw, 65px);
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}
.time-label {
  margin-top: 10px;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.time-divider {
  width: 1px;
  height: 39px;
  background: var(--line);
  align-self: center;
}
.countdown-status {
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
}
.no-script {
  color: var(--ink-soft);
  font-size: 12px;
}
.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 53px;
  padding: 13px 20px;
  background: var(--paper);
  border-top: 1px solid rgba(173, 136, 85, 0.11);
}
.site-footer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.12em;
}
.site-footer span { color: var(--gold); font-size: 14px; }
@media (min-width: 1600px) {
  .artwork img { object-position: center 45%; }
}
@media (max-width: 1050px) {
  .landing { grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr); }
  .main-content { padding: 44px 26px; }
  .couple-names { font-size: clamp(54px, 6vw, 70px); }
  .artwork::after { background: linear-gradient(90deg, rgba(250,247,241,0) 12%, rgba(250,247,241,.33) 39%, rgba(250,247,241,.91) 68%); }
}
@media (max-width: 760px) {
  .site-header { height: 78px; }
  .brand { width: 135px; }
  .brand img { width: 125px; max-height: 65px; }
  .landing {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .artwork {
    position: relative;
    inset: auto;
    z-index: auto;
    width: 100%;
    flex: 0 0 auto;
  }
  .artwork img {
    display: block;
    height: auto;
    width: 100%;
    object-fit: contain;
  }
  .artwork::after {
    background: linear-gradient(to bottom, rgba(250,247,241,0) 75%, var(--paper) 100%);
  }
  .main-content {
    padding: 5px 22px 55px;
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
  }
  .couple-names { margin: 14px 0 10px; font-size: clamp(47px, 9vw, 70px); }
  .flourish { margin: 12px auto 17px; }
  .subtitle { font-size: 23px; }
  .countdown-section { padding-top: 38px; }
  .countdown { gap: clamp(4px, 1vw, 11px); }
  .time-value { font-size: clamp(37px, 9vw, 60px); }
  .time-label { font-size: 9px; letter-spacing: 0.11em; }
  .countdown-status { margin-top: 20px; }
}
@media (max-width: 365px) {
  .main-content { padding-left: 15px; padding-right: 15px; }
  .couple-names { font-size: 44px; }
  .time-value { font-size: 35px; }
  .time-label { font-size: 8px; letter-spacing: 0.06em; }
  .time-divider { height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
