:root {
  color-scheme: light;
  --bg: #f6f0ea;
  --bg-soft: #fbf7f2;
  --bg-strong: #1f1714;
  --surface: rgba(255, 252, 248, 0.82);
  --surface-strong: #fffdf9;
  --line: rgba(66, 43, 34, 0.14);
  --line-strong: rgba(66, 43, 34, 0.24);
  --text: #241916;
  --muted: #65514a;
  --accent: #9f7461;
  --accent-deep: #6c4536;
  --shadow: 0 24px 80px rgba(56, 34, 24, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(196, 160, 143, 0.22), transparent 30rem),
    linear-gradient(180deg, #f8f2ec 0%, #f5eee7 52%, #f7f2ed 100%);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.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;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(251, 247, 242, 0.9);
  border-bottom: 1px solid rgba(66, 43, 34, 0.08);
}

.header-row,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.brand,
.site-nav a,
.header-cta,
.eyebrow,
.project-tag,
.mini-label,
.panel-label,
.detail-list dt {
  letter-spacing: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  object-fit: cover;
  background: white;
  box-shadow: 0 8px 18px rgba(56, 34, 24, 0.08);
}

.brand-word {
  display: inline-flex;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav-cta,
.nav-toggle {
  display: none;
}

.nav-toggle {
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(66, 43, 34, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(56, 34, 24, 0.06);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 2.5px 0;
  background: var(--text);
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-nav a:hover,
.feature-card a:hover {
  color: var(--accent-deep);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 4px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.header-cta {
  border: 1px solid rgba(159, 116, 97, 0.18);
  background: rgba(214, 188, 177, 0.42);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero-button {
  min-height: 42px;
  padding: 0 16px;
}

.hero {
  padding: 28px 0 32px;
}

.hero-grid,
.split-section,
.enquiry-layout {
  display: grid;
  gap: 32px;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.feature-card,
.timeline-item,
.project-card,
.enquiry-form,
.notice-box,
.mini-card,
.panel-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: 68px 56px 56px;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 253, 250, 0.96), rgba(252, 246, 240, 0.9));
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.18)),
    url("./assets/floral-lace-frame.jpg") center/cover no-repeat;
  opacity: 0.13;
  pointer-events: none;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.hero-copy h1,
.section-heading h2,
.panel-card h2,
.feature-card h3,
.timeline-item h3,
.project-copy h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.98;
}

.hero-copy h1 {
  margin: 12px 0 0;
  font-size: clamp(4rem, 8vw, 6.8rem);
  max-width: 11ch;
  color: #8b6659;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-text,
.section-heading p,
.story-copy p,
.feature-card p,
.timeline-item p,
.project-copy p,
.panel-card p,
.mini-card p,
.form-note,
.detail-list dd,
.notice-box p {
  color: var(--muted);
}

.hero-text {
  max-width: 42rem;
  margin: 18px 0 0;
  font-size: 1.02rem;
  max-width: 32rem;
}

.hero-script {
  margin: 6px 0 0;
  color: rgba(159, 116, 97, 0.78);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-style: italic;
  line-height: 0.95;
}

.eyebrow,
.panel-label,
.mini-label,
.project-tag,
.detail-list dt {
  display: inline-flex;
  margin: 0;
  color: var(--accent-deep);
  font-size: 0.86rem;
  font-weight: 600;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button-primary {
  background: #d7b5ab;
  color: #fff8f4;
  border: 1px solid rgba(159, 116, 97, 0.24);
}

.button-primary:hover {
  background: #cda79c;
}

.button-secondary {
  border: 1px solid rgba(66, 43, 34, 0.14);
  background: rgba(255, 255, 255, 0.5);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
}

.hero-facts li {
  min-height: 108px;
  padding: 18px 16px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(66, 43, 34, 0.1);
}

.hero-facts strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
}

.hero-facts span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-panel {
  display: grid;
  gap: 18px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.panel-card {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: 0;
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(249, 239, 229, 0.8)),
    url("./assets/eloria-cover.png");
  background-size: cover;
  background-position: center;
}

.panel-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -46px;
  width: 220px;
  height: 220px;
  background: url("./assets/floral-bloom-texture.jpg") center/cover no-repeat;
  opacity: 0.06;
  pointer-events: none;
}

.panel-card-image {
  display: flex;
  align-items: end;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05)),
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.5), transparent 40rem),
    linear-gradient(180deg, #f7f1ea 0%, #f4ece4 100%);
}

