:root {
  --navy: #2A2622;
  --navy-light: #3A342E;
  --gold: #D06E39;
  --gold-dark: #B75B32;
  --gold-light: #E7A882;
  --cream: #F7F4EE;
  --white: #FDFBF7;
  --charcoal: #2A2622;
  --gray: #6B6459;
  --taupe: #9C9184;
  --border: #E4DACB;
  --sand: #EFE7DA;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 20px;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; margin-bottom: 12px; }

p { margin: 0 0 16px; color: var(--gray); }

a { text-decoration: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 238, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px rgba(42, 38, 34, 0.07);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  line-height: 1;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.wm-long {
  font-weight: 700;
  color: var(--navy);
}

.wm-run {
  font-weight: 700;
  font-style: italic;
  color: var(--gold);
}

.wm-sub {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray);
  padding-left: 1px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  padding: 6px 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}

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

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 4px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-cta::after { content: none; }

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  display: block;
}

/* Sections */
.section {
  padding: 120px 0;
}

.section-light { background: var(--white); }

.section-dark {
  background: var(--navy);
}

.section-dark p { color: #CFC6B8; }

.h2-light { color: var(--white); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 16px;
}

.eyebrow-dark { color: var(--gold); }

.section-head { margin-bottom: 8px; }

.section-head h2 { margin-bottom: 0; }

.rule {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0 36px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s cubic-bezier(.16,.84,.44,1) 0.15s;
}

.reveal.visible .rule { transform: scaleX(1); }

.rule-center { margin-left: auto; margin-right: auto; transform-origin: center; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.16,.84,.44,1), transform 0.8s cubic-bezier(.16,.84,.44,1);
}

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

/* Hero */
.hero {
  position: relative;
  padding: 76px 0 60px;
  overflow: hidden;
  background: linear-gradient(120deg, #F7F4EE 0%, #EFE7DA 50%, #F7F4EE 100%);
  background-size: 200% 200%;
  animation: heroShift 22s ease-in-out infinite;
}

@keyframes heroShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-glow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(12px);
  background: radial-gradient(circle, rgba(208, 110, 57, 0.34) 0%, rgba(208, 110, 57, 0) 70%);
  width: 560px;
  height: 560px;
  top: 34%;
  left: 2%;
  transform: translateY(-50%);
  animation: floatGlow 14s ease-in-out infinite;
}

.hero-glow-2 {
  width: 380px;
  height: 380px;
  top: 72%;
  left: 42%;
  background: radial-gradient(circle, rgba(208, 110, 57, 0.28) 0%, rgba(208, 110, 57, 0) 70%);
  animation-duration: 18s;
  animation-direction: reverse;
}

@keyframes floatGlow {
  0%   { transform: translate(0, -50%) scale(1); }
  50%  { transform: translate(40px, -54%) scale(1.12); }
  100% { transform: translate(0, -50%) scale(1); }
}

.hero-inner { max-width: 900px; position: relative; z-index: 1; }

.hero-title {
  white-space: normal;
  font-size: clamp(2rem, 4.6vw, 3rem);
}

.hero-mark {
  position: relative;
  color: var(--gold);
  font-style: italic;
  white-space: nowrap;
}

.hero-mark::after {
  content: '';
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 0.08em;
  height: 0.34em;
  background: var(--gold);
  opacity: 0.16;
  border-radius: 3px;
  z-index: -1;
}

@media (min-width: 800px) {
  .hero-title { white-space: nowrap; }
}

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

.hero-inner > * {
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(.16,.84,.44,1) forwards;
}

.hero-inner > p.eyebrow { animation-delay: 0.05s; }
.hero-inner > h1 { animation-delay: 0.18s; }
.hero-inner > p.hero-sub { animation-delay: 0.32s; }
.hero-inner > .hero-line { animation-delay: 0.46s; }
.hero-inner > .hero-actions { animation-delay: 0.56s; }

.hero-sub {
  font-size: 1.15rem;
  max-width: 620px;
}

.hero-line {
  display: block;
  width: 100%;
  max-width: 220px;
  height: 8px;
  margin: 8px 0 24px;
  overflow: visible;
}

.hero-line line {
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-dasharray: 640;
  stroke-dashoffset: 640;
  animation: drawLine 1.1s cubic-bezier(.16,.84,.44,1) forwards;
  animation-delay: 0.5s;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 8px 0 0;
  flex-wrap: wrap;
}

/* Hero services marquee */
.hero-marquee {
  position: relative;
  z-index: 1;
  margin-top: 64px;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 42s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.chip {
  flex: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  white-space: nowrap;
  padding: 9px 20px;
  border-radius: 22px;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  background: rgba(208, 110, 57, 0.06);
}

/* Buttons */
.btn {
  position: relative;
  display: inline-block;
  padding: 13px 26px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  overflow: hidden;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.16), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn:hover::before { left: 130%; }

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(42, 38, 34, 0.22);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(42, 38, 34, 0.16);
}

