/* Classic theme — Smarty Wedding Website. Accent comes from body.accent-* */

:root {
  --ink: #2f2a28;
  --muted: #7a706b;
  --paper: #fbf8f4;
  --paper-alt: #f4eee7;
  --card: #ffffff;
  --line: #e7ddd3;
  --accent: #b85c74;
  --accent-soft: #f5e6ea;
  --accent-ink: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 40px -24px rgba(47, 42, 40, 0.35);
  --font-display: "Cormorant Garamond", "Noto Sans Devanagari", Georgia, serif;
  --font-script: "Great Vibes", "Cormorant Garamond", "Noto Sans Devanagari", cursive;
  --font-body: "Jost", "Noto Sans Devanagari", "Helvetica Neue", Arial, sans-serif;
}

.accent-rose { --accent: #b85c74; --accent-soft: #f6e7eb; }
.accent-blush { --accent: #c97585; --accent-soft: #f9eaed; }
.accent-sage { --accent: #5f8064; --accent-soft: #e8efe7; }
.accent-navy { --accent: #34486b; --accent-soft: #e5e9f1; }
.accent-gold { --accent: #9a7740; --accent-soft: #f3ebdc; }
.accent-lavender { --accent: #74659e; --accent-soft: #ece8f4; }
.accent-terracotta { --accent: #ad5f3a; --accent-soft: #f6e6dc; }
.accent-charcoal { --accent: #3d3d3d; --accent-soft: #ececec; }

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body.ws {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
}

p {
  margin: 0 0 1em;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h3 {
  font-size: 1.45rem;
}

.ws-container {
  width: min(1080px, 100% - 40px);
  margin: 0 auto;
}

.ws-container--narrow {
  width: min(760px, 100% - 40px);
}

.ws-muted {
  color: var(--muted);
}

.ws-small {
  font-size: 0.9rem;
}

.ws-eyebrow,
.ws-hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.6em;
}

.ws-ornament {
  display: block;
  width: 120px;
  height: 14px;
  margin: 0.4rem auto 1.4rem;
  background:
    radial-gradient(circle, var(--accent) 3px, transparent 3.5px) center / 14px 14px no-repeat,
    linear-gradient(var(--line), var(--line)) left center / 48px 1px no-repeat,
    linear-gradient(var(--line), var(--line)) right center / 48px 1px no-repeat;
}

/* Buttons */
.ws-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.7em 1.8em;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 500 0.95rem/1 var(--font-body);
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ws-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -12px var(--accent);
}

.ws-btn--ghost {
  background: transparent;
  color: var(--accent);
}

.ws-btn--small {
  min-height: 38px;
  padding: 0.5em 1.1em;
  font-size: 0.85rem;
}

.ws-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

/* Hero */
.ws-hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 20px;
  background:
    radial-gradient(ellipse at top, var(--accent-soft), transparent 60%),
    var(--paper);
  overflow: hidden;
}

.ws-hero--photo {
  color: #fff;
  background: #2b2522;
}

.ws-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.ws-hero--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 14, 0.25), rgba(20, 16, 14, 0.55));
}

.ws-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.ws-hero--photo .ws-hero__eyebrow {
  color: #fff;
  opacity: 0.9;
}

.ws-hero__names {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(3.2rem, 11vw, 7rem);
  line-height: 1.05;
  margin: 0.1em 0 0.25em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: 0.3em;
}

.ws-hero__amp {
  font-size: 0.6em;
  color: var(--accent);
}

.ws-hero--photo .ws-hero__amp {
  color: inherit;
  opacity: 0.85;
}

.ws-hero__date {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.4vw, 1.75rem);
  font-style: italic;
  margin: 0 0 1.5em;
}

.ws-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 1.5rem;
}

.ws-hero--photo .ws-btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
}

/* Countdown */
.ws-countdown {
  display: flex;
  justify-content: center;
  gap: clamp(8px, 3vw, 22px);
}

.ws-countdown[hidden] {
  display: none;
}

.ws-countdown__unit {
  min-width: 74px;
  padding: 12px 8px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(6px);
}

.ws-countdown__unit span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
}

