@layer reset, tokens, layout, components, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body { min-height: 100vh; display: flex; flex-direction: column; }
  main { flex: 1; }
  img, video { max-width: 100%; height: auto; display: block; }
  input, textarea, button, select { font: inherit; }
  a { color: inherit; text-decoration: none; }
  ul, ol { list-style: none; }
  button { cursor: pointer; border: none; background: none; }
}

@layer tokens {
  :root {
    
    --clr-earth-deep: #2C1A0E;
    --clr-earth-mid: #4A2E1A;
    --clr-clay: #8B5C34;
    --clr-clay-light: #B8815A;
    --clr-terracotta: #C4663A;
    --clr-sand: #E8D5BB;
    --clr-sand-light: #F5EDE0;
    --clr-cream: #FAF6F0;
    --clr-white-warm: #FEFCF9;

    --clr-accent: #C4663A;
    --clr-accent-hover: #A8522B;
    --clr-accent-light: rgba(196, 102, 58, 0.12);

    --clr-text-primary: #2C1A0E;
    --clr-text-secondary: #6B4730;
    --clr-text-muted: #9A7560;
    --clr-text-on-dark: #FAF6F0;

    --clr-bg-page: #FAF6F0;
    --clr-bg-section: #F5EDE0;
    --clr-bg-dark: #2C1A0E;
    --clr-border: rgba(139, 92, 52, 0.18);

    
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Manrope', system-ui, sans-serif;

    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.5rem;
    --fs-2xl: 2rem;
    --fs-3xl: clamp(2rem, 5vw, 3.5rem);
    --fs-hero: clamp(2.8rem, 7vw, 5.5rem);

    
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.25rem;
    --sp-6: 1.5rem;
    --sp-8: 2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;
    --sp-32: 8rem;

    
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 36px;
    --radius-full: 9999px;

    
    --shadow-xs: 0 1px 3px rgba(44,26,14,0.06), 0 1px 2px rgba(44,26,14,0.04);
    --shadow-sm: 0 2px 8px rgba(44,26,14,0.08), 0 1px 3px rgba(44,26,14,0.05);
    --shadow-md: 0 4px 20px rgba(44,26,14,0.10), 0 2px 8px rgba(44,26,14,0.06), 0 1px 3px rgba(44,26,14,0.04);
    --shadow-lg: 0 8px 40px rgba(44,26,14,0.14), 0 4px 16px rgba(44,26,14,0.08), 0 1px 4px rgba(44,26,14,0.04);
    --shadow-xl: 0 16px 64px rgba(44,26,14,0.18), 0 8px 24px rgba(44,26,14,0.10), 0 2px 6px rgba(44,26,14,0.05);
    --shadow-card-hover: 0 20px 60px rgba(44,26,14,0.18), 0 8px 20px rgba(196,102,58,0.12);

    
    --nav-h: 72px;

    
    --tr-fast: 150ms ease;
    --tr-base: 250ms ease;
    --tr-slow: 400ms ease;
  }
}

@layer layout {
  body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--clr-text-primary);
    background-color: var(--clr-bg-page);
    line-height: 1.6;
  }

  .nav__container,
  .hero__container,
  .intro__container,
  .services__header,
  .journey__container,
  .gallery-teaser__container,
  .contact-cards__container,
  .story__container,
  .content-detail__container,
  .audience__container,
  .contact-page__container,
  .legal-page__container,
  .footer__container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--sp-6);
  }

  .page-hero__container {
    max-width: 800px;
    margin-inline: auto;
    padding-inline: var(--sp-6);
  }
}

