@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,400&display=swap');

:root {
  --cream: #F7F4EF;
  --white: #FFFFFF;
  --charcoal: #1C1C1E;
  --dark: #2C2C2E;
  --mid: #6B6B70;
  --light: #AEAEB2;
  --accent: #1B4332;
  --accent-light: #2D6A4F;
  --accent-pale: #D8F3DC;
  --border: #E5E0D8;
  --layer1: #1B4332;
  --layer2: #2D6A4F;
  --layer3: #40916C;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family:'DM Sans',sans-serif;
  background:var(--cream);
  color:var(--charcoal);
  font-size:16px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}

/* ── NAV ── */
nav {
  position:fixed; top:0; left:0; right:0; z-index:100;
  background:rgba(247,244,239,0.93);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
  padding:0 48px; height:64px;
  display:flex; align-items:center; justify-content:space-between;
}
.nav-logo {
  font-family:'Playfair Display',serif;
  font-size:18px; font-weight:700;
  color:var(--charcoal); text-decoration:none; letter-spacing:-0.3px;
}
.nav-logo span { color:var(--accent); }
.nav-links { display:flex; gap:36px; list-style:none; }
.nav-links a {
  text-decoration:none; color:var(--mid);
  font-size:14px; font-weight:500; letter-spacing:0.3px; transition:color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color:var(--charcoal); }

/* ── BUTTONS ── */
.btn {
  display:inline-block; padding:12px 28px; border-radius:4px;
  font-family:'DM Sans',sans-serif; font-size:14px; font-weight:500;
  text-decoration:none; transition:all 0.2s; cursor:pointer; border:none;
}
.btn-primary { background:var(--accent); color:white; }
.btn-primary:hover { background:var(--accent-light); transform:translateY(-1px); }
.btn-outline { background:transparent; color:var(--accent); border:1.5px solid var(--accent); }
.btn-outline:hover { background:var(--accent); color:white; }

/* ── PAGE ── */
.page { padding-top:64px; min-height:100vh; }

/* ── HERO ── */
.hero {
  padding:100px 48px 80px;
  max-width:1100px; margin:0 auto;
  display:grid; grid-template-columns:1fr 360px; gap:80px; align-items:center;
}
.hero-tag {
  display:inline-block;
  background:var(--accent-pale); color:var(--accent);
  font-size:12px; font-weight:500; letter-spacing:1.2px;
  text-transform:uppercase; padding:6px 14px;
  border-radius:100px; margin-bottom:24px;
}
.hero h1 {
  font-family:'Playfair Display',serif;
  font-size:50px; font-weight:700; line-height:1.13;
  letter-spacing:-1px; color:var(--charcoal); margin-bottom:24px;
}
.hero h1 em { font-style:italic; color:var(--accent); }
.hero p { font-size:17px; color:var(--mid); line-height:1.8; margin-bottom:36px; max-width:480px; }
.hero-actions { display:flex; gap:16px; align-items:center; }
.hero-photo { position:relative; }
.hero-photo img {
  width:100%; aspect-ratio:1; object-fit:cover; object-position:center top;
  border-radius:12px; display:block;
}
.hero-photo::before {
  content:''; position:absolute; inset:-8px -8px 8px 8px;
  border:2px solid var(--accent); border-radius:12px; z-index:-1;
}

/* ── SECTIONS ── */
.section { padding:80px 48px; max-width:1100px; margin:0 auto; }
.section-label {
  font-size:11px; font-weight:500; letter-spacing:2px;
  text-transform:uppercase; color:var(--accent); margin-bottom:12px;
}
.section h2 {
  font-family:'Playfair Display',serif;
  font-size:36px; font-weight:700; letter-spacing:-0.5px;
  color:var(--charcoal); margin-bottom:20px;
}
.section-intro {
  font-size:17px; color:var(--mid); max-width:640px;
  line-height:1.8; margin-bottom:48px;
}
.divider { width:100%; height:1px; background:var(--border); margin:0 auto; max-width:1100px; }