.panel-card > * {
  position: relative;
  z-index: 1;
}

.hero-dress {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.panel-seal {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 36px rgba(56, 34, 24, 0.1);
}

.panel-card h2 {
  margin: 16px 0 0;
  font-size: 2.4rem;
  max-width: 10ch;
}

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

.mini-card {
  min-height: 118px;
  padding: 18px 20px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.74);
}

.section {
  position: relative;
  padding: 34px 0 40px;
}

.section-light {
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(66, 43, 34, 0.06);
  border-bottom: 1px solid rgba(66, 43, 34, 0.06);
}

#story::before {
  content: "";
  position: absolute;
  top: 34px;
  right: 0;
  width: min(34vw, 360px);
  height: min(42vw, 520px);
  background: url("./assets/floral-bloom-texture.jpg") center/cover no-repeat;
  opacity: 0.14;
  pointer-events: none;
}

#story::after {
  content: "";
  position: absolute;
  bottom: 18px;
  left: 0;
  width: min(24vw, 240px);
  height: min(30vw, 340px);
  background: url("./assets/floral-lace-frame.jpg") center/cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.section-dark {
  background: linear-gradient(180deg, #231915 0%, #1b1310 100%);
  color: #f6ede7;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 19, 16, 0.76), rgba(28, 19, 16, 0.88)),
    url("./assets/floral-lace-frame.jpg") center/cover no-repeat;
  opacity: 0.14;
  pointer-events: none;
}

.section-dark > .container {
  position: relative;
  z-index: 1;
}

.section-dark .section-heading p,
.section-dark .detail-list dd,
.section-dark .form-note,
.section-dark label,
.section-dark input,
.section-dark textarea,
.section-dark select {
  color: rgba(246, 237, 231, 0.82);
}

.split-section {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  padding-bottom: 22px;
}

.section-heading h2 {
  margin: 14px 0 0;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  max-width: 12ch;
}

.section-heading-wide {
  max-width: 54rem;
}

.section-heading-wide h2 {
  max-width: none;
}

.section-heading-wide p:last-child {
  max-width: 40rem;
}

.story-copy {
  display: grid;
  gap: 18px;
  padding-top: 24px;
}

.card-grid,
.project-grid,
.gallery-grid {
  display: grid;
  gap: 22px;
}

.card-grid {
  margin-top: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.card-index {
  margin: 0;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
}

.feature-card h3 {
  margin: 18px 0 0;
  font-size: 2rem;
}

.feature-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent-deep);
  font-weight: 600;
}

.gallery-heading {
  margin-top: 48px;
}

.flipbook-shell {
  position: relative;
  margin-top: 28px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.flipbook-shell::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 180px;
  height: 220px;
  background: url("./assets/floral-lace-frame.jpg") center/cover no-repeat;
  opacity: 0.07;
  pointer-events: none;
}

.flipbook-button {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 54px;
  height: 54px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(66, 43, 34, 0.12);
  border-radius: 50%;
  background: rgba(255, 253, 250, 0.9);
  color: var(--text);
  font: 500 1.45rem/1 Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(56, 34, 24, 0.06);
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.flipbook-button-prev {
  left: -27px;
  transform: translateY(-50%);
}

.flipbook-button-next {
  right: -27px;
  transform: translateY(-50%);
}

.flipbook-button:hover {
  background: #fffdf9;
  box-shadow: 0 16px 32px rgba(56, 34, 24, 0.12);
}

.flipbook-button-prev:hover {
  transform: translateY(-50%) translateX(-2px);
}

.flipbook-button-next:hover {
  transform: translateY(-50%) translateX(2px);
}

.flipbook-button:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
  background: rgba(255, 255, 255, 0.9);
}

