:root {
  color-scheme: light;
  --ink: #261b22;
  --muted: #746a70;
  --paper: #fbf7f1;
  --ivory: #fffdf8;
  --mist: #efe6db;
  --wine: #4b1626;
  --wine-soft: #6a2338;
  --rose: #d9959f;
  --sage: #6f8876;
  --sage-dark: #425f4e;
  --brass: #c7a060;
  --line: rgba(75, 22, 38, 0.1);
  --shadow: 0 24px 70px rgba(57, 39, 44, 0.1);
  font-family: Inter, "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(75, 22, 38, 0.05), transparent 520px),
    var(--paper);
}

body,
button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
p,
strong,
span,
a,
button,
label {
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 3px solid rgba(199, 160, 96, 0.45);
  outline-offset: 3px;
}

.bridal-header {
  position: fixed;
  top: 14px;
  right: 18px;
  left: 18px;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(140px, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 66px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 8px;
  color: var(--ivory);
  background: rgba(38, 27, 34, 0.58);
  box-shadow: 0 16px 42px rgba(22, 12, 18, 0.24);
  backdrop-filter: blur(18px);
  transition: background 0.24s ease, transform 0.24s ease, border-color 0.24s ease;
}

.bridal-header.is-scrolled {
  transform: translateY(-6px);
  border-color: rgba(199, 160, 96, 0.42);
  background: rgba(38, 27, 34, 0.88);
}

.bridal-brand,
.bridal-nav,
.header-actions,
.hero-actions,
.hero-proof,
.bridal-footer {
  display: flex;
  align-items: center;
}

.bridal-brand,
.bridal-nav a,
.header-action,
.button,
.bridal-footer a {
  text-decoration: none;
}

.bridal-brand {
  min-width: 0;
  gap: 12px;
  font-weight: 900;
}

.bridal-brand span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: var(--wine);
  background: var(--ivory);
}

.bridal-brand strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bridal-nav {
  gap: 24px;
  justify-content: center;
  color: rgba(255, 253, 248, 0.78);
  font-size: 15px;
  font-weight: 800;
}

.bridal-nav a {
  padding: 8px 0;
}

.header-actions {
  justify-self: end;
  gap: 8px;
}

.header-action {
  justify-self: end;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 8px;
  color: var(--wine);
  background: var(--ivory);
  font-weight: 900;
  transition: transform 0.22s ease, background 0.22s ease;
}

.header-action:hover,
.header-action:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.bridal-site {
  overflow-x: hidden;
}

.bridal-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 430px);
  gap: 28px;
  align-items: end;
  min-height: 82svh;
  padding: 118px 56px 52px;
  color: var(--ivory);
  isolation: isolate;
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-photo {
  z-index: -3;
  overflow: hidden;
  background: var(--wine);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.9) contrast(1.03);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(38, 27, 34, 0.92) 0%, rgba(38, 27, 34, 0.72) 38%, rgba(38, 27, 34, 0.08) 72%),
    linear-gradient(180deg, rgba(38, 27, 34, 0.12) 0%, rgba(38, 27, 34, 0.18) 52%, rgba(38, 27, 34, 0.9) 100%);
}

.hero-copy {
  max-width: 650px;
  align-self: center;
  padding-top: 42px;
}

.eyebrow {
  margin: 0;
  color: var(--brass);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 640px;
  margin: 14px 0 0;
  font-size: 72px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 253, 248, 0.78);
  font-size: 21px;
  line-height: 1.75;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.1);
  color: var(--ivory);
  font-weight: 900;
  text-align: center;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.button.primary {
  border-color: var(--brass);
  background: var(--brass);
  color: #231713;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--brass);
  background: rgba(255, 253, 248, 0.18);
}

.hero-proof {
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
}

.hero-proof div {
  min-width: 116px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.08);
  backdrop-filter: blur(10px);
}

.hero-proof dt {
  color: var(--brass);
  font-size: 24px;
  font-weight: 950;
}

.hero-proof dd {
  margin: 2px 0 0;
  color: rgba(255, 253, 248, 0.72);
  font-size: 14px;
}

.hero-agenda {
  align-self: end;
  padding: 22px;
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.08), rgba(255, 253, 248, 0.03)),
    rgba(38, 27, 34, 0.52);
  box-shadow: 0 22px 58px rgba(22, 12, 18, 0.2);
  backdrop-filter: blur(18px);
}

.hero-agenda h2 {
  margin: 10px 0 18px;
  font-size: 28px;
  line-height: 1.18;
}

.hero-agenda ol,
.process-list,
.board-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-agenda li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 253, 248, 0.14);
}

.hero-agenda time {
  color: var(--brass);
  font-weight: 950;
}

