/* ===== FONTS ===== */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/caveat.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/cormorant-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/cormorant-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/dmsans-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/dmsans-italic.woff2') format('woff2');
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
address { font-style: normal; }

:root {
  --bg: #1a1610;
  --bg-alt: #1e1a14;
  --cream: #f0ece2;
  --cream-dim: #c8c0b0;
  --cream-muted: #8a8070;
  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-hand: 'Caveat', cursive;
  --font-sans: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; font-size: 120%; }
body {
  font-family: var(--font-serif);
  background: var(--bg);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 200;
  padding: 12px 24px;
  background: var(--cream);
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}

/* ===== FOCUS STYLES ===== */
:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}
.footer :focus-visible {
  outline-color: var(--bg);
}
.intro-body a,
.section-block-desc a,
.faq-a-inner a,
.team-info a {
  position: relative;
  display: inline;
  padding-bottom: 5px;
  transition: color 0.3s ease;
}
.intro-body a::after,
.section-block-desc a::after,
.faq-a-inner a::after,
.team-info a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 8'%3E%3Cpath d='M2 5Q25 1 50 5T98 4' fill='none' stroke='%23c8c0b0' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.intro-body a:hover,
.section-block-desc a:hover,
.faq-a-inner a:hover,
.team-info a:hover {
  color: var(--cream);
}
ul { list-style: none; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: 20px 40px;
  transition: all 0.4s ease;
}
.nav.scrolled { padding: 12px 20px; }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1400px; margin: 0 auto;
  transition: all 0.4s ease;
  padding: 0; border-radius: 0;
}
.nav.scrolled .nav-inner {
  background: rgba(26,22,16,0.95);
  backdrop-filter: blur(16px);
  border-radius: 60px;
  padding: 14px 32px;
  border: 1px solid rgba(240,236,226,0.06);
}
.nav-logo {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo-text {
  font-family: var(--font-hand);
  font-size: 1.3rem;
  font-weight: 600;
}
.nav-logo-icon {
  width: 24px; height: 30px;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-icon img { width: 100%; height: 100%; object-fit: contain; }
.nav-right { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--cream-dim);
  transition: color 0.3s;
}
.nav-link:hover { color: var(--cream); }
.nav-contact {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  padding: 8px 20px;
  border: 1px solid rgba(240,236,226,0.3);
  border-radius: 100px;
  display: flex; align-items: center; gap: 8px;
  transition: all 0.3s;
}
.nav-contact:hover { border-color: var(--cream); }
.nav-arrow { font-size: 0.75rem; display: inline-block; transform: rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
}
.hero-pre {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 300;
  margin-bottom: 8px;
  opacity: 0; animation: fadeIn 0.8s 0.2s ease forwards;
}
.hero-name {
  font-family: var(--font-hand);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 40px;
  opacity: 0; animation: fadeIn 0.8s 0.4s ease forwards;
}
.hero-name sup {
  font-size: 0.2em; vertical-align: super;
  font-weight: 400; font-family: var(--font-sans);
}
.hero-illustration {
  width: clamp(320px, 50vw, 580px);
  aspect-ratio: 5/3;
  opacity: 0; animation: fadeIn 0.8s 0.6s ease forwards;
}
.hero-illustration svg { width: 100%; height: 100%; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 80px);
}
.divider { width: 100%; height: 1px; background: rgba(240,236,226,0.08); }

/* ===== INTRO ===== */
.intro { padding: 120px 0 100px; }
.intro-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 500; line-height: 1.15;
  margin-bottom: 60px; max-width: 800px;
}
.intro-body { max-width: 620px; margin-left: auto; }
.intro-body p {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 400;
  line-height: 1.7; color: var(--cream-dim);
  margin-bottom: 32px;
}
.intro-body h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 400; margin-bottom: 20px;
}
.intro-body h3 .oval {
  position: relative; display: inline-block;
}
.intro-body h3 .oval::after {
  content: ''; position: absolute;
  top: -8px; left: -14px; right: -14px; bottom: -8px;
  border: 1px solid rgba(240,236,226,0.3);
  border-radius: 50%;
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.82rem; padding: 12px 28px;
  border: 1px solid rgba(240,236,226,0.3);
  border-radius: 100px; transition: all 0.3s;
}
.btn-outline:hover { border-color: var(--cream); }

