/* ============================================================
   Behind the Business — Stylesheet
   Mobile-first, clean, minimal, elevated
   ============================================================ */

/* ----- Variables ----- */
:root {
  --black:       #0A0A0A;
  --white:       #FFFFFF;
  --off-white:   #F7F5F2;
  --light-grey:  #EDEBE8;
  --border:      #E2DDD9;
  --mid-grey:    #9B9896;
  --text:        #1A1918;
  --text-muted:  #6D6B69;

  --serif: 'Cormorant Garant', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1120px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ----- Typography ----- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  color: var(--text);
}
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.4rem); }

p { font-size: 1rem; line-height: 1.78; color: var(--text-muted); }
p + p { margin-top: 1.2em; }

/* ----- Layout Helpers ----- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.container--narrow {
  max-width: 720px;
}

.container--mid {
  max-width: 880px;
}

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.2s var(--ease);
}

.btn--dark {
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
}
.btn--dark:hover {
  background: transparent;
  color: var(--black);
}

.btn--outline {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
}
.btn--outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--white);
}
.btn--white:hover {
  background: transparent;
  color: var(--white);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nav.is-scrolled {
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-inline: 24px;
  max-width: var(--container);
  margin-inline: auto;
}

.nav__logo img {
  height: 48px;
  width: auto;
  transition: opacity 0.2s;
}

@media (min-width: 900px) {
  .nav__logo img { height: 80px; }
  :root { --nav-h: 110px; }
}

.nav__logo .logo--white { display: block; }
.nav__logo .logo--black { display: none; }

.nav.is-scrolled .logo--white { display: none; }
.nav.is-scrolled .logo--black { display: block; }

/* Inner pages (no dark hero) start scrolled */
.nav.nav--light .logo--white { display: none; }
.nav.nav--light .logo--black { display: block; }
.nav.nav--light {
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
}

.nav__links {
  display: none;
  gap: 36px;
  align-items: center;
}

.nav__links a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  transition: opacity 0.2s;
}
.nav__links a:hover { opacity: 0.6; }

.nav.is-scrolled .nav__links a,
.nav.nav--light .nav__links a {
  color: var(--text);
}

.nav__links a.is-active {
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.nav__cta {
  display: none;
}

/* Hamburger */
.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.25s var(--ease);
}

.nav.is-scrolled .nav__burger span,
.nav.nav--light .nav__burger span {
  background: var(--black);
}

.nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu overlay */
.nav__mobile {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.nav__mobile.is-open {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile a {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}
.nav__mobile a:hover { opacity: 0.5; }

.nav__mobile-social {
  display: flex;
  gap: 24px;
  margin-top: 16px;
}
.nav__mobile-social a {
  font-size: 0.875rem;
  font-family: var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ----- Responsive nav ----- */
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-block; }
  .nav__burger { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--nav-h) + 20px);
  padding-bottom: clamp(60px, 8vw, 100px);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 8s ease;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.35) 50%,
    rgba(0,0,0,0.2) 100%
  );
}

.hero.loaded .hero__bg { transform: scale(1); }

.hero__content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding-inline: 24px;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}

.hero__title {
  color: var(--white);
  max-width: 14ch;
  margin-bottom: 28px;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(255,255,255,0.8);
  max-width: 40ch;
  line-height: 1.65;
  margin-bottom: 40px;
}

.hero__scroll {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.hero__scroll-line {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}

/* ============================================================
   PAGE HERO (inner pages — no image)
   ============================================================ */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(50px, 8vw, 90px));
  padding-bottom: clamp(50px, 7vw, 80px);
  background: var(--off-white);
}

.page-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 20px;
}

.page-hero__title {
  max-width: 16ch;
}

.page-hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-muted);
  max-width: 44ch;
  margin-top: 20px;
}

/* ============================================================
   SECTIONS — General
   ============================================================ */
.section {
  padding-block: clamp(60px, 8vw, 100px);
}

.section--grey { background: var(--off-white); }
.section--black { background: var(--black); }

.section__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 20px;
  display: block;
}

.section__heading {
  margin-bottom: 24px;
}

.section__body {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  max-width: 52ch;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================================
   INTRO SECTION
   ============================================================ */
.intro {
  padding-block: clamp(70px, 10vw, 120px);
  text-align: center;
}

.intro__text {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--text);
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.intro__text em {
  font-style: italic;
  color: var(--text-muted);
}

.intro__sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 44ch;
  margin-inline: auto;
  line-height: 1.8;
}

/* ============================================================
   SERVICES OVERVIEW (Home)
   ============================================================ */
.services {
  background: var(--off-white);
}

.services__grid {
  display: grid;
  gap: 2px;
  margin-top: clamp(40px, 5vw, 60px);
}

@media (min-width: 640px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: var(--white);
  padding: clamp(32px, 4vw, 48px);
  transition: background 0.25s var(--ease);
}

.service-card:hover { background: var(--black); }
.service-card:hover .service-card__title,
.service-card:hover .service-card__text,
.service-card:hover .service-card__link { color: var(--white); }
.service-card:hover .service-card__number { color: rgba(255,255,255,0.2); }

.service-card__number {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--light-grey);
  line-height: 1;
  margin-bottom: 24px;
  transition: color 0.25s var(--ease);
}

.service-card__title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 500;
  margin-bottom: 16px;
  transition: color 0.25s var(--ease);
}

.service-card__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  transition: color 0.25s var(--ease);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.25s var(--ease);
}

