*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  background-color: #f6f1e9;
  color: #2b2521;
}

main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.6em;
  font-weight: 600;
  line-height: 1.2;
  color: #1f1915;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0 0 1em;
  padding-left: 0;
  list-style: none !important;
}

ol {
  margin: 0 0 1em;
  padding-left: 1.25rem;
}

li {
  margin: 0.25em 0;
}

figure {
  margin: 0 0 1.5rem;
}

img,
picture,
video,
canvas,
svg,
iframe,
embed,
object {
  max-width: 100%;
  height: auto;
  display: block;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  max-width: 100%;
}

th,
td {
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.2;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

textarea {
  overflow: auto;
  resize: vertical;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

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

a:focus {
  outline: 2px solid #c98b5f;
  outline-offset: 2px;
}

a:hover {
  color: #fff !important;
}

[hidden] {
  display: none !important;
}

:root {
  --color-bg: #f6f1e9;
  --color-bg-alt: #f0e6d8;
  --color-bg-elevated: #ffffff;
  --color-bg-soft: #f9f3ea;
  --color-surface: #ffffff;
  --color-surface-muted: #f3e7d9;
  --color-border-subtle: #e0d3c2;
  --color-border-soft: #e6d6c4;
  --color-border-strong: #c9b39a;
  --color-text: #2b2521;
  --color-text-soft: #5b4c43;
  --color-text-muted: #8b7a6f;
  --color-accent: #c98b5f;
  --color-accent-soft: #e5b692;
  --color-accent-deep: #8b4b2b;
  --color-espresso: #3b2921;
  --color-charcoal: #1f1915;
  --color-focus: #c98b5f;
  --color-danger: #b6453c;
  --color-success: #3c7a5b;
  --shadow-soft: 0 18px 45px rgba(40, 25, 15, 0.08);
  --shadow-subtle: 0 10px 30px rgba(40, 25, 15, 0.06);
  --shadow-glass: 0 18px 50px rgba(0, 0, 0, 0.12);
  --radius-xs: 0.375rem;
  --radius-sm: 0.625rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-full: 999px;
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --container-max: 1120px;
  --container-wide: 1280px;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-accent: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 1.875rem;
  --text-3xl: 2.25rem;
  --text-4xl: 2.75rem;
  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-relaxed: 1.7;
  --header-height-desktop: 84px;
  --header-height-mobile: 70px;
  --z-header: 50;
  --z-overlay: 60;
  --z-modal: 70;
  --z-toast: 80;
  --bp-mobile: 480px;
  --bp-tablet: 768px;
  --bp-desktop: 1024px;
  --bp-wide: 1280px;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1,
.h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3vw + 1rem, 2.9rem);
  line-height: var(--leading-tight);
  letter-spacing: 0.01em;
}

h2,
.h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.3vw + 0.8rem, 2.2rem);
  line-height: var(--leading-tight);
}

h3,
.h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.8vw + 0.6rem, 1.7rem);
  line-height: var(--leading-snug);
}

h4,
.h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

h5,
.h5 {
  font-size: 1.0625rem;
  font-weight: 600;
}

h6,
.h6 {
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.lead {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--color-text-soft);
}

small,
.text-small {
  font-size: var(--text-sm);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-soft {
  color: var(--color-text-soft);
}

strong {
  font-weight: 600;
  color: var(--color-text);
}

em {
  font-style: italic;
}

a {
  color: var(--color-accent);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

a:hover {
  background-color: rgba(201, 139, 95, 0.9);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

a:active {
  opacity: 0.9;
}

a[rel~="external"]::after {
  content: "";
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

@media (max-width: 767.98px) {
  .text-right,
  .text-left {
    text-align: left;
  }
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-main {
  flex: 1 0 auto;
}

.page-footer {
  flex-shrink: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.section {
  padding-block: var(--space-2xl);
}

.section-lg {
  padding-block: var(--space-3xl);
}

.section-sm {
  padding-block: var(--space-xl);
}

@media (max-width: 767.98px) {
  .container,
  .container-wide {
    padding-inline: var(--space-md);
  }
  .section {
    padding-block: var(--space-xl);
  }
  .section-lg {
    padding-block: var(--space-2xl);
  }
}

.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(246, 241, 233, 0.96), rgba(246, 241, 233, 0.88));
  box-shadow: 0 1px 0 rgba(180, 157, 130, 0.26);
}

.header-inner {
  height: var(--header-height-desktop);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--color-charcoal);
}

.header-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 20% 20%, #f9f3ea, #c98b5f);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.header-logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.header-logo-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-logo-subtitle {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.4rem 0.1rem;
  border-radius: 999px;
  color: var(--color-text-soft);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.05rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(201, 139, 95, 0.1), rgba(201, 139, 95, 0.7), rgba(201, 139, 95, 0.1));
  opacity: 0;
  transform: scaleX(0.7);
  transform-origin: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  color: #fff !important;
  background: rgba(201, 139, 95, 0.95);
  box-shadow: 0 12px 30px rgba(201, 139, 95, 0.4);
}

.nav-link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-link.is-active {
  color: var(--color-charcoal);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(201, 139, 95, 0.45);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-subtle);
  cursor: pointer;
  padding: 0;
}