.ws-countdown__unit small {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.ws-countdown--done {
  font-family: var(--font-script);
  font-size: 2.4rem;
}

/* Sticky section nav */
.ws-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 248, 244, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.ws-nav__inner {
  display: flex;
  gap: 4px;
  justify-content: flex-start;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 6px 12px;
}

/* Centred while the links fit; once they overflow the margins drop to 0 and
   the row scrolls from the first link (justify-content: center clips it). */
.ws-nav__inner > :first-child {
  margin-inline-start: auto;
}

.ws-nav__inner > :last-child {
  margin-inline-end: auto;
}

.ws-nav__inner::-webkit-scrollbar {
  display: none;
}

.ws-nav a {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ws-nav a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

/* Sections */
.ws-section {
  padding: clamp(64px, 10vw, 110px) 0;
}

.ws-section:nth-of-type(even) {
  background: var(--paper-alt);
}

.ws-section__head {
  text-align: center;
  margin-bottom: 2.4rem;
}

.ws-section__title {
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  margin: 0;
}

.ws-section__intro {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
}

.ws-lead {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  line-height: 1.6;
  text-align: center;
}

/* Story */
.ws-story__couple img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ws-story__couple {
  margin: 0 0 2.4rem;
}

.ws-story__text {
  max-width: 720px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.ws-partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.ws-partner {
  text-align: center;
  padding: 28px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ws-partner__img {
  width: 180px;
  height: 180px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--accent-soft);
}

.ws-partner__name {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 2.4rem;
  color: var(--accent);
}

/* Timeline */
.ws-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.ws-timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 112px;
  width: 1px;
  background: var(--line);
}

.ws-timeline__item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 32px;
  padding: 0 0 2rem;
  position: relative;
}

.ws-timeline__item::before {
  content: "";
  position: absolute;
  left: 107px;
  top: 10px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--accent);
}

.ws-timeline__time {
  text-align: right;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.4;
}

.ws-timeline__time span {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.ws-timeline__body h3 {
  margin-bottom: 0.25em;
}

.ws-timeline__body p {
  color: var(--muted);
}

@media (max-width: 560px) {
  .ws-timeline::before {
    left: 6px;
  }

  .ws-timeline__item {
    grid-template-columns: 1fr;
    gap: 2px;
    padding-left: 30px;
  }

  .ws-timeline__item::before {
    left: 1px;
  }

  .ws-timeline__time {
    text-align: left;
  }

  .ws-timeline__time span {
    display: inline;
  }
}

/* Locations */
.ws-locations {
  display: grid;
  gap: 28px;
}

.ws-location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ws-location:only-child,
.ws-location:not(:has(.ws-location__map)) {
  grid-template-columns: 1fr;
}

.ws-location__map {
  min-height: 300px;
  background: var(--paper-alt);
}

.ws-location__map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  display: block;
}

.ws-location__body {
  padding: clamp(24px, 4vw, 40px);
}

.ws-location__address {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.ws-location__address .ws-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--accent);
  margin-top: 3px;
}

.ws-location__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.2rem;
}

@media (max-width: 760px) {
  .ws-location {
    grid-template-columns: 1fr;
  }

  .ws-location__map,
  .ws-location__map iframe {
    min-height: 240px;
  }
}

/* Details cards */
.ws-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.ws-card {
  padding: 28px 26px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ws-card__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1rem;
}

.ws-card p {
  color: var(--muted);
  margin-bottom: 0.6em;
}

/* FAQ */
.ws-faq__item {
  border-bottom: 1px solid var(--line);
}

.ws-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 2.2rem 1.1rem 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  position: relative;
}

.ws-faq__item summary::-webkit-details-marker {
  display: none;
}

.ws-faq__item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.ws-faq__item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.ws-faq__answer {
  padding: 0 0 1.2rem;
  color: var(--muted);
}

/* Gallery */
.ws-gallery {
  columns: 3 260px;
  column-gap: 16px;
}

.ws-gallery__item {
  break-inside: avoid;
  margin: 0 0 16px;
}

.ws-gallery__item img {
  width: 100%;
  border-radius: 12px;
}

.ws-gallery__item figcaption {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 6px 4px 0;
}

/* RSVP card */
.ws-rsvp-card {
  text-align: center;
  padding: clamp(32px, 6vw, 56px);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
}

.ws-rsvp__status {
  display: inline-block;
  padding: 0.4em 1.2em;
  border-radius: 999px;
  font-weight: 500;
}

