/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: #fcfcfc;
  color: #0a0a0a;
  overflow-x: hidden;
  overscroll-behavior: none;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }

/* ── TOKENS ── */
:root {
  --orange:  #e78b28;
  --peach:   #f5e8e0;
  --black:   #0a0a0a;
  --gray:    rgba(0,0,0,0.4);
  --gray-lt: rgba(0,0,0,0.3);
  --border:  rgba(0,0,0,0.1);
  --input:   rgba(0,0,0,0.03);
  --shadow:  0 0.25rem 3.125rem rgba(0,0,0,0.05);
  --r-card:  1.5rem;
  --r-btn:   999px;
}

/* ══════════════════════════════════
   MENU OVERLAY
══════════════════════════════════ */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--orange);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding-top: 7.375rem; /* desktop header height */
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.menu-overlay.open { opacity: 1; pointer-events: all; }

/* overlay nav */
.mo-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  flex: 1;
  justify-content: center;
}
.mo-nav a {
  font-family: 'Capriola', sans-serif;
  font-size: 2rem;
  color: #fff;
  transition: opacity .15s ease;
}

.mo-nav a:hover { opacity: 0.7; }
.mo-nav__contact {
  border: 2px solid #fff;
  border-radius: var(--r-btn);
  padding: 0.5em 0.844em;
  font-family: 'Capriola', sans-serif;
  font-size: 2rem;
  color: #fff;
  background: none;
  transition: background .15s ease;
}
.mo-nav__contact:hover { background: rgba(255,255,255,0.15); }

