/* =========================================================
   PAIGE WOODS — Design Tokens & Shared Styles
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,400;1,600&family=Source+Sans+3:wght@400;500&display=swap');

:root {
  --ink-black:     #031926;
  --teal:          #468189;
  --muted-teal:    #77aca2;
  --ash-grey:      #9dbebb;
  --vanilla-cream: #f4e9cd;

  --bg:            var(--vanilla-cream);
  --text:          var(--ink-black);
  --accent:        var(--teal);
  --accent-hover:  var(--muted-teal);
  --border:        rgba(150, 190, 187, 0.3);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Source Sans 3', system-ui, sans-serif;

  --radius-card: 24px;
  --radius-pill: 9999px;

  --shadow-sm:  0 4px 6px  rgba(3, 25, 38, 0.05);
  --shadow-md:  0 10px 20px rgba(3, 25, 38, 0.08);
  --shadow-xl:  0 30px 60px rgba(3, 25, 38, 0.14);

  --max-w: 1280px;
}

/* =========================================================
   Reset
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--vanilla-cream);
  color: var(--ink-black);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, p {
  text-wrap: pretty;
}

.template-disclaimer {
  background: #f2c6d0;
  padding: 1.25rem clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}

.template-disclaimer p {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.65;
  color: #3a2a2e;
  max-width: 680px;
  margin: 0 auto;
}

.template-disclaimer a {
  color: #b05080;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.template-disclaimer a:hover {
  color: #8c3a62;
}

.demo-notice {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(3, 25, 38, 0.4);
  border-top: 1px solid rgba(3, 25, 38, 0.15);
  padding-top: 0.6rem;
  margin-bottom: 1.5rem;
}

.newsletter .demo-notice {
  color: rgba(244, 233, 205, 0.35);
  border-top-color: rgba(244, 233, 205, 0.15);
}

.contact-main .demo-notice {
  color: rgba(244, 233, 205, 0.45);
  border-top-color: rgba(244, 233, 205, 0.2);
}

/* =========================================================
   Paper Grain Overlay
   ========================================================= */

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C%2Fsvg%3E");
  background-repeat: repeat;
}

/* =========================================================
   Layout
   ========================================================= */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

/* =========================================================
   Navigation
   ========================================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 233, 205, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  width: 100%;
  padding: 0 clamp(2rem, 4vw, 4rem);
}

.nav-logo {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-black);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--teal);
}

.btn-nav {
  background: var(--teal);
  color: white !important;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem !important;
  transition: background 0.3s ease, transform 0.25s ease !important;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.btn-nav:hover {
  background: var(--muted-teal) !important;
  color: white !important;
  transform: translateY(-2px) !important;
}

/* Mobile hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink-black);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

body.nav-open .nav-toggle span:first-child {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}

body.nav-open .nav-toggle span:last-child {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* Mobile overlay */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

body.nav-open .nav-mobile {
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile ul {
  list-style: none;
  text-align: center;
}

.nav-mobile ul li {
  margin-bottom: 2rem;
}

.nav-mobile ul a {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--vanilla-cream);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-mobile ul a:hover {
  color: var(--muted-teal);
}

.nav-mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--vanilla-cream);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
  line-height: 1;
  padding: 0.5rem;
}

.nav-mobile-close:hover {
  opacity: 1;
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease-out, color 0.3s ease-out, border-color 0.3s ease-out, transform 0.25s ease-out, box-shadow 0.25s ease-out;
  min-height: 44px;
  border: none;
}

.btn-primary {
  background: var(--teal);
  color: white;
}

.btn-primary:hover {
  background: var(--muted-teal);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(70, 129, 137, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(70, 129, 137, 0.2);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =========================================================
   Scroll Reveal
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-left {
  transform: translateX(-2rem);
}

.reveal-left.visible {
  transform: translateX(0);
}

.reveal-right {
  transform: translateX(2rem);
}

.reveal-right.visible {
  transform: translateX(0);
}

/* Heading variant: adds gentle scale-in */
.reveal-scale {
  opacity: 0;
  transform: translateY(0.6rem) scale(0.96);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal-scale.visible {
  opacity: 1;
  transform: none;
}

/* Parallax images */
[data-parallax] {
  will-change: transform;
}

/* =========================================================
   Typography helpers
   ========================================================= */

.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-teal);
  margin-bottom: 1rem;
}

.section-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.12;
  color: var(--ink-black);
  margin-bottom: 1.5rem;
}

.section-heading em {
  font-style: italic;
  font-weight: 400;
}

/* =========================================================
   Image helpers
   ========================================================= */

.img-arch {
  border-radius: 50% 50% 0 0 / 55% 55% 0 0;
  object-fit: cover;
  display: block;
}

.img-rounded {
  border-radius: 40px;
  object-fit: cover;
  display: block;
  width: 100%;
}