.ws-rsvp__status.is-yes {
  background: #e7f2e8;
  color: #2f6b3a;
}

.ws-rsvp__status.is-no {
  background: #f3ece9;
  color: #7a5246;
}

/* Gate / RSVP / message pages */
.ws-gate {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  padding: 48px 18px;
  background:
    radial-gradient(ellipse at top, var(--accent-soft), transparent 65%),
    var(--paper);
}

.ws-gate__card {
  width: min(480px, 100%);
  padding: clamp(28px, 6vw, 48px);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.ws-gate__card--wide {
  width: min(640px, 100%);
  text-align: left;
}

.ws-gate__card--wide .ws-hero__eyebrow,
.ws-gate__card--wide .ws-gate__title {
  text-align: center;
}

.ws-gate__names {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 3.6rem);
  margin: 0;
}

.ws-gate__title {
  font-size: clamp(2rem, 6vw, 2.6rem);
  margin: 0;
}

.ws-gate__date {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  margin: 0.2em 0 0;
}

.ws-gate__alt {
  margin-top: 1.6rem;
  text-align: left;
}

.ws-gate__owner {
  margin: 1.75rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.ws-gate__alt summary {
  cursor: pointer;
  color: var(--accent);
  text-align: center;
}

.ws-back {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  text-decoration: none;
}

/* Forms */
.ws-form {
  display: grid;
  gap: 18px;
  text-align: left;
  margin-top: 1rem;
}

.ws-field {
  display: grid;
  gap: 6px;
}

.ws-field > span,
.ws-fieldset legend {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.ws-field small {
  color: var(--muted);
  font-size: 0.82rem;
}

.ws-field input,
.ws-field select,
.ws-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem var(--font-body);
}

.ws-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%237a706b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  cursor: pointer;
}

.ws-field input:focus,
.ws-field select:focus,
.ws-field textarea:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.ws-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.ws-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ws-choice,
.ws-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  background: var(--paper);
}

.ws-choice:has(input:checked),
.ws-check:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.ws-choice input,
.ws-check input {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}

.ws-when-attending {
  display: grid;
  gap: 18px;
}

.ws-when-attending[hidden] {
  display: none;
}

.ws-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 18px;
}

.ws-summary dt {
  color: var(--muted);
}

.ws-summary dd {
  margin: 0;
}

.ws-notice,
.ws-error {
  padding: 12px 16px;
  border-radius: 12px;
  margin: 1rem auto;
  max-width: 760px;
  text-align: center;
}

.ws-notice {
  background: #e7f2e8;
  color: #2f6b3a;
}

.ws-error {
  background: #fbe9e7;
  color: #8b2f22;
}

.ws-preview-banner {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 10px 16px;
  text-align: center;
  font-size: 0.9rem;
  background: var(--ink);
  color: #fff;
}

.ws-preview-banner ~ .ws-nav {
  top: 42px;
}

/* Footer */
.ws-footer {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 32px 20px 40px;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.ws-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
}

.ws-footer__brand img {
  border-radius: 6px;
}

.ws-footer__signout {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0;
}

/* Seating */
.ws-notice--quiet {
  background: var(--accent-soft);
  color: var(--ink);
}

/* Text keeps the narrow column; the plan gets the full width. */
.ws-seating__narrow {
  max-width: 760px;
  margin: 0 auto;
}

.ws-seat-card {
  margin: 0 0 1.6rem;
  padding: 20px 22px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}

.ws-seat-card__list,
.ws-seat-index__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ws-seat-card__list li,
.ws-seat-index__list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.ws-seat-card__list li:last-child,
.ws-seat-index__list li:last-child {
  border-bottom: none;
}

.ws-seat-card__name {
  font-weight: 500;
}

.ws-seat-card__where strong {
  font-weight: 600;
  color: var(--accent);
}

.ws-seat-note {
  margin: 0 0 1.4rem;
  color: var(--muted);
  text-align: center;
}

