/* Framework Fusion — elegant luxury theme */
:root {
  --bg: #f3f1ec;
  --bg-elevated: #faf9f6;
  --surface: #ffffff;
  --ink: #121820;
  --ink-soft: #3a4450;
  --muted: #6b7380;
  --line: #d9d4c8;
  --deep: #0e1a2b;
  --deep-mid: #1a2a3f;
  --gold: #b8954a;
  --gold-soft: #d4bc7a;
  --gold-deep: #8a6d32;
  --blush: #e8ddd0;
  --success: #2f6b4f;
  --error: #8b3a3a;
  --radius: 2px;
  --radius-lg: 8px;
  --shadow: 0 24px 60px rgba(14, 26, 43, 0.08);
  --font-display: "Cormorant Garamond", "Noto Serif KR", Georgia, serif;
  --font-body: "Noto Sans KR", "Source Sans 3", sans-serif;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(184, 149, 74, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(14, 26, 43, 0.06), transparent 50%),
    linear-gradient(180deg, #f7f5f0 0%, var(--bg) 40%, #efebe3 100%);
  background-attachment: fixed;
  line-height: 1.7;
  min-height: 100vh;
}

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

a {
  color: var(--gold-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--ink);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--deep);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--deep);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(243, 241, 236, 0.86);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 249, 246, 0.94);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--deep);
}

.brand-mark {
  width: 1.6rem;
  height: 1.6rem;
  background: linear-gradient(145deg, var(--gold-soft), var(--gold-deep));
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  animation: markPulse 4.5s var(--ease) infinite;
}

@keyframes markPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.9; }
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-list a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--deep);
}

.nav-cta {
  padding: 0.55rem 1.1rem;
  background: var(--deep);
  color: #f7f3ea !important;
  border-radius: var(--radius);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.nav-cta:hover {
  background: var(--gold-deep);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: var(--deep);
  position: relative;
  transition: transform 0.3s var(--ease);
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }
  .site-nav[data-open="true"] {
    max-height: 28rem;
  }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.85rem;
  }
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-tight {
  padding: 3.5rem 0;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.lead {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--deep) 0%, var(--deep-mid) 100%);
  color: #f7f3ea;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 100%);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--deep);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

.hero-statement {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  overflow: hidden;
}

.hero-copy {
  padding: 5rem 1.5rem 4rem clamp(1.5rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 40rem;
  margin-left: auto;
  width: 100%;
}

.hero-brand-signal {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 1.05;
  margin: 0 0 1.5rem;
  color: var(--deep);
  animation: fadeRise 1s var(--ease) both;
}

.hero-line {
  width: 4rem;
  height: 1px;
  background: var(--gold);
  margin-bottom: 1.75rem;
  animation: growLine 1.1s var(--ease) 0.2s both;
}

@keyframes growLine {
  from { width: 0; opacity: 0; }
  to { width: 4rem; opacity: 1; }
}

@keyframes fadeRise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

.hero-statement .hero-text {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: var(--ink-soft);
  margin-bottom: 2rem;
  animation: fadeRise 1s var(--ease) 0.15s both;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-bottom: 2.25rem;
  animation: fadeRise 1s var(--ease) 0.3s both;
}

.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--deep);
}

.hero-meta span {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-actions {
  animation: fadeRise 1s var(--ease) 0.4s both;
}

.hero-visual {
  position: relative;
  min-height: 28rem;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  animation: slowZoom 18s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(243, 241, 236, 0.55) 0%, transparent 35%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-statement {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-copy {
    padding: 3rem 1.5rem 2rem;
    max-width: none;
    margin: 0;
  }
  .hero-visual {
    min-height: 55vw;
    order: -1;
  }
  .hero-visual::after {
    background: linear-gradient(180deg, transparent 40%, rgba(243, 241, 236, 0.7) 100%);
  }
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
  text-align: center;
}

.trust-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--deep);
  font-weight: 500;
}

.trust-grid span {
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 700px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
}

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.feature-split img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.feature-split h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 1rem;
}

.module-list {
  margin: 1.5rem 0 2rem;
}

