/* ─────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────── */
:root {
  --sand:        #F5F1EA;
  --navy:        #1F2A44;
  --sage:        #A8B5A2;
  --light-sand:  #E6DFD5;
  --charcoal:    #2F2F2F;
  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--sand);
  overflow-x: hidden;
}

/* ─────────────────────────────────────────
   THE ONE CONTAINER
   Every section's content sits inside this.
   Colour bands live on <section>/<nav>/<footer>
   and stretch full-width naturally.
───────────────────────────────────────── */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 56px;
  padding-right: 56px;
}

/* ─────────────────────────────────────────
   SHARED COMPONENTS
───────────────────────────────────────── */
.img-ph {
  background: var(--light-sand);
  border: 2px dashed rgba(31,42,68,0.2);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(31,42,68,0.38);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
}
.img-ph svg { opacity: 0.28; }

.circle-ph {
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.5rem;
  color: rgba(31,42,68,0.32);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.sq-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  color: rgba(31,42,68,0.3);
  text-transform: uppercase;
  flex-shrink: 0;
}

.btn-dark, .btn-sage {
  display: inline-block;
  width: fit-content;
  text-decoration: none;
  padding: 14px 34px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  margin-top: 18px;
  transition: all .2s ease;
  font-family: var(--font-body);
  font-weight: 500;
}
.btn-dark { background: var(--navy); color: var(--sand); }
.btn-dark:hover { transform: translateY(-1px); }
.btn-sage { background: var(--sage); color: var(--navy); }
.btn-sage:hover { transform: translateY(-1px); }

/* ─────────────────────────────────────────
   NAV  — full-width band, content in .wrap
───────────────────────────────────────── */
nav {
  background: var(--sand);
  border-bottom: 1px solid rgba(31,42,68,0.09);
  position: sticky;
  top: 0;
  z-index: 100;
}
nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.nav-brand strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 400;
  font-family: var(--font-head);
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--navy);
  line-height: 1.2;
}
.nav-brand span {
  display: block;
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.5;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 0.88rem;       /* slightly larger, more legible */
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--navy);
  text-decoration: none;
  opacity: 0.75;
  padding-bottom: 3px;
  transition: opacity 0.2s;
}
.nav-links li.active a {
  opacity: 1;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 2px solid var(--navy);
}
.nav-links a:hover { opacity: 1; }
.nav-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
}

/* ─────────────────────────────────────────
   HERO — full-width image behind text,
   fades from transparent (left) to solid (right)
───────────────────────────────────────── */
.hero {
  background: var(--sand);
  position: relative;
  overflow: hidden;
  min-height: 420px;
}
/* The image placeholder spans the FULL section width */
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  /* Fade: transparent on left ~40%, fully visible on right */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 25%, black 55%, black 100%);
  mask-image: linear-gradient(to right, transparent 0%, transparent 25%, black 55%, black 100%);
  z-index: 0;
}
/* Text sits above the image */
.hero .wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 420px;
}
.hero-text {
  padding-top: 72px;
  padding-bottom: 72px;
  padding-right: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Text occupies left half */
  width: 50%;
}

.hero-text h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 400;                          /* Playfair regular — elegant, not heavy */
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.hero-rule {
  width: 44px; height: 2px;
  background: var(--sage);
  margin-bottom: 20px;
}
.hero-text p {
  font-size: 0.92rem;
  opacity: 0.82;
  margin-bottom: 9px;
  max-width: 400px;
}
.hero-text p:last-of-type { margin-bottom: 32px; }

/* ─────────────────────────────────────────
   INTRO PANEL
───────────────────────────────────────── */
.intro { background: var(--light-sand); padding: 56px 0; }
.intro .wrap {
  display: grid;
  grid-template-columns: 136px 1fr;
  gap: 44px;
  align-items: center;
}
.intro h2 {
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 2.2vw, 1.72rem);
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 12px;
}
.intro p { font-size: 0.9rem; opacity: 0.82; margin-bottom: 6px; max-width: 680px; }

/* ─────────────────────────────────────────
   THREE COLUMNS
───────────────────────────────────────── */
.three-col { background: var(--sand); padding: 72px 0; }
.three-col .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px;
}
.col h3 {
  font-family: var(--font-head);
  font-size: 1.28rem;
  color: var(--navy);
  font-weight: 400;
}
.col-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.col p { font-size: 0.88rem; opacity: 0.8; margin-bottom: 8px; }
.col ul { list-style: none; margin: 8px 0; }
.col ul li {
  font-size: 0.85rem;
  opacity: 0.78;
  padding: 2px 0 2px 15px;
  position: relative;
  line-height: 1.55;
}
.col ul li::before {
  content: '◆';
  position: absolute; left: 0; top: 8px;
  font-size: 0.4rem;
  color: var(--sage);
}
.col-rule { border: none; border-top: 1px solid rgba(168,181,162,0.55); margin: 16px 0; }