.flipbook-status {
  margin: 16px 0 0;
  color: var(--accent-deep);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.flipbook-stage {
  position: relative;
  min-height: 760px;
  perspective: 1800px;
  outline: none;
  transition: height 320ms ease;
}

.flipbook-page {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(240px, 0.52fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(66, 43, 34, 0.08);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 242, 236, 0.96));
  box-shadow:
    0 28px 80px rgba(56, 34, 24, 0.08),
    0 2px 0 rgba(255, 255, 255, 0.6) inset;
  transform-origin: left center;
  transform: rotateY(-24deg) translateX(48px) scale(0.97);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 420ms ease,
    box-shadow 620ms ease;
}

.flipbook-page.is-active {
  transform: rotateY(0deg) translateX(0) scale(1);
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.flipbook-page.is-leaving {
  transform: rotateY(16deg) translateX(-42px) scale(0.985);
  opacity: 0;
  z-index: 1;
}

.flipbook-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 20px 20px;
  min-height: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), transparent 28rem),
    linear-gradient(180deg, #f3ebe4 0%, #efe5dd 100%);
}

.flipbook-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(90, 60, 46, 0.05) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 22%);
  pointer-events: none;
}

.flipbook-media img {
  width: auto;
  height: auto;
  max-width: 92%;
  max-height: 88%;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 18px 28px rgba(56, 34, 24, 0.08));
}

.flipbook-copy {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-width: 0;
  padding: 28px 26px;
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.98), rgba(247, 239, 233, 0.98));
  border-left: 1px solid rgba(66, 43, 34, 0.06);
}

.flipbook-copy h3 {
  margin: 10px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 600;
  line-height: 0.95;
}

.flipbook-copy p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 24ch;
}

.timeline {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.timeline-item {
  min-height: 188px;
  padding: 18px 18px 20px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.56);
  text-align: center;
  border-top: 1px solid rgba(66, 43, 34, 0.08);
  border-bottom: 1px solid rgba(66, 43, 34, 0.08);
}

.timeline-item span {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(159, 116, 97, 0.12);
  color: var(--accent-deep);
  font-weight: 700;
}

.timeline-item h3 {
  margin: 16px 0 0;
  font-size: 1.55rem;
}

.notice-box {
  margin-top: 22px;
  padding: 18px 24px;
  border-radius: 0;
  background: rgba(255, 250, 245, 0.58);
  border-top: 1px solid rgba(66, 43, 34, 0.08);
  border-bottom: 1px solid rgba(66, 43, 34, 0.08);
}

.project-grid {
  margin-top: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  overflow: hidden;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.8);
}

.project-tone {
  aspect-ratio: 4 / 3;
}

.project-tone-ivory {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.22), transparent 42%),
    linear-gradient(180deg, #d9ccbf 0%, #f2ebe4 100%);
}

.project-tone-pearl {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.2), transparent 42%),
    linear-gradient(180deg, #c3b6af 0%, #e9e0db 100%);
}

.project-tone-blush {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.26), transparent 42%),
    linear-gradient(180deg, #c7aea6 0%, #eeddd8 100%);
}

.project-copy {
  padding: 24px;
}

.project-copy h3 {
  margin: 12px 0 0;
  font-size: 2rem;
}

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

.info-card,
.policy-card,
.faq-grid details {
  border: 1px solid rgba(66, 43, 34, 0.1);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 16px 32px rgba(56, 34, 24, 0.045);
}

.info-card {
  padding: 22px;
}

.info-card h3,
.policy-card h3 {
  margin: 10px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.05;
}

.info-card p:last-child,
.policy-card p,
.faq-grid p {
  color: var(--muted);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: start;
}

.policy-grid {
  display: grid;
  gap: 14px;
}

.policy-card {
  padding: 22px;
}

.policy-card p {
  margin: 10px 0 0;
}

.faq-grid {
  display: grid;
  gap: 10px;
}

.faq-grid details {
  padding: 0;
}

.faq-grid summary {
  min-height: 54px;
  padding: 16px 18px;
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
}

.faq-grid summary::marker {
  color: var(--accent-deep);
}

.faq-grid p {
  margin: 0;
  padding: 0 18px 18px;
}

