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

:root {
  --bordo-deep:    #4A1220;
  --bordo:         #6B1E2E;
  --bordo-mid:     #8C2D40;
  --terra:         #C4866A;
  --terra-light:   #D49A82;
  --terra-pale:    #EDD5C8;
  --dust:          #C4A882;
  --cream:         #F5F0E8;
  --cream-dark:    #EDE5D4;
  --cream-darker:  #E2D8C6;
  --ink:           #1C1410;
  --ink-soft:      #3D2B20;
  --warm-gray:     #8A7E76;
  --warm-gray-lt:  #C4BAB2;
  --white:         #FDFAF6;
  --divider:       #E8E0D0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  font-family: 'Epilogue', sans-serif;
  color: var(--ink);
}

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

/* NAV */
.nav {
  position: fixed;
  top: 24px;
  right: 32px;
  z-index: 100;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(74,18,32,0.08);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--bordo);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--white);
  border-radius: 999px;
  border: 1px solid var(--divider);
  padding: 6px;
  box-shadow: 0 8px 24px rgba(74,18,32,0.08);
}

.nav-pill-link {
  font-family: 'Epilogue', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 999px;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

.nav-pill-link:hover { background: var(--cream); color: var(--bordo); }

.nav-pill-link.active { background: var(--bordo-deep); color: var(--cream); }
.nav-pill-link.active:hover { background: var(--bordo-deep); color: var(--cream); }

/* SECTION SCAFFOLDING */
.section { padding: 88px 0; border-bottom: 1px solid var(--divider); }

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

.sec-tag {
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--dust);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.sec-title {
  font-family: 'Fraunces', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--bordo);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 10px;
}

.sec-title em { font-style: italic; color: var(--terra); }

.sec-desc {
  font-size: 17px;
  color: var(--warm-gray);
  font-weight: 300;
  line-height: 1.75;
  max-width: 560px;
}

.sec-header { margin-bottom: 52px; }

/* HERO */
.hero {
  background: var(--cream);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--divider);
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(196,134,106,0.06);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: 8%;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(107,30,46,0.04);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 52px 96px;
  display: grid;
  grid-template-columns: 280px 1fr;
  column-gap: 64px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
  align-self: start;
  display: inline-block;
  background: var(--terra-pale);
  color: var(--bordo);
  font-family: 'Epilogue', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-photo-wrap {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  position: relative;
  width: 100%;
}

.hero-photo-circle {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 1px var(--divider), 0 20px 48px rgba(74,18,32,0.12);
}

.hero-photo-ring {
  position: absolute;
  top: -6px;
  left: -6px;
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  transform: rotate(-90deg);
  pointer-events: none;
}

.hero-photo-ring circle {
  fill: none;
  stroke: var(--bordo);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 295.3;
  stroke-dashoffset: 295.3;
  transition: stroke-dashoffset 2s ease;
}

.hero-photo-wrap:hover .hero-photo-ring circle { stroke-dashoffset: 0; }

.hero-copy { grid-column: 2; grid-row: 2; }

.hero-name {
  font-family: 'Fraunces', serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--bordo);
  margin-bottom: 28px;
}

.hero-tagline {
  font-size: 23px;
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 480px;
}

.hero-tagline strong { color: var(--bordo); font-weight: 600; }

.hero-ctas {
  grid-column: 2;
  grid-row: 3;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.btn-primary {
  background: var(--bordo);
  color: var(--cream);
  font-family: 'Epilogue', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 15px 32px;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover { background: var(--bordo-mid); }

.btn-ghost {
  font-family: 'Epilogue', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--bordo);
  background: transparent;
  border: 1px solid rgba(107,30,46,0.25);
  padding: 15px 32px;
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-ghost:hover { color: var(--bordo-deep); border-color: rgba(107,30,46,0.5); }

.btn-ghost.on-dark { color: var(--cream); border-color: rgba(245,240,232,0.3); }
.btn-ghost.on-dark:hover { color: var(--white); border-color: rgba(245,240,232,0.6); }

/* SERVICES CARDS */
.services-section { background: var(--white); }

.cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.c-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--divider);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.c-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(74,18,32,0.14);
  border-color: var(--bordo);
}

.c-top {
  min-height: 84px;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.c-top::after {
  content: '';
  position: absolute;
  bottom: -20px; right: -20px;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.c-top.primary { background: var(--bordo); }

.c-headline {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: var(--cream);
}

.c-body { padding: 24px 28px 28px; }

.c-body p { font-size: 16px; line-height: 1.75; color: var(--warm-gray); font-weight: 300; margin-bottom: 16px; }

.c-list { list-style: none; }

.c-list li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 300;
  padding-left: 16px;
  position: relative;
  margin-bottom: 9px;
}

.c-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--terra);
}

/* PORTFOLIO */
.portfolio-section { background: var(--cream); }

.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.pf-card {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: 16px;
  padding: 30px 30px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pf-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(74,18,32,0.14);
  border-color: var(--bordo);
}

.pf-client {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dust);
  font-weight: 600;
  margin-bottom: 10px;
}

.pf-title {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--bordo);
  letter-spacing: -0.3px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.pf-summary { font-size: 16.5px; line-height: 1.7; color: var(--warm-gray); font-weight: 300; margin-bottom: 16px; }

.pf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }

.pf-tag {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--terra);
  background: var(--terra-pale);
  padding: 4px 9px;
  border-radius: 999px;
}