.nav-toggle-bar {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--color-charcoal);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

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

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

@media (max-width: 1023.98px) {
  .header-inner {
    height: var(--header-height-mobile);
  }
  .nav-list {
    position: fixed;
    inset-inline: 0;
    top: var(--header-height-mobile);
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.98), rgba(240, 226, 210, 0.98));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    padding: var(--space-lg) var(--space-lg) var(--space-xl);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
    max-height: calc(100vh - var(--header-height-mobile));
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }
  .nav-list.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-link {
    width: 100%;
    padding: 0.6rem 0.2rem;
    border-radius: var(--radius-md);
  }
  .nav-link::after {
    display: none;
  }
  .nav-cta {
    margin-top: var(--space-sm);
    width: 100%;
  }
  .nav-toggle {
    display: flex;
  }
}

.footer {
  background: linear-gradient(180deg, #f0e6d8, #e4d3bf);
  padding-block: var(--space-xl);
  margin-top: var(--space-2xl);
  border-top: 1px solid rgba(201, 139, 95, 0.28);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1.4fr);
  gap: var(--space-xl);
  align-items: flex-start;
}

.footer-brand {
  max-width: 320px;
}

.footer-heading {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: var(--space-sm);
  color: var(--color-text-soft);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9375rem;
}

.footer-link {
  color: var(--color-text-soft);
}

.footer-link:hover {
  color: #fff !important;
  background: rgba(201, 139, 95, 0.9);
  padding-inline: 0.35rem;
  border-radius: 999px;
}

.footer-meta {
  margin-top: var(--space-lg);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  justify-content: space-between;
}

@media (max-width: 1023.98px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
  }
}

@media (max-width: 767.98px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
  }
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2xs);
  }
}

.btn {
  --btn-bg: var(--color-accent);
  --btn-bg-hover: #b6764d;
  --btn-color: #fff;
  --btn-border: transparent;
  --btn-shadow: 0 16px 38px rgba(201, 139, 95, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--btn-border);
  background: radial-gradient(circle at 20% 0, rgba(12, 12, 12, 0.4), rgba(201, 139, 95, 1));
  color: var(--btn-color);
  font-family: var(--font-accent);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--btn-shadow);
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease, color 0.18s ease;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.btn:hover {
  background: radial-gradient(circle at 20% 0, rgba(255, 255, 255, 0.5), var(--btn-bg-hover));
  box-shadow: 0 20px 40px rgba(201, 139, 95, 0.6);
  transform: translateY(-1px);
  /* color: #fff !important; */
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 10px 26px rgba(201, 139, 95, 0.5);
}

.btn:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.btn-secondary {
  --btn-bg: rgba(255, 255, 255, 0.9);
  --btn-bg-hover: #ffffff;
  --btn-color: var(--color-text-soft) !important;
  --btn-border: rgba(201, 139, 95, 0.5);
  --btn-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(243, 229, 211, 0.98));
  color: var(--btn-color);
}

/* .btn-secondary:hover {
  color: #fff !important;
} */

.btn-ghost {
  --btn-bg: transparent;
  --btn-bg-hover: rgba(201, 139, 95, 0.06);
  /* --btn-color: var(--color-text-soft); */
  --btn-border: rgba(201, 139, 95, 0.4);
  --btn-shadow: none;
  background: transparent;
  box-shadow: none;
}

.btn-ghost:hover {
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

.btn-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 0.96875rem;
}

.btn-full {
  width: 100%;
}

.btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
}

button[disabled],
.btn[aria-disabled="true"],
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

.card {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 232, 216, 0.98));
  box-shadow: var(--shadow-soft);
  padding: var(--space-lg);
  overflow: hidden;
  max-width: 100%;
}

.card-soft {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-subtle);
  padding: var(--space-md);
}