.hero-agenda span {
  color: rgba(255, 253, 248, 0.82);
  line-height: 1.5;
}

.section {
  width: min(1360px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(310px, 0.55fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.section-heading h2,
.lookbook-copy h2,
.process-inner h2,
.board-heading h2 {
  margin: 8px 0 0;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.lookbook-copy p:not(.eyebrow),
.process-list p,
.board-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.signature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.signature-grid article {
  position: relative;
  min-height: 205px;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(75, 22, 38, 0.055);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.82), rgba(255, 248, 242, 0.46)),
    var(--ivory);
  box-shadow: 0 12px 34px rgba(57, 39, 44, 0.04);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.signature-grid article::before {
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 1px;
  content: "";
  opacity: 0.72;
  background: linear-gradient(90deg, rgba(199, 160, 96, 0), rgba(199, 160, 96, 0.58), rgba(111, 136, 118, 0));
}

.signature-grid article:hover,
.signature-grid article:focus-within,
.look-card:hover,
.look-card:focus-within,
.board-card:hover,
.board-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(111, 136, 118, 0.24);
}

.signature-grid span,
.process-list span,
.board-card > span,
.quote-label,
.look-card span {
  color: var(--wine-soft);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.signature-grid h3,
.process-list h3,
.board-card h3 {
  margin: 12px 0 10px;
  font-size: 24px;
  line-height: 1.18;
}

.signature-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.lookbook-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  width: min(1480px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 96px;
}

.lookbook-copy {
  align-self: center;
  padding: 28px;
  border-left: 4px solid var(--sage);
}

.lookbook-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.78fr);
  gap: 12px;
}

.look-card {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(75, 22, 38, 0.08);
  border-radius: 8px;
  background: var(--wine);
  box-shadow: 0 18px 52px rgba(57, 39, 44, 0.1);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.look-card.large {
  grid-row: span 2;
  min-height: 610px;
}

.look-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.look-card.large img {
  object-position: 55% center;
}

.look-card.detail-one img {
  object-position: 50% 58%;
}

.look-card.detail-two img {
  object-position: 52% 48%;
}

.look-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(38, 27, 34, 0.82));
}

.look-card figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 1;
  color: var(--ivory);
}

.look-card strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}

.look-card span {
  color: var(--brass);
}

.process-band {
  color: var(--ivory);
  background:
    linear-gradient(120deg, rgba(111, 136, 118, 0.2), transparent 40%),
    var(--wine);
}

.process-inner {
  width: min(1360px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.process-inner h2 {
  max-width: 790px;
  color: var(--ivory);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
  overflow: visible;
  border: 0;
  border-radius: 0;
}

.process-list li {
  min-height: 240px;
  padding: 26px;
  border: 1px solid rgba(255, 253, 248, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.09), rgba(255, 253, 248, 0.045)),
    rgba(255, 253, 248, 0.04);
}

.process-list span {
  color: var(--brass);
}

.process-list h3 {
  color: var(--ivory);
}

.process-list p {
  color: rgba(255, 253, 248, 0.7);
}

.planner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr);
  gap: 16px;
  align-items: start;
}

.planner-form,
.quote-panel {
  border: 1px solid rgba(75, 22, 38, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 248, 242, 0.82)),
    var(--ivory);
  box-shadow: 0 16px 50px rgba(57, 39, 44, 0.07);
}

.planner-form {
  display: grid;
  gap: 20px;
  padding: 26px;
}

.planner-form fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.planner-form legend,
.range-field > span,
.contact-grid label {
  color: var(--wine);
  font-weight: 950;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.choice-grid button,
.task-card button {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(75, 22, 38, 0.1);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 250, 242, 0.82);
  font-weight: 900;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.choice-grid button:hover,
.choice-grid button:focus-visible,
.choice-grid button.is-active,
.task-card button:hover,
.task-card button:focus-visible,
.task-card button.is-done {
  transform: translateY(-2px);
  border-color: var(--sage);
  background: var(--sage);
  color: var(--ivory);
}

.addon-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.addon-list label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid rgba(75, 22, 38, 0.1);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.82);
}

.addon-list input {
  width: 18px;
  height: 18px;
  accent-color: var(--wine);
}

.addon-list strong {
  color: var(--sage-dark);
  font-size: 14px;
}

.range-field {
  display: grid;
  gap: 10px;
}

.range-field input {
  width: 100%;
  accent-color: var(--wine);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-grid label {
  display: grid;
  gap: 8px;
}

.contact-grid input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(75, 22, 38, 0.1);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 250, 242, 0.84);
}

.submit-button {
  width: fit-content;
  border: 0;
}