.img-hover {
  transition: transform 0.7s ease-out;
}

.img-hover:hover {
  transform: scale(1.03);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  display: grid;
  grid-template-columns: 45fr 55fr;
  min-height: 100vh;
  overflow: hidden;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem clamp(2rem, 5vw, 5rem) 6rem clamp(1.5rem, 5vw, 4rem);
  max-width: 680px;
}

.hero-text .section-label {
  margin-bottom: 1.25rem;
}

.hero-h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  line-height: 1.08;
  color: var(--ink-black);
  margin-bottom: 1.5rem;
}

.hero-h1 em {
  font-style: italic;
  font-weight: 400;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  color: rgba(3, 25, 38, 0.72);
  max-width: 42ch;
  margin-bottom: 2.5rem;
}

.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image img {
  position: absolute;
  top: -10%;
  left: 0;
  right: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center top;
}

/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
  overflow: hidden; /* clips the slide-in animation */
}

.about-grid-full {
  display: grid;
  grid-template-columns: 60fr 40fr;
  min-height: 88vh;
}

.about-photo-col {
  overflow: hidden;
  position: relative;
  /* height comes from the grid row (min-height: 88vh) */
}

.about-photo-col img {
  position: absolute;
  top: -10%;
  left: 0;
  right: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center top;
  will-change: transform;
}

.about-text-col {
  display: flex;
  align-items: center;
  padding: clamp(4rem, 8vw, 6rem) clamp(3rem, 6vw, 5rem);
  background: var(--vanilla-cream);
}

.about-text {
  max-width: 52ch;
}

.about-text p {
  margin-bottom: 1.25rem;
  line-height: 1.78;
  color: rgba(3, 25, 38, 0.82);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-closing {
  font-style: italic;
  color: var(--teal) !important;
  margin-top: 0.5rem;
}

/* Slide in from left edge.
   Uses @keyframes so the element stays in its layout position
   (IntersectionObserver watches the parent section, not this element). */
@keyframes slideFromLeft {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}

.reveal-slide-left {
  /* clip without transforming — keeps element detectable by IO via its parent */
  clip-path: inset(0 0 0 100%);
}

.reveal-slide-left.visible {
  clip-path: none;
  animation: slideFromLeft 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* =========================================================
   PHILOSOPHY
   ========================================================= */

.philosophy {
  position: relative;
  overflow: hidden;
  background: var(--ink-black);
}

.philosophy-bg {
  position: absolute;
  inset: 0;
}

.philosophy-img {
  width: 100%;
  height: 120%;
  margin-top: -10%;
  object-fit: cover;
  object-position: center;
  opacity: 0.32;
  display: block;
}

.philosophy-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--vanilla-cream);
}

.philosophy-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.12;
  color: var(--vanilla-cream);
  margin-bottom: 3rem;
}

.philosophy-heading em {
  font-style: italic;
  font-weight: 400;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 3rem;
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: left;
}

.philosophy-grid p {
  font-size: 1rem;
  line-height: 1.6;
  padding-left: 1.25rem;
  border-left: 2px solid var(--muted-teal);
  color: rgba(244, 233, 205, 0.85);
}

.philosophy-closing {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  color: var(--vanilla-cream);
  max-width: 50ch;
  margin: 0 auto;
  line-height: 1.5;
}

/* =========================================================
   SERVICES
   ========================================================= */

.services-section {
  background: var(--ink-black);
}

/* Section label + heading on dark bg */
.services-section .section-label {
  color: var(--muted-teal);
}

.services-section .section-heading {
  color: var(--vanilla-cream);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
  margin-top: 2.5rem;
}

/* Card 1 — solid teal */
.card {
  border-radius: var(--radius-card);
  padding: clamp(2.5rem, 4vw, 3.5rem);
  border: none;
  transition: transform 0.5s ease-out, box-shadow 0.5s ease-out;
  background: var(--teal);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(3, 25, 38, 0.4);
}

/* Card 2 — glass dark */
.card-offset {
  margin-top: 0;
  background: rgba(244, 233, 205, 0.05);
  border: 1px solid rgba(244, 233, 205, 0.13);
}

.card-offset:hover {
  background: rgba(244, 233, 205, 0.08);
}

.card-accent {
  width: 48px;
  height: 2px;
  background: rgba(244, 233, 205, 0.45);
  margin-bottom: 2rem;
}

.card-offset .card-accent {
  background: var(--muted-teal);
}

.card-heading {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--vanilla-cream);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.card-sub {
  font-family: var(--font-sans);
  font-weight: 500;
  font-style: italic;
  font-size: 1rem;
  color: rgba(244, 233, 205, 0.7);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.card-offset .card-sub {
  color: var(--ash-grey);
}

.card-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.card-list li {
  font-size: 0.95rem;
  padding-left: 1.1rem;
  margin-bottom: 0.65rem;
  position: relative;
  line-height: 1.6;
  color: rgba(244, 233, 205, 0.88);
}

.card-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: rgba(244, 233, 205, 0.5);
  font-size: 1.1rem;
  line-height: 1.4;
}