.pf-open-btn {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bordo);
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: 'Epilogue', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pf-open-btn::after { content: '+'; font-size: 17px; }

.pf-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,20,16,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 200;
}

.pf-overlay.open { opacity: 1; pointer-events: auto; }

.pf-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(480px, 90vw);
  height: 100vh;
  background: var(--white);
  border-radius: 16px 0 0 16px;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 201;
  padding: 48px 40px;
  overflow-y: auto;
}

.pf-drawer.open { transform: translateX(0); }

.pf-drawer-close {
  background: var(--cream);
  border: 1px solid var(--divider);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 18px;
  line-height: 1;
  color: var(--bordo);
  cursor: pointer;
  margin-bottom: 28px;
}

.pf-detail { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--divider); }

.pf-detail h5 {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dust);
  font-weight: 600;
  margin-bottom: 8px;
  margin-top: 16px;
}

.pf-detail h5:first-child { margin-top: 0; }

.pf-detail p, .pf-detail ul { font-size: 16px; line-height: 1.7; color: var(--ink-soft); font-weight: 300; }

.pf-detail ul { list-style: none; }

.pf-detail ul li { padding-left: 14px; position: relative; margin-bottom: 6px; }

.pf-detail ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--terra);
}

/* TESTIMONIAL */
.testimonial-section { background: var(--bordo-deep); border-bottom: none; padding: 40px 0; }

.v-mark {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  font-weight: 700;
  color: rgba(245,240,232,0.12);
  line-height: 1;
  margin-bottom: -8px;
}

.v-quote {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.6;
  letter-spacing: -0.2px;
  max-width: none;
  margin-bottom: 12px;
}

.v-quote strong { font-style: italic; font-weight: 700; }

.v-context { font-size: 12px; color: rgba(245,240,232,0.55); letter-spacing: 0.5px; }

/* ABOUT */
.about-section { background: var(--white); }

.about-columns {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-areas:
    "main meta"
    "ctas meta";
  gap: 0 64px;
  align-items: stretch;
}

.about-main { grid-area: main; }
.about-ctas { grid-area: ctas; }
.about-meta { grid-area: meta; }

.about-heading {
  font-family: 'Fraunces', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--bordo);
  letter-spacing: -1px;
  margin-bottom: 28px;
}

.about-heading em { font-style: italic; color: var(--terra); }

.about-bio p { font-size: 18px; line-height: 1.8; color: var(--ink-soft); font-weight: 300; margin-bottom: 16px; }

.about-bio p:last-child { margin-bottom: 16px; }

.about-bio p strong { color: var(--bordo); font-weight: 600; }

.about-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

.about-meta { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding-top: 78px; }

.meta-col h5 {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dust);
  font-weight: 600;
  margin-bottom: 16px;
}

.meta-col p { font-size: 16.5px; line-height: 1.7; color: var(--warm-gray); font-weight: 300; margin-bottom: 10px; }

.chip-list { display: flex; flex-wrap: wrap; gap: 7px; }

.chip {
  font-size: 14.5px;
  color: var(--ink-soft);
  background: var(--cream);
  border: 1px solid var(--divider);
  padding: 5px 11px;
  border-radius: 20px;
}

/* CONTACT */
.contact-section { background: var(--bordo-deep); border-bottom: none; text-align: center; }

.contact-title {
  font-family: 'Fraunces', serif;
  font-size: 46px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -1px;
  line-height: 1.1;
  max-width: 640px;
  margin: 0 auto 18px;
}

.contact-title em { font-style: italic; color: var(--terra-light); }

.contact-desc { font-size: 18px; color: rgba(245,240,232,0.6); font-weight: 300; white-space: nowrap; margin: 0 auto 40px; line-height: 1.7; }

.contact-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
.footer { background: var(--bordo-deep); padding: 40px 52px 48px; text-align: center; border-top: 1px solid rgba(245,240,232,0.08); }

.footer-mark { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 700; color: var(--cream); letter-spacing: -0.5px; margin-bottom: 10px; }

.footer-note { font-size: 14px; color: rgba(245,240,232,0.3); letter-spacing: 1px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav { top: 16px; right: 16px; }
  .nav-toggle { display: flex; }
  .nav-pill {
    position: absolute;
    top: 56px;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    width: 200px;
    padding: 10px;
    border-radius: 16px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-pill.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-pill-link { text-align: left; padding: 12px 16px; border-radius: 10px; }
  .section { padding: 64px 0; }
  .inner { padding: 0 24px; }
  .hero-inner { grid-template-columns: 1fr; padding: 56px 24px 48px; row-gap: 20px; text-align: center; }
  .hero-badge, .hero-photo-wrap, .hero-copy, .hero-ctas { grid-column: 1; grid-row: auto; }
  .hero-badge { justify-self: center; align-self: auto; }
  .hero-photo-wrap { width: 160px; margin: 0 auto; align-self: auto; }
  .hero-name { font-size: 40px; }
  .hero-tagline { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; margin-top: 12px; }
  .sec-title { font-size: 34px; }
  .cards-grid, .pf-grid { grid-template-columns: 1fr; }
  .about-columns {
    grid-template-columns: 1fr;
    grid-template-areas: "main" "meta" "ctas";
    gap: 40px;
  }
  .about-meta { padding-top: 0; }
  .about-ctas { margin-top: 0; }
  .about-heading { font-size: 32px; }
  .contact-title { font-size: 34px; }
  .contact-desc { white-space: normal; }
}
