:root {
  --leaf: #214f34;
  --leaf-deep: #153622;
  --moss: #6e8a47;
  --petal: #d65b84;
  --rose: #f5c4d3;
  --cream: #fbf6ec;
  --paper: #fffaf3;
  --ink: #18231b;
  --muted: #6b756a;
  --line: rgba(24, 35, 27, 0.16);
  --shadow: 0 18px 55px rgba(24, 35, 27, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
select,
a.btn {
  touch-action: manipulation;
}

button,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(214, 91, 132, 0.75);
  outline-offset: 3px;
}

.page {
  min-height: 100vh;
  overflow-x: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(251, 246, 236, 0.92);
  border-bottom: 1px solid rgba(24, 35, 27, 0.1);
  backdrop-filter: blur(18px);
}

.theme-atelier .site-header {
  background: rgba(18, 38, 26, 0.88);
  border-bottom-color: rgba(255, 250, 243, 0.14);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  color: var(--paper);
  background: var(--leaf);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(21, 54, 34, 0.22);
}

.brand-mark svg {
  width: 25px;
  height: 25px;
}

.brand-name {
  display: block;
  color: var(--leaf-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  white-space: nowrap;
}

.theme-atelier .brand-name,
.theme-atelier .nav a,
.theme-atelier .language-select {
  color: var(--paper);
}

.brand-sub {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.theme-atelier .brand-sub {
  color: rgba(255, 250, 243, 0.72);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--leaf-deep);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
}

.nav a:hover {
  background: rgba(214, 91, 132, 0.12);
}

.language-select {
  width: 54px;
  min-width: 54px;
  height: 44px;
  padding: 0 10px;
  color: var(--leaf-deep);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.theme-atelier .language-select {
  border-color: rgba(255, 250, 243, 0.24);
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  isolation: isolate;
}

.hero.full-bleed {
  color: var(--paper);
  background: var(--leaf-deep);
}

.hero.full-bleed::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(14, 31, 20, 0.88), rgba(14, 31, 20, 0.48) 48%, rgba(14, 31, 20, 0.12));
}

.hero.full-bleed .hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 92px) 0;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--petal);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.theme-atelier .eyebrow,
.hero.full-bleed .eyebrow {
  color: #ffc1d5;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--leaf-deep);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
  letter-spacing: 0;
}

.theme-atelier h1,
.theme-atelier h2,
.theme-atelier h3,
.hero.full-bleed h1,
.hero.full-bleed h2,
.hero.full-bleed h3 {
  color: var(--paper);
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 10vw, 7.8rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 4.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
}

.lead {
  max-width: 680px;
  margin: 18px 0 0;
  color: #384338;
  font-size: clamp(1.04rem, 2.1vw, 1.28rem);
}

.hero.full-bleed .lead,
.theme-atelier .lead {
  color: rgba(255, 250, 243, 0.86);
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  color: var(--leaf-deep);
  background: var(--paper);
  border: 1px solid rgba(24, 35, 27, 0.14);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(24, 35, 27, 0.14);
}

.btn.primary {
  color: #fff;
  background: var(--leaf);
  border-color: var(--leaf);
}

.btn.petal {
  color: #fff;
  background: var(--petal);
  border-color: var(--petal);
}

.theme-atelier .btn:not(.primary):not(.petal),
.hero.full-bleed .btn:not(.primary):not(.petal) {
  color: var(--paper);
  background: rgba(255, 250, 243, 0.12);
  border-color: rgba(255, 250, 243, 0.28);
}

.section {
  padding: clamp(54px, 8vw, 106px) clamp(18px, 4vw, 54px);
}

.section.alt {
  background: var(--paper);
}

.theme-atelier {
  color: var(--paper);
  background: var(--leaf-deep);
}

.theme-atelier .section.alt,
.theme-atelier .soft-panel,
.theme-atelier .service-card {
  color: var(--paper);
  background: rgba(255, 250, 243, 0.08);
  border-color: rgba(255, 250, 243, 0.14);
}

.theme-atelier .section,
.theme-atelier .muted,
.theme-atelier .fact,
.theme-atelier .meta-line {
  color: rgba(255, 250, 243, 0.78);
}

.wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.media-frame {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-frame.tall {
  min-height: 640px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.service-card {
  min-height: 174px;
  padding: 22px;
  background: rgba(255, 250, 243, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card svg,
.contact-card svg {
  width: 24px;
  height: 24px;
  color: var(--petal);
}

.service-card h3 {
  margin-top: 18px;
  font-size: 1.32rem;
}

.service-card p,
.muted,
.fact {
  color: var(--muted);
}

.split-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.fact {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.fact strong {
  display: block;
  color: var(--leaf-deep);
}

.theme-atelier .fact strong {
  color: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.contact-card {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-card a,
.contact-card button {
  align-self: flex-start;
}

.hours {
  width: 100%;
  margin-top: 26px;
  border-collapse: collapse;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hours th,
.hours td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.hours tr:last-child th,
.hours tr:last-child td {
  border-bottom: 0;
}

.theme-atelier .hours {
  color: var(--paper);
  background: rgba(255, 250, 243, 0.08);
}

.gallery-strip {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1fr;
  gap: 14px;
  margin-top: 30px;
}

.gallery-strip .media-frame {
  min-height: 300px;
}

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

.occasion {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 20px;
  color: var(--paper);
  background: var(--leaf);
  border-radius: var(--radius);
}

.occasion:nth-child(2) {
  background: #784055;
}

.occasion:nth-child(3) {
  background: #546b38;
}

.occasion:nth-child(4) {
  background: #323c2a;
}

.notice {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer {
  padding: 34px clamp(18px, 4vw, 54px);
  color: rgba(255, 250, 243, 0.78);
  background: var(--leaf-deep);
}

.footer-inner {
  width: min(1180px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  border: 1px solid rgba(255, 250, 243, 0.2);
  border-radius: var(--radius);
  text-decoration: none;
}

.footer-links svg {
  width: 20px;
  height: 20px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  max-width: min(340px, calc(100vw - 40px));
  padding: 14px 16px;
  color: #fff;
  background: var(--leaf-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translateY(22px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.dashboard-page {
  min-height: 100vh;
  background: #f8f1e6;
}

.dashboard-main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 30px 0 52px;
}

.dashboard-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.52fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.dashboard-intro h1 {
  font-size: clamp(2.1rem, 5vw, 4.7rem);
}

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

.variant-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(24, 35, 27, 0.1);
}

.shot-button,
.title-button {
  width: 100%;
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.shot-button {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e7e0d4;
}

.shot-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.variant-card:hover .shot-button img {
  transform: scale(1.025);
}

.card-body {
  padding: 18px;
}

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

.title-button {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  background: rgba(12, 18, 13, 0.84);
}

.modal.open {
  display: grid;
  grid-template-rows: auto 1fr;
}

.modal-toolbar {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
}

.modal-pill,
.modal-icon {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  background: rgba(255, 250, 243, 0.12);
  border: 1px solid rgba(255, 250, 243, 0.22);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}

.modal-pill[aria-pressed="true"] {
  color: var(--leaf-deep);
  background: var(--paper);
}

.modal-frame-wrap {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  padding: 0 14px 18px;
}

.modal-frame {
  width: min(1180px, 100%);
  height: 100%;
  min-height: 0;
  background: #fff;
  border: 0;
  border-radius: var(--radius);
}

.modal-frame-wrap.mobile .modal-frame {
  width: min(390px, 100%);
  max-height: min(844px, 100%);
  box-shadow: 0 0 0 10px rgba(255, 250, 243, 0.1);
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 12px;
  color: #fff;
  background: var(--leaf-deep);
  border-radius: var(--radius);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .two-col,
  .dashboard-intro {
    grid-template-columns: 1fr;
  }

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

  .gallery-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 66px;
    padding-inline: 14px;
  }

  .brand-sub {
    display: none;
  }

  .brand-name {
    white-space: normal;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(2.5rem, 15vw, 4rem);
  }

  .service-grid,
  .contact-grid,
  .split-list,
  .occasion-grid,
  .variant-grid {
    grid-template-columns: 1fr;
  }

  .media-frame,
  .media-frame.tall {
    min-height: 320px;
  }

  .actions .btn,
  .contact-card .btn {
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .modal-toolbar {
    justify-content: flex-start;
    overflow-x: auto;
  }
}

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