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

:root {
  --bg: #0d0d0b;
  --surface: #141412;
  --border: rgba(255,255,255,0.07);
  --text: #e8e4dc;
  --muted: #888780;
  --accent: #c9a96e;
  --accent-dim: rgba(201,169,110,0.12);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 4rem;
  border-bottom: 1px solid var(--border);
  background: rgba(13,13,11,0.85);
  backdrop-filter: blur(12px);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 4rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,169,110,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 900px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(201,169,110,0.3);
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}

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

.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 3rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.3rem;
  transition: border-color 0.2s, color 0.2s;
}

.hero-cta:hover { border-color: var(--accent); color: var(--accent); }

/* SECTION */
section {
  padding: 7rem 4rem;
  border-top: 1px solid var(--border);
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 2rem;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-text p {
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 1.2rem;
  font-size: 0.97rem;
}

.about-text p strong {
  color: var(--text);
  font-weight: 400;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* VENTURES */
.ventures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.venture-card {
  background: var(--surface);
  padding: 2.5rem 2rem;
  transition: background 0.25s;
}

.venture-card:hover { background: rgba(201,169,110,0.05); }

.venture-tag {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.venture-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.venture-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.8;
}

.venture-products {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-chip {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

/* INTERESTS */
.interests-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.interest-item {
  background: var(--surface);
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.interest-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--accent);
  opacity: 0.5;
  flex-shrink: 0;
  margin-top: 2px;
}

.interest-name {
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
}

.interest-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

/* CONTACT */
.contact-inner {
  max-width: 600px;
}

.contact-inner p {
  color: var(--muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--accent);
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  border-bottom: 1px solid rgba(201,169,110,0.2);
  padding-bottom: 0.3rem;
  transition: border-color 0.2s;
}

.contact-link:hover { border-color: var(--accent); }

/* FOOTER */
footer {
  padding: 2rem 4rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

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

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

/* PAGE HEADER (inner pages) */
.page-hero {
  padding: 10rem 4rem 4rem;
  border-top: none;
}

.page-hero .hero-tag { margin-bottom: 1.5rem; }

/* STUDIOFORMA FEATURE */
.sf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.sf-text p {
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 1.2rem;
  font-size: 0.97rem;
}

.sf-text p strong { color: var(--text); font-weight: 400; }

.sf-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.sf-list li {
  background: var(--surface);
  padding: 1.4rem 1.6rem;
  font-size: 0.9rem;
  color: var(--text);
}

.sf-list li span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.3rem;
}

/* CONTACT FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  max-width: 560px;
  margin-top: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.form-field input,
.form-field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.9rem 1rem;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  transition: border-color 0.2s;
}

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

.form-field input:invalid:not(:placeholder-shown) {
  border-color: #a85c5c;
}

.form-submit {
  align-self: flex-start;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 3px;
  padding: 0.9rem 2.2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}

.form-submit:hover { opacity: 0.85; }

/* ---- about page images ---- */
.about-portrait {
  width: 100%;
  max-width: 320px;
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 2rem;
}

.about-external {
  width: 100%;
  max-width: 220px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  padding: 1.5rem;
}

/* ---- ID selector: contact form (CP2 requires one ID selector) ---- */
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  max-width: 560px;
  margin-top: 1rem;
}

#contact-form label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.9rem 1rem;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  transition: border-color 0.2s;
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

#contact-form input:invalid:not(:placeholder-shown) {
  border-color: #a85c5c;
}

#contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 1.2rem 1.5rem; }
  .nav-links { display: none; }
  .hero { padding: 7rem 1.5rem 3rem; }
  section { padding: 4rem 1.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ventures-grid { grid-template-columns: 1fr; }
  .interests-list { grid-template-columns: 1fr; }
  .sf-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .page-hero { padding: 8rem 1.5rem 3rem; }
  footer { padding: 1.5rem; flex-direction: column; gap: 0.5rem; text-align: center; }
}