/* ===== FLOURISH ===== */
.flourish { text-align: center; padding: 60px 0; }
.flourish svg { width: 50px; height: auto; }

/* ===== SECTION LABEL ===== */
.section-label {
  font-family: var(--font-hand);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400; margin-bottom: 12px;
}

/* ===== SECTION BLOCK ===== */
.section-block { padding: 100px 0 60px; }
.section-block-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300; line-height: 1.2;
  margin-bottom: 24px; max-width: 700px;
}
.section-block-desc {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 400;
  color: var(--cream-dim); line-height: 1.7;
  max-width: 620px; margin-bottom: 60px;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(240,236,226,0.06);
  border: 1px solid rgba(240,236,226,0.06);
  border-radius: 12px; overflow: hidden;
}
.service-card {
  background: var(--bg); padding: 40px 32px;
  transition: background 0.3s;
}
.service-card:hover { background: var(--bg-alt); }
.service-icon { width: 32px; height: 32px; margin-bottom: 24px; color: var(--cream-dim); }
.service-icon svg { width: 100%; height: 100%; }
.service-card h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem; font-weight: 500;
  margin-bottom: 14px; line-height: 1.3;
}
.service-card p {
  font-family: var(--font-serif);
  font-size: 0.92rem; font-weight: 300;
  color: var(--cream-muted); line-height: 1.7;
}

/* ===== ONLINE ===== */
.online { padding: 100px 0 60px; text-align: center; }
.online-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}
.online-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid rgba(240,236,226,0.2);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--cream-dim);
  transition: all 0.3s;
}
.online-link:hover {
  border-color: var(--cream);
  color: var(--cream);
}
.online-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ===== TEAM ===== */
.team { padding: 100px 0; }
.team-top {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 60px; margin-bottom: 24px;
}
.team-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400; line-height: 1.2;
}
.team-top-right h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55; margin-bottom: 24px;
}
.team-top-right p {
  font-size: 0.88rem; font-weight: 300;
  color: var(--cream-muted); line-height: 1.7;
}
.team-list { margin-top: 56px; }
.team-member {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 60px; padding: 28px 0;
  border-top: 1px solid rgba(240,236,226,0.08);
  align-items: baseline;
}
.team-name {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  font-weight: 400;
}
.team-info {
  font-size: 0.88rem; color: var(--cream-muted); line-height: 1.7;
}
.team-info strong { color: var(--cream); font-weight: 500; }

/* ===== CLIENTS ===== */
.clients { padding: 80px 0; }
.clients-row {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 48px 64px;
}
.client-logo {
  font-family: var(--font-sans);
  font-size: 0.95rem; font-weight: 500;
  color: var(--cream-muted);
  letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0.45; transition: opacity 0.3s;
}
.client-logo:hover { opacity: 0.9; }

/* ===== TOGETHER ===== */
.together { padding: 100px 0; text-align: center; }
.together-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300; margin-bottom: 28px;
}
.together-desc {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 400;
  color: var(--cream-dim); line-height: 1.8;
  max-width: 680px; margin: 0 auto 40px;
}

/* ===== FAQ ===== */
.faq { padding: 80px 0 100px; background: var(--bg-alt); }
.faq-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300; margin-bottom: 48px; text-align: center;
}
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(240,236,226,0.08); }
.faq-item:first-child { border-top: 1px solid rgba(240,236,226,0.08); }
.faq-q {
  width: 100%; background: none; border: none;
  color: var(--cream); font-family: var(--font-serif);
  font-size: clamp(1rem, 1.3vw, 1.15rem); font-weight: 400;
  text-align: left; padding: 24px 0; cursor: pointer;
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}
.faq-q:hover { color: var(--cream-dim); }
.faq-chevron {
  width: 18px; height: 18px; flex-shrink: 0;
  transition: transform 0.4s ease;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s ease;
}
.faq-item.open .faq-a { max-height: 250px; }
.faq-a-inner {
  padding-bottom: 24px;
  font-size: 0.9rem; color: var(--cream-muted);
  line-height: 1.8; font-weight: 300;
}