.btn-accent {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(208, 110, 57, 0.28);
}

.btn-accent:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(122, 59, 34, 0.34);
}

.btn-large { font-size: 1.05rem; padding: 16px 32px; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: stretch;
  margin-top: 32px;
}

.about-lead p {
  font-size: 1.1rem;
  color: var(--charcoal);
  line-height: 1.7;
}

.about-tags {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-tags li {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gold-dark);
  background: var(--sand);
  border: 1px solid var(--border);
  padding: 7px 15px;
  border-radius: 20px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.about-tags li:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.about-quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(155deg, #D06E39 0%, #B75B32 100%);
  color: var(--white);
  border-radius: 14px;
  padding: 40px 36px;
  box-shadow: 0 24px 48px rgba(122, 59, 34, 0.22);
}

.quote-big {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.25;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 16px;
}

.quote-sub {
  font-size: 0.98rem;
  color: rgba(247, 244, 238, 0.86);
  margin-bottom: 0;
}

/* Services accordion */
.accordion {
  display: flex;
  gap: 14px;
  margin-top: 44px;
  height: 420px;
}

.acc-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  padding: 26px 22px;
  transition: flex-grow 0.65s cubic-bezier(.16,.84,.44,1), background 0.55s ease, border-color 0.55s ease, box-shadow 0.55s ease;
}

.acc-panel.is-open {
  flex-grow: 5.2;
  border-color: transparent;
  background: linear-gradient(150deg, #D06E39 0%, #B75B32 100%);
  box-shadow: 0 0 44px rgba(208, 110, 57, 0.28), 0 22px 44px rgba(122, 59, 34, 0.22);
}

.acc-num {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold);
  opacity: 0.7;
  transition: color 0.5s ease, opacity 0.5s ease;
}

.acc-panel.is-open .acc-num {
  color: var(--white);
  opacity: 0.85;
}

.acc-label {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
  letter-spacing: 0.3px;
  transition: opacity 0.35s ease;
}

.acc-panel.is-open .acc-label { opacity: 0; }

.acc-content {
  position: absolute;
  left: 26px;
  bottom: 30px;
  width: 380px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease 0.15s, transform 0.5s cubic-bezier(.16,.84,.44,1) 0.15s;
  pointer-events: none;
}

.acc-panel.is-open .acc-content {
  opacity: 1;
  transform: none;
}

.acc-content h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.acc-content p {
  color: rgba(247, 244, 238, 0.9);
  font-size: 0.96rem;
  margin-bottom: 0;
  max-width: 460px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.step {
  transition: transform 0.35s cubic-bezier(.16,.84,.44,1);
}

.step:hover { transform: translateY(-6px); }

.step-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.step:hover .step-num { color: var(--white); }

.step h3 { color: var(--white); }

.step p { font-size: 0.92rem; }

/* Contact */
#contact {
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-radial-gradient(circle at 50% 116%, transparent 0 46px, rgba(208, 110, 57, 0.08) 46px 48px);
  -webkit-mask-image: radial-gradient(125% 105% at 50% 100%, #000 18%, transparent 68%);
  mask-image: radial-gradient(125% 105% at 50% 100%, #000 18%, transparent 68%);
}

.contact-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
}

.contact-sub {
  font-size: 1.05rem;
  margin-bottom: 32px;
}

/* Footer */
.site-footer {
  background: var(--navy);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: #B0A895;
}

.footer-inner a { color: var(--gold); }

/* Responsive */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}

/* Accordion collapses to stacked cards on smaller screens */
@media (max-width: 760px) {
  .accordion {
    flex-direction: column;
    height: auto;
    gap: 12px;
  }

  .acc-panel {
    flex: none;
    padding: 24px 22px;
    min-height: 0;
  }

  .acc-panel.is-open {
    flex: none;
  }

  .acc-label { display: none; }

  .acc-content {
    position: static;
    width: auto;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    margin-top: 14px;
  }

  .acc-content h3 { color: var(--navy); font-size: 1.3rem; }
  .acc-content p { color: var(--gray); }

  .acc-panel.is-open .acc-content h3 { color: var(--white); }
  .acc-panel.is-open .acc-content p { color: rgba(247, 244, 238, 0.9); }
}

@media (max-width: 640px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 32px 24px;
    border-bottom: 1px solid var(--border);
    display: none;
    gap: 16px;
  }

  .site-nav.open { display: flex; }

  .nav-toggle { display: flex; }

  .nav-cta { align-self: flex-start; }

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

  .hero { padding: 48px 0 56px; }
  .section { padding: 72px 0; }
}