.module-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  color: var(--ink-soft);
}

.module-list li span {
  font-family: var(--font-display);
  color: var(--gold-deep);
  font-size: 1.1rem;
  min-width: 1.5rem;
}

@media (max-width: 800px) {
  .feature-split { grid-template-columns: 1fr; }
  .feature-split img { aspect-ratio: 16/10; max-height: 22rem; }
}

.benefit-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold-soft);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.benefit h3 {
  font-size: 1.45rem;
  margin: 0 0 0.75rem;
}

.benefit p {
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 800px) {
  .benefit-rail { grid-template-columns: 1fr; }
}

.quote-band {
  background: var(--deep);
  color: #e8e2d6;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.quote-band::before {
  content: "";
  position: absolute;
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 149, 74, 0.18), transparent 65%);
  top: -20%;
  right: -10%;
  pointer-events: none;
}

.quote-band blockquote {
  margin: 0;
  max-width: 42rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  line-height: 1.35;
  font-weight: 400;
  position: relative;
}

.quote-band cite {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: normal;
  color: var(--gold-soft);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.course-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  color: inherit;
}

.course-card img {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
}

.course-card-body {
  padding: 1.35rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-card h3 {
  font-size: 1.35rem;
  margin: 0 0 0.6rem;
}

.course-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  flex: 1;
}

.course-meta {
  font-size: 0.82rem;
  color: var(--gold-deep);
  margin-top: 1rem;
  font-weight: 500;
}

@media (max-width: 900px) {
  .course-grid { grid-template-columns: 1fr; }
}

.page-hero {
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 0 0 1rem;
  max-width: 18ch;
}

.page-hero .lead {
  margin-bottom: 0;
}

.page-hero-media {
  margin-top: 2.5rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  max-height: 28rem;
  overflow: hidden;
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.price-tier {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.price-tier.featured {
  background: var(--deep);
  color: #e8e2d6;
  border-color: var(--deep);
  transform: translateY(-8px);
}

.price-tier.featured h2,
.price-tier.featured .price {
  color: #f7f3ea;
}

.price-tier h2 {
  font-size: 1.65rem;
  margin: 0 0 0.5rem;
}

.price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  margin: 1rem 0;
  color: var(--deep);
}

.price small {
  font-size: 1rem;
  color: var(--muted);
  font-family: var(--font-body);
}

.price-tier.featured .price small {
  color: var(--gold-soft);
}

.price-tier ul {
  margin: 0 0 1.75rem;
  flex: 1;
}

.price-tier li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(217, 212, 200, 0.5);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.price-tier.featured li {
  border-bottom-color: rgba(232, 226, 214, 0.15);
  color: #cfc7b8;
}

.price-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 2rem;
  text-align: center;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-tier.featured { transform: none; }
}