.form-status {
  min-height: 44px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--sage-dark);
  background: rgba(111, 136, 118, 0.12);
  line-height: 1.5;
}

.quote-panel {
  position: sticky;
  top: 98px;
  padding: 28px;
}

.quote-panel h3 {
  margin: 8px 0 18px;
  color: var(--wine);
  font-size: 36px;
  line-height: 1.08;
}

.quote-panel dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.quote-panel dl div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(75, 22, 38, 0.09);
}

.quote-panel dt {
  color: var(--muted);
}

.quote-panel dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.quote-total {
  display: block;
  margin-top: 22px;
  color: var(--wine);
  font-size: 42px;
  line-height: 1;
}

.quote-flow {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.quote-flow li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(199, 160, 96, 0.1);
}

.quote-flow time {
  color: var(--wine-soft);
  font-weight: 950;
}

.board-section {
  width: min(1360px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 96px;
}

.board-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.board-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.75fr) minmax(260px, 0.8fr);
  gap: 12px;
}

.board-card {
  min-height: 280px;
  padding: 24px;
  border: 1px solid rgba(75, 22, 38, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 248, 242, 0.82)),
    var(--ivory);
  box-shadow: 0 16px 48px rgba(57, 39, 44, 0.06);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.schedule-card {
  color: var(--ivory);
  background:
    linear-gradient(135deg, rgba(199, 160, 96, 0.22), transparent 42%),
    var(--wine);
}

.schedule-card > span,
.schedule-card time {
  color: var(--brass);
}

.schedule-card h3,
.schedule-card strong {
  color: var(--ivory);
}

.schedule-card li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 253, 248, 0.16);
}

.kit-meter {
  height: 12px;
  margin: 22px 0 18px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(38, 27, 34, 0.09);
}

.kit-meter i {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sage), var(--brass), var(--rose));
}

.task-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.task-card h3 {
  margin-bottom: 8px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.58s ease, transform 0.58s ease;
}

.bridal-footer {
  justify-content: space-between;
  gap: 18px;
  width: min(1360px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.bridal-footer a {
  font-weight: 900;
}

@media (max-width: 1120px) {
  .bridal-header {
    grid-template-columns: 1fr auto;
  }

  .bridal-nav {
    display: none;
  }

  .bridal-hero,
  .section-heading,
  .lookbook-section,
  .planner-layout,
  .board-grid {
    grid-template-columns: 1fr;
  }

  .hero-agenda,
  .quote-panel {
    position: relative;
    top: auto;
    max-width: 620px;
  }

  .signature-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .bridal-header {
    position: absolute;
    top: 10px;
    right: 10px;
    left: 10px;
    min-height: 58px;
  }

  .bridal-brand span {
    width: 38px;
    height: 38px;
  }

  .header-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: 14px;
  }

  .header-actions {
    gap: 6px;
  }

  .bridal-hero {
    min-height: auto;
    padding: 104px 18px 40px;
  }

  .hero-photo img {
    object-position: 64% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(38, 27, 34, 0.52) 0%, rgba(38, 27, 34, 0.74) 44%, rgba(38, 27, 34, 0.96) 100%);
  }

  .hero-copy {
    padding-top: 84px;
  }

  .hero-copy h1 {
    max-width: 9em;
    font-size: 42px;
    line-height: 1.08;
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 23em;
    font-size: 17px;
  }

  .hero-proof {
    display: none;
  }

  .hero-agenda {
    display: none;
  }

  .section,
  .lookbook-section,
  .process-inner,
  .board-section,
  .bridal-footer {
    width: min(100% - 28px, 1360px);
  }

  .section,
  .process-inner {
    padding: 58px 0;
  }

  .lookbook-section,
  .board-section {
    padding-bottom: 58px;
  }

  .section-heading h2,
  .lookbook-copy h2,
  .process-inner h2,
  .board-heading h2 {
    font-size: 34px;
  }

  .signature-grid,
  .process-list,
  .choice-grid,
  .area-grid,
  .addon-list,
  .contact-grid,
  .lookbook-grid {
    grid-template-columns: 1fr;
  }

  .lookbook-copy {
    padding: 0 0 0 18px;
  }

  .look-card.large,
  .look-card {
    min-height: 360px;
  }

  .planner-form,
  .quote-panel,
  .board-card,
  .hero-agenda {
    padding: 18px;
  }

  .quote-panel h3 {
    font-size: 30px;
  }

  .quote-total {
    font-size: 34px;
  }

  .quote-panel dl div,
  .quote-flow li,
  .schedule-card li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .submit-button {
    width: 100%;
  }

  .bridal-footer {
    display: grid;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

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