:root {
  --bg: #fcf8f2;
  --paper: #fffdf9;
  --ink: #241a16;
  --muted: #7f6a60;
  --line: #e8ddd3;
  --accent: #aa7b61;
  --accent-deep: #6d4b3c;
  --rose: #ead7d0;
  --sand: #efe5d7;
  --stone: #ddd8d2;
  --content-width: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.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;
}

.announcement-bar,
.site-header,
.collection-header,
.product-grid,
.view-all,
.about-section,
.contact-section,
.site-footer {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
}

.announcement-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-header {
  padding: 1rem 0 0;
}

.utility-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.utility-links {
  display: flex;
  gap: 1.2rem;
}

.brand-center {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  padding: 1.4rem 0 1.6rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.brand-logo-image {
  width: min(100%, 320px);
  height: auto;
  display: block;
  object-fit: contain;
}

.brand-subtitle {
  max-width: 54ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.4rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}

.collection-header {
  padding: 2rem 0 1.4rem;
}

.section-kicker,
.product-category {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.collection-header h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.section-summary,
.product-copy,
.about-copy p,
.contact-copy p,
.form-meta,
.footer-copy {
  color: var(--muted);
  line-height: 1.75;
}

.section-summary {
  max-width: 64ch;
  margin: 0.8rem 0 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
  padding-bottom: 1.5rem;
}

.product-card {
  display: grid;
  gap: 0.75rem;
}

.product-visual {
  position: relative;
  aspect-ratio: 0.82;
  display: grid;
  place-items: center;
  border-radius: 22px;
  overflow: hidden;
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 14% 16%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
}

.product-visual span {
  position: relative;
  z-index: 1;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.tone-rose {
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.62), transparent 38%),
    linear-gradient(180deg, #f4e8e3, var(--rose));
}

.tone-sand {
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.62), transparent 38%),
    linear-gradient(180deg, #f6efe5, var(--sand));
}

.tone-stone {
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.62), transparent 38%),
    linear-gradient(180deg, #f0ece7, var(--stone));
}

.product-card h3,
.about-list,
.footer-menu p {
  margin: 0;
}

.product-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
}

.product-card-wide {
  grid-column: span 2;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1rem;
}

.product-visual-wide {
  aspect-ratio: auto;
  min-height: 100%;
}

.wide-copy {
  display: grid;
  align-content: center;
  gap: 0.7rem;
  padding: 0.6rem 1rem;
}

.wide-copy h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.text-link {
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.view-all {
  padding: 0 0 3rem;
  text-align: center;
}

.about-section,
.contact-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
}

.about-list {
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.9;
}

.booking-form {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
}

.booking-form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.92rem;
}

.booking-form input,
.booking-form textarea,
.booking-form select {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.booking-form input:focus,
.booking-form textarea:focus,
.booking-form select:focus {
  outline: 2px solid rgba(170, 123, 97, 0.18);
  border-color: var(--accent);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 1.3rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}

.button-primary {
  background: var(--accent-deep);
  color: #fff;
}

.button-secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.button-full {
  width: 100%;
}

.form-meta,
.form-status {
  margin: 0;
  font-size: 0.9rem;
}

.form-status[data-state="success"] {
  color: #1e6e4b;
}

.form-status[data-state="error"] {
  color: #9b3f2d;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 2rem;
  padding: 1.5rem 0 3rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: grid;
  gap: 0.2rem;
}

.footer-logo-image {
  width: min(100%, 170px);
  height: auto;
  display: block;
  object-fit: contain;
}

.footer-name {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
}

.footer-menu {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  font-size: 0.92rem;
}

.admin-page {
  width: min(calc(100% - 2rem), 1080px);
  margin: 0 auto;
  padding: 3rem 0;
}

.admin-login-card,
.admin-dashboard {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  padding: 1.5rem;
}

.admin-login-card {
  max-width: 520px;
  margin: 0 auto;
}

.admin-logo {
  width: 150px;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

.admin-login-card h1,
.admin-dashboard h1 {
  margin: 0 0 0.5rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.admin-muted {
  color: var(--muted);
  line-height: 1.6;
}

.admin-error {
  color: #9b3f2d;
  font-weight: 700;
}

.admin-dashboard-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.admin-booking-list {
  display: grid;
  gap: 1rem;
  padding-top: 1.5rem;
}

.admin-booking-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.admin-booking-card h2,
.admin-booking-card p {
  margin: 0 0 0.45rem;
}

.admin-users-panel {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.admin-users-panel h2 {
  margin: 0 0 0.5rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.admin-user-form {
  grid-template-columns: 1.2fr 0.8fr auto;
  align-items: end;
}

.admin-users-list {
  display: grid;
  gap: 0.8rem;
}

.admin-user-card {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.admin-user-card p {
  margin: 0;
}

.admin-user-card select {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
}

.admin-user-card button:disabled,
.admin-user-card select:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.booking-status {
  width: fit-content;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking-status.pending {
  background: #f7ead0;
  color: #7b5621;
}

.booking-status.accepted {
  background: #dff0e4;
  color: #245d39;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card-wide {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .announcement-bar,
  .utility-row,
  .site-footer,
  .about-section,
  .contact-section,
  .product-card-wide {
    grid-template-columns: 1fr;
  }

  .announcement-bar,
  .utility-row {
    display: grid;
  }

  .site-nav {
    gap: 0.9rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card-wide {
    grid-column: auto;
  }

  .product-visual {
    aspect-ratio: 0.95;
  }

  .admin-dashboard-header,
  .admin-booking-card,
  .admin-user-form,
  .admin-user-card {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-header {
    display: grid;
  }
}