.card-offset .card-list li::before {
  color: var(--muted-teal);
}

.card-body {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(244, 233, 205, 0.6);
  margin-bottom: 2.5rem;
}

/* Buttons inside dark service cards */
.services-section .btn-outline {
  color: var(--vanilla-cream);
  border-color: rgba(244, 233, 205, 0.4);
}

.services-section .btn-outline:hover {
  background: rgba(244, 233, 205, 0.12);
  color: var(--vanilla-cream);
  border-color: rgba(244, 233, 205, 0.7);
  transform: translateY(-3px);
  box-shadow: none;
}

/* =========================================================
   PROCESS
   ========================================================= */

.section.process-section {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  flex: 1;
}

.process-steps {
  padding: clamp(4rem, 8vw, 7rem) clamp(2rem, 5vw, 4rem) clamp(4rem, 8vw, 7rem) max(clamp(1.5rem, 5vw, 4rem), calc((100vw - 1280px) / 2 + 4rem));
}

.process-photo {
  overflow: hidden;
  border-radius: 0;
}

.process-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.reveal-step-right {
  opacity: 0;
  transform: translateX(3rem);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-step-right.visible {
  opacity: 1;
  transform: none;
}

.step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.step:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.step-number {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--teal);
  opacity: 0.18;
  flex-shrink: 0;
  width: 3rem;
  padding-top: 0.1rem;
}

.step-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink-black);
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(3, 25, 38, 0.72);
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */

.testimonials {
  background-image:
    linear-gradient(rgba(14, 90, 107, 0.55), rgba(14, 90, 107, 0.55)),
    url('paige-portfolio-1/IMG_7136 copy.JPG');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--vanilla-cream);
  position: relative;
}

.testimonials-intro {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
  line-height: 1.45;
  color: var(--vanilla-cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.testimonial-card {
  background: rgba(244, 233, 205, 0.07);
  border: 1px solid rgba(244, 233, 205, 0.11);
  border-radius: var(--radius-card);
  padding: 2rem;
  transition: transform 0.5s ease-out, background 0.5s ease-out;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  background: rgba(244, 233, 205, 0.1);
}

.testimonial-card p {
  font-style: italic;
  line-height: 1.72;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  color: rgba(244, 233, 205, 0.9);
}

.testimonial-card cite {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.82rem;
  font-style: normal;
  color: var(--muted-teal);
  letter-spacing: 0.05em;
}

.testimonials-img-wrap {
  position: absolute;
  bottom: 0;
  right: clamp(1.5rem, 5vw, 4rem);
  overflow: hidden;
  line-height: 0;
}

.testimonials-img-wrap img {
  width: 200px;
  height: 280px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50% 50% 0 0 / 55% 55% 0 0;
  opacity: 0.55;
}

/* =========================================================
   FAQ
   ========================================================= */

.faq-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.faq-list {
  margin-top: 2.5rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-black);
  cursor: pointer;
  text-align: left;
  transition: color 0.3s ease;
  line-height: 1.5;
}

.faq-q:hover {
  color: var(--teal);
}

.faq-chevron {
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
  color: var(--muted-teal);
  display: inline-block;
  transition: transform 0.35s ease;
}

.faq-a {
  overflow: hidden;
}

.faq-a p {
  padding-bottom: 1.5rem;
  line-height: 1.78;
  color: rgba(3, 25, 38, 0.72);
  max-width: 62ch;
}

/* =========================================================
   NEWSLETTER
   ========================================================= */

.newsletter {
  background: var(--ink-black);
}

.newsletter-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.newsletter .section-label {
  color: var(--muted-teal);
}

.newsletter-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
  color: var(--vanilla-cream);
  text-wrap: pretty;
}

.newsletter-inner > p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(244, 233, 205, 0.68);
  margin-bottom: 2.5rem;
  text-wrap: pretty;
}

.newsletter-field {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  max-width: 460px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid rgba(244, 233, 205, 0.25);
  padding: 0.75rem 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--vanilla-cream);
  outline: none;
  transition: border-color 0.3s ease;
  min-width: 0;
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(244, 233, 205, 0.38);
}

.newsletter-form input[type="email"]:focus {
  border-bottom-color: var(--muted-teal);
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  background: var(--ink-black);
  color: var(--vanilla-cream);
  padding: 3.5rem 0 2rem;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(244, 233, 205, 0.1);
}