.atelier-grid {
  display: block;
}

.atelier-copy {
  max-width: 34rem;
  padding: 6px 0 16px;
}

.atelier-copy h2 {
  margin: 10px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  font-weight: 600;
  line-height: 0.98;
}

.atelier-copy p {
  max-width: 30rem;
  color: var(--muted);
}

.atelier-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--accent-deep);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.atelier-gallery {
  display: grid;
  grid-template-columns: 1.18fr 1fr 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.atelier-card {
  overflow: hidden;
  border: 1px solid rgba(66, 43, 34, 0.08);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 28px rgba(56, 34, 24, 0.045);
}

.atelier-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

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

.atelier-card-detail {
  min-height: 360px;
}

.enquiry-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.detail-list {
  display: grid;
  gap: 16px;
  margin: 30px 0 0;
}

.detail-list div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.detail-list dd {
  margin: 6px 0 0;
}

.enquiry-form {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  isolation: isolate;
}

.enquiry-form > * {
  position: relative;
  z-index: 0;
}

.field-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  z-index: 0;
}

.field-row.is-overlay-open,
.field-row:has(.custom-select.is-open),
.field-row:has(.calendar-popover.is-open) {
  z-index: 1000;
}

.enquiry-form:has(.custom-select.is-open) > :not(.field-row:has(.custom-select.is-open)),
.enquiry-form:has(.calendar-popover.is-open) > :not(.field-row:has(.calendar-popover.is-open)) {
  z-index: 0;
}

label {
  display: grid;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 500;
}

input,
textarea,
select {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(246, 237, 231, 0.9);
  font: inherit;
}

select {
  appearance: none;
  cursor: pointer;
  background:
    linear-gradient(45deg, transparent 50%, rgba(246, 237, 231, 0.85) 50%) calc(100% - 20px) 50% / 7px 7px no-repeat,
    linear-gradient(135deg, rgba(246, 237, 231, 0.85) 50%, transparent 50%) calc(100% - 14px) 50% / 7px 7px no-repeat,
    rgba(255, 255, 255, 0.08);
  padding-right: 42px;
}

select option {
  background: #f7efe8;
  color: #2d201c;
}

textarea {
  min-height: 156px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder,
select:invalid {
  color: rgba(246, 237, 231, 0.54);
}

.enquiry-form .is-invalid,
.custom-select-trigger.is-invalid,
.enquiry-form.was-validated input:invalid,
.enquiry-form.was-validated select:invalid,
.enquiry-form.was-validated textarea:invalid {
  border-color: #e58c8c;
  box-shadow: 0 0 0 2px rgba(229, 140, 140, 0.2);
}

.native-select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  opacity: 0;
  pointer-events: none;
}

.custom-select,
.calendar-field {
  position: relative;
}

.custom-select.is-open,
.calendar-field:has(.calendar-popover.is-open) {
  z-index: 220;
}

label:has(.custom-select.is-open),
label.calendar-field:has(.calendar-popover.is-open) {
  position: relative;
  z-index: 1001;
}

.custom-select-trigger,
.calendar-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(246, 237, 231, 0.9);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.custom-select-trigger:hover,
.calendar-trigger:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.custom-select-trigger:focus-visible,
.calendar-trigger:focus-visible {
  outline: 2px solid rgba(214, 188, 177, 0.72);
  outline-offset: 2px;
}

.custom-select-trigger.is-placeholder {
  color: rgba(246, 237, 231, 0.54);
}

.custom-select-menu,
.calendar-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 2000;
  display: none;
  width: 100%;
  overflow: auto;
  pointer-events: auto;
  isolation: isolate;
  border: 1px solid rgba(118, 79, 63, 0.24);
  border-radius: 12px;
  background: #f7efe8;
  opacity: 1;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 18px 36px rgba(27, 17, 14, 0.24);
}

.custom-select.is-open .custom-select-menu,
.calendar-popover.is-open {
  display: block;
}

.custom-select-menu {
  max-height: 320px;
  padding: 6px;
  background: #2d2420;
  color: #f6ede7;
  border-color: rgba(246, 237, 231, 0.16);
  border-radius: 16px;
  box-shadow: 0 22px 44px rgba(10, 6, 4, 0.46);
}

