/* ============================================
   Fonts (self-hosted)
   ============================================ */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/fonts/dm-sans-latin-ext-63513ba49ccad32a21d40131342e92ac.woff2?vsn=d') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/fonts/dm-sans-latin-aef1c6b4d4a340241e022ca547e075ac.woff2?vsn=d') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/playfair-normal-latin-ext-a81e6c6c3493caf3463c36f633996e92.woff2?vsn=d') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/playfair-normal-latin-6da252de0cbc8a69b5d5c2e0e3f67722.woff2?vsn=d') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fonts/playfair-italic-latin-ext-ca5b518e31977b8c1f6a81fe5c2b9a73.woff2?vsn=d') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fonts/playfair-italic-latin-f5051d38185e951dfa27454a87b267a7.woff2?vsn=d') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================
   FINERMADE: Design System & Styles
   ============================================ */

:root {
  --white: #FAF9F6;
  --pure-white: #FFFFFF;
  --sand: #F2EDE5;
  --sand-dark: #E8E0D4;
  --clay: #B8724A;
  --clay-lt: #CC9070;
  --bark: #6B4428;
  --surface-dark: #16120E;
  --ink: #1A1410;
  --ink-subtle: #3D2E24;
  --muted: #6B5C52;
  --border: rgba(26, 20, 16, 0.1);
  --radius: 14px;
  --gutter: 48px;
  --gutter-sm: 24px;
}

/* ============================================
   Noise texture
   ============================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 300px 300px;
}

/* ============================================
   Reset
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  overflow-x: hidden;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter-sm);
}

/* ============================================
   Navigation
   ============================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s;

  &.light {
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border);

    & .nav-links a {
      color: var(--muted);

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

    & .nav-btn {
      background: var(--clay);
      color: #fff;
      border-color: var(--clay);

      &:hover {
        background: var(--bark);
        color: #fff;
        border-color: var(--bark);
      }
    }
  }

  & .nav-links {
    justify-self: center;
  }

  & .nav-btn {
    justify-self: end;
  }
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--gutter-sm);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s;

  &.dark {
    color: var(--bark);
  }

  & span {
    color: var(--clay);
  }
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;

  & a {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.2s;

    &:hover {
      color: #fff;
    }
  }
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 20px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s;

  &:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
  }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  background: var(--surface-dark);
  min-height: 800px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(ellipse 80% 60% at 15% 50%, rgba(184, 114, 74, 0.07) 0%, transparent 60%),
      radial-gradient(ellipse 60% 50% at 85% 20%, rgba(46, 74, 56, 0.12) 0%, transparent 55%);
  }

  &::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
      linear-gradient(rgba(200, 184, 154, 0.07) 1px, transparent 1px),
      linear-gradient(90deg, rgba(200, 184, 154, 0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, black 20%, transparent 100%);
    z-index: 1;
  }

  & h1.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(56px, 8vw, 128px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: #F5EFE6;
    margin-bottom: 40px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4), 0 8px 40px rgba(0, 0, 0, 0.3);

    & em {
      font-style: italic;
      color: var(--clay-lt);
    }

    & .outline {
      -webkit-text-stroke: 1px rgba(245, 239, 230, 0.28);
      color: transparent;
    }
  }
}

.hero-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}


.anim-1 {
  opacity: 0;
  animation: fadeUp 0.7s 0.2s ease forwards;
}

.anim-2 {
  opacity: 0;
  animation: fadeUp 0.7s 0.35s ease forwards;
}

.anim-3 {
  opacity: 0;
  animation: fadeUp 0.7s 0.5s ease forwards;
}

.grid-col-bottom {
  display: flex;
  align-items: flex-end;
}

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

.contact-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  text-align: center;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease 0.1s;
}

#contact-success {
  transition: opacity 0.3s ease;
}

.input-phone {
  margin-bottom: 12px;
}

.form-check-wrap {
  text-align: left;
  padding-left: 4px;
}


.hero-photo {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 25, 35, 0.72), rgba(10, 25, 35, 0.85)),
    url('/images/hero-e8564001a2f2018edb0d8242969728be.webp?vsn=d');
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}

.hero-ornament {
  position: absolute;
  top: 72px;
  right: var(--gutter);
  width: 160px;
  height: 160px;
  opacity: 0.1;
  pointer-events: none;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin: 20px 0 10px 0;
}

.hero-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7EC98A;
  animation: blink 2s infinite;
  flex-shrink: 0;
}

.hero-body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.hero-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
  max-width: 550px;

  & strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
  }
}

.hero-text--short {
  display: none;
}

.hero-text--full {
  display: inline;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.hero-tagline {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  text-align: right;
  width: 220px;
  flex-shrink: 0;
  align-self: flex-end;
}

/* ============================================
   Buttons
   ============================================ */