.card-outline {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(201, 139, 95, 0.2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.card-header {
  margin-bottom: var(--space-md);
}

.card-title {
  margin-bottom: 0.3rem;
}

.card-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.card-body {
  font-size: 0.95rem;
  color: var(--color-text-soft);
}

.card-footer {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(201, 139, 95, 0.16);
}

.card-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-md);
  background-color: #e0d3c2;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.glass {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), rgba(240, 226, 210, 0.85));
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(24px);
}

.surface {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
}

.surface-muted {
  background-color: var(--color-bg-soft);
  border-radius: var(--radius-lg);
}

.form {
  width: 100%;
  max-width: 640px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.form-field {
  flex: 1 1 220px;
  min-width: 0;
}

.form-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-soft);
}

.form-label span {
  color: var(--color-danger);
}

.form-control,
select,
textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"] {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(201, 139, 95, 0.35);
  background-color: rgba(255, 255, 255, 0.96);
  padding: 0.7rem 0.9rem;
  font-size: 0.9375rem;
  color: var(--color-text);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.form-control::placeholder,
textarea::placeholder {
  color: var(--color-text-muted);
}

.form-control:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-focus);
  box-shadow: 0 0 0 1px rgba(201, 139, 95, 0.3), 0 16px 38px rgba(0, 0, 0, 0.12);
  background-color: #ffffff;
}

textarea {
  min-height: 140px;
}

.form-helper {
  margin-top: 0.3rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.form-error {
  margin-top: 0.3rem;
  font-size: 0.8125rem;
  color: var(--color-danger);
}

.form-control.is-error {
  border-color: var(--color-danger);
}

input[type="checkbox"],
input[type="radio"] {
  width: 1rem;
  height: 1rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-soft);
}

.form-check input {
  margin-top: 0.15rem;
}

.form-actions {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

@media (max-width: 575.98px) {
  .form-row {
    flex-direction: column;
  }
  .form-actions {
    flex-direction: column;
  }
  .form-actions .btn {
    width: 100%;
  }
}

input[type="date"],
input[type="time"],
input[type="number"] {
  -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #c98b5f 50%), linear-gradient(135deg, #c98b5f 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-subtle);
}

.table th {
  background-color: rgba(240, 226, 210, 0.8);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-soft);
}

.table tr:nth-child(even) td {
  background-color: rgba(246, 241, 233, 0.7);
}

.table tr:hover td {
  background-color: rgba(233, 214, 192, 0.8);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-lg);
}

.grid-gap-sm {
  gap: var(--space-md);
}

.grid-gap-lg {
  gap: var(--space-xl);
}

.col-1 {
  grid-column: span 1;
}

.col-2 {
  grid-column: span 2;
}

.col-3 {
  grid-column: span 3;
}

.col-4 {
  grid-column: span 4;
}

.col-5 {
  grid-column: span 5;
}

.col-6 {
  grid-column: span 6;
}

.col-7 {
  grid-column: span 7;
}

.col-8 {
  grid-column: span 8;
}

.col-9 {
  grid-column: span 9;
}

.col-10 {
  grid-column: span 10;
}

.col-11 {
  grid-column: span 11;
}

.col-12 {
  grid-column: span 12;
}

@media (max-width: 1023.98px) {
  .col-md-12 {
    grid-column: span 12;
  }
  .col-md-6 {
    grid-column: span 6;
  }
  .col-md-4 {
    grid-column: span 4;
  }
  .col-md-3 {
    grid-column: span 3;
  }
}

@media (max-width: 767.98px) {
  .grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .col-1,
  .col-2,
  .col-3,
  .col-4,
  .col-5,
  .col-6,
  .col-7,
  .col-8,
  .col-9,
  .col-10,
  .col-11,
  .col-12 {
    grid-column: span 1;
  }
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
}

.grid-auto-sm {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
}

.grid-auto-lg {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-xl);
}

.flex {
  display: flex;
}

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