/* ===== FOOTER (cream) ===== */
.footer {
  background: var(--cream); color: var(--bg);
  padding: 80px 0 48px;
}
.footer-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400; line-height: 1.45;
  max-width: 780px; margin-bottom: 18px;
}
.footer-headline em { font-style: italic; }
.footer-handwrite {
  font-family: var(--font-hand);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
}
.footer-email {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400; color: var(--bg);
  display: inline-block; margin-bottom: 60px;
  transition: opacity 0.3s;
}
.footer-email:hover { opacity: 0.5; }
.footer-line { width: 100%; height: 1px; background: rgba(26,22,16,0.12); margin-bottom: 32px; }
.footer-office {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-office h5 {
  font-family: var(--font-sans);
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.footer-office p,
.footer-office address {
  font-family: var(--font-sans);
  font-size: 0.85rem; color: rgba(26,22,16,0.65); line-height: 1.7;
}
.footer-office-right { text-align: right; }
.footer-online-links {
  display: flex;
  gap: 14px;
}
.footer-online-links a {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(26,22,16,0.5);
  transition: color 0.3s;
}
.footer-online-links a:hover { color: var(--bg); }
.footer-online-links a svg { width: 20px; height: 20px; }
.footer-garden {
  position: relative;
  margin-top: 14px;
}
.footer-garden-label {
  position: absolute;
  top: -54px;
  left: -200px;
  font-family: var(--font-hand);
  font-size: 1.6rem;
  color: #c0392b;
  transform: rotate(-6deg);
  white-space: nowrap;
}
.footer-garden-arrow {
  position: absolute;
  top: -24px;
  left: -60px;
  width: 70px;
  height: 35px;
  color: #c0392b;
}
.footer-garden-icon {
  height: 1em;
  width: auto;
  vertical-align: -0.25em;
  display: inline;
  opacity: 0.55;
  transition: opacity 0.3s;
}
.footer-garden a:hover .footer-garden-icon {
  opacity: 1;
}
.footer-garden p {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(26,22,16,0.65);
  line-height: 1.7;
}
.footer-garden a {
  font-family: var(--font-sans);
  font-size: inherit;
  color: rgba(26,22,16,0.55);
  transition: color 0.3s;
}
.footer-garden a:hover { color: var(--bg); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(26,22,16,0.1);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy {
  font-family: var(--font-sans);
  font-size: 0.78rem; color: rgba(26,22,16,0.55);
}
.footer-copy a {
  color: rgba(26,22,16,0.55);
  transition: color 0.3s;
}
.footer-copy a:hover {
  color: var(--bg);
}
.footer-socials { display: flex; align-items: center; gap: 16px; }
.footer-socials a {
  color: rgba(26,22,16,0.55); transition: color 0.3s;
}
.footer-socials a svg {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
}
.footer-socials a:hover { color: var(--bg); }
.footer-socials a svg { width: 18px; height: 18px; }
.footer-legal {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: rgba(26,22,16,0.55);
  transition: color 0.3s;
}
.footer-legal:hover { color: var(--bg); }

/* ===== SETUP ===== */
.setup { padding: 80px 0; }
.setup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.setup-heading {
  font-family: var(--font-hand);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 500;
  margin-bottom: 16px;
}
.setup-block p {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--cream-dim);
  line-height: 1.8;
}
@media (max-width: 600px) {
  .setup-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ===== REVEAL ===== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.vis { opacity: 1; transform: translateY(0); }

/* ===== SEPARATOR LINE DRAW ===== */
.separator-path {
  fill: none;
  stroke: var(--cream);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3px;
  stroke-dasharray: calc(var(--path-length) * 1px);
  stroke-dashoffset: calc(var(--path-length) * 1px);
  transition: none;
}
@keyframes draw-separator {
  to { stroke-dashoffset: 0; }
}
.reveal.vis .separator-path {
  animation: draw-separator 2s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-top { grid-template-columns: 1fr; gap: 28px; }
  .team-member { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .nav { padding: 14px 20px; }
  .nav-link { display: none; }
  .hero { padding: 100px 24px 60px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .separator-path {
    stroke-dashoffset: 0;
  }
}