.btn--primary,
.btn--primary-sm {
  font-size: 15px;
  font-weight: 600;
  background: linear-gradient(135deg, #d38c5a, #b46b3f);
  color: #fff;
  padding: 15px 30px;
  border-radius: 12px;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(184, 114, 74, 0.3);
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;

  &:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16), 0 4px 8px rgba(184, 114, 74, 0.35);
  }
}

.btn--ghost {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;

  &:hover {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
    transform: translateY(-3px);
  }
}

/* ============================================
    Section Basics
   ============================================ */

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -0.04em;

  & em {
    font-style: italic;
    color: var(--clay);
    letter-spacing: -0.02em;
  }
}

.section {
  padding: 60px 0;
}

.section--sand {
  background: var(--sand);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

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

.grid-2--about {
  grid-template-columns: 2fr 3fr;
}

.lead {
  font-size: 18px;
  font-weight: 400;
  color: var(--ink-subtle);
  line-height: 1.75;
}

/* ============================================
   Services Grid
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 52px;
}

.card {
  background: var(--pure-white);
  padding: 52px 44px;
  border-radius: 16px;
  border: 1px solid rgba(184, 114, 74, 0.15);
  box-shadow: 0 2px 8px rgba(26, 20, 16, 0.06), 0 6px 20px rgba(26, 20, 16, 0.05);
  transition: box-shadow 0.15s ease;
}

.card-name {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--ink);
}

.card-desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
}

.card-tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cards-note {
  font-size: 15px;
  font-weight: 500;
  color: var(--clay);
  text-align: center;
  margin-top: 40px;
  letter-spacing: 0.01em;
}

.tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--bark);
  background: rgba(107, 68, 40, 0.07);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ============================================
   About
   ============================================ */
.about-photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 20px;
  overflow: hidden;
}

.about-badge {
  position: absolute;
  bottom: 24px;
  right: -12px;
  background: var(--clay);
  color: #fff;
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(184, 114, 74, 0.3);
}

.about-badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  display: block;
  line-height: 1;
}

.about-badge-label {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.8;
  letter-spacing: 0.05em;
}

.about-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--clay);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 8px 0 24px;
}

.about-divider {
  width: 40px;
  height: 2px;
  background: var(--clay);
  margin-bottom: 24px;
}

.about-content {
  & p {
    font-size: 16px;
    font-weight: 400;
    color: var(--ink-subtle);
    line-height: 1.85;
    margin-bottom: 16px;

    & strong {
      color: var(--ink);
      font-weight: 500;
    }
  }
}

/* ============================================
   Pillars
   ============================================ */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
}

.pillar {
  background: var(--pure-white);
  border-radius: 16px;
  padding: 24px 20px;
  border: 1px solid rgba(184, 114, 74, 0.15);
  box-shadow: 0 1px 4px rgba(26, 20, 16, 0.05), 0 3px 10px rgba(26, 20, 16, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.15s ease;

  &:hover {
    box-shadow: 0 4px 16px rgba(26, 20, 16, 0.1), 0 8px 24px rgba(26, 20, 16, 0.07);
  }
}

.pillar-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 3px;
  color: var(--ink);
}

.pillar-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

/* ============================================
   Pain Points
   ============================================ */
.problem-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: center;
}


.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.problem-cta {
  margin-top: 32px;
}


.problem-card {
  background: var(--pure-white);
  border: 1px solid rgba(184, 114, 74, 0.15);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 12px rgba(26, 20, 16, 0.08), 0 12px 40px rgba(26, 20, 16, 0.08);
  transition: box-shadow 0.08s linear, transform 0.2s ease;

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

.problem-card-icon {
  color: var(--clay);
  margin-bottom: 16px;

  & svg {
    width: 120px;
    height: 90px;
  }
}

.problem-card-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}

.problem-card-text {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.65;
}

.section-intro {
  font-size: 17px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.8;
  margin: 16px 0 32px;
}

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 64px;
  align-items: center;
}