/* Everyone A to Z: folded away under the plan, open on the venue page. */
.ws-seat-everyone {
  margin: 0 0 1.4rem;
  padding: 4px 22px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ws-seat-everyone > summary {
  cursor: pointer;
  padding: 12px 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.ws-seat-everyone[open] > summary {
  border-bottom: 1px solid var(--line);
}

.ws-seat-everyone__count {
  margin-left: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--muted);
}

.ws-seats .ws-seat-index {
  margin: 0 0 1.4rem;
  padding: 4px 22px 8px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ws-seat-index [hidden] {
  display: none;
}

.ws-seat-index__filter {
  margin: 14px 0 6px;
}

.ws-seat-index__empty {
  margin: 10px 0;
}

.ws-seat-index__letter {
  margin: 0;
  padding: 14px 0 2px;
  font-size: 1.3rem;
  color: var(--accent);
  border-bottom: 1px solid var(--line);
}

.ws-seat-plan {
  margin: 0 0 1.4rem;
  padding: 12px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ws-seat-plan svg {
  display: block;
}

/* Without names the whole room fits the page. */
.ws-seat-plan:not(.ws-seat-plan--names) svg {
  width: 100%;
  height: auto;
  max-height: 80vh;
}

/* With names the plan keeps the size set on the svg, so the names stay
   readable, and scrolls inside its frame when it is wider than the frame. */
.ws-seat-plan--names .ws-seat-plan__frame {
  overflow: auto;
  max-height: 80vh;
}

.ws-seat-plan--names svg {
  margin: 0 auto;
  max-width: none;
}

/* A plan that fits the frame's width, shrinking a little at most, is shown
   whole and the page scrolls past it. The site script decides. */
.ws-seat-plan--names .ws-seat-plan__frame.is-whole {
  overflow: visible;
  max-height: none;
}

.ws-seat-plan--names .is-whole svg {
  max-width: 100%;
  height: auto;
}

.ws-seat-plan__item--table .ws-seat-plan__shape {
  fill: #ffffff;
  stroke: var(--muted);
  stroke-width: 2;
}

.ws-seat-plan__item--rows .ws-seat-plan__shape {
  fill: none;
  stroke: var(--line);
  stroke-width: 2;
  stroke-dasharray: 10 8;
}

.ws-seat-plan__item--element .ws-seat-plan__shape {
  fill: var(--accent-soft);
  stroke: var(--line);
  stroke-width: 2;
}

.ws-seat-plan__seat {
  fill: var(--paper-alt);
  stroke: var(--line);
  stroke-width: 2;
  /* A linked chair lands mid-frame, not under an edge. */
  scroll-margin: 35vh 40vw;
}

.ws-seat-plan__seat.is-taken {
  fill: var(--accent-soft);
}

/* Names sit on a halo in the card colour, legible over lines and decor. */
.ws-seat-plan__name {
  fill: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  stroke: var(--card);
  stroke-width: 4px;
  stroke-linejoin: round;
  paint-order: stroke fill;
}

.ws-seat-plan__name.is-mine {
  fill: var(--accent);
  font-weight: 600;
}

/* The link takes over the row: name left, table right. */
.ws-seat-link {
  display: flex;
  flex: 1 1 100%;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  color: inherit;
  text-decoration: none;
}

.ws-seat-link:hover .ws-seat-card__name,
.ws-seat-link:focus-visible .ws-seat-card__name {
  text-decoration: underline;
}

.ws-seat-plan__seat.is-mine {
  fill: var(--accent);
  stroke: var(--accent);
  animation: ws-seat-pulse 1.6s ease-in-out infinite;
}

/* The chair a list row or "your seats" links to stands out from the rest. */
.ws-seat-plan__seat.is-mine:target,
.ws-seat-plan__seat:target {
  fill: var(--ink);
  stroke: var(--accent);
}

.ws-seat-plan__label {
  fill: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
}

@keyframes ws-seat-pulse {
  50% {
    stroke-width: 14;
    stroke-opacity: 0.35;
  }
}

.ws-seats {
  min-height: calc(100vh - 80px);
  padding: 40px 0 56px;
  background:
    radial-gradient(ellipse at top, var(--accent-soft), transparent 60%),
    var(--paper);
}

.ws-seats__head {
  text-align: center;
}

.ws-seats__title {
  font-size: clamp(2rem, 7vw, 2.8rem);
}

.ws-seats__back {
  text-align: center;
  margin-top: 1.6rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ws-btn {
    transition: none;
  }

  .ws-seat-plan__seat.is-mine {
    animation: none;
  }
}