/* ─────────────────────────────────────────
   TAGLINE BAND — full-width sage
───────────────────────────────────────── */
.tagline { background: var(--sage); padding: 32px 0; }
.tagline .wrap {
  display: flex;
  align-items: center;
  gap: 26px;
}
.tagline-vr { width: 1px; height: 36px; background: rgba(31,42,68,0.2); }
.tagline p {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--navy);
  font-style: italic;
  font-weight: 400;
}

/* ─────────────────────────────────────────
   SERVICES
───────────────────────────────────────── */
.services { background: var(--light-sand); padding: 72px 0 56px; }
.services .wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.svc-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 52px;
  align-items: start;
}
.svc-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.svc-left .label {
  font-size: 0.67rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: 10px;
}
.svc-left h2 {
  font-family: var(--font-head);
  font-size: 1.65rem;
  color: var(--navy);
  line-height: 1.22;
  font-weight: 400;
  margin-bottom: 16px;
}
.svc-left p { font-size: 0.88rem; opacity: 0.8; margin-bottom: 8px; }
.svc-left .btn-sage { margin-top: 12px; }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.svc-col {
  background: var(--sand);
  border: 1.5px solid rgba(31,42,68,0.13);
  border-radius: 12px;
  padding: 24px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.svc-col h4 { text-align: center; }
.svc-col ul { text-align: left; width: 100%; }
.svc-col h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}
.svc-col ul { list-style: none; }
.svc-col ul li {
  font-size: 0.81rem;
  opacity: 0.78;
  padding: 2px 0 2px 13px;
  position: relative;
  line-height: 1.5;
}
.svc-col ul li::before {
  content: '◆';
  position: absolute; left: 0; top: 7px;
  font-size: 0.37rem;
  color: var(--sage);
}
/* Footnote sits under the four columns only, aligned to the right column of the layout */
.svc-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.svc-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(245,241,234,0.55);
  border-radius: 8px;
}
.svc-foot-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.45rem;
  color: rgba(31,42,68,0.3);
  text-transform: uppercase;
  flex-shrink: 0;
}
.svc-foot p { font-size: 0.83rem; font-style: italic; color: var(--navy); opacity: 0.7; }

/* ─────────────────────────────────────────
   ABOUT + CONNECT
   Three columns inside .wrap:
     photo | about text | connect panel
───────────────────────────────────────── */
.bottom { background: var(--sand); }
.bottom .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  min-height: 340px;
  align-items: stretch;
}
.bottom-photo {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.about-panel {
  padding: 48px 44px;
  border-right: 1px solid rgba(31,42,68,0.08);
}
/* Name and degree on same line like the mockup */
.about-panel .name-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.about-panel h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 0;
}
.about-panel .degree {
  display: inline;
  font-size: 0.72rem;
  color: var(--navy);
  opacity: 0.55;
  letter-spacing: 0.04em;
  font-weight: 400;
  white-space: nowrap;
}
.about-panel p { font-size: 0.88rem; opacity: 0.8; margin-bottom: 11px; }
.connect-panel {
  padding: 48px 44px;
  background: var(--light-sand);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.connect-panel h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 14px;
  align-self: flex-start;
}
.connect-panel p { font-size: 0.88rem; opacity: 0.8; margin-bottom: 9px; max-width: 300px; align-self: flex-start; }
.connect-panel .btn-sage { margin-top: 8px; margin-bottom: 14px; }
.connect-panel .together { font-size: 0.84rem; opacity: 0.55; font-style: italic; text-align: center; }
.connect-panel .social-links { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 16px; margin-top: 20px; }