.faq-intro {
  & h2 {
    margin-bottom: 16px;
  }
}

.faq {
  border-top: 2px solid var(--sand-dark);
}

.faq-item {
  border-bottom: 2px solid var(--sand-dark);
  overflow: hidden;
}

.faq-question {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  gap: 24px;
  transition: background 0.15s, color 0.15s;
  border-radius: 8px;
  margin: 4px 0;

  &::-webkit-details-marker {
    display: none;
  }

  &:hover {
    background: var(--sand);
    color: var(--clay);
  }
}

.faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--clay);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  opacity: 0;

  &.is-open {
    opacity: 1;
  }
}

.faq-answer-inner {
  padding: 0 4px 24px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;

  & p {
    margin: 0;
  }
}

.faq-steps {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: faq-step;

  & li {
    counter-increment: faq-step;
    line-height: 1.6;
  }

  & strong {
    font-weight: 700;
  }
}

/* ============================================
   Contact Form
   ============================================ */
.contact-form {
  max-width: 720px;
  margin: 30px auto 0;
  position: relative;

  & .form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
  }

  & input:not([type="checkbox"]),
  & textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #F5EFE6;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    transition: border-color 0.2s, background 0.2s;
    outline: none;
  }

  & input:not([type="checkbox"])::placeholder,
  & textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
  }

  & input:not([type="checkbox"]):focus,
  & textarea:focus {
    border-color: rgba(184, 114, 74, 0.5);
    background: rgba(255, 255, 255, 0.09);
  }

  & textarea {
    resize: vertical;
    min-height: 120px;
  }

  & button {
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #d38c5a, #b46b3f);
    color: #fff;
    padding: 17px 34px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(184, 114, 74, 0.3);
    transition: box-shadow 0.2s, transform 0.2s;
    margin-top: 4px;

    &:hover {
      transform: translateY(-3px);
      box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18), 0 4px 8px rgba(184, 114, 74, 0.35);
    }
  }
}

.form-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  margin: 10px 0;
  user-select: none;
  line-height: 1;

  & input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    position: relative;
    transition: background 0.15s, border-color 0.15s;

    &:checked {
      background: var(--clay);
      border-color: var(--clay);

      &::after {
        content: '';
        position: absolute;
        left: 4px;
        top: 1px;
        width: 6px;
        height: 10px;
        border: 2px solid #fff;
        border-top: none;
        border-left: none;
        transform: rotate(45deg);
      }
    }
  }
}

/* ============================================
   CTA
   ============================================ */
.cta {
  background: var(--ink);
  padding: 50px var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 110%, rgba(184, 114, 74, 0.12) 0%, transparent 65%);
    pointer-events: none;
  }


  & h2 {
    color: #F5EFE6;
    font-size: clamp(48px, 6.5vw, 88px);
    margin-bottom: 16px;
    position: relative;

    & em {
      color: var(--clay-lt);
    }
  }
}


.contact-heading-sub {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  max-width: 720px;
  margin: 25px auto;
  position: relative;
  line-height: 1.7;
}

.contact-toggle {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 30px 0 0;
}

.contact-toggle-or {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  align-self: center;
}



/* ============================================
   Footer
   ============================================ */
footer {
  padding: 56px 0 36px;
  background: var(--sand);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.footer-grid--3col {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.footer-col--center {
  margin: 0 auto;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bark);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;

  & span {
    color: var(--clay);
  }
}

.footer-sub {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.65;
}

.footer-col-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.instagram-icon {
  margin-top: 2px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col {

  & ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
  }

  & a {
    font-size: 15px;
    font-weight: 400;
    color: var(--ink-subtle);
    text-decoration: none;
    transition: color 0.2s;

    &:hover {
      color: var(--clay);
    }
  }
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

/* ============================================
   Tech Page Cards
   ============================================ */
.stack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 52px;
}

.stack-item {
  background: var(--pure-white);
  padding: 40px 36px;
  border-radius: 16px;
  border: 1px solid rgba(184, 114, 74, 0.15);
  box-shadow: 0 2px 8px rgba(26, 20, 16, 0.06), 0 6px 20px rgba(26, 20, 16, 0.05);
  transition: box-shadow 0.15s ease;
}

.stack-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(184, 114, 74, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
  line-height: 1;
}

.stack-name {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--ink);
}

