@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Didact+Gothic&display=swap');

:root {
  --black: #080808;
  --deep: #0e0e0e;
  --surface: #141414;
  --surface2: #1a1a1a;
  --border: #1e1e1e;
  --border2: #2a2a2a;
  --muted: #4a4a4a;
  --mid: #777777;
  --light: #b8b4ae;
  --white: #ede9e3;
  --accent: #b8965a;
  --accent-light: #d4b07a;
  --accent-dim: #7a6035;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--light);
  font-family: 'Didact Gothic', sans-serif;
  font-weight: 400;
  line-height: 1.8;
  cursor: default;
  overflow-x: hidden;
}

/* GRAIN OVERLAY */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
}

/* READING PROGRESS */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 1px;
  background: var(--accent);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* NAVIGATION */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 28px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, transparent 100%);
}

nav.scrolled {
  padding: 18px 60px;
  background: rgba(8,8,8,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
}

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

.nav-links a {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px; height: 1px;
  background: var(--light);
  transition: all 0.3s;
}

/* MOBILE NAV */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 400;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

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

.mobile-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.mobile-nav a:hover { color: var(--accent); }

/* PAGE HERO — FULL SCREEN */
.page-hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.55);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(8,8,8,0.5) 60%,
    rgba(8,8,8,0.95) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px 80px;
  max-width: 900px;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 20px;
}

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 7vw, 90px);
  font-weight: 300;
  line-height: 1.0;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--accent-light);
}

.page-hero p {
  font-size: 15px;
  color: var(--light);
  max-width: 560px;
  line-height: 1.9;
}

/* SCROLL INDICATOR */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  right: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.scroll-indicator span {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* SECTIONS */
section {
  padding: 120px 80px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* TWO COLUMN SPLIT */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

/* IMAGE PANELS */
.img-panel {
  position: relative;
  overflow: hidden;
}

.img-panel img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.8s ease;
}

.img-panel:hover img { transform: scale(1.03); }

.img-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border2);
  pointer-events: none;
}

/* TYPOGRAPHY */
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

h2 em { font-style: italic; color: var(--accent-light); }

h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 14px;
  margin-top: 36px;
}

p {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--light);
  margin-bottom: 20px;
}

p:last-child { margin-bottom: 0; }

/* RULE LINE */
.rule {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.rule::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--accent);
}

.rule span {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-dim);
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 44px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: 'Didact Gothic', sans-serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.35s ease;
  margin-top: 32px;
}

.btn:hover {
  background: var(--accent);
  color: var(--black);
}

.btn-ghost {
  border-color: var(--border2);
  color: var(--mid);
}

.btn-ghost:hover {
  background: var(--surface2);
  color: var(--white);
  border-color: var(--white);
}

/* TWO PATH SECTION */
.two-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 0;
}

.path-card {
  background: var(--surface);
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}

.path-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 0;
  background: var(--accent);
  transition: height 0.4s ease;
}

.path-card:hover { background: var(--surface2); }
.path-card:hover::before { height: 100%; }

.path-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px;
  font-weight: 300;
  color: var(--border2);
  line-height: 1;
  margin-bottom: 24px;
  transition: color 0.4s;
}

.path-card:hover .path-number { color: var(--accent-dim); }

.path-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  color: var(--white);
  margin-top: 0;
  margin-bottom: 16px;
}

.path-card p { font-size: 14px; }

/* AUTHORITY BAR */
.authority-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 80px;
  display: flex;
  justify-content: center;
  gap: 80px;
}

.authority-item {
  text-align: center;
}

.authority-item strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.authority-item span {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mid);
}

/* BLOCKQUOTE */
blockquote {
  border-left: 1px solid var(--accent);
  padding: 4px 0 4px 36px;
  margin: 48px 0;
}

blockquote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
}

/* SERVICE CARDS */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
}

.service-card {
  background: var(--surface);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.5s ease;
}

.service-card:hover::after { width: 100%; }

.service-card h3 {
  font-size: 20px;
  margin-top: 0;
}

.service-card p { font-size: 13.5px; }