.custom-select-option {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: #2d2420;
  color: #f6ede7;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.custom-select-option:hover,
.custom-select-option:focus-visible,
.custom-select-option[aria-selected="true"] {
  outline: 0;
  background: #dfc8be;
  color: #241916;
}

.calendar-popover {
  min-width: 280px;
  padding: 12px;
  color: #2d201c;
}

.calendar-header,
.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.calendar-header {
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  margin-bottom: 10px;
  text-align: center;
}

.calendar-header button,
.calendar-day {
  display: grid;
  min-height: 34px;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #2d201c;
  font: inherit;
  cursor: pointer;
}

.calendar-header button:hover,
.calendar-day:not(:disabled):hover,
.calendar-day.is-selected {
  background: #dfc8be;
}

.calendar-weekdays {
  margin-bottom: 4px;
  color: #765345;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day {
  font-size: 0.82rem;
}

.calendar-day:disabled {
  color: rgba(45, 32, 28, 0.3);
  cursor: not-allowed;
}

.file-picker {
  gap: 10px;
}

.file-picker-control {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
}

.file-picker-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  background: rgba(214, 188, 177, 0.16);
  color: #f6ede7;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.file-picker:hover .file-picker-button {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(214, 188, 177, 0.26);
}

.file-picker-caption,
.file-help {
  color: rgba(246, 237, 231, 0.7);
  font-size: 0.86rem;
}

.file-help {
  margin: -8px 0 0;
}

.button-full {
  width: 100%;
}

.form-status {
  min-height: 1.5em;
  margin: -4px 0 0;
  font-size: 0.92rem;
  color: rgba(246, 237, 231, 0.82);
}

.form-status.is-error {
  color: #f1b8b8;
}

.form-status.is-success {
  color: #c7e3c2;
}

.site-footer {
  border-top: 1px solid rgba(66, 43, 34, 0.08);
  background: linear-gradient(180deg, #f7f1eb 0%, #efe5dd 100%);
  color: var(--muted);
  padding: 34px 0 24px;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(66, 43, 34, 0.14);
  border-radius: 50%;
  background: rgba(255, 253, 250, 0.92);
  color: var(--text);
  font: 500 1.25rem/1 Arial, sans-serif;
  box-shadow: 0 12px 28px rgba(56, 34, 24, 0.12);
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.back-to-top:hover {
  transform: translateY(-2px);
  background: #fffdf9;
  box-shadow: 0 16px 32px rgba(56, 34, 24, 0.16);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
}

.success-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 10%, rgba(214, 188, 177, 0.26), transparent 30%),
    var(--ivory);
}

.success-screen {
  display: grid;
  min-height: 100vh;
  padding: 24px;
  place-items: center;
}

.success-card {
  width: min(100%, 520px);
  padding: 42px;
  border: 1px solid rgba(118, 79, 63, 0.14);
  background: rgba(255, 252, 248, 0.9);
  text-align: center;
  box-shadow: 0 24px 70px rgba(52, 33, 26, 0.1);
}

.success-mark {
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  border-radius: 50%;
  object-fit: cover;
}

.success-card h1 {
  margin: 6px 0 10px;
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 600;
}

.success-card p:not(.eyebrow) {
  margin: 0 auto 26px;
  max-width: 360px;
  color: var(--muted);
  font-size: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(140px, 0.65fr) minmax(170px, 0.75fr) minmax(190px, 0.8fr);
  gap: 26px;
  align-items: start;
}