.footer-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--vanilla-cream);
  margin-bottom: 0.3rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--muted-teal);
  letter-spacing: 0.03em;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(244, 233, 205, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--vanilla-cream);
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(244, 233, 205, 0.3);
  letter-spacing: 0.03em;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-main {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: flex-start;
  position: relative;
  background-image:
    linear-gradient(rgba(14, 90, 107, 0.55), rgba(14, 90, 107, 0.55)),
    url('paige-portfolio-1/IMG_7136 copy.JPG');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 640px;
}

.contact-intro {
  font-size: 1.05rem;
  line-height: 1.78;
  color: rgba(3, 25, 38, 0.72);
  margin-bottom: 2.5rem;
  max-width: 52ch;
}

.contact-form {
  margin-top: 0.5rem;
}

.form-field {
  margin-bottom: 2.25rem;
}

.form-field label {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-teal);
  margin-bottom: 0.6rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 2px solid var(--border);
  padding: 0.7rem 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink-black);
  outline: none;
  transition: border-color 0.3s ease;
  resize: none;
  line-height: 1.6;
}

.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--muted-teal);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(3, 25, 38, 0.3);
}

.contact-photo {
  height: 620px;
  overflow: hidden;
  border-radius: 50% 50% 0 0 / 55% 55% 0 0;
  position: sticky;
  top: calc(72px + 2rem);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Contact page — light text over photo/teal overlay */
.contact-main .section-label {
  color: rgba(244, 233, 205, 0.7);
}

.contact-main .section-heading,
.contact-main .section-heading em {
  color: #f4e9cd;
}

.contact-main .contact-intro {
  color: rgba(244, 233, 205, 0.82);
}

.contact-main .form-field label {
  color: rgba(244, 233, 205, 0.65);
}

.contact-main .form-field input,
.contact-main .form-field textarea {
  color: #f4e9cd;
  border-bottom-color: rgba(244, 233, 205, 0.35);
  background: none;
}

.contact-main .form-field input:focus,
.contact-main .form-field textarea:focus {
  border-bottom-color: rgba(244, 233, 205, 0.8);
}

.contact-main .form-field input::placeholder,
.contact-main .form-field textarea::placeholder {
  color: rgba(244, 233, 205, 0.35);
}

/* =========================================================
   RESPONSIVE — Mobile
   ========================================================= */

@media (max-width: 768px) {
  /* Nav — transparent over hero photo, gains background on scroll */
  .nav {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    transition: background 0.4s ease, border-color 0.4s ease;
  }

  .nav.scrolled {
    background: rgba(244, 233, 205, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }

  /* Only go transparent on pages with a hero photo behind the nav */
  body:has(.hero) .nav:not(.scrolled) .nav-logo {
    color: #f4e9cd;
  }

  body:has(.hero) .nav:not(.scrolled) .nav-toggle span {
    background: #f4e9cd;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero — full-bleed photo behind nav, H1 at bottom, sub+buttons below fold */
  .hero {
    display: block;
    position: relative;
    margin-top: -72px;
    min-height: 100svh;
    background: var(--vanilla-cream);
    overflow: visible;
  }

  .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100svh;
    overflow: hidden;
    z-index: 0;
    will-change: transform, opacity;
  }

  .hero-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .hero-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: 60svh 1.5rem 3rem;
    max-width: 100%;
    background: none;
  }

  .hero .hero-h1 {
    color: #f4e9cd;
    font-size: clamp(2.2rem, 8vw, 3rem);
    margin-bottom: 25svh;
    text-shadow: 0 2px 12px rgba(3, 25, 38, 0.35);
  }

  .hero .hero-h1 em {
    color: #f4e9cd;
  }

  .hero-text .section-label {
    color: rgba(244, 233, 205, 0.9);
    margin-bottom: 0.75rem;
    text-shadow: 0 1px 6px rgba(3, 25, 38, 0.4);
  }

  .hero-sub {
    color: rgba(3, 25, 38, 0.72);
  }


  /* About */
  .about-grid-full {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about-photo-col {
    height: 72vw;
    min-height: 320px;
    max-height: 520px;
  }

  .about-text-col {
    padding: 3rem 1.5rem 4rem;
  }

  /* Philosophy */
  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .card-offset {
    margin-top: 0;
  }

  /* Process */
  .section.process-section {
    padding: calc(clamp(4rem, 8vw, 7rem) + 20px) 0;
  }

  .process-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .process-steps {
    padding: 0 clamp(1.5rem, 5vw, 2.5rem);
  }

  .process-photo {
    display: none;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-img-wrap {
    display: none;
  }

  /* FAQ */
  .faq-wrap {
    max-width: 100%;
  }

  /* Newsletter */
  .newsletter-field {
    flex-direction: column;
    align-items: stretch;
  }

  /* Footer */
  .footer-main {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 2rem;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-photo {
    display: none;
  }

  .contact-main {
    align-items: flex-start;
  }
}

@media (min-width: 769px) {
  .nav-toggle {
    display: none;
  }
}