.service-card__link svg {
  transition: transform 0.2s var(--ease);
}
.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* ============================================================
   HOW I WORK
   ============================================================ */
.how-i-work {
  padding-block: clamp(70px, 10vw, 120px);
}

.how-i-work__inner {
  display: grid;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

@media (min-width: 840px) {
  .how-i-work__inner { grid-template-columns: 1fr 1fr; }
}

.how-i-work__img {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.how-i-work__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.how-i-work__img:hover img { transform: scale(1.03); }

.how-i-work__text { }

.how-i-work__quote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-style: italic;
  font-weight: 400;
  color: var(--text);
  line-height: 1.45;
  margin-top: 28px;
  padding-left: 24px;
  border-left: 2px solid var(--border);
}

/* ============================================================
   SERVICES DETAIL (What I Do page)
   ============================================================ */
.services-detail__grid {
  display: grid;
  gap: clamp(48px, 6vw, 72px);
  margin-top: clamp(48px, 6vw, 72px);
}

@media (min-width: 840px) {
  .services-detail__grid { grid-template-columns: 1fr 1fr; }
}

.service-block { }

.service-block__icon {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin-bottom: 28px;
}

.service-block__title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 500;
  margin-bottom: 24px;
}

.service-block__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-block__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-block__list li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 8px;
  width: 16px;
  height: 1px;
  background: var(--mid-grey);
}

/* Full-width 3rd service block */
.service-block--full {
  grid-column: 1 / -1;
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--border);
}

@media (min-width: 840px) {
  .service-block--full .service-block__list {
    columns: 2;
    gap: 0;
    display: block;
  }
  .service-block--full .service-block__list li {
    margin-bottom: 12px;
    break-inside: avoid;
  }
}

/* ============================================================
   FEELS FOR CLIENTS SECTION
   ============================================================ */
.client-feels {
  background: var(--black);
  padding-block: clamp(70px, 10vw, 120px);
  text-align: center;
}

.client-feels__heading {
  color: var(--white);
  margin-bottom: 20px;
}

.client-feels__text {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(255,255,255,0.6);
  max-width: 40ch;
  margin-inline: auto;
  line-height: 1.8;
}

.client-feels__hearts {
  font-size: 1.5rem;
  margin-bottom: 32px;
  letter-spacing: 6px;
}

/* ============================================================
   ABOUT / BEHIND THE BUSINESS PAGE
   ============================================================ */
.about__body {
  display: grid;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  padding-block: clamp(60px, 8vw, 100px);
}

@media (min-width: 840px) {
  .about__body { grid-template-columns: 5fr 4fr; }
}

.about__text { }
.about__text p { font-size: clamp(1rem, 1.3vw, 1.125rem); }
.about__text p + p { margin-top: 1.5em; }

.about__text .pullquote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-style: italic;
  color: var(--text);
  line-height: 1.45;
  margin-block: 36px;
  padding-left: 28px;
  border-left: 2px solid var(--border);
}

.about__aside { }

.about__image {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  background: var(--off-white);
  padding-block: clamp(70px, 10vw, 120px);
}

.contact__inner {
  display: grid;
  gap: clamp(48px, 6vw, 80px);
}

@media (min-width: 840px) {
  .contact__inner { grid-template-columns: 1fr 1fr; }
}

.contact__info { }

.contact__info h2 { margin-bottom: 20px; }

.contact__info p {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  margin-bottom: 36px;
}

.contact__email {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-style: italic;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  display: inline-block;
  transition: border-color 0.2s;
}
.contact__email:hover { border-color: var(--text); }

/* Form */
.form { display: flex; flex-direction: column; gap: 20px; }

.form__group { display: flex; flex-direction: column; gap: 8px; }

.form__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--text);
}

.form__textarea {
  resize: vertical;
  min-height: 140px;
}

.form__row {
  display: grid;
  gap: 16px;
}
@media (min-width: 480px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}

.form__submit {
  margin-top: 8px;
  width: 100%;
}

.form__note {
  font-size: 0.8125rem;
  color: var(--mid-grey);
  line-height: 1.6;
  margin-top: 8px;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  padding-block: clamp(60px, 8vw, 100px);
  background: var(--black);
  text-align: center;
}

.cta-band__heading {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-band__sub {
  color: rgba(255,255,255,0.55);
  margin-bottom: 36px;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  max-width: 40ch;
  margin-inline: auto;
  margin-bottom: 36px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  padding-block: clamp(40px, 5vw, 60px);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer__inner {
  display: grid;
  gap: 40px;
}

@media (min-width: 640px) {
  .footer__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.footer__logo img { height: 60px; }

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 20px;
}

.footer__nav a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
}
.footer__nav a:hover { color: var(--white); }

@media (min-width: 640px) {
  .footer__nav { margin-top: 16px; }
}

.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

@media (min-width: 640px) {
  .footer__right { align-items: flex-end; }
}

.footer__social {
  display: flex;
  gap: 20px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer__social a:hover { color: var(--white); }

.footer__social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer__copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.25);
}

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
  height: 1px;
  background: var(--border);
  margin-block: clamp(40px, 5vw, 60px);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-centre { text-align: center; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 28px; }
.mt-lg { margin-top: 48px; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--black);
  color: var(--white);
  padding: 8px 16px;
  font-size: 0.875rem;
  z-index: 999;
}
.skip-link:focus { top: 8px; }

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}