@layer components {

  
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    background: var(--clr-white-warm);
    border-bottom: 1px solid var(--clr-border);
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--tr-base);
  }

  .nav--scrolled {
    box-shadow: var(--shadow-md);
  }

  .nav__container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
  }

  .nav__brand {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    flex-shrink: 0;
  }

  .nav__logo {
    width: 36px;
    height: 36px;
  }

  .nav__brand-name {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--clr-earth-deep);
    letter-spacing: 0.01em;
  }

  .nav__menu {
    display: none;
  }

  .nav__list {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
  }

  .nav__link {
    display: block;
    padding: var(--sp-2) var(--sp-4);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--clr-text-secondary);
    border-radius: var(--radius-full);
    transition: color var(--tr-fast), background-color var(--tr-fast);
  }

  .nav__link:hover {
    color: var(--clr-accent);
    background-color: var(--clr-accent-light);
  }

  .nav__link--active {
    color: var(--clr-accent);
    background-color: var(--clr-accent-light);
  }

  .nav__hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: var(--sp-2);
    border-radius: var(--radius-sm);
    transition: background-color var(--tr-fast);
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
  }

  .nav__hamburger:hover {
    background-color: var(--clr-accent-light);
  }

  .nav__hamburger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--clr-earth-deep);
    border-radius: 2px;
    transition: transform var(--tr-base), opacity var(--tr-base);
  }

  .nav__hamburger--open .nav__hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav__hamburger--open .nav__hamburger-bar:nth-child(2) {
    opacity: 0;
  }
  .nav__hamburger--open .nav__hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  @media (min-width: 900px) {
    .nav__menu { display: block; }
    .nav__hamburger { display: none; }
  }

  
  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s linear var(--tr-slow);
  }

  .mobile-menu--open {
    pointer-events: all;
    visibility: visible;
    transition: visibility 0s linear 0s;
  }

  .mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(44, 26, 14, 0.55);
    opacity: 0;
    transition: opacity var(--tr-slow);
  }

  .mobile-menu--open .mobile-menu__backdrop {
    opacity: 1;
  }

  .mobile-menu__sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--clr-white-warm);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: var(--sp-4) var(--sp-6) calc(var(--sp-8) + env(safe-area-inset-bottom));
    transform: translateY(100%);
    transition: transform var(--tr-slow) cubic-bezier(0.34, 1.2, 0.64, 1);
    box-shadow: 0 -8px 40px rgba(44,26,14,0.18);
  }

  .mobile-menu--open .mobile-menu__sheet {
    transform: translateY(0);
  }

  .mobile-menu__handle {
    width: 40px;
    height: 4px;
    background: var(--clr-border);
    border-radius: var(--radius-full);
    margin: 0 auto var(--sp-6);
  }

  .mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
  }

  .mobile-menu__link {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    padding: var(--sp-4) var(--sp-4);
    font-size: var(--fs-md);
    font-weight: 500;
    color: var(--clr-text-primary);
    border-radius: var(--radius-md);
    transition: background-color var(--tr-fast), color var(--tr-fast);
    min-height: 52px;
  }

  .mobile-menu__link:hover {
    background-color: var(--clr-accent-light);
    color: var(--clr-accent);
  }

  .mobile-menu__icon {
    width: 20px;
    color: var(--clr-clay);
    flex-shrink: 0;
  }

  
  .sidebar-cta {
    position: fixed;
    right: var(--sp-5);
    bottom: var(--sp-8);
    z-index: 90;
    transform: translateX(calc(100% + var(--sp-5)));
    transition: transform var(--tr-slow);
  }

  .sidebar-cta--visible {
    transform: translateX(0);
  }

  .sidebar-cta__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-2);
    background: var(--clr-terracotta);
    color: var(--clr-white-warm);
    padding: var(--sp-4) var(--sp-3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform var(--tr-base), box-shadow var(--tr-base), background-color var(--tr-base);
    min-width: 52px;
    min-height: 64px;
  }

  .sidebar-cta__btn:hover {
    background: var(--clr-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
  }

  .sidebar-cta__btn:active {
    transform: translateY(0) scale(0.97);
  }

  .sidebar-cta__icon {
    font-size: 1.25rem;
  }

  .sidebar-cta__label {
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    text-orientation: mixed;
  }

  
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: var(--sp-4) var(--sp-8);
    border-radius: var(--radius-full);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: transform var(--tr-fast), box-shadow var(--tr-base), background-color var(--tr-base), color var(--tr-base), border-color var(--tr-base);
    min-height: 48px;
  }

  .btn:active {
    transform: scale(0.97);
  }

  .btn--primary {
    background: var(--clr-terracotta);
    color: var(--clr-white-warm);
    box-shadow: 0 4px 16px rgba(196, 102, 58, 0.32), 0 1px 4px rgba(196, 102, 58, 0.2);
  }

  .btn--primary:hover {
    background: var(--clr-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(196, 102, 58, 0.40), 0 2px 6px rgba(196, 102, 58, 0.24);
  }

  .btn--ghost {
    background: transparent;
    color: var(--clr-earth-deep);
    border: 2px solid var(--clr-border);
  }

  .btn--ghost:hover {
    border-color: var(--clr-clay);
    background: var(--clr-accent-light);
    color: var(--clr-accent);
    transform: translateY(-1px);
  }

  
  .hero {
    position: relative;
    min-height: 100vh;
    padding-top: var(--nav-h);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--clr-cream);
  }

  .hero__bg-shape {
    position: absolute;
    border-radius: var(--radius-full);
    pointer-events: none;
    z-index: 0;
  }

  .hero__bg-shape--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196,102,58,0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
  }

  .hero__bg-shape--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(184,129,90,0.12) 0%, transparent 70%);
    bottom: -50px;
    left: 10%;
  }

  .hero__bg-shape--3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(139,92,52,0.10) 0%, transparent 70%);
    top: 30%;
    left: 30%;
  }

  .hero__container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-12);
    align-items: center;
    padding-top: var(--sp-16);
    padding-bottom: var(--sp-16);
  }

  .hero__content {
    max-width: 520px;
  }

  .hero__eyebrow {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--clr-clay);
    background: var(--clr-accent-light);
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--radius-full);
    margin-bottom: var(--sp-6);
  }

  .hero__title {
    font-family: var(--font-heading);
    font-size: var(--fs-hero);
    font-weight: 700;
    line-height: 1.05;
    color: var(--clr-earth-deep);
    margin-bottom: var(--sp-6);
    letter-spacing: -0.02em;
  }

  .hero__title em {
    font-style: italic;
    color: var(--clr-terracotta);
  }

  .hero__subtitle {
    font-size: var(--fs-md);
    color: var(--clr-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--sp-10);
    max-width: 440px;
  }

  .hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-4);
  }

  
  .hero__mosaic {
    position: relative;
    height: 480px;
    flex-shrink: 0;
  }

  .hero__mosaic-item {
    position: absolute;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--tr-base), box-shadow var(--tr-base);
  }

  .hero__mosaic-item:hover {
    transform: scale(1.03) rotate(0deg) !important;
    box-shadow: var(--shadow-card-hover);
    z-index: 10;
  }

  .hero__mosaic-item--1 {
    width: 240px;
    height: 300px;
    top: 0;
    left: 50%;
    transform: rotate(-3deg);
    z-index: 3;
  }

  .hero__mosaic-item--2 {
    width: 180px;
    height: 180px;
    top: 40px;
    left: 0;
    transform: rotate(2deg);
    z-index: 2;
  }

  .hero__mosaic-item--3 {
    width: 200px;
    height: 160px;
    bottom: 60px;
    left: 20px;
    transform: rotate(-1.5deg);
    z-index: 4;
  }

  .hero__mosaic-item--4 {
    width: 160px;
    height: 200px;
    bottom: 0;
    right: 10%;
    transform: rotate(3deg);
    z-index: 2;
  }

  .hero__mosaic-item--5 {
    width: 130px;
    height: 130px;
    top: 180px;
    right: 5%;
    transform: rotate(-2deg);
    z-index: 1;
  }

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

  @media (min-width: 900px) {
    .hero__container {
      grid-template-columns: 1fr 1fr;
    }
    .hero__mosaic {
      height: 520px;
    }
  }

  
  .intro {
    padding: var(--sp-24) 0;
    background: var(--clr-bg-section);
  }

  .intro__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-12);
    align-items: start;
  }

  .intro__heading {
    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    font-weight: 700;
    color: var(--clr-earth-deep);
    line-height: 1.15;
    margin-bottom: var(--sp-6);
  }

  .intro__body {
    font-size: var(--fs-md);
    color: var(--clr-text-secondary);
    line-height: 1.75;
    margin-bottom: var(--sp-5);
  }

  .intro__detail {
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
  }

  .intro__detail-card {
    background: var(--clr-white-warm);
    border-radius: var(--radius-md);
    padding: var(--sp-6);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--clr-border);
    display: flex;
    gap: var(--sp-4);
    align-items: flex-start;
    transition: transform var(--tr-base), box-shadow var(--tr-base);
  }

  .intro__detail-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }

  .intro__detail-icon {
    font-size: 1.5rem;
    color: var(--clr-terracotta);
    flex-shrink: 0;
    margin-top: 2px;
  }

  .intro__detail-text {
    font-size: var(--fs-sm);
    color: var(--clr-text-secondary);
    line-height: 1.65;
  }

  @media (min-width: 768px) {
    .intro__container {
      grid-template-columns: 1.4fr 1fr;
    }
  }

  
  .services {
    padding: var(--sp-24) 0;
    background: var(--clr-bg-page);
    overflow: hidden;
  }

  .services__header {
    display: flex;
    align-items: baseline;
    gap: var(--sp-4);
    margin-bottom: var(--sp-10);
    flex-wrap: wrap;
  }

  .services__title {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--clr-earth-deep);
  }

  .services__subtitle {
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
    flex: 1;
  }

  .services__scroll-hint {
    color: var(--clr-clay-light);
    font-size: var(--fs-md);
    animation: hint-slide 1.8s ease-in-out infinite;
  }

  @keyframes hint-slide {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(6px); opacity: 1; }
  }

  .services__track-wrapper {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--clr-clay-light) transparent;
    padding-bottom: var(--sp-4);
    padding-inline: var(--sp-6);
    max-width: 1200px;
    margin-inline: auto;
    -webkit-overflow-scrolling: touch;
  }

  .services__track-wrapper::-webkit-scrollbar {
    height: 4px;
  }

  .services__track-wrapper::-webkit-scrollbar-track {
    background: transparent;
  }

  .services__track-wrapper::-webkit-scrollbar-thumb {
    background: var(--clr-clay-light);
    border-radius: var(--radius-full);
  }

  .services__track {
    display: flex;
    gap: var(--sp-6);
    width: max-content;
    padding-bottom: var(--sp-4);
  }

  .services__card {
    width: 280px;
    flex-shrink: 0;
    background: var(--clr-white-warm);
    border-radius: var(--radius-lg);
    padding: var(--sp-8);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--clr-border);
    transition: transform var(--tr-base), box-shadow var(--tr-base);
  }

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

  .services__card-icon-wrap {
    width: 52px;
    height: 52px;
    background: var(--clr-accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--sp-6);
  }

  .services__card-icon {
    font-size: 1.4rem;
    color: var(--clr-terracotta);
  }

  .services__card-title {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 600;
    color: var(--clr-earth-deep);
    margin-bottom: var(--sp-4);
  }

  .services__card-body {
    font-size: var(--fs-sm);
    color: var(--clr-text-secondary);
    line-height: 1.7;
  }

  
  .journey {
    position: relative;
    padding: var(--sp-24) 0;
    background: var(--clr-bg-dark);
    overflow: hidden;
  }

  .journey__bg-shape {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, rgba(196,102,58,0.12) 0%, transparent 65%);
    top: -200px;
    right: -200px;
    pointer-events: none;
  }

  .journey__container {
    position: relative;
    z-index: 1;
  }

  .journey__header {
    margin-bottom: var(--sp-16);
  }

  .journey__title {
    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    font-weight: 700;
    color: var(--clr-sand);
    line-height: 1.15;
    margin-bottom: var(--sp-4);
  }

  .journey__subtitle {
    font-size: var(--fs-base);
    color: var(--clr-clay-light);
  }

  .journey__steps {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .journey__step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: var(--sp-8);
    align-items: start;
  }

  .journey__step-num {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--clr-terracotta);
    opacity: 0.7;
    line-height: 1;
    padding-top: 4px;
  }

  .journey__step-content {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(196,102,58,0.2);
    border-radius: var(--radius-md);
    padding: var(--sp-6) var(--sp-8);
    transition: background var(--tr-base), border-color var(--tr-base);
  }

  .journey__step-content:hover {
    background: rgba(196,102,58,0.08);
    border-color: rgba(196,102,58,0.35);
  }

  .journey__step-title {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 600;
    color: var(--clr-sand);
    margin-bottom: var(--sp-3);
  }

  .journey__step-body {
    font-size: var(--fs-sm);
    color: rgba(232, 213, 187, 0.75);
    line-height: 1.7;
  }

  .journey__connector {
    width: 2px;
    height: 32px;
    background: linear-gradient(to bottom, rgba(196,102,58,0.4), rgba(196,102,58,0.1));
    margin-left: 28px;
  }

  
  .gallery-teaser {
    padding: var(--sp-24) 0;
    background: var(--clr-bg-section);
  }

  .gallery-teaser__title {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--clr-earth-deep);
    margin-bottom: var(--sp-3);
  }

  .gallery-teaser__subtitle {
    font-size: var(--fs-base);
    color: var(--clr-text-muted);
    margin-bottom: var(--sp-10);
  }

  .gallery-teaser__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  .gallery-teaser__item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--tr-base), box-shadow var(--tr-base);
  }

  .gallery-teaser__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
  }

  .gallery-teaser__img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform var(--tr-slow);
  }

  .gallery-teaser__item:hover .gallery-teaser__img {
    transform: scale(1.04);
  }

  @media (min-width: 640px) {
    .gallery-teaser__grid {
      grid-template-columns: 2fr 1fr 1fr;
    }
    .gallery-teaser__item--wide .gallery-teaser__img {
      height: 320px;
    }
    .gallery-teaser__img {
      height: 320px;
    }
  }

  
  .contact-cards {
    padding: var(--sp-24) 0;
    background: var(--clr-bg-page);
  }

  .contact-cards__title {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--clr-earth-deep);
    margin-bottom: var(--sp-10);
    text-align: center;
  }

  .contact-cards__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  @media (min-width: 640px) {
    .contact-cards__grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .contact-cards__card {
    background: var(--clr-white-warm);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: var(--sp-8);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--tr-base), box-shadow var(--tr-base);
  }

  .contact-cards__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }

  .contact-cards__icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--clr-accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-5);
  }

  .contact-cards__icon {
    font-size: 1.4rem;
    color: var(--clr-terracotta);
  }

  .contact-cards__card-title {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--clr-earth-deep);
    margin-bottom: var(--sp-3);
  }

  .contact-cards__link {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--clr-terracotta);
    margin-bottom: var(--sp-2);
    transition: color var(--tr-fast);
  }

  .contact-cards__link:hover {
    color: var(--clr-accent-hover);
  }

  .contact-cards__note {
    font-size: var(--fs-xs);
    color: var(--clr-text-muted);
  }

  
  .page-hero {
    position: relative;
    padding: calc(var(--nav-h) + var(--sp-16)) 0 var(--sp-16);
    background: var(--clr-cream);
    overflow: hidden;
    text-align: center;
  }

  .page-hero__bg-shape {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, rgba(196,102,58,0.12) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
  }

  .page-hero__eyebrow {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--clr-clay);
    background: var(--clr-accent-light);
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--radius-full);
    margin-bottom: var(--sp-5);
  }

  .page-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--clr-earth-deep);
    line-height: 1.1;
    margin-bottom: var(--sp-6);
  }

  .page-hero__subtitle {
    font-size: var(--fs-md);
    color: var(--clr-text-secondary);
    line-height: 1.7;
    max-width: 580px;
    margin-inline: auto;
  }

  
  .story {
    padding: var(--sp-20) 0 var(--sp-24);
  }

  .story__block {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-10);
    align-items: center;
    margin-bottom: var(--sp-20);
  }

  .story__block--reverse {
    direction: rtl;
  }

  .story__block--reverse > * {
    direction: ltr;
  }

  .story__heading {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--clr-earth-deep);
    margin-bottom: var(--sp-5);
    line-height: 1.2;
  }

  .story__body {
    font-size: var(--fs-base);
    color: var(--clr-text-secondary);
    line-height: 1.75;
    margin-bottom: var(--sp-5);
  }

  .story__image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
  }

  .story__image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform var(--tr-slow);
  }

  .story__image-wrap:hover .story__image {
    transform: scale(1.03);
  }

  .story__values {
    padding-top: var(--sp-12);
    border-top: 1px solid var(--clr-border);
  }

  .story__values-title {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--clr-earth-deep);
    margin-bottom: var(--sp-10);
  }

  .story__values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
  }

  .story__value-card {
    background: var(--clr-bg-section);
    border-radius: var(--radius-md);
    padding: var(--sp-6);
    border: 1px solid var(--clr-border);
    transition: transform var(--tr-base), box-shadow var(--tr-base);
  }

  .story__value-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }

  .story__value-icon {
    font-size: 1.5rem;
    color: var(--clr-terracotta);
    margin-bottom: var(--sp-4);
  }

  .story__value-title {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--clr-earth-deep);
    margin-bottom: var(--sp-3);
  }

  .story__value-body {
    font-size: var(--fs-sm);
    color: var(--clr-text-secondary);
    line-height: 1.65;
  }

  @media (min-width: 768px) {
    .story__block {
      grid-template-columns: 1fr 1fr;
    }
  }

  
  .content-detail {
    padding: var(--sp-16) 0 var(--sp-24);
  }

  .content-detail__container {
    max-width: 760px;
    margin-inline: auto;
    padding-inline: var(--sp-6);
  }

  .content-detail__intro {
    font-size: var(--fs-md);
    color: var(--clr-text-secondary);
    line-height: 1.75;
    padding-bottom: var(--sp-12);
    border-bottom: 1px solid var(--clr-border);
    margin-bottom: var(--sp-12);
  }

  .content-detail__module {
    margin-bottom: var(--sp-16);
    padding-bottom: var(--sp-12);
    border-bottom: 1px solid var(--clr-border);
  }

  .content-detail__module:last-of-type {
    border-bottom: none;
  }

  .content-detail__module-header {
    display: flex;
    align-items: center;
    gap: var(--sp-5);
    margin-bottom: var(--sp-6);
  }

  .content-detail__module-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--clr-terracotta);
    opacity: 0.5;
    line-height: 1;
  }

  .content-detail__module-title {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--clr-earth-deep);
    line-height: 1.2;
  }

  .content-detail__module-body p {
    font-size: var(--fs-base);
    color: var(--clr-text-secondary);
    line-height: 1.75;
    margin-bottom: var(--sp-4);
  }

  .content-detail__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin-top: var(--sp-5);
  }

  .content-detail__tag {
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--clr-clay);
    background: var(--clr-accent-light);
    padding: var(--sp-1) var(--sp-3);
    border-radius: var(--radius-full);
  }

  .content-detail__faq {
    padding-top: var(--sp-12);
    border-top: 1px solid var(--clr-border);
  }

  .content-detail__faq-title {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--clr-earth-deep);
    margin-bottom: var(--sp-10);
  }

  .content-detail__faq-item {
    padding: var(--sp-6) 0;
    border-bottom: 1px solid var(--clr-border);
  }

  .content-detail__faq-item:last-child {
    border-bottom: none;
  }

  .content-detail__faq-q {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--clr-earth-deep);
    margin-bottom: var(--sp-3);
  }

  .content-detail__faq-a {
    font-size: var(--fs-sm);
    color: var(--clr-text-secondary);
    line-height: 1.7;
  }

  
  .audience {
    padding: var(--sp-16) 0 var(--sp-24);
  }

  .audience__container {
    max-width: 900px;
    margin-inline: auto;
    padding-inline: var(--sp-6);
  }

  .audience__intro {
    font-size: var(--fs-md);
    color: var(--clr-text-secondary);
    line-height: 1.75;
    padding-bottom: var(--sp-12);
    border-bottom: 1px solid var(--clr-border);
    margin-bottom: var(--sp-12);
  }

  .audience__profiles-title,
  .audience__not-for-title,
  .audience__what-to-expect-title,
  .audience__cta-title {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--clr-earth-deep);
    margin-bottom: var(--sp-8);
    line-height: 1.2;
  }

  .audience__profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-5);
    margin-bottom: var(--sp-16);
  }

  @media (min-width: 640px) {
    .audience__profile-grid {
      grid-template-columns: 1fr 1fr;
    }
  }

  .audience__profile-card {
    background: var(--clr-white-warm);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: var(--sp-7);
    box-shadow: var(--shadow-sm);
    transition: transform var(--tr-base), box-shadow var(--tr-base);
  }

  .audience__profile-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }

  .audience__profile-icon-wrap {
    width: 48px;
    height: 48px;
    background: var(--clr-accent-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--sp-5);
  }

  .audience__profile-icon {
    color: var(--clr-terracotta);
    font-size: 1.3rem;
  }

  .audience__profile-title {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--clr-earth-deep);
    margin-bottom: var(--sp-3);
  }

  .audience__profile-body {
    font-size: var(--fs-sm);
    color: var(--clr-text-secondary);
    line-height: 1.65;
  }

  .audience__not-for {
    padding: var(--sp-10) var(--sp-8);
    background: var(--clr-bg-section);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--clr-clay-light);
    margin-bottom: var(--sp-16);
  }

  .audience__not-for-body {
    font-size: var(--fs-base);
    color: var(--clr-text-secondary);
    line-height: 1.75;
    margin-bottom: var(--sp-4);
  }

  .audience__what-to-expect {
    margin-bottom: var(--sp-16);
  }

  .audience__expect-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
  }

  .audience__expect-item {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    font-size: var(--fs-base);
    color: var(--clr-text-secondary);
  }

  .audience__expect-icon {
    font-size: 1rem;
    flex-shrink: 0;
    width: 20px;
  }

  .audience__expect-icon:not(.audience__expect-icon--no) {
    color: #5a8c5a;
  }

  .audience__expect-icon--no {
    color: var(--clr-clay-light);
  }

  .audience__cta-block {
    padding: var(--sp-12) var(--sp-10);
    background: var(--clr-bg-dark);
    border-radius: var(--radius-xl);
    text-align: center;
  }

  .audience__cta-title {
    color: var(--clr-sand);
    margin-bottom: var(--sp-4);
  }

  .audience__cta-body {
    font-size: var(--fs-base);
    color: var(--clr-clay-light);
    line-height: 1.7;
    margin-bottom: var(--sp-8);
    max-width: 480px;
    margin-inline: auto;
    margin-bottom: var(--sp-8);
  }

  
  .contact-page {
    padding: var(--sp-16) 0 var(--sp-24);
  }

  .contact-page__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-12);
    margin-bottom: var(--sp-16);
  }

  @media (min-width: 768px) {
    .contact-page__grid {
      grid-template-columns: 1.1fr 0.9fr;
    }
  }

  .contact-page__form-title,
  .contact-page__info-title {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--clr-earth-deep);
    margin-bottom: var(--sp-8);
  }

  
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
  }

  .contact-form__field {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
  }

  .contact-form__label {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--clr-text-secondary);
    letter-spacing: 0.03em;
  }

  .contact-form__input,
  .contact-form__textarea {
    width: 100%;
    padding: var(--sp-4) var(--sp-5);
    background: var(--clr-white-warm);
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-md);
    font-size: var(--fs-base);
    color: var(--clr-text-primary);
    transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
    outline: none;
  }

  .contact-form__input:focus,
  .contact-form__textarea:focus {
    border-color: var(--clr-terracotta);
    box-shadow: 0 0 0 3px rgba(196, 102, 58, 0.15);
  }

  .contact-form__input::placeholder,
  .contact-form__textarea::placeholder {
    color: var(--clr-text-muted);
  }

  .contact-form__textarea {
    resize: vertical;
    min-height: 140px;
  }

  .contact-form__privacy {
    margin-top: var(--sp-2);
  }

  .contact-form__privacy-label {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    cursor: pointer;
  }

  .contact-form__checkbox {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--clr-terracotta);
    cursor: pointer;
  }

  .contact-form__privacy-text {
    font-size: var(--fs-sm);
    color: var(--clr-text-secondary);
    line-height: 1.5;
  }

  .contact-form__privacy-link {
    color: var(--clr-terracotta);
    text-decoration: underline;
    transition: color var(--tr-fast);
  }

  .contact-form__privacy-link:hover {
    color: var(--clr-accent-hover);
  }

  .contact-form__error {
    font-size: var(--fs-sm);
    color: #c0392b;
    min-height: 20px;
  }

  .contact-form__submit {
    align-self: flex-start;
    margin-top: var(--sp-3);
  }

  
  .contact-page__info-items {
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
    margin-bottom: var(--sp-8);
  }

  .contact-page__info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-4);
  }

  .contact-page__info-icon {
    font-size: 1.1rem;
    color: var(--clr-terracotta);
    margin-top: 3px;
    flex-shrink: 0;
    width: 20px;
  }

  .contact-page__info-item strong {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--clr-earth-deep);
    margin-bottom: var(--sp-1);
  }

  .contact-page__info-item p {
    font-size: var(--fs-sm);
    color: var(--clr-text-secondary);
    line-height: 1.6;
  }

  .contact-page__info-item a {
    color: var(--clr-terracotta);
    transition: color var(--tr-fast);
  }

  .contact-page__info-item a:hover {
    color: var(--clr-accent-hover);
  }

  .contact-page__map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
  }

  
  .contact-gallery__title {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--clr-earth-deep);
    margin-bottom: var(--sp-8);
  }

  .contact-gallery__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  @media (min-width: 640px) {
    .contact-gallery__grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .contact-gallery__item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--tr-base), box-shadow var(--tr-base);
  }

  .contact-gallery__item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }

  .contact-gallery__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform var(--tr-slow);
  }

  .contact-gallery__item:hover .contact-gallery__img {
    transform: scale(1.05);
  }

  
  .legal-page {
    padding: calc(var(--nav-h) + var(--sp-12)) 0 var(--sp-24);
  }

  .legal-page__container {
    max-width: 720px;
    margin-inline: auto;
    padding-inline: var(--sp-6);
  }

  .legal-page__header {
    margin-bottom: var(--sp-12);
    padding-bottom: var(--sp-8);
    border-bottom: 2px solid var(--clr-border);
  }

  .legal-page__eyebrow {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--clr-clay);
    background: var(--clr-accent-light);
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--radius-full);
    margin-bottom: var(--sp-5);
  }

  .legal-page__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--clr-earth-deep);
    line-height: 1.15;
    margin-bottom: var(--sp-3);
  }

  .legal-page__meta {
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
  }

  .legal-page__body h2 {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 600;
    color: var(--clr-earth-deep);
    margin-top: var(--sp-10);
    margin-bottom: var(--sp-4);
    padding-top: var(--sp-6);
    border-top: 1px solid var(--clr-border);
  }

  .legal-page__body h2:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: var(--sp-6);
  }

  .legal-page__body p {
    font-size: var(--fs-base);
    color: var(--clr-text-secondary);
    line-height: 1.75;
    margin-bottom: var(--sp-4);
  }

  .legal-page__body ul, .legal-page__body ol {
    padding-left: var(--sp-6);
    margin-bottom: var(--sp-5);
  }

  .legal-page__body ul { list-style: disc; }
  .legal-page__body ol { list-style: decimal; }

  .legal-page__body li {
    font-size: var(--fs-base);
    color: var(--clr-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--sp-2);
  }

  .legal-page__body a {
    color: var(--clr-terracotta);
    text-decoration: underline;
    transition: color var(--tr-fast);
  }

  .legal-page__body a:hover {
    color: var(--clr-accent-hover);
  }

  .legal-page__body code {
    font-family: monospace;
    background: var(--clr-accent-light);
    padding: 2px 6px;
    border-radius: var(--radius-xs);
    font-size: 0.9em;
    color: var(--clr-earth-deep);
  }

  .legal-page__table-wrap {
    overflow-x: auto;
    margin: var(--sp-6) 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
  }

  .legal-page__table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-sm);
    background: var(--clr-white-warm);
  }

  .legal-page__table th {
    background: var(--clr-bg-section);
    color: var(--clr-earth-deep);
    font-weight: 600;
    text-align: left;
    padding: var(--sp-4) var(--sp-5);
    border-bottom: 2px solid var(--clr-border);
    white-space: nowrap;
  }

  .legal-page__table td {
    padding: var(--sp-4) var(--sp-5);
    color: var(--clr-text-secondary);
    border-bottom: 1px solid var(--clr-border);
    vertical-align: top;
  }

  .legal-page__table tr:last-child td {
    border-bottom: none;
  }

  
  .thanks-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--nav-h) - 300px);
    padding: calc(var(--nav-h) + var(--sp-16)) var(--sp-6) var(--sp-16);
  }

  .thanks {
    max-width: 640px;
    width: 100%;
    text-align: center;
  }

  .thanks__quote-card {
    background: var(--clr-bg-dark);
    border-radius: var(--radius-xl);
    padding: var(--sp-12) var(--sp-10);
    margin-bottom: var(--sp-12);
    position: relative;
    box-shadow: var(--shadow-xl);
  }

  .thanks__quote-icon {
    font-size: 2.5rem;
    color: var(--clr-terracotta);
    opacity: 0.6;
    margin-bottom: var(--sp-6);
    display: block;
  }

  .thanks__quote {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 500;
    font-style: italic;
    color: var(--clr-sand);
    line-height: 1.55;
    margin-bottom: var(--sp-6);
  }

  .thanks__quote-source {
    font-size: var(--fs-sm);
    color: var(--clr-clay-light);
    font-style: normal;
  }

  .thanks__title {
    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    font-weight: 700;
    color: var(--clr-earth-deep);
    margin-bottom: var(--sp-5);
  }

  .thanks__body {
    font-size: var(--fs-base);
    color: var(--clr-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--sp-8);
  }

  
  .footer {
    background: var(--clr-bg-dark);
    color: var(--clr-sand);
    padding: var(--sp-16) 0 0;
    margin-top: auto;
  }

  .footer__top {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-10);
    padding-bottom: var(--sp-12);
    border-bottom: 1px solid rgba(232, 213, 187, 0.12);
  }

  @media (min-width: 640px) {
    .footer__top {
      grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    }
  }

  .footer__brand {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
  }

  .footer__logo {
    width: 40px;
    height: 40px;
    opacity: 0.85;
  }

  .footer__brand-name {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--clr-sand-light);
  }

  .footer__tagline {
    font-size: var(--fs-sm);
    color: var(--clr-clay-light);
    line-height: 1.5;
  }

  .footer__nav-title {
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-clay-light);
    margin-bottom: var(--sp-5);
  }

  .footer__nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
  }

  .footer__nav-link {
    font-size: var(--fs-sm);
    color: rgba(232, 213, 187, 0.65);
    transition: color var(--tr-fast);
  }

  .footer__nav-link:hover {
    color: var(--clr-sand);
  }

  .footer__contact {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
  }

  .footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    font-size: var(--fs-sm);
    color: rgba(232, 213, 187, 0.65);
    line-height: 1.5;
  }

  .footer__contact-item i {
    color: var(--clr-terracotta);
    width: 16px;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .footer__contact-item a {
    color: rgba(232, 213, 187, 0.65);
    transition: color var(--tr-fast);
  }

  .footer__contact-item a:hover {
    color: var(--clr-sand);
  }

  .footer__legal {
    padding: var(--sp-6) 0 var(--sp-8);
    font-size: var(--fs-xs);
    color: rgba(232, 213, 187, 0.4);
    line-height: 1.6;
  }

  .footer__legal p {
    margin-bottom: var(--sp-2);
  }

  .footer__copy {
    margin-top: var(--sp-2);
  }

  .footer__copy a {
    color: rgba(232, 213, 187, 0.55);
    text-decoration: underline;
    transition: color var(--tr-fast);
  }

  .footer__copy a:hover {
    color: var(--clr-sand);
  }

  
  .cookie-consent {
    position: fixed;
    top: calc(var(--nav-h) + var(--sp-4));
    left: var(--sp-5);
    z-index: 300;
    width: 300px;
    background: var(--clr-white-warm);
    border-radius: var(--radius-lg);
    padding: var(--sp-5);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--clr-border);
    transform: translateX(calc(-100% - var(--sp-5)));
    transition: transform var(--tr-slow) cubic-bezier(0.34, 1.2, 0.64, 1);
  }

  .cookie-consent--visible {
    transform: translateX(0);
  }

  .cookie-consent__header {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    margin-bottom: var(--sp-3);
  }

  .cookie-consent__icon {
    font-size: 1.1rem;
    color: var(--clr-terracotta);
  }

  .cookie-consent__title {
    font-family: var(--font-heading);
    font-size: var(--fs-base);
    font-weight: 600;
    color: var(--clr-earth-deep);
  }

  .cookie-consent__text {
    font-size: var(--fs-xs);
    color: var(--clr-text-secondary);
    line-height: 1.55;
    margin-bottom: var(--sp-4);
  }

  .cookie-consent__text a {
    color: var(--clr-terracotta);
    text-decoration: underline;
  }

  .cookie-consent__actions {
    display: flex;
    gap: var(--sp-2);
    flex-wrap: wrap;
  }

  .cookie-consent__btn {
    flex: 1;
    padding: var(--sp-2) var(--sp-3);
    border-radius: var(--radius-full);
    font-size: var(--fs-xs);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--tr-fast);
    min-height: 36px;
    border: none;
  }

  .cookie-consent__btn--accept {
    background: var(--clr-terracotta);
    color: var(--clr-white-warm);
  }

  .cookie-consent__btn--accept:hover {
    background: var(--clr-accent-hover);
  }

  .cookie-consent__btn--settings {
    background: transparent;
    color: var(--clr-text-secondary);
    border: 1.5px solid var(--clr-border);
  }

  .cookie-consent__btn--settings:hover {
    border-color: var(--clr-clay);
    color: var(--clr-clay);
  }

  
  .cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-6);
    background: rgba(44, 26, 14, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--tr-base);
  }

  .cookie-modal--visible {
    opacity: 1;
    pointer-events: all;
  }

  .cookie-modal__inner {
    background: var(--clr-white-warm);
    border-radius: var(--radius-xl);
    padding: var(--sp-8);
    max-width: 480px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    transform: translateY(20px);
    transition: transform var(--tr-base);
  }

  .cookie-modal--visible .cookie-modal__inner {
    transform: translateY(0);
  }

  .cookie-modal__title {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--clr-earth-deep);
    margin-bottom: var(--sp-6);
  }

  .cookie-modal__category {
    padding: var(--sp-4) 0;
    border-bottom: 1px solid var(--clr-border);
  }

  .cookie-modal__category:last-of-type {
    border-bottom: none;
    margin-bottom: var(--sp-6);
  }

  .cookie-modal__category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    margin-bottom: var(--sp-2);
  }

  .cookie-modal__category-name {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--clr-earth-deep);
  }

  .cookie-modal__category-desc {
    font-size: var(--fs-xs);
    color: var(--clr-text-muted);
    line-height: 1.5;
  }

  .cookie-modal__toggle {
    position: relative;
    width: 44px;
    height: 24px;
    background: var(--clr-border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background var(--tr-fast);
    flex-shrink: 0;
    border: none;
  }

  .cookie-modal__toggle::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: var(--radius-full);
    top: 3px;
    left: 3px;
    transition: transform var(--tr-fast);
    box-shadow: var(--shadow-xs);
  }

  .cookie-modal__toggle--on {
    background: var(--clr-terracotta);
  }

  .cookie-modal__toggle--on::after {
    transform: translateX(20px);
  }

  .cookie-modal__toggle--disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  .cookie-modal__actions {
    display: flex;
    gap: var(--sp-3);
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .cookie-modal__btn {
    padding: var(--sp-3) var(--sp-6);
    border-radius: var(--radius-full);
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--tr-fast);
    min-height: 44px;
    border: none;
  }

  .cookie-modal__btn--save {
    background: var(--clr-terracotta);
    color: var(--clr-white-warm);
  }

  .cookie-modal__btn--save:hover {
    background: var(--clr-accent-hover);
  }

  .cookie-modal__btn--cancel {
    background: transparent;
    color: var(--clr-text-secondary);
    border: 1.5px solid var(--clr-border);
  }

  .cookie-modal__btn--cancel:hover {
    border-color: var(--clr-clay);
  }

}

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

  .text-center { text-align: center; }
  .mt-auto { margin-top: auto; }
}