@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: Jost;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jost-400.ttf") format("truetype");
}
@font-face {
  font-family: Jost;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/jost-600.ttf") format("truetype");
}
:root {
  --font-body: Jost, Arial, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
}
/* Uses the public site's self-hosted type and color roles. SVG is clock geometry. */
.wc-section {
  scroll-margin-top: 100px;
}
.wc-section > h2 {
  max-width: 800px;
}
.wc-page > h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  max-width: 900px;
  text-wrap: balance;
}
.wc-intro {
  max-width: 720px;
}
.wc-form {
  margin-top: 2rem;
}
.wc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr);
  gap: 2rem;
  align-items: start;
}
.wc-wheel {
  max-width: 600px;
  margin-inline: auto;
  width: 100%;
}
.wc-wheel svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.wc-track {
  stroke: #eee8de;
  stroke-width: 34;
}
.wc-arc {
  stroke: var(--accent, #a85c36);
  stroke-width: 34;
  stroke-linecap: round;
  cursor: grab;
  touch-action: none;
}
.wc-arc:active {
  cursor: grabbing;
}
.wc-tick {
  stroke: #878f86;
  stroke-width: 1.5;
}
.wc-clock {
  font: 13px var(--font-body, Jost, sans-serif);
  fill: var(--ink, #202521);
}
.wc-moment-arc {
  stroke-width: 11;
  cursor: pointer;
  stroke-linecap: butt;
}
.wc-moment-arc[data-status="full"] {
  stroke: #375b42;
}
.wc-moment-arc[data-status="partial"] {
  stroke: #8b501f;
  stroke-dasharray: 4 2;
}
.wc-moment-arc[data-status="outside"] {
  stroke: #747871;
  stroke-dasharray: 2 3;
}
.wc-moment-label {
  font: 400 12px var(--font-body, Jost, sans-serif);
  fill: var(--ink, #202521);
}
.wc-moment-arc[data-status="not-happening"],
.wc-moment-label[data-status="not-happening"] {
  display: none;
}
.wc-center-hours {
  font: 600 22px var(--font-body, Jost, sans-serif);
  fill: var(--ink, #202521);
}
.wc-center-price {
  font: 16px var(--font-body, Jost, sans-serif);
  fill: #784023;
}
.wc-handle-face {
  fill: var(--paper, #f7f6f2);
  stroke: #784023;
  stroke-width: 5;
}
.wc-handle {
  fill: transparent;
  stroke: none;
  cursor: ew-resize;
  touch-action: none;
}
.wc-wheel [tabindex]:focus-visible {
  outline: 3px solid #202521;
  outline-offset: 4px;
}
.wc-wheel-help {
  max-width: 550px;
  font-size: 0.95rem;
  color: var(--muted, #5d655e);
}
.wc-controls {
  background: #eee8de;
  padding: 24px;
  border-radius: 16px;
  font-size: 1rem;
  line-height: 1.5;
}
.wc-controls h3,
.wc-schedule h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0 0 12px;
}
.wc-time-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}
.wc-controls label,
.wc-moment-fields label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.875rem;
}
.wc-controls input,
.wc-moment-fields input,
.wc-moment-fields select {
  background: var(--paper, #f7f6f2);
  border: 1px solid #858c82;
  border-radius: 8px;
  color: var(--ink, #202521);
  padding: 10px;
  min-height: 44px;
  min-width: 0;
  width: 100%;
  font: 400 1rem/1.4 var(--font-body, Jost, sans-serif);
}
.wc-controls button,
.wc-reset {
  border: 1px solid #9c9c90;
  background: var(--paper, #f7f6f2);
  color: var(--ink, #202521);
  border-radius: 999px;
  padding: 10px 16px;
  min-height: 44px;
  font: 600 0.875rem/1.4 var(--font-body, Jost, sans-serif);
  cursor: pointer;
}
.wc-controls button:hover,
.wc-reset:hover {
  background: #f1e3d9;
}
.wc-controls button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.wc-duration {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: end;
}
.wc-duration label {
  font-size: 0.875rem;
}
.wc-controls .wc-duration button {
  padding-inline: 6px;
  white-space: nowrap;
}
.wc-rotate {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}
.wc-full-day,
.wc-max-day {
  width: 100%;
}
.wc-max-day {
  margin-top: 8px;
}
.wc-estimate {
  padding-top: 16px;
}
.wc-estimate p {
  margin: 0 0 6px;
}
.wc-price {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}
.wc-hours,
.wc-range,
.wc-end-day {
  font-size: 0.875rem;
}
.wc-controls .wc-continue {
  background: var(--accent, #a85c36);
  color: #fff;
  border-color: var(--accent, #a85c36);
  width: 100%;
}
.wc-controls .wc-continue:hover {
  background: #864326;
}
.wc-fine,
.wc-saving {
  font-size: 0.875rem;
  line-height: 1.5;
  margin-top: 12px;
}
.wc-error {
  color: #852c1b;
}
.wc-schedule {
  margin-top: 40px;
}
.wc-legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.wc-legend span,
.wc-status {
  font-size: 0.85rem;
  border-radius: 8px;
  background: #e3e9df;
  color: #254630;
  padding: 5px 10px;
}
.wc-legend span:nth-child(2),
[data-status="partial"] .wc-status {
  background: #f1e3d9;
  color: #714020;
}
.wc-legend span:nth-child(3),
[data-status="outside"] .wc-status {
  background: #eee8de;
  color: #4e524b;
}
[data-status="not-happening"] .wc-status {
  background: #eee8de;
  color: #4e524b;
}
.wc-moments {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wc-moment {
  border-bottom: 1px solid #d4d5cd;
  padding: 16px 0;
}
.wc-moment-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.wc-moment-heading h4 {
  margin: 0;
  font: 400 1.0625rem/1.35 var(--font-body, Jost, sans-serif);
}
.wc-moment-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  cursor: pointer;
}
.wc-moment-choice input {
  width: 22px;
  height: 22px;
  margin: 0;
  flex: none;
  accent-color: #a85c36;
}
.wc-moment-fields :disabled {
  opacity: 0.6;
}
.wc-moment summary {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  min-height: 48px;
  font-weight: 600;
  font-size: 0.875rem;
}
.wc-moment-time {
  font-size: 0.95rem;
  color: var(--muted, #5d655e);
}
.wc-moment-description {
  max-width: 800px;
  color: var(--muted, #5d655e);
}
.wc-status {
  white-space: nowrap;
}
.wc-moment summary::after {
  content: "+";
  font-size: 1.3rem;
}
.wc-moment-editor[open] summary::after {
  content: "−";
}
.wc-moment-fields {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 8px;
}
.wc-moment-fields label {
  font-size: 0.875rem;
}
.wc-moment p {
  margin: 14px 0;
}
.wc-reset {
  margin-top: 24px;
}
.wc-review {
  margin: 20px 0;
}
.wc-review h3 {
  font-size: 1.5rem;
}
.wc-review dl {
  margin: 16px 0;
}
.wc-review dt {
  font-weight: 600;
}
.wc-review dd {
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
.wc-review ul {
  padding-left: 20px;
}
.wc-review button,
.wc-review input {
  min-height: 44px;
}
.wc-review [type="checkbox"] {
  width: 22px;
  min-height: 22px;
  margin-right: 10px;
}
.wc-review .wc-review-consent {
  display: flex;
  align-items: flex-start;
  margin: 20px 0;
  font-size: 1rem;
}
.wc-review .wc-review-consent input {
  flex: none;
}
.wc-review [role="alert"] {
  color: #852c1b;
}
.wc-review [hidden] {
  display: none;
}
.wc-review-amount {
  font-size: 1.5rem;
  font-weight: 600;
}
.wc-booking-location {
  display: block;
  margin-top: 16px;
}
.wc-booking-location input {
  display: block;
  margin-top: 7px;
}
.wc-controls :focus-visible,
.wc-moment :focus-visible,
.wc-reset:focus-visible,
.wc-review :focus-visible {
  outline: 3px solid #784023;
  outline-offset: 3px;
}
.wc-controls ::selection,
.wc-moment ::selection {
  background: #f1e3d9;
  color: #202521;
}
body.wedding-mode {
  --ink: #202521;
  --muted: #5d655e;
  --cream: #f7f6f2;
  --gold: #a85c36;
  font-family: var(--font-body, Jost, sans-serif);
}
body.wedding-mode h1,
body.wedding-mode h2,
body.wedding-mode h3 {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
}
body.wedding-mode button {
  border-radius: 999px;
  background: #a85c36;
}
body.wedding-mode button:hover {
  background: #864326;
}
body.wedding-mode .card {
  box-shadow: none;
  background: #f7f6f2;
}
body.wedding-mode .summary {
  background: #eee8de;
}
@media (max-width: 1050px) {
  .wc-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .wc-wheel {
    max-width: 600px;
    margin: auto;
  }
  .wc-controls {
    max-width: 600px;
    width: 100%;
    margin: auto;
  }
  .wc-controls {
    padding: 20px;
  }
  .wc-moment-fields {
    max-width: 600px;
  }
}
@media (max-width: 760px) {
  .wc-layout {
    grid-template-columns: 1fr;
  }
  .wc-controls {
    padding: 20px;
  }
  .wc-wheel {
    margin-inline: auto;
  }
  .wc-wheel-help {
    margin-top: 0;
  }
  .wc-duration {
    grid-template-columns: 64px minmax(0, 1fr) 64px;
  }
  .wc-controls button {
    padding: 10px 8px;
  }
  .wc-moment-heading {
    gap: 8px;
    flex-wrap: wrap;
  }
  .wc-status {
    font-size: 0.8rem;
  }
  .wc-moment-fields {
    grid-template-columns: 1fr 1fr;
  }
  .wc-moment-fields label:first-child {
    grid-column: 1/-1;
  }
  .wc-legend {
    gap: 8px;
  }
  .wc-review dd {
    margin-bottom: 16px;
  }
}
/* Keep SVG text legible when the whole clock scales down on phones. */
@media (max-width: 480px) {
  .wc-moment-label,
  .wc-wheel .wc-clock {
    font-size: 16px;
  }
  .wc-center-hours {
    font-size: 28px;
  }
  .wc-center-price {
    font-size: 22px;
  }
}

.wc-form {
  display: block;
}
.wc-moment-label tspan {
  pointer-events: none;
}
body.wedding-mode .wc-review h4 {
  font-size: 1.25rem;
  margin-top: 24px;
}
body.wedding-mode .wc-review p {
  font-size: 1rem;
}