.stack-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.engage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.engage-item {
  background: var(--pure-white);
  padding: 40px 32px;
  border-radius: 16px;
  border: 1px solid rgba(184, 114, 74, 0.15);
  box-shadow: 0 2px 8px rgba(26, 20, 16, 0.06), 0 6px 20px rgba(26, 20, 16, 0.05);
  transition: box-shadow 0.15s ease;
}

.engage-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 16px;
}

.engage-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--ink);
}

.engage-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.audience-card {
  background: var(--pure-white);
  padding: 40px 32px;
  border-radius: 16px;
  border: 1px solid rgba(184, 114, 74, 0.15);
  box-shadow: 0 2px 8px rgba(26, 20, 16, 0.06), 0 6px 20px rgba(26, 20, 16, 0.05);
  transition: box-shadow 0.15s ease;
}

.audience-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 16px;
}

.audience-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--ink);
}

.audience-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.tech-about {
  max-width: 720px;

  & p {
    font-size: 17px;
    font-weight: 300;
    color: var(--ink-subtle);
    line-height: 1.85;
    margin-bottom: 16px;

    & strong {
      color: var(--ink);
      font-weight: 500;
    }
  }
}

.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

/* ============================================
   Animations
   ============================================ */
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}



@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade {
  opacity: 0;

  &.in {
    animation: fadeUp 0.6s ease forwards;
  }
}

/* ============================================
   A/B Variants
   ============================================ */

/* Variant A: white overrides for specific sections */
[data-variant="a"] #modernize,
[data-variant="a"] #about,
[data-variant="a"] footer {
  background: #faf9f5;
}

/* Variant D: Dark Mode */
[data-variant="d"] {
  --clay: #C4952A;
  --clay-lt: #D9B050;
  --bark: #A87820;
  --white: #1A1710;
  --sand: #222018;
  --sand-dark: #2E2B20;
  --ink: #F0EAD8;
  --ink-subtle: #C8BFA8;
  --muted: #7A7060;
  --border: rgba(240, 234, 216, 0.1);
  --surface-dark: #0E0C08;

  /* Variant D: CTA gradient */
  & .cta {
    background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(196, 149, 42, 0.12) 0%, transparent 70%),
                #0E0C08;
  }
}

.show-mobile {
  display: none;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 860px) {
  :root {
    --gutter: 24px;
  }

  .hide-mobile {
    display: none;
  }

  .show-mobile {
    display: inline;
  }

  .hero-text--full {
    display: none;
  }

  .hero-text--short {
    display: inline;
  }

  .nav-links {
    display: none;
  }

  nav .nav-btn {
    grid-column: 3;
    justify-self: end;
  }

  .hero {
    min-height: 75vh;
  }

  h1.hero-title {
    font-size: clamp(42px, 11vw, 72px);
    margin-bottom: 38px;
  }

  .card {
    padding: 36px;
  }

  .hero-body {
    gap: 24px;
  }

  .hero-tagline {
    display: none;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

.footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-grid--3col {
    flex-direction: column;
    gap: 32px;
  }

  .footer-col--center {
    margin: 0;
  }

  .footer-sub {
    font-size: 15px;
  }

  .footer-col-label {
    font-size: 13px;
  }

  .footer-col a {
    font-size: 16px;
  }

  .footer-col {
    padding-top: 40px;
    border-top: 1px solid var(--border);
  }

  .about-badge {
    right: 8px;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .pillar {
    padding: 20px;
  }

  .contact-form .form-row {
    flex-direction: column;
    gap: 12px;
  }

  .problem-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .faq-intro {
    position: static;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .problem-card-icon {
    display: flex;
    justify-content: center;
  }

  .problem-card-title {
    font-size: 18px;
    text-align: center;
  }

  .problem-card-text {
    font-size: 17px;
    text-align: center;
  }

  .problem-cta {
    display: none;
  }

  .about-content p {
    font-size: 18px;
  }

  .section-intro {
    margin: 16px 0 0;
  }

  .cards-note {
    margin-top: 30px;
  }


  .footer-bottom {
    margin-top: 40px;
  }

  .audience-grid,
  .engage-grid,
  .stack-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1.hero-title {
    font-size: clamp(36px, 10vw, 52px);
  }

  .hero {
    padding-bottom: 48px;
  }

  .card {
    padding: 28px 24px;
  }

  .pillars {
    grid-template-columns: 1fr;
  }
}