/* ── THREE LAYERS ── */
.layers-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:2px;
  margin-top:48px; border-radius:12px; overflow:hidden;
}
.layer-card {
  padding:40px 32px; position:relative;
  display:flex; flex-direction:column; gap:16px;
}
.layer-card:nth-child(1) { background:var(--layer1); }
.layer-card:nth-child(2) { background:var(--layer2); }
.layer-card:nth-child(3) { background:var(--layer3); }
.layer-num {
  font-family:'Playfair Display',serif;
  font-size:48px; font-weight:700;
  color:rgba(255,255,255,0.15); line-height:1;
  position:absolute; top:24px; right:28px;
}
.layer-label {
  font-size:11px; font-weight:500; letter-spacing:2px;
  text-transform:uppercase; color:rgba(255,255,255,0.65);
}
.layer-title {
  font-family:'Playfair Display',serif;
  font-size:22px; font-weight:700; color:white; line-height:1.25;
}
.layer-question {
  font-size:14px; font-weight:500; color:rgba(255,255,255,0.8);
  font-style:italic; border-left:2px solid rgba(255,255,255,0.35);
  padding-left:12px;
}
.layer-body { font-size:14px; color:rgba(255,255,255,0.78); line-height:1.75; }
.layer-arrow {
  margin-top:auto; font-size:13px;
  color:rgba(255,255,255,0.55); font-weight:500;
}

/* ── PILLARS ── */
.pillars { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:48px; }
.pillar {
  background:white; border:1px solid var(--border); border-radius:10px;
  padding:32px; transition:transform 0.2s, box-shadow 0.2s;
}
.pillar:hover { transform:translateY(-3px); box-shadow:0 12px 40px rgba(0,0,0,0.07); }
.pillar-icon {
  width:44px; height:44px; background:var(--accent-pale); border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:20px; font-size:20px;
}
.pillar h3 { font-family:'Playfair Display',serif; font-size:19px; font-weight:600; margin-bottom:10px; }
.pillar p { font-size:14px; color:var(--mid); line-height:1.7; }

/* ── AI SECTION ── */
.ai-section {
  background:var(--charcoal); border-radius:12px;
  padding:56px; margin-top:48px;
  display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start;
}
.ai-section h2 {
  font-family:'Playfair Display',serif;
  font-size:32px; font-weight:700; color:white;
  letter-spacing:-0.4px; margin-bottom:20px;
}
.ai-section p { font-size:15px; color:rgba(255,255,255,0.7); line-height:1.85; margin-bottom:16px; }
.ai-list { list-style:none; display:flex; flex-direction:column; gap:12px; }
.ai-list li {
  display:flex; gap:12px; align-items:flex-start;
  font-size:14px; color:rgba(255,255,255,0.75); line-height:1.6;
}
.ai-list li::before {
  content:'→'; color:var(--accent-pale);
  font-weight:500; flex-shrink:0; margin-top:1px;
}

/* ── CARDS ── */
.cards { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; margin-top:48px; }
.card {
  background:white; border:1px solid var(--border); border-radius:10px;
  padding:32px; text-decoration:none; color:inherit;
  transition:transform 0.2s, box-shadow 0.2s; display:block;
}
.card:hover { transform:translateY(-3px); box-shadow:0 12px 40px rgba(0,0,0,0.07); }
.card-tag { font-size:11px; font-weight:500; letter-spacing:1.5px; text-transform:uppercase; color:var(--accent); margin-bottom:12px; }
.card h3 { font-family:'Playfair Display',serif; font-size:20px; font-weight:600; margin-bottom:10px; }
.card p { font-size:14px; color:var(--mid); line-height:1.7; }
.card-arrow { margin-top:20px; font-size:13px; color:var(--accent); font-weight:500; }

