:root {
  --ink: #16181c;
  --paper: #faf8f4;
  --accent: #c98a4b;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2 {
  font-family: var(--serif);
  font-weight: 600;
  margin: 0;
  line-height: 1.1;
}

p { margin: 0 0 1em; line-height: 1.65; }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent);
  margin: 0 0 1rem;
}

/* progress rail */
.progress-rail {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  z-index: 60;
  background: transparent;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.1s linear;
}

/* brand mark */
.brand {
  position: fixed;
  top: 1.75rem;
  left: 1.75rem;
  z-index: 50;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}
.brand a {
  color: #fff;
  text-decoration: none;
  mix-blend-mode: difference;
}

/* parallax sections */
.parallax {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.parallax__bg {
  position: absolute;
  top: -15%;
  left: -5%;
  width: 110%;
  height: 130%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.parallax__overlay {
  position: absolute;
  inset: 0;
}
.overlay--deep {
  background: linear-gradient(180deg, rgba(10,10,12,0.55) 0%, rgba(10,10,12,0.4) 45%, rgba(10,10,12,0.65) 100%);
}
.overlay--light {
  background: linear-gradient(180deg, rgba(10,10,12,0.35) 0%, rgba(10,10,12,0.25) 45%, rgba(10,10,12,0.55) 100%);
}

.hero__content,
.parallax__content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 1.5rem;
  max-width: 700px;
}

.hero__content h1 {
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  margin-bottom: 0.6rem;
}

.hero__tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  opacity: 0.92;
  max-width: 34rem;
  margin: 0 auto;
}

.parallax__content h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.75rem;
}

.parallax__text {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 300;
  max-width: 32rem;
  margin: 0 auto;
  opacity: 0.95;
}

.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 20px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: #fff;
  border-radius: 2px;
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* about section */
.about {
  padding: 7rem 1.5rem;
  background: var(--paper);
}
.about__grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}
.about__portrait img {
  border-radius: 6px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.3);
}
.about__text h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  margin-bottom: 1.1rem;
}
.about__text p {
  color: #3a3d42;
  font-size: 1.02rem;
}

/* business panel */
.business-panel {
  position: relative;
  overflow: hidden;
  padding: 8rem 1.5rem;
  text-align: center;
  background: #efe6d8;
}
.business-panel__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201,138,75,0.28) 0%, rgba(201,138,75,0) 70%);
  pointer-events: none;
}
.business-panel__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.business-panel h2 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  margin-bottom: 0.9rem;
  color: var(--ink);
}
.business-panel__text {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  font-weight: 300;
  color: #4a4640;
}
.btn.btn--dark {
  border-color: var(--ink);
  color: var(--ink);
}
.btn.btn--dark:hover {
  background: var(--ink);
  color: #fff;
}

/* connect section */
.connect {
  padding: 8rem 1.5rem 7rem;
  text-align: center;
  background: var(--ink);
  color: #fff;
}
.connect h2 {
  font-size: clamp(2rem, 4.5vw, 2.6rem);
  margin-bottom: 2.5rem;
}
.connect__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  max-width: 420px;
  margin: 0 auto;
}
.connect__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 400;
  padding: 0.85rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  width: 100%;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.connect__link svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}
.connect__link:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.9rem 2rem;
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn:hover {
  background: #fff;
  color: var(--ink);
}

.footer {
  padding: 1.75rem 1.5rem;
  text-align: center;
  background: var(--ink);
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
}
.footer p { margin: 0; }

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 760px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .about {
    padding: 5.5rem 1.5rem;
  }
  .about__portrait {
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .parallax__bg { transform: none !important; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-cue span { animation: none; }
}
