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

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

:root {
  --cream: #EDE0CC;
  --cream2: #E4D5BC;
  --cream3: #D4C4A8;
  --ink: #2C2418;
  --ink2: #4A3F30;
  --ink3: #8C7B65;
  --charcoal: #2C2418;
  --charcoal2: #3A3025;
  --terracotta: #B85C38;
  --terracotta-bg: rgba(184,92,56,0.1);
  --terracotta-border: rgba(184,92,56,0.2);
  --moss: #5C7A52;
  --moss-bg: rgba(92,122,82,0.1);
  --moss-border: rgba(92,122,82,0.2);
  --clay: #9C6B4E;
  --clay-bg: rgba(156,107,78,0.1);
  --clay-border: rgba(156,107,78,0.2);
  --sand: #B8975A;
  --sand-bg: rgba(184,151,90,0.1);
  --font-serif: 'Crimson Pro', Georgia, serif;
  --font-sans: 'Outfit', system-ui, sans-serif;
  --grad-bg: linear-gradient(135deg, #EDE0CC 0%, #E8D8C2 40%, #DFD4C0 70%, #E6DCCB 100%);
  --grad-terracotta: linear-gradient(135deg, #9C4A2C, #B85C38);
  --max-width: 900px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--grad-bg) fixed;
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── NAV ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(237,224,204,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream3);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}
.nav-logo-808 {
  margin-left: 5px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--moss);
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink3);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--charcoal) !important;
  color: #FCF9F4 !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; }

/* ─── HERO ─── */
.hero {
  padding: 72px 0 56px;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.hero-text { flex: 1; }
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.hero-headline {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-headline .accent {
  background: var(--grad-terracotta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 16px;
  color: var(--ink2);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--terracotta);
  color: #FCF9F4;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 2px 12px var(--terracotta-border);
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 4px 18px rgba(184,92,56,0.25); }
.btn-secondary {
  background: transparent;
  color: var(--ink2);
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--cream3);
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: rgba(42,39,33,0.3); color: var(--ink); }

/* Photo placeholder */
.hero-photo { flex-shrink: 0; }
.photo-placeholder {
  width: 260px;
  height: 300px;
  background: rgba(255,255,255,0.5);
  border: 2px dashed var(--clay-border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.photo-placeholder.small {
  width: 180px;
  height: 200px;
}
.photo-placeholder-icon { font-size: 48px; opacity: 0.3; }
.photo-placeholder-label { font-size: 12px; color: var(--ink3); letter-spacing: 0.04em; }

/* ─── SECTION SHARED ─── */
section { padding: 64px 0; }
.section-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 36px;
  text-align: center;
}
.section-title.left { text-align: left; }

/* ─── SERVICES ─── */
.services { background: rgba(255,255,255,0.3); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.service-card {
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--cream3);
  border-radius: 16px;
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover { box-shadow: 0 4px 20px rgba(42,39,33,0.07); transform: translateY(-2px); }
.service-icon { font-size: 28px; margin-bottom: 12px; }
.service-name { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.service-desc { font-size: 14px; color: var(--ink3); line-height: 1.7; }

/* ─── WORK ─── */
.work-grid { display: flex; flex-direction: column; gap: 20px; }
.work-card {
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--cream3);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.work-card:hover { box-shadow: 0 4px 24px rgba(42,39,33,0.08); }
.work-card.featured { border-color: var(--terracotta-border); }
.work-card-header {
  padding: 12px 24px;
  border-bottom: 1px solid var(--cream3);
  background: rgba(255,255,255,0.4);
}
.work-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: var(--terracotta-bg);
  border: 1px solid var(--terracotta-border);
  border-radius: 6px;
  padding: 3px 10px;
}
.work-tag.muted { color: var(--ink3); background: var(--cream2); border-color: var(--cream3); }
.work-card-body { padding: 24px; }
.work-title { font-family: var(--font-serif); font-size: 26px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.work-subtitle { font-size: 13px; color: var(--ink3); margin-bottom: 14px; font-weight: 500; letter-spacing: 0.03em; }
.work-desc { font-size: 14px; color: var(--ink2); line-height: 1.75; margin-bottom: 16px; }
.work-stack { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.stack-pill {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--cream2);
  border: 1px solid var(--cream3);
  color: var(--ink2);
}
.work-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--terracotta);
  text-decoration: none;
  transition: color 0.2s;
}
.work-link:hover { color: var(--ink); }
.work-link-disabled { font-size: 14px; font-weight: 600; color: var(--ink3); }

/* ─── STACK ─── */
.stack-section { background: rgba(255,255,255,0.25); }
.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stack-group {
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--cream3);
  border-radius: 14px;
  padding: 20px;
}
.stack-group-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}
.stack-items { display: flex; flex-direction: column; gap: 7px; }
.stack-item { font-size: 14px; color: var(--ink2); font-weight: 400; }

/* ─── ABOUT ─── */
.about-inner {
  display: flex;
  align-items: flex-start;
  gap: 56px;
}
.about-text { flex: 1; }
.about-body {
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-links { margin-top: 24px; display: flex; gap: 16px; }
.about-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--terracotta);
  text-decoration: none;
  transition: color 0.2s;
}
.about-link:hover { color: var(--ink); }
.about-photo { flex-shrink: 0; }

/* ─── CONTACT ─── */
.contact { background: var(--charcoal); }
.contact-inner { text-align: center; max-width: 600px; margin: 0 auto; }
.contact-title {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 600;
  color: #F5F0E7;
  margin-bottom: 14px;
}
.contact-sub {
  font-size: 15px;
  color: rgba(245,240,231,0.65);
  line-height: 1.7;
  margin-bottom: 36px;
}
.contact-options {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 18px 24px;
  text-decoration: none;
  transition: all 0.2s;
  text-align: left;
  min-width: 220px;
}
.contact-card:hover { background: rgba(255,255,255,0.1); border-color: rgba(184,92,56,0.25); transform: translateY(-2px); }
.contact-card-icon { font-size: 24px; }
.contact-card-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(245,240,231,0.5); margin-bottom: 3px; }
.contact-card-value { font-size: 14px; font-weight: 600; color: #F5F0E7; }

/* ─── FOOTER ─── */
.footer {
  background: var(--charcoal2);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
}
.footer-brand { color: rgba(245,240,231,0.6); font-weight: 500; }
.footer-location { color: rgba(245,240,231,0.4); }
.footer-sep { color: rgba(245,240,231,0.2); }
.footer-link { color: rgba(245,240,231,0.5); text-decoration: none; transition: color 0.2s; }
.footer-link:hover { color: var(--terracotta); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero { padding: 48px 0 40px; }
  .hero-inner { flex-direction: column; gap: 32px; }
  .hero-headline { font-size: 36px; }
  .hero-photo { width: 100%; display: flex; justify-content: center; }
  .photo-placeholder { width: 200px; height: 220px; }
  .services-grid { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { flex-direction: column-reverse; gap: 28px; }
  .about-photo { display: flex; justify-content: center; width: 100%; }
  section { padding: 48px 0; }
  .section-title { font-size: 28px; }
  .contact-title { font-size: 30px; }
  .contact-options { flex-direction: column; align-items: center; }
  .contact-card { width: 100%; max-width: 320px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 30px; }
  .stack-grid { grid-template-columns: 1fr 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
}
