:root {
  --wine: #3b1520;
  --deep-wine: #29131a;
  --gold: #cdb173;
  --gold-light: #f2dba3;
  --paper: #fbf7ef;
  --ink: #382e2d;
  --muted: #756965;
  --line: #ded3c0;
  --error: #9a2436;
  --focus: #885c1a;
  --serif: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --sans: "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a {
  color: inherit;
}
input,
select,
textarea {
  min-width: 0;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 10px;
  z-index: 20;
  padding: 8px 15px;
  background: var(--paper);
  color: var(--wine);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.masthead {
  height: 110px;
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  max-width: 1320px;
  margin: auto;
  padding: 28px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--gold-light);
}
.brand {
  width: 290px;
  flex-shrink: 1;
}
.header-link {
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid #cdb17366;
  padding: 7px 0;
  font-size: 15px;
}
.hero {
  position: relative;
  min-height: 800px;
  background: var(--deep-wine);
  color: #f7edda;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0 0 0 42%;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}
.hero-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--deep-wine) 0%, transparent 40%),
    linear-gradient(0deg, var(--deep-wine), transparent 25%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: auto;
  padding: 185px 64px 92px;
}
.hero h1 {
  margin: 0 0 38px;
  max-width: 570px;
}
.title-image {
  width: 100%;
  height: auto;
}
.hero-intro {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.95;
  letter-spacing: 0.04em;
  margin: 0 0 32px;
  max-width: 530px;
  color: #eadcc8;
}
.hero-date {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.8;
  margin: 0 0 30px;
}
.hero-date span {
  display: block;
  font-size: 17px;
  letter-spacing: 0.12em;
  color: var(--gold-light);
}
.primary-link {
  display: inline-block;
  padding: 13px 33px;
  background: var(--gold-light);
  border: 1px solid var(--gold-light);
  color: #3c1e26;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background 0.15s;
}
.primary-link:hover {
  background: #fff1cf;
}
.hero-location {
  margin-top: 37px;
  color: #d0bdaa;
  font-size: 14px;
  letter-spacing: 0.035em;
}
.hero-location p {
  margin: 0;
}
.hero-location p:first-child {
  font-family: var(--serif);
  color: #ead9bf;
  font-size: 17px;
  margin-bottom: 4px;
}
.registration {
  max-width: 1032px;
  margin: auto;
  padding: 74px 40px 86px;
}
.form-heading {
  margin: 0 0 32px;
}
.form-heading h2 {
  font: 500 34px/1.4 var(--serif);
  letter-spacing: 0.09em;
  color: var(--wine);
  margin: 0 0 14px;
}
.form-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}
.required {
  color: var(--error);
  font-family: var(--sans);
  font-size: 0.82em;
}
.optional {
  font-size: 13px;
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 7px;
}
.service-notice {
  margin-bottom: 28px;
  padding: 17px 22px;
  background: #eee6d7;
  border-left: 3px solid #b69252;
  font-size: 16px;
}
.service-notice p {
  margin: 0;
}
.text-button {
  background: none;
  border: none;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--wine);
  padding: 8px 0 0;
}
.form-section {
  padding: 0 0 36px;
  margin: 0 0 32px;
  border: 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.form-section > legend {
  float: left;
  width: 100%;
  padding: 0;
  margin: 0 0 21px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--wine);
}
.form-section > legend + * {
  clear: both;
}
.field-help {
  font-size: 14px;
  color: var(--muted);
  margin: 7px 0 0;
  line-height: 1.7;
}
.session-section .field-help {
  margin: 0 0 22px;
}
.session-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.session-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 22px 18px 24px;
  border: 1px solid #d4c4a9;
  background: #fffdf8;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.session-option:has(input:checked) {
  background: #f3ead9;
  border-color: #98703d;
  box-shadow: inset 0 0 0 1px #98703d;
}
.session-option:has(input:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.session-option input {
  margin: 10px 0 0;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  accent-color: var(--wine);
}
.session-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.session-date {
  font: 500 32px/1.4 var(--serif);
  color: var(--wine);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.session-date > span {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 10px;
}
.session-name {
  font: 600 18px/1.6 var(--serif);
  color: var(--wine);
  letter-spacing: 0.025em;
  white-space: nowrap;
}
.session-time {
  font-size: 14px;
  color: var(--muted);
  margin-top: 3px;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 30px;
}
.field label {
  display: block;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  border: 1px solid #cfc2af;
  border-radius: 0;
  background: #fffdf9;
  color: var(--ink);
  padding: 11px 13px;
  min-height: 49px;
  box-shadow: none;
}
.field select {
  padding-right: 30px;
}
.field textarea {
  resize: vertical;
  min-height: 106px;
  line-height: 1.65;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid #ad8648;
  outline-offset: 1px;
  border-color: #ad8648;
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--error);
  outline-color: var(--error);
}
.field-error {
  color: var(--error);
  font-size: 14px;
  line-height: 1.65;
  margin: 7px 0 0;
}
.chair-field {
  border: 0;
  padding: 0;
  margin: 27px 0 0;
  min-width: 0;
}
.chair-field legend {
  padding: 0;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 9px;
}
.inline-options {
  display: flex;
  gap: 34px;
}
.inline-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}
.inline-options input {
  width: 19px;
  height: 19px;
  accent-color: var(--wine);
  margin: 0;
}
.notes-field {
  margin-top: 26px;
}
.event-notices {
  padding-left: 1.5em;
  margin: 0 0 27px;
  line-height: 1.95;
  font-size: 16px;
  color: #5e504c;
}
.event-notices li {
  padding-left: 0.2em;
  margin-bottom: 13px;
}
.event-notices li::marker {
  font-variant-numeric: tabular-nums;
  color: #916c3e;
}
.consent-field {
  margin-top: 18px;
}
.consent-field label {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  cursor: pointer;
  line-height: 1.85;
  font-size: 16px;
}
.consent-field input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin: 5px 0 0;
  accent-color: var(--wine);
}
.consent-field .field-error {
  margin-left: 33px;
}
.agreement-section {
  padding-bottom: 30px;
  margin-bottom: 28px;
}
.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.submit-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.submit-button {
  border: 1px solid var(--wine);
  background: var(--wine);
  color: #fbf1dd;
  min-width: 216px;
  min-height: 54px;
  padding: 12px 28px;
  font-weight: 600;
  letter-spacing: 0.07em;
  transition: background 0.15s;
}
.submit-button:hover:not(:disabled) {
  background: #5c2636;
}
.submit-button:disabled {
  background: #b5a7a1;
  border-color: #b5a7a1;
  color: white;
}
.submit-row p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.error-summary,
.submit-message {
  padding: 20px 24px;
  border: 1px solid #b2505e;
  background: #fff4f2;
  color: #8d2637;
  margin: 0 0 28px;
  font-size: 16px;
}
.error-summary h3 {
  font-size: 18px;
  margin: 0 0 8px;
}
.error-summary ul {
  padding-left: 1.3em;
  margin: 0;
}
.error-summary a {
  text-underline-offset: 3px;
}
.submit-message {
  overflow-wrap: anywhere;
}
.submit-message p {
  margin: 0;
}
.submit-message p + p {
  margin-top: 9px;
}
.success-panel {
  border-top: 1px solid var(--line);
  padding: 42px 0 0;
  max-width: 700px;
}
.success-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid #9a8152;
  border-radius: 50%;
  color: #795f2e;
  font-size: 24px;
  margin-bottom: 18px;
}
.success-panel h2 {
  font: 500 31px/1.5 var(--serif);
  letter-spacing: 0.07em;
  color: var(--wine);
  margin: 0 0 12px;
}
.success-panel p {
  margin: 0 0 25px;
}
.success-panel h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 26px 0 12px;
}
.success-panel ul {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}
.success-panel li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 19px;
}
.success-reference {
  font-size: 14px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.success-reference span {
  display: block;
  font-size: 14px;
  letter-spacing: 0.03em;
}
.success-venue {
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}
.success-venue p {
  margin-bottom: 14px;
  font-size: 16px;
}
.site-footer {
  background: var(--deep-wine);
  color: #cfbfa5;
  padding: 32px 25px;
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.035em;
}
.site-footer p {
  margin: 0;
}
.site-footer p:first-child {
  font-family: var(--serif);
  font-size: 17px;
  margin-bottom: 5px;
}
@media (min-width: 1500px) {
  .hero-image {
    right: calc((100vw - 1450px) / 2);
  }
}
@media (max-width: 1050px) {
  .masthead {
    padding-left: 38px;
    padding-right: 38px;
  }
  .hero-copy {
    padding-left: 38px;
    padding-right: 38px;
  }
  .hero h1 {
    max-width: 500px;
  }
  .hero-intro {
    max-width: 440px;
    font-size: 18px;
  }
  .hero-image {
    left: 35%;
  }
  .hero-image:after {
    background:
      linear-gradient(90deg, var(--deep-wine), #29131a77 30%, transparent 65%),
      linear-gradient(0deg, var(--deep-wine), transparent 25%);
  }
  .hero {
    min-height: 770px;
  }
  .session-options {
    gap: 12px;
  }
  .session-option {
    padding: 17px 12px;
    gap: 9px;
  }
  .session-date {
    font-size: 28px;
  }
  .session-date > span {
    margin-left: 7px;
    font-size: 12px;
  }
  .session-name {
    font-size: 16px;
  }
}
@media (max-width: 760px) {
  .masthead {
    height: 88px;
    padding: 20px 24px;
  }
  .brand {
    width: 241px;
  }
  .header-link {
    font-size: 13px;
  }
  .hero {
    min-height: 0;
    padding-top: 88px;
  }
  .hero-image {
    position: relative;
    inset: auto;
    height: 480px;
    margin-left: 20%;
  }
  .hero-image img {
    object-position: 50% 30%;
  }
  .hero-image:after {
    background:
      linear-gradient(90deg, var(--deep-wine), transparent 26%),
      linear-gradient(0deg, var(--deep-wine), transparent 28%);
  }
  .hero-copy {
    padding: 0 25px 45px;
    margin-top: -190px;
  }
  .hero h1 {
    max-width: 470px;
    margin: 0 0 25px;
    width: 84%;
  }
  .hero-intro {
    font-size: 17px;
    max-width: 450px;
    line-height: 1.9;
    margin-bottom: 23px;
  }
  .hero-date {
    font-size: 17px;
    margin-bottom: 24px;
  }
  .hero-date span {
    font-size: 16px;
  }
  .hero-location {
    margin-top: 28px;
  }
  .registration {
    padding: 48px 24px 56px;
  }
  .form-heading h2 {
    font-size: 29px;
  }
  .form-heading p {
    font-size: 15px;
  }
  .form-section {
    padding-bottom: 29px;
    margin-bottom: 27px;
  }
  .form-section > legend {
    font-size: 22px;
    margin-bottom: 18px;
  }
  .session-options {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .session-option {
    align-items: center;
    padding: 17px 17px;
    gap: 16px;
  }
  .session-option input {
    margin: 0;
    width: 20px;
    height: 20px;
  }
  .session-copy {
    width: 100%;
    display: grid;
    grid-template-columns: 106px 1fr;
    column-gap: 18px;
    row-gap: 1px;
  }
  .session-date {
    grid-row: 1/3;
    font-size: 31px;
    line-height: 1.25;
  }
  .session-date > span {
    display: block;
    margin: 4px 0 0;
    font-size: 13px;
  }
  .session-name {
    font-size: 18px;
    align-self: end;
  }
  .session-time {
    font-size: 14px;
    margin-top: 0;
  }
  .field-grid {
    gap: 22px;
    grid-template-columns: 1fr;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 17px;
    min-height: 50px;
  }
  .event-notices {
    font-size: 16px;
    line-height: 1.85;
    padding-left: 1.3em;
  }
  .consent-field label {
    font-size: 16px;
    gap: 12px;
  }
  .consent-field input {
    margin-top: 5px;
  }
  .submit-row {
    display: block;
  }
  .submit-button {
    width: 100%;
  }
  .submit-row p {
    text-align: center;
    margin-top: 12px;
  }
  .error-summary,
  .submit-message {
    padding: 17px 18px;
  }
  .service-notice {
    padding: 15px 17px;
  }
  .success-panel h2 {
    font-size: 29px;
  }
}
@media (max-width: 420px) {
  .masthead {
    padding-left: 20px;
    padding-right: 20px;
  }
  .brand {
    width: 215px;
  }
  .hero-image {
    height: 430px;
    margin-left: 13%;
  }
  .hero-copy {
    margin-top: -155px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero h1 {
    width: 92%;
    margin-bottom: 26px;
  }
  .hero-intro {
    font-size: 16px;
  }
  .hero-date {
    font-size: 16px;
    letter-spacing: 0.035em;
  }
  .hero-location {
    font-size: 13px;
  }
  .hero-location p:first-child {
    font-size: 16px;
  }
  .registration {
    padding-left: 20px;
    padding-right: 20px;
  }
  .session-copy {
    grid-template-columns: 92px 1fr;
    column-gap: 13px;
  }
  .session-name {
    font-size: 17px;
  }
  .session-date {
    font-size: 29px;
  }
  .session-option {
    padding: 16px 13px;
    gap: 13px;
  }
}
@media (max-width: 360px) {
  .brand {
    min-width: 0;
  }
  .session-copy {
    grid-template-columns: 77px 1fr;
    column-gap: 10px;
  }
  .session-option {
    padding: 14px 12px;
  }
  .session-date {
    font-size: 26px;
  }
  .session-name {
    font-size: 16px;
  }
  .hero-date {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}