.footer-brand-block h2 {
  margin: 0;
  color: var(--text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer-brand-block p,
.footer-payments p {
  max-width: 24rem;
  margin: 10px 0 0;
  font-size: 0.92rem;
}

.footer-kicker {
  color: var(--accent-deep);
  font-weight: 600;
}

.footer-links,
.footer-payments {
  display: grid;
  gap: 8px;
}

.footer-links h3,
.footer-payments h3 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--accent-deep);
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.payment-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(66, 43, 34, 0.1);
  background: rgba(255, 255, 255, 0.58);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-section,
  .enquiry-layout,
  .timeline,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 20px;
  }

  .panel-card {
    min-height: 560px;
  }

  .atelier-copy {
    max-width: none;
  }

  .atelier-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .atelier-card-look,
  .atelier-card-detail {
    min-height: 320px;
  }

  .card-grid,
  .project-grid,
  .info-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .flipbook-stage {
    min-height: 700px;
  }

  .flipbook-page {
    grid-template-columns: 1fr;
  }

  .flipbook-media {
    min-height: 520px;
  }

  .flipbook-media img {
    max-width: 100%;
    max-height: 100%;
  }

  .flipbook-copy {
    padding: 26px 24px 28px;
  }

}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 100%);
  }

  .brand {
    gap: 12px;
    font-size: 1.65rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .header-row {
    position: relative;
    min-height: 64px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
  }

  .header-tools {
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .site-header.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(66, 43, 34, 0.08);
    background: rgba(251, 247, 242, 0.98);
    box-shadow: 0 18px 40px rgba(56, 34, 24, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(66, 43, 34, 0.08);
    font-size: 0.82rem;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    min-height: 46px;
    border-radius: 4px;
    background: rgba(214, 188, 177, 0.5);
    color: var(--text);
    font-weight: 600;
  }

  .hero {
    padding: 18px 0 24px;
  }

  .hero-copy::before,
  #story::before,
  #story::after,
  .panel-card::after,
  .flipbook-shell::before,
  .section-dark::before {
    opacity: 0.05;
  }

  .hero-copy,
  .hero-panel,
  .feature-card,
  .timeline-item,
  .project-copy,
  .enquiry-form,
  .notice-box {
    padding: 22px;
  }

  .hero-copy {
    padding: 28px 20px 24px;
  }

  .panel-grid,
  .card-grid,
  .project-grid,
  .info-card-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .hero-text {
    margin-top: 16px;
    font-size: 0.98rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 26px;
  }

  .hero-facts li {
    min-height: 86px;
    padding: 12px 10px;
  }

  .hero-facts strong {
    font-size: 1rem;
  }

  .hero-facts span {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .panel-card {
    min-height: 360px;
    padding: 0;
  }

  .mini-card {
    min-height: 0;
    padding: 16px;
  }

  .atelier-copy {
    padding: 0 0 10px;
  }

  .atelier-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .atelier-card-look {
    grid-column: 1 / -1;
    min-height: 240px;
  }

  .atelier-card-detail {
    min-height: 170px;
  }

  .flipbook-button {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }

  .flipbook-button-prev {
    left: -10px;
  }

  .flipbook-button-next {
    right: -10px;
  }

  .flipbook-status {
    width: 100%;
    text-align: center;
    font-size: 0.88rem;
  }

  .flipbook-stage {
    min-height: 620px;
  }

  .flipbook-page {
    border-radius: 20px;
  }

  .flipbook-media {
    padding: 16px 14px 10px;
    min-height: 320px;
  }

  .flipbook-media img {
    max-width: 94%;
    max-height: 94%;
  }

  .flipbook-copy {
    padding: 18px 18px 20px;
  }

  .flipbook-copy h3 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .flipbook-copy p:last-child {
    margin-top: 10px;
    max-width: none;
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .hero-script {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }

  .section-heading h2,
  .panel-card h2,
  .feature-card h3,
  .project-copy h3 {
    max-width: none;
  }

  .timeline-item {
    min-height: 0;
    text-align: left;
  }

  .section {
    padding: 28px 0 32px;
  }

  .enquiry-layout {
    gap: 22px;
  }

  .detail-list {
    gap: 12px;
    margin-top: 22px;
  }

  .enquiry-form {
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }

  input,
  textarea,
  select {
    min-height: 50px;
    padding: 13px 14px;
    border-radius: 14px;
  }

  .legal-layout {
    gap: 18px;
  }

  .info-card,
  .policy-card {
    padding: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .payment-methods {
    justify-content: flex-start;
    gap: 8px;
  }

  .panel-seal {
    width: 88px;
    height: 88px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
