:root {
  color-scheme: light;
  --canvas: #f5f2eb;
  --paper: #fffefa;
  --ink: #302e29;
  --muted: #807c72;
  --gold: #947a48;
  --gold-deep: #775e30;
  --line: #e5dfd1;
  --sage: #c9c9b5;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--canvas); }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 76% 38%, #fffefa 0, #f8f6f0 34%, transparent 66%),
    var(--canvas);
  color: var(--ink);
  font-family: Arial, "Noto Sans Hebrew", sans-serif;
}

button, a { font: inherit; }
a { color: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid #ad925b; outline-offset: 4px; }

.couple-home { width: min(1420px, calc(100% - 96px)); margin: 0 auto; }

.topbar {
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  border-bottom: 1px solid #ded8ca;
}

.wordmark { grid-column: 2; grid-row: 1; justify-self: center; display: grid; gap: 1px; text-decoration: none; direction: ltr; text-align: center; }
.wordmark-name { color: #231f1b; font: 31px/1 Georgia, "Times New Roman", serif; letter-spacing: 8px; }
.wordmark-caption { color: var(--gold); font-size: 8px; letter-spacing: 3px; }
.topbar-event { display: flex; align-items: center; gap: 10px; color: #69655d; font-size: 14px; }
.event-indicator { width: 7px; height: 7px; border-radius: 50%; background: #a28a58; box-shadow: 0 0 0 5px #a28a5818; }
.logout-button { grid-column: 3; grid-row: 1; justify-self: end; padding: 10px 18px; border: 1px solid #ddd5c5; border-radius: 999px; background: #fffefa99; color: #615d53; cursor: pointer; }
.logout-button:hover { background: white; border-color: #b7a77e; }

.event-header {
  min-height: 0;
  padding: 42px 3.5% 35px;
}
.event-main {
  font-family: "Heebo", Arial, sans-serif;
  display: grid;
  grid-template-columns: .8fr 1fr;
  align-items: center;
  gap: clamp(45px, 10vw, 150px);
}

.eyebrow { margin: 0 0 12px; color: var(--gold); font-size: 11px; letter-spacing: 1.5px; }
.event-title h1 { margin: 0; font-size: clamp(36px, 5vw, 62px); font-weight: 500; line-height: 1.15; letter-spacing: -.04em; }
.event-metrics {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  padding: 14px 0 12px;
  border-top: 1px solid #dfd8c9;
  border-bottom: 1px solid #dfd8c9;
}
.event-metric { min-width: 0; display: grid; gap: 4px; padding: 0 17px; }
.event-metric:first-child { padding-right: 0; }
.event-metric + .event-metric { border-right: 1px solid #e4ded1; }
.event-metric strong { color: #806b40; font: 30px/1 Georgia, "Times New Roman", serif; }
.event-metric span { color: #817c70; font-size: 11px; white-space: nowrap; }

.event-summary {
  justify-self: stretch;
  padding: 9px 0;
}
.summary-details { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.summary-details span { display: grid; gap: 7px; padding: 0 20px; border-right: 1px solid #ded8ca; }
.summary-details span:first-child { padding-right: 0; }
.summary-details small { color: #969084; font-size: 11px; }
.summary-details b { color: #514d45; font-size: 15px; font-weight: 500; }

.work-section { padding: 18px 0 30px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 0 3.5% 19px; }
.section-heading .eyebrow { margin-bottom: 7px; }
.section-heading h2 { margin: 0; font-size: clamp(25px, 3vw, 36px); font-weight: 500; letter-spacing: -.03em; }

.workspace-scene {
  isolation: isolate;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(18px, 3vw, 38px);
  overflow: visible;
  padding: 0 3.5%;
}

.service-card {
  position: relative;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 28px 30px 24px;
  border: 1px solid #e4dece;
  border-radius: 18px;
  background: linear-gradient(145deg, #fffefa 5%, #fbf9f3 100%);
  box-shadow: 0 10px 28px #4a402c0c;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg, #c9ba98, #9a8152 45%, #e4dccb); content: ""; opacity: .8; }
.attendance-card { background: radial-gradient(ellipse at 12% 72%, #e9e3d4a6, transparent 52%), linear-gradient(145deg, #fffefa 5%, #fbf9f3 100%); }
.seating-card { background: radial-gradient(ellipse at 12% 72%, #e5e6d9a8, transparent 52%), linear-gradient(145deg, #fffefa 5%, #fbf9f3 100%); }
.attendance-card, .seating-card { transform: none; }
.service-card:hover { z-index: 1; transform: translateY(-4px); border-color: #c3b28c; box-shadow: 0 16px 36px #4a402c17; }
.card-topline { display: flex; align-items: start; justify-content: space-between; }
.card-icon { width: 57px; height: 57px; display: grid; place-items: center; border: 1px solid #e2dac8; border-radius: 50%; background: #f5f1e7b5; color: #8a7446; }
.card-icon svg { width: 34px; height: 34px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card-copy { position: relative; z-index: 1; max-width: 370px; padding-top: 18px; }
.card-copy h3 { margin: 0; font-size: clamp(25px, 3vw, 34px); font-weight: 500; letter-spacing: -.035em; }
.card-art { position: absolute; left: 25px; top: 50%; width: min(43%, 210px); height: auto; color: #937b4b; opacity: .48; transform: translateY(-45%); pointer-events: none; }
.seating-art { color: #78806a; opacity: .52; }
.card-action { display: flex; align-items: center; gap: 13px; width: fit-content; margin-top: 21px; padding-bottom: 4px; border-bottom: 1px solid #a18a58; color: #705b33; font-size: 13px; }
.card-action b { font-size: 19px; font-weight: 400; transition: transform .25s ease; }
.service-card:hover .card-action b { transform: translateX(-4px); }

@media (min-width: 1500px) {
  .service-card { min-height: 330px; padding: 32px 35px 29px; }
}

@media (max-width: 760px) {
  .couple-home { width: min(100% - 34px, 600px); }
  .topbar { min-height: 75px; }
  .wordmark-name { font-size: 26px; }
  .wordmark-caption { font-size: 7px; }
  .logout-button { padding: 8px 14px; font-size: 13px; }
  .event-header { padding: 34px 2% 27px; }
  .event-main { grid-template-columns: 1fr; gap: 20px; }
  .event-title .eyebrow { margin-bottom: 8px; font-size: 10px; }
  .event-title h1 { font-size: clamp(35px, 9vw, 49px); }
  .event-metrics { margin-top: 18px; padding: 12px 0 10px; }
  .event-metric { gap: 5px; padding: 0 10px; }
  .event-metric:first-child { padding-right: 0; }
  .event-metric strong { font-size: 26px; }
  .event-metric span { font-size: 10px; }
  .event-summary { padding: 0; }
  .summary-details span { padding: 0 14px; }
  .summary-details span:first-child { padding-right: 0; }
  .summary-details b { font-size: 14px; }
  .section-heading { align-items: start; padding: 0 2% 15px; }
  .section-heading .eyebrow { font-size: 10px; }
  .section-heading h2 { font-size: 28px; }
  .workspace-scene { grid-template-columns: 1fr; gap: 14px; padding: 0 2%; }
  .service-card { min-height: 260px; padding: 22px 23px 21px; border-radius: 17px; }
  .attendance-card, .seating-card { transform: none; }
  .card-icon { width: 49px; height: 49px; }
  .card-icon svg { width: 29px; height: 29px; }
  .card-copy { padding-top: 16px; }
  .card-copy h3 { font-size: clamp(25px, 7vw, 31px); }
  .card-art { left: 16px; width: 36%; opacity: .28; }
}

@media (max-width: 390px) {
  .couple-home { width: calc(100% - 26px); }
  .summary-details { gap: 8px; }
  .summary-details b { font-size: 12px; }
  .service-card { min-height: 230px; }
  .event-metric { padding: 0 7px; }
  .event-metric strong { font-size: 23px; }
  .event-metric span { font-size: 9px; }
}

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