/* ─────────────────────────────────────────
   FOOTER — full-width navy, content in .wrap
───────────────────────────────────────── */
footer { background: var(--navy); padding: 18px 0; }
footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.foot-left { display: flex; align-items: center; gap: 12px; }
.foot-brand-wrap { display: flex; flex-direction: column; gap: 1px; }
.foot-brand {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  font-family: var(--font-head);
  text-transform: none;
  color: var(--sand);
  font-weight: 400;
  line-height: 1.2;
}
.foot-sub {
  font-size: 0.65rem;
  letter-spacing: 0.07em;
  color: rgba(245,241,234,0.45);
  line-height: 1.2;
}
.foot-vr { width: 1px; height: 24px; background: rgba(245,241,234,0.18); margin: 0 14px; }
.foot-tag { font-size: 0.77rem; color: rgba(245,241,234,0.45); font-style: italic; }
.nav-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.nav-email {
  font-size: 0.72rem;
  color: var(--navy);
  opacity: 0.6;
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-email:hover { opacity: 1; }
.foot-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}
.foot-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.79rem;
  color: rgba(245,241,234,0.72);
  text-decoration: none;
}
.foot-email {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.79rem;
  color: rgba(245,241,234,0.72);
  text-decoration: none;
  transition: color 0.2s;
}
.foot-email:hover { color: rgba(245,241,234,0.9); }

/* ─────────────────────────────────────────
   FADE ANIMATION
───────────────────────────────────────── */
.fade { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
/* ── Hamburger button ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav drawer ── */
.nav-drawer {
  display: none;
  position: fixed;
  top: 70px;
  left: 0; right: 0;
  background: var(--sand);
  border-top: 1px solid rgba(31,42,68,0.09);
  border-bottom: 1px solid rgba(31,42,68,0.09);
  padding: 28px 28px 32px;
  z-index: 99;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 8px 24px rgba(31,42,68,0.08);
}
.nav-drawer.open { display: flex; }
.nav-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
}
.nav-drawer ul li a {
  display: block;
  padding: 13px 0;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(31,42,68,0.07);
  transition: opacity 0.2s;
}
.nav-drawer ul li:last-child a { border-bottom: none; }
.nav-drawer ul li a:hover { opacity: 0.6; }
.nav-drawer .drawer-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  padding-top: 4px;
}

/* Mobile-only icon links in footer */
.foot-contact-icons {
  display: none;
  align-items: center;
  gap: 14px;
}
.foot-contact-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245,241,234,0.7);
  font-size: 1.2rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.foot-contact-icons a:hover { opacity: 1; color: var(--sand); }

/* Mobile-only icon links in nav */
.nav-contact-icons {
  display: none;
  align-items: center;
  gap: 14px;
}
.nav-contact-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  opacity: 0.75;
  transition: opacity 0.2s;
  text-decoration: none;
}
.nav-contact-icons a:hover { opacity: 1; }

@media (max-width: 1000px) {
  .wrap { padding-left: 28px; padding-right: 28px; }

  /* Hide desktop nav items, show hamburger */
  .nav-links, .nav-phone { display: none; }
  .hamburger { display: flex; }

  /* Hide full contact block, show icon-only version */
  .nav-contact { display: none; }
  .nav-contact-icons { display: flex; }
  .foot-phone-text { display: none; }
  .foot-email-text { display: none; }

  .hero-text { width: 100%; padding-right: 0; }
  .hero-img {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 40%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 40%);
  }
  .intro .wrap { grid-template-columns: 1fr; }
  .three-col .wrap { grid-template-columns: 1fr; gap: 36px; }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .bottom .wrap { grid-template-columns: 1fr; }
  .bottom-photo { border-right: none; border-bottom: 2px dashed rgba(31,42,68,0.15); min-height: 200px; }
  .about-panel { border-right: none; }
}
/* ─────────────────────────────────────────
   ICON & IMAGE UTILITY CLASSES
───────────────────────────────────────── */

/* Generic icon image — fills its container */
.icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Nav logo circle */
.logo-circle {
  width: 50px;
  height: 50px;
}

/* Intro section leaf icon */
.intro-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Three-column section icons */
.col-icon {
  width: 64px;
  height: 64px;
}

/* Tagline band shell icon */
.tagline-icon {
  width: 56px;
  height: 56px;
}

/* Service card icon wrappers */
.svc-icon-wrap {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
}

/* Footer logo circle */
.footer-logo-circle {
  width: 34px;
  height: 34px;
}

/* Footer logo image — white filter for dark background */
.footer-logo-img {
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

/* Office photo */
.bottom-photo {
  object-fit: cover;
  object-position: center;
}

/* ── Social links in connect panel ── */
.social-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  transition: all .2s ease;
}
.social-links a:hover {
  transform: translateY(-1px);
  opacity: 0.85;
}
.social-icon {
  width: 46px;
  height: 46px;
  max-width: 46px;
  max-height: 46px;
  display: block;
  overflow: hidden;
}