.flex-row {
  flex-direction: row;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.gap-xs {
  gap: var(--space-xs);
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

.gap-xl {
  gap: var(--space-xl);
}

.flex-1 {
  flex: 1 1 0%;
  min-width: 0;
}

.flex-auto {
  flex: 1 1 auto;
  min-width: 0;
}

.flex-none {
  flex: 0 0 auto;
}

.flex-safe {
  min-width: min(100%, 22rem);
}

@media (max-width: 767.98px) {
  .flex-row {
    flex-direction: column;
  }
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.stack-sm {
  gap: var(--space-sm);
}

.stack-lg {
  gap: var(--space-lg);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

.wrap-safe {
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.media-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: var(--space-xl);
  align-items: center;
}

.media-row-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.media-visual {
  min-width: 0;
}

.media-visual-inner {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-color: #e0d3c2;
  box-shadow: var(--shadow-soft);
}

.media-visual-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1023.98px) {
  .media-row,
  .media-row-reverse {
    grid-template-columns: minmax(0, 1fr);
  }
}

.list-unstyled {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.list-inline {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.list-check {
  list-style: none;
  padding-left: 0;
}

.list-check li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.4rem;
}

.list-check li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-size: 1.1rem;
  color: var(--color-accent);
}

.content {
  max-width: 720px;
}

.content p {
  margin-bottom: 1em;
}

.content h2,
.content h3,
.content h4 {
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}

.content ul,
.content ol {
  margin-bottom: 1em;
  padding-left: 1.3rem;
}

.content li {
  margin-bottom: 0.25em;
}

.content a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.content pre,
.content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.content pre {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background-color: #2b2521;
  color: #f6f1e9;
  overflow-x: auto;
}

.hero {
  padding-block: var(--space-3xl) var(--space-2xl);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--space-2xl);
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.hero-title {
  margin-bottom: var(--space-sm);
}

.hero-lead {
  max-width: 32rem;
  margin-bottom: var(--space-lg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

.hero-meta {
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.hero-media {
  position: relative;
}

.hero-media-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-glass);
  background-color: #e0d3c2;
}

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

.hero-media-tag {
  position: absolute;
  bottom: 1.1rem;
  left: 1.1rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(31, 25, 21, 0.85);
  color: #f6f1e9;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-media-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #ffe9c7, #c98b5f);
}

@media (max-width: 1023.98px) {
  .hero {
    padding-block: var(--space-2xl) var(--space-xl);
  }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
  }
  .hero-media {
    order: -1;
  }
}

@media (max-width: 575.98px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background-color: rgba(201, 139, 95, 0.12);
  color: var(--color-text-soft);
}

.badge-soft {
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(201, 139, 95, 0.4);
}

.badge-espresso {
  background-color: var(--color-espresso);
  color: #f6f1e9;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(201, 139, 95, 0.4);
  color: var(--color-text-soft);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  background-color: rgba(240, 226, 210, 0.9);
  color: var(--color-text-soft);
}

.shadow-none {
  box-shadow: none;
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.shadow-subtle {
  box-shadow: var(--shadow-subtle);
}

.rounded-xs {
  border-radius: var(--radius-xs);
}

.rounded-sm {
  border-radius: var(--radius-sm);
}

.rounded-md {
  border-radius: var(--radius-md);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-xl {
  border-radius: var(--radius-xl);
}

.rounded-full {
  border-radius: var(--radius-full);
}

.mt-0 {
  margin-top: 0;
}

.mt-xs {
  margin-top: var(--space-xs);
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mt-xl {
  margin-top: var(--space-xl);
}

.mt-2xl {
  margin-top: var(--space-2xl);
}

.mb-0 {
  margin-bottom: 0;
}

.mb-xs {
  margin-bottom: var(--space-xs);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}

.mb-2xl {
  margin-bottom: var(--space-2xl);
}

.pt-0 {
  padding-top: 0;
}

.pt-sm {
  padding-top: var(--space-sm);
}

.pt-md {
  padding-top: var(--space-md);
}

.pt-lg {
  padding-top: var(--space-lg);
}

.pt-xl {
  padding-top: var(--space-xl);
}

.pb-0 {
  padding-bottom: 0;
}

.pb-sm {
  padding-bottom: var(--space-sm);
}

.pb-md {
  padding-bottom: var(--space-md);
}

.pb-lg {
  padding-bottom: var(--space-lg);
}

.pb-xl {
  padding-bottom: var(--space-xl);
}

.mx-auto {
  margin-inline: auto;
}

.w-100 {
  width: 100%;
}

.max-w-sm {
  max-width: 480px;
}

.max-w-md {
  max-width: 640px;
}

.max-w-lg {
  max-width: 768px;
}

.max-w-xl {
  max-width: 960px;
}

.hidden {
  display: none !important;
}

@media (max-width: 767.98px) {
  .hidden-sm {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hidden-md-up {
    display: none !important;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.alert {
  border-radius: var(--radius-lg);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  background-color: rgba(240, 226, 210, 0.9);
  color: var(--color-text-soft);
}

.alert-success {
  background-color: rgba(60, 122, 91, 0.08);
  border: 1px solid rgba(60, 122, 91, 0.3);
  color: var(--color-success);
}

.alert-danger {
  background-color: rgba(182, 69, 60, 0.08);
  border: 1px solid rgba(182, 69, 60, 0.3);
  color: var(--color-danger);
}

.chip-status {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background-color: rgba(60, 122, 91, 0.1);
  color: var(--color-success);
}