/* overlay footer */
.mo-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 16px;
}
@media (max-width: 767px) {
  .mo-nav a { font-size: 1.5rem; }
  .mo-nav__contact { font-size: 1.5rem; }
}
/* ══════════════════════════════════
   LOGO
══════════════════════════════════ */
.logo { display: flex; align-items: center; gap: 1rem; }
.logo__icon { width: 2.875rem; height: 2.375rem; object-fit: contain; }
.logo__text {
  display: flex;
  flex-direction: column;
  font-family: 'Capriola', sans-serif;
  font-size: 1.222rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.logo--dark .logo__line1 { color: var(--black); }
.logo--dark .logo__line2 { color: var(--orange); }
.logo--white .logo__line1,
.logo--white .logo__line2 { color: #fff; }

@media (max-width: 767px) {
  .logo__text {font-size: 1rem;  line-height: 1.15;}
}

/* ══════════════════════════════════
   CONTACT DETAIL ROW
══════════════════════════════════ */
.c-detail { display: flex; align-items: flex-start; gap: 1rem; }
.c-detail__icon { width: 1.5rem; height: 1.5rem; object-fit: contain; flex-shrink: 0; margin-top: 0.875rem; }
.c-detail__label { font-weight: 500; font-size: 0.875rem; color: var(--gray-lt); margin-bottom: 0.125rem; }
.c-detail__value { font-family: 'Capriola', sans-serif; font-size: 1.125rem; color: var(--black); }
.c-detail__sub { font-weight: 500; font-size: 0.875rem; color: var(--gray-lt); line-height: 1.4; }

.menu-overlay .cf-details { width: 22.5em; }

.cf-details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 1.875rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
}

/* ══════════════════════════════════
   SOCIALS + COPYRIGHT
══════════════════════════════════ */
.socials { display: flex; gap: 3.3125rem; align-items: center; margin-top: 2em; }
.socials a { display: block; width: 2rem; height: 2rem; }
.socials img { width: 100%; height: 100%; object-fit: contain; }
.menu-overlay .socials img { filter: brightness(0) invert(1); }
@media (max-width: 767px) {
  .socials a { width: 1.5rem; height: 1.5rem; }
}

.copyright {
  font-family: 'Capriola', sans-serif;
  font-size: 1rem;
  text-align: center;
  letter-spacing: -0.03em;
  line-height: 1.5;
  margin-top: 1em;
}
.copyright--orange { color: var(--orange); }
.copyright--white  { color: #fff; }

/* ══════════════════════════════════
   SITE HEADER
══════════════════════════════════ */
.site-header {
  background: var(--peach);
  position: sticky;
  top: 0;
  z-index: 800;
  transition: background 0.25s ease;
}
header.site-header { z-index: 901; }
header.site-header.menu-open { background: var(--orange); }
header.site-header.menu-open .logo__line1,
header.site-header.menu-open .logo__line2 { color: #fff; }
header.site-header.menu-open .logo__icon  { filter: brightness(0) invert(1); }
header.site-header.menu-open .hamburger span { background: #fff; }

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.8125rem 5rem;
  height: 7.375rem;
}

/* hamburger */
.hamburger { position: relative; width: 3.125rem; height: 1.25rem; background: none; border: none; }
.hamburger span {
  position: absolute;
  left: 0;
  width: 3.125rem;
  height: 2px;
  background: var(--orange);
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

/* hamburger → X */
.menu-open .hamburger span:nth-child(1) { transform: translateY(0.5625rem) rotate(30deg); }
.menu-open .hamburger span:nth-child(2) { opacity: 0; transform: translateY(-50%); }
.menu-open .hamburger span:nth-child(3) { transform: translateY(-0.5625rem) rotate(-30deg); }

.site-header__title { display: none; }

/* ── MOBILE header overrides ── */
@media (max-width: 767px) {
  .site-header { position: relative; padding: 0 1rem; }
  header.site-header { position: sticky; }
  section.site-header { padding: 1.5rem 1rem 2rem; z-index: 700; }
  .mo-footer { padding-bottom: max(2.375rem, env(safe-area-inset-bottom)); }
  .site-header__bar { top: 0; z-index: 800; height: auto; padding: 0.75rem 0; }
  .site-header .logo__text { display: none; }
  header.site-header.menu-open .logo__text { display: flex; }
  .mo-footer .copyright { display: none; }
  .site-header__title {
    display: block;
    font-family: 'Capriola', sans-serif;
    font-size: 2rem;
    letter-spacing: -0.03em;
    line-height: 1.25;
    color: var(--black);
  }
  .menu-overlay { padding-top: 3.875rem; }
  .cf-details { width: 100%; }
}

/* ══════════════════════════════════
   BUTTONS
══════════════════════════════════ */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  border: 1px solid rgba(0,0,0,0.2);
  color: #fff;
  font-weight: 600;
  font-size: 1.125rem;
  padding: 0.57em 0.95em;
  border-radius: var(--r-btn);
  transition: filter .15s ease;
}
.btn-primary:hover { filter: brightness(1.12); }

.btn-secondary {
  background: var(--peach);
  border: 1px solid var(--border);
  color: var(--black);
  font-weight: 600;
  font-size: 1.125rem;
  padding: 0.57em 0.95em;
  border-radius: var(--r-btn);
  transition: filter .15s ease;
}
.btn-secondary:hover { filter: brightness(0.95); }

/* ══════════════════════════════════
   APPROACH CARD
══════════════════════════════════ */
.approach-section {
  max-width: 1366px;
  margin: 4.25rem auto;
  padding: 0 1.6875rem;
}
.approach-card {
  background: var(--peach);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 1.125rem 1.6875rem;
  overflow: visible;
}
.approach-card__img-wrap {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 214px;
}
.approach-card__img {
  position: relative;
  top: -38.6px;
  left: -42.8px;
  width: calc(100% + 42.8px);
  height: calc(100% + 76.6px);
  object-fit: contain;
  object-position: left center;
}
.approach-card__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1 1 0;
  min-width: 0;
}
.approach-card__title {
  font-family: 'Capriola', sans-serif;
  font-size: 1.75rem;
  line-height: 2rem;
  color: var(--black);
}
.approach-card__desc {
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.4;
  color: var(--gray);
  margin-block-start: 0.5em;
}
.approach-card__link {
  font-family: 'Capriola', sans-serif;
  font-size: 1.125rem;
  line-height: 2.25rem;
  color: var(--orange);
  text-decoration: underline;
  transition: filter .15s ease;
}
.approach-card__link:hover { filter: brightness(1.2); }

@media (max-width: 767px) {
  .approach-section { margin-top: 2rem; padding: 0 1rem; }
  .approach-card { flex-direction: column; gap: 4rem; padding: 1.125rem 1.6875rem 1.6875rem; margin-top: 4em;}
  .approach-card__img-wrap { width: 100%; height: 180px; }
  .approach-card__img { left: -20px; width: calc(100% + 20px); }
}

/* ══════════════════════════════════
   PAGE TITLE (secondary pages)
══════════════════════════════════ */
.page-title {
  font-family: 'Capriola', sans-serif;
  font-size: 3.054rem;
  letter-spacing: -0.03em;
  color: var(--black);
  max-width: 1312px;
  margin: 3.25rem auto 0;
  padding: 0 4rem;
}
@media (max-width: 767px) {
  .page-title { display: none; }
}

/* ══════════════════════════════════
   AP-HERO GRID (secondary pages)
══════════════════════════════════ */
.ap-hero {
  max-width: 1312px;
  margin: 3.25rem auto 0 auto;
  padding: 0 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  column-gap: 3.5625rem;
  row-gap: 2.25rem;
  align-items: start;
}
.ap-hero--single { grid-template-rows: auto; }
.ap-hero--single .ap-hero__photo { grid-row: 1; }

.ap-hero__quote {
  grid-column: 1; grid-row: 1;
  font-family: 'Capriola', sans-serif;
  font-size: 2.5rem; line-height: 3rem;
  color: #e78b288f;
}
@media (max-width: 767px) {
  .ap-hero__quote { font-size: 2rem; line-height: 2.5rem; }
}
.ap-hero__quote .t-orange { color: var(--orange); }
.ap-hero__who {
  grid-column: 1; grid-row: 2;
  display: flex; flex-direction: column; gap: 0.5625rem;
}
.ap-hero__who-title {
  font-family: 'Capriola', sans-serif;
  font-size: 1.75rem; line-height: 2.25rem; color: var(--orange);
}
.ap-hero__who-text {
  font-weight: 500; font-size: 1.125rem;
  line-height: 1.4375rem; color: var(--gray);
}
.ap-hero__photo {
  grid-column: 2; grid-row: 1 / span 2;
  border-radius: var(--r-card); overflow: hidden;
}
.ap-hero__photo img {
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 631 / 353;
  transition: transform 0.35s ease;
}
.ap-hero__photo img:hover { transform: scale(1.07); }

@media (max-width: 767px) {
  .ap-hero { grid-template-columns: 1fr; margin: 2rem 0; padding: 0 1rem; row-gap: 1.5rem; }
  .ap-hero__photo { grid-column: 1; grid-row: 2; }
  .ap-hero__photo img { aspect-ratio: auto; height: 22rem; }
  .ap-hero__who { grid-row: 3; }
  .ap-hero--single .ap-hero__photo { grid-row: 2; }
}

/* ══════════════════════════════════
   STACKED PHOTOS
══════════════════════════════════ */
.ap-stacked { position: relative; width: 100%; height: 100%; }
.ap-stacked__card {
  position: absolute;
  border-radius: 29px;
  overflow: hidden;
  transition: transform 0.35s ease, z-index 0s;
  cursor: grab;
}
.ap-stacked__card.is-dragging { cursor: grabbing; transition: none; }
.ap-stacked__card--back  { z-index: 1; }
.ap-stacked__card--mid   { z-index: 2; }
.ap-stacked__card--front { z-index: 3; }
.ap-stacked__card--back:hover  { transform: rotate(14deg)   scale(1.07); z-index: 10; }
.ap-stacked__card--mid:hover   { transform: rotate(7.68deg) scale(1.07); z-index: 10; }
.ap-stacked__card--front:hover { transform: scale(1.07); z-index: 10; }
.ap-stacked__card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; max-width: none;
}
.ap-stacked__card--back  { width: 205px; height: 275px; left: 168px; top: -103px; transform: rotate(14deg); }
.ap-stacked__card--mid   { width: 205px; height: 275px; left: 121px; top: -101px; transform: rotate(7.68deg); }
.ap-stacked__card--front { width: 201px; height: 278px; left: 58px;  top: -101px; }

@media (max-width: 767px) {
  .ap-stacked__card--back  { width: 205px; height: 275px; left: calc(50% - 47px);  top: -62px; transform: rotate(14deg); }
  .ap-stacked__card--mid   { width: 205px; height: 275px; left: calc(50% - 94px);  top: -61px; transform: rotate(7.68deg); }
  .ap-stacked__card--front { width: 201px; height: 278px; left: calc(50% - 158px); top: -61px; transform: none; }
}

/* ══════════════════════════════════
   AP-FOOTER (secondary pages)
══════════════════════════════════ */
.ap-footer {
  background: var(--peach);
  padding: 2.375rem 6.375rem max(3.75rem, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center;
  gap: 1.5rem; margin-top: 4.25rem;
}

@media (max-width: 767px) {
  .ap-footer { padding: 2rem 1rem max(3.75rem, env(safe-area-inset-bottom)); margin-top: 2rem; }
}