/* ── ABOUT PAGE ── */
.about-grid { display:grid; grid-template-columns:300px 1fr; gap:80px; align-items:start; margin-top:48px; }
.about-photo img { width:100%; border-radius:10px; display:block; }
.about-photo-caption { margin-top:16px; font-size:13px; color:var(--light); text-align:center; }
.about-text h3 { font-family:'Playfair Display',serif; font-size:22px; font-weight:600; margin:32px 0 12px; }
.about-text h3:first-child { margin-top:0; }
.about-text p { font-size:15px; color:var(--mid); line-height:1.85; margin-bottom:16px; }
.skills-grid { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.skill-tag {
  background:var(--accent-pale); color:var(--accent);
  font-size:13px; font-weight:500; padding:6px 14px; border-radius:100px;
}

/* ── WORK PAGE ── */
.work-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; margin-top:48px; }
.work-card {
  background:white; border:1px solid var(--border); border-radius:10px;
  padding:36px; transition:transform 0.2s, box-shadow 0.2s;
}
.work-card:hover { transform:translateY(-3px); box-shadow:0 12px 40px rgba(0,0,0,0.07); }
.work-card-header { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:16px; }
.work-number { font-family:'Playfair Display',serif; font-size:44px; font-weight:700; color:var(--accent-pale); line-height:1; }
.work-status { font-size:11px; font-weight:500; letter-spacing:1px; text-transform:uppercase; padding:4px 10px; border-radius:100px; }
.status-live { background:var(--accent-pale); color:var(--accent); }
.status-soon { background:#FFF3CD; color:#856404; }
.work-card h3 { font-family:'Playfair Display',serif; font-size:20px; font-weight:600; margin-bottom:10px; }
.work-card p { font-size:14px; color:var(--mid); line-height:1.75; }

/* ── RESOURCES ── */
.resource-list { margin-top:48px; display:flex; flex-direction:column; gap:16px; }
.resource-item {
  background:white; border:1px solid var(--border); border-radius:10px;
  padding:28px 32px; display:flex; justify-content:space-between; align-items:center;
  transition:transform 0.2s, box-shadow 0.2s;
}
.resource-item:hover { transform:translateY(-2px); box-shadow:0 8px 30px rgba(0,0,0,0.06); }
.resource-info h3 { font-family:'Playfair Display',serif; font-size:18px; font-weight:600; margin-bottom:6px; }
.resource-info p { font-size:14px; color:var(--mid); }
.resource-badge {
  font-size:12px; font-weight:500; padding:6px 14px; border-radius:100px;
  background:var(--accent-pale); color:var(--accent); white-space:nowrap; margin-left:24px;
}
.resource-badge.available { background:var(--accent); color:white; }

/* ── CONTACT ── */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:80px; margin-top:48px; align-items:start; }
.contact-info p { font-size:16px; color:var(--mid); line-height:1.8; margin-bottom:32px; }
.contact-links { display:flex; flex-direction:column; gap:16px; }
.contact-link {
  display:flex; align-items:center; gap:14px; text-decoration:none;
  color:var(--charcoal); font-size:15px; font-weight:500;
  padding:16px 20px; background:white; border:1px solid var(--border);
  border-radius:8px; transition:all 0.2s;
}
.contact-link:hover { border-color:var(--accent); color:var(--accent); }
.contact-link-icon { font-size:20px; }
.contact-form { display:flex; flex-direction:column; gap:16px; }
.form-group { display:flex; flex-direction:column; gap:6px; }
.form-group label { font-size:13px; font-weight:500; color:var(--dark); }
.form-group input, .form-group textarea, .form-group select {
  padding:12px 16px; border:1.5px solid var(--border); border-radius:6px;
  font-family:'DM Sans',sans-serif; font-size:15px; color:var(--charcoal);
  background:white; transition:border-color 0.2s; outline:none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color:var(--accent); }
.form-group textarea { resize:vertical; min-height:140px; }

/* ── FOOTER ── */
footer {
  border-top:1px solid var(--border); padding:32px 48px;
  display:flex; justify-content:space-between; align-items:center;
  max-width:1100px; margin:80px auto 0;
}
footer p { font-size:13px; color:var(--light); }
footer a { font-size:13px; color:var(--mid); text-decoration:none; }
footer a:hover { color:var(--accent); }

/* ── PAGE HERO (inner pages) ── */
.page-hero { padding:72px 48px 56px; max-width:1100px; margin:0 auto; border-bottom:1px solid var(--border); }
.page-hero h1 { font-family:'Playfair Display',serif; font-size:44px; font-weight:700; letter-spacing:-0.8px; margin-bottom:16px; }
.page-hero p { font-size:17px; color:var(--mid); max-width:620px; line-height:1.75; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
.fade-up { animation:fadeUp 0.6s ease forwards; }
.fade-up-delay-1 { animation-delay:0.1s; opacity:0; }
.fade-up-delay-2 { animation-delay:0.2s; opacity:0; }
.fade-up-delay-3 { animation-delay:0.3s; opacity:0; }
.fade-up-delay-4 { animation-delay:0.4s; opacity:0; }

/* ── RESPONSIVE ── */
@media(max-width:768px){
  nav{padding:0 24px;}
  .hero{grid-template-columns:1fr;padding:60px 24px;gap:40px;}
  .hero-photo{order:-1;max-width:220px;}
  .hero h1{font-size:36px;}
  .pillars,.cards,.layers-grid,.work-grid,.contact-grid{grid-template-columns:1fr;}
  .about-grid{grid-template-columns:1fr;}
  .ai-section{grid-template-columns:1fr;padding:36px 24px;}
  .section{padding:48px 24px;}
  .page-hero{padding:48px 24px;}
  footer{flex-direction:column;gap:12px;text-align:center;}
}

/* Ampersand: DM Sans for clean rendering instead of Playfair's ornate & */
.amp {
  font-family: 'DM Sans', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 0.92em;
}

.contact-link-icon { display:flex; align-items:center; justify-content:center; }
.contact-link-icon svg, .pillar-icon svg { flex-shrink:0; }