/* CONTACT FORMS */
.forms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.form-block h3 {
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 32px;
  color: var(--white);
  font-style: normal;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border2);
  color: var(--white);
  padding: 14px 18px;
  font-family: 'Didact Gothic', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  margin-top: 16px;
  line-height: 1.6;
}

/* EMAIL POPUP */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,8,8,0.85);
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  backdrop-filter: blur(4px);
}

.popup-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.popup {
  background: var(--deep);
  border: 1px solid var(--border2);
  max-width: 500px;
  width: 90%;
  padding: 64px 56px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.5s ease;
}

.popup-overlay.visible .popup {
  transform: translateY(0);
}

.popup-close {
  position: absolute;
  top: 24px; right: 28px;
  background: none;
  border: none;
  color: var(--mid);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
}

.popup-close:hover { color: var(--white); }

.popup h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--white);
  font-style: normal;
  margin-top: 0;
  margin-bottom: 12px;
}

.popup p {
  font-size: 13px;
  color: var(--mid);
  margin-bottom: 28px;
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popup-form input {
  background: var(--surface);
  border: 1px solid var(--border2);
  color: var(--white);
  padding: 13px 16px;
  font-family: 'Didact Gothic', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

.popup-form input:focus { border-color: var(--accent); }

.popup-form button {
  background: none;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 13px 20px;
  font-family: 'Didact Gothic', sans-serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.popup-form button:hover {
  background: var(--accent);
  color: var(--black);
}

.popup-privacy {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 16px;
}

/* FOOTER */
footer {
  background: var(--deep);
  border-top: 1px solid var(--border);
  padding: 80px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .nav-logo {
  display: block;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-nav h4,
.footer-subscribe h4 {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 20px;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-size: 13px;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover { color: var(--accent); }

/* FOOTER EMAIL */
.footer-email-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-email-form input {
  background: var(--surface);
  border: 1px solid var(--border2);
  color: var(--white);
  padding: 12px 16px;
  font-family: 'Didact Gothic', sans-serif;
  font-size: 13px;
  outline: none;
  transition: border-color 0.3s;
}

.footer-email-form input:focus { border-color: var(--accent); }

.footer-email-form button {
  background: none;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 12px;
  font-family: 'Didact Gothic', sans-serif;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.footer-email-form button:hover {
  background: var(--accent);
  color: var(--black);
}

.footer-subscribe p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
  letter-spacing: 0.1em;
}

.social-links {
  display: flex;
  gap: 24px;
}

.social-links a {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}

.social-links a:hover { color: var(--accent); }

/* PAGE HEADER (inner pages) */
.page-header {
  padding: 180px 80px 100px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(184,150,90,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin-bottom: 24px;
}

.page-header h1 em {
  font-style: italic;
  color: var(--accent-light);
}

.page-header p {
  max-width: 560px;
  font-size: 15px;
  line-height: 1.9;
}

/* HIGHLIGHT BOX */
.highlight-box {
  background: var(--surface);
  border-left: 2px solid var(--accent);
  padding: 28px 36px;
  margin: 40px 0;
}

.highlight-box p {
  font-size: 13.5px;
  color: var(--mid);
  margin: 0;
}

.highlight-box strong { color: var(--light); }

/* FADE IN ANIMATION */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  nav { padding: 24px 40px; }
  nav.scrolled { padding: 16px 40px; }
  .nav-links { gap: 28px; }
  section { padding: 80px 40px; }
  .page-hero-content { padding: 0 40px 60px; }
  .authority-bar { padding: 28px 40px; gap: 40px; }
  footer { padding: 60px 40px; }
  .page-header { padding: 160px 40px 80px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  nav { padding: 20px 24px; }
  nav.scrolled { padding: 14px 24px; }

  .page-hero-content { padding: 0 24px 48px; }
  .scroll-indicator { display: none; }

  section { padding: 64px 24px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse { direction: ltr; }
  .two-paths { grid-template-columns: 1fr; }
  .authority-bar { padding: 28px 24px; gap: 24px; flex-wrap: wrap; justify-content: space-around; }
  .service-cards { grid-template-columns: 1fr; }
  .forms-grid { grid-template-columns: 1fr; gap: 48px; }
  footer { padding: 48px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
  .page-header { padding: 140px 24px 64px; }
  .popup { padding: 48px 32px; }
}