.review-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.review {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.review p {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.review.compact p {
  font-size: 0.98rem;
}

.review.extended p {
  font-size: 1.1rem;
  max-width: 48rem;
}

.review-attr {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: baseline;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.review-attr .name {
  font-weight: 600;
  color: var(--deep);
}

.review-attr .meta {
  color: var(--muted);
}

.stars {
  color: var(--gold);
  letter-spacing: 0.1em;
}

.case-study {
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.case-study h3 {
  font-size: 1.75rem;
  margin: 0 0 1rem;
}

.blog-list {
  display: grid;
  gap: 2.5rem;
}

.blog-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
  text-decoration: none;
  color: inherit;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.3s var(--ease);
}

.blog-item:hover {
  opacity: 0.85;
  color: inherit;
}

.blog-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.blog-item h2 {
  font-size: 1.65rem;
  margin: 0 0 0.75rem;
}

.blog-item .date {
  font-size: 0.82rem;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
}

@media (max-width: 700px) {
  .blog-item { grid-template-columns: 1fr; }
}

.article {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.article h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.article-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.article-cover {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 2.5rem;
  max-height: 26rem;
  overflow: hidden;
}

.article-cover img {
  width: 100%;
  height: 26rem;
  object-fit: cover;
}

.article h2 {
  font-size: 1.55rem;
  margin: 2.25rem 0 0.85rem;
}

.article p {
  color: var(--ink-soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 3.5rem;
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--deep);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.25s var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 10rem;
  resize: vertical;
}

.field-error {
  color: var(--error);
  font-size: 0.85rem;
  margin-top: 0.35rem;
  display: none;
}

.form-group.has-error .field-error {
  display: block;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--error);
}

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  display: none;
  font-size: 0.95rem;
}

.form-status.is-success {
  display: block;
  background: rgba(47, 107, 79, 0.1);
  color: var(--success);
}

.form-status.is-error {
  display: block;
  background: rgba(139, 58, 58, 0.1);
  color: var(--error);
}

.contact-aside {
  padding: 2rem;
  background: var(--deep);
  color: #e8e2d6;
  border-radius: var(--radius-lg);
  height: fit-content;
}

.contact-aside h2 {
  color: #f7f3ea;
  font-size: 1.5rem;
  margin: 0 0 1.25rem;
}

.contact-aside p {
  color: #cfc7b8;
  font-size: 0.95rem;
}

.contact-aside a {
  color: var(--gold-soft);
}

@media (max-width: 800px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.legal {
  max-width: 46rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.legal h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.legal .updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.4rem;
  margin: 2rem 0 0.75rem;
}

.legal p,
.legal li {
  color: var(--ink-soft);
}

.legal ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal li {
  margin-bottom: 0.4rem;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1.5rem 0;
}

.cookie-table th,
.cookie-table td {
  border: 1px solid var(--line);
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

.cookie-table th {
  background: rgba(14, 26, 43, 0.04);
  font-weight: 600;
  color: var(--deep);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--deep);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin-top: 0.75rem;
  color: var(--ink-soft);
}

.instructor {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  align-items: start;
  margin: 2rem 0;
}

.instructor img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
}

.cta-band {
  text-align: center;
  padding: 5rem 1.5rem;
  background:
    linear-gradient(135deg, rgba(14, 26, 43, 0.03), rgba(184, 149, 74, 0.08));
  border-block: 1px solid var(--line);
}

.cta-band h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin: 0 0 1rem;
}

.cta-band p {
  color: var(--ink-soft);
  max-width: 32rem;
  margin: 0 auto 1.75rem;
}

.not-found {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.not-found h1 {
  font-size: clamp(4rem, 12vw, 8rem);
  margin: 0;
  color: var(--gold-soft);
  line-height: 1;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--deep);
  color: #e8e2d6;
  padding: 1.25rem 1.5rem;
  transform: translateY(110%);
  transition: transform 0.45s var(--ease);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.2);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  justify-content: space-between;
}

.cookie-banner p {
  margin: 0;
  flex: 1;
  min-width: 16rem;
  font-size: 0.92rem;
  color: #cfc7b8;
}

.cookie-banner a {
  color: var(--gold-soft);
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-actions button {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.cookie-accept {
  background: var(--gold);
  color: #fff;
}

.cookie-accept:hover {
  background: var(--gold-soft);
  color: var(--deep);
}

.cookie-reject {
  background: transparent;
  border-color: rgba(232, 226, 214, 0.35);
  color: #e8e2d6;
}

.cookie-reject:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

.inline-error {
  background: rgba(139, 58, 58, 0.1);
  color: var(--error);
  padding: 0.75rem 1rem;
  margin: 0.5rem 0;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.site-footer {
  background: var(--deep);
  color: #cfc7b8;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: #f7f3ea;
  margin: 0 0 0.35rem;
}

.footer-tag {
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h2 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 1rem;
  font-weight: 600;
}

.footer-col a {
  color: #cfc7b8;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: #f7f3ea;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  line-height: 1.55;
}

.footer-bottom {
  border-top: 1px solid rgba(232, 226, 214, 0.12);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #8a8490;
}

@media (max-width: 700px) {
  .footer-cols { grid-template-columns: 1fr; }
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 700px) {
  .two-col { grid-template-columns: 1fr; }
}

.prose-wide {
  max-width: 40rem;
}

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