/* ================================================================
   INNER PAGES — page-specific styles
   Extends gracesPhotography.css for About, Services, Contact pages
   ================================================================ */

/* ----------------------------------------------------------------
   PAGE HERO  (inner pages — shorter than homepage)
   ---------------------------------------------------------------- */
.page-hero {
    position: relative;
    height: 68vh;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 5rem;
    overflow: hidden;
}

.page-hero__media {
    position: absolute;
    inset: 0;
}

.page-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 33%;
    will-change: transform;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(28, 16, 8, 0.80) 0%,
        rgba(28, 16, 8, 0.25) 55%,
        rgba(28, 16, 8, 0.12) 100%
    );
}

.page-hero__content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    width: 100%;
}

.page-hero__eyebrow {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.75rem;
    opacity: 0;
    transform: translateY(14px);
}

.page-hero__title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 300;
    line-height: 0.95;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 0.875rem;
    overflow: hidden;
}

.page-hero__title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(110%);
}

.page-hero__sub {
    font-family: var(--font-display);
    font-size: clamp(0.875rem, 1.8vw, 1.2rem);
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.04em;
    opacity: 0;
    transform: translateY(12px);
}

@media (max-width: 768px) {
    .page-hero          { height: 52vh; padding-bottom: 3rem; }
    .page-hero__content { padding: 0 1.5rem; }
}

/* ----------------------------------------------------------------
   ACTIVE NAV LINK
   ---------------------------------------------------------------- */
.nav-link--active            { color: var(--white) !important; }
.nav-link--active::after     { width: 100% !important; }
.header.scrolled .nav-link--active { color: var(--brown) !important; }

/* Mobile overlay — cream background means white is invisible.
   Force active link and close-icon (×) to brand brown. */
@media (max-width: 768px) {
    .nav-link--active {
        color: var(--brown) !important;
    }
    .nav-link--active::after {
        background: var(--brown) !important;
    }
    /* The × spans must be brown against the cream overlay */
    .nav-toggle.active span {
        background: var(--brown) !important;
    }
}

/* ----------------------------------------------------------------
   STORY SECTION  (About page)
   ---------------------------------------------------------------- */
.story-section {
    background: var(--cream);
    padding: clamp(5rem, 10vw, 9rem) 0;
}

.story-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(4rem, 7vw, 8rem);
    align-items: start;
}

.story-title  { margin-bottom: 2rem; }

.story-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.story-body p {
    font-size: 0.975rem;
    line-height: 1.9;
    color: var(--text-muted);
    font-weight: 300;
}

/* Pull quote */
.story-pullquote { padding-top: 1rem; }

.pullquote {
    padding: 2rem 2rem 2rem 2.25rem;
    border-left: 2px solid var(--sand);
}

.pullquote__mark {
    font-family: var(--font-display);
    font-size: 4.5rem;
    line-height: 0.6;
    color: var(--sand);
    display: block;
    margin-bottom: 1.5rem;
}

.pullquote__text {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 300;
    font-style: italic;
    color: var(--brown);
    line-height: 1.55;
}

.pullquote__author {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

/* Staggered image pair */
.story-image-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2.5rem;
}

.story-image-pair img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 2px;
}

.story-image-pair img:first-child { margin-top: 2.5rem; }

@media (max-width: 960px) {
    .story-inner { grid-template-columns: 1fr; gap: 3rem; padding: 0 1.5rem; }
}

/* ----------------------------------------------------------------
   APPROACH / PHILOSOPHY SECTION  (About page)
   ---------------------------------------------------------------- */
.approach-section {
    background: var(--warm);
    padding: clamp(5rem, 10vw, 9rem) 0;
}

.approach-header {
    text-align: center;
    margin-bottom: clamp(3rem, 5vw, 5rem);
    padding: 0 2rem;
}

.approach-header .section-title { margin-top: 0.5rem; }

.approach-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-top: 1rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.approach-cards {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.approach-card {
    background: var(--cream);
    padding: 2.5rem 2rem;
    border-radius: 2px;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.approach-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 50px rgba(98, 62, 42, 0.12);
}

.approach-card__number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--sand);
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
}

.approach-card__title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 400;
    color: var(--brown);
    margin-bottom: 0.875rem;
}

.approach-card__text {
    font-size: 0.875rem;
    line-height: 1.8;
    color: var(--text-muted);
    font-weight: 300;
}

@media (max-width: 860px) {
    .approach-cards { grid-template-columns: 1fr; max-width: 500px; }
}

/* ----------------------------------------------------------------
   STATS STRIP
   ---------------------------------------------------------------- */
.stats-strip {
    background: var(--brown);
    padding: 3.5rem 0;
}

.stats-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 300;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1;
    display: block;
}

.stat-label {
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.5rem;
    display: block;
}

@media (max-width: 680px) {
    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}

/* ----------------------------------------------------------------
   TESTIMONIAL CARDS (shared — About, Services, Contact)
   ---------------------------------------------------------------- */
.testimonials-section {
    background: var(--cream);
    padding: clamp(5rem, 10vw, 9rem) 0;
}

.testimonials-section--dark { background: var(--dark); }

.testimonials-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.testimonials-section--dark .testimonials-header .section-eyebrow {
    color: rgba(244, 241, 237, 0.38);
}
.testimonials-section--dark .testimonials-header .section-title {
    color: var(--cream);
}

.testimonial-cards {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    padding: 2rem;
    border: 1px solid var(--sand);
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    border-color: var(--brown);
    box-shadow: 0 8px 30px rgba(98, 62, 42, 0.1);
}

.testimonials-section--dark .testimonial-card {
    border-color: rgba(244, 241, 237, 0.1);
    background: rgba(244, 241, 237, 0.03);
}
.testimonials-section--dark .testimonial-card:hover {
    border-color: rgba(244, 241, 237, 0.25);
}

.testimonial-card__icon {
    color: var(--sand);
    font-size: 1.375rem;
}
.testimonials-section--dark .testimonial-card__icon {
    color: rgba(244, 241, 237, 0.22);
}

.testimonial-card__text {
    font-family: var(--font-display);
    font-size: 1.025rem;
    font-weight: 300;
    font-style: italic;
    color: var(--text);
    line-height: 1.72;
    flex: 1;
}
.testimonials-section--dark .testimonial-card__text {
    color: rgba(244, 241, 237, 0.78);
}

.testimonial-card__footer {
    padding-top: 0.875rem;
    border-top: 1px solid var(--sand);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.testimonials-section--dark .testimonial-card__footer {
    border-top-color: rgba(244, 241, 237, 0.08);
}

.testimonial-card__name {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--brown);
    letter-spacing: 0.04em;
}
.testimonials-section--dark .testimonial-card__name { color: var(--sand); }

.testimonial-card__type {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.testimonials-section--dark .testimonial-card__type {
    color: rgba(244, 241, 237, 0.32);
}

@media (max-width: 860px) {
    .testimonial-cards { grid-template-columns: 1fr; max-width: 500px; }
}

/* ----------------------------------------------------------------
   CTA SECTION (shared)
   ---------------------------------------------------------------- */
.cta-section {
    background: var(--dark);
    padding: clamp(5rem, 10vw, 8rem) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section__bg {
    position: absolute;
    inset: 0;
    opacity: 0.07;
}
.cta-section__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.cta-eyebrow {
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: rgba(244, 241, 237, 0.38);
    display: block;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--cream);
    line-height: 1.1;
    letter-spacing: -0.01em;
}
.cta-title em { font-style: italic; }

.cta-sub {
    font-size: 0.9rem;
    color: rgba(244, 241, 237, 0.48);
    line-height: 1.75;
    max-width: 460px;
    font-weight: 300;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
}

/* ----------------------------------------------------------------
   SERVICE ROWS  (Services page — alternating image / text)
   ---------------------------------------------------------------- */
.service-detail-wrap { overflow: hidden; }

.services-detail-row {
    padding: clamp(5rem, 9vw, 8rem) 0;
    background: var(--cream);
}

.services-detail-row:nth-child(even) { background: var(--warm); }

.service-row {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 7rem);
    align-items: center;
}

.service-row--flip {
    direction: rtl;
}
.service-row--flip > * { direction: ltr; }

.service-row__media {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 20px 60px rgba(28, 16, 8, 0.12);
}

.service-row__media img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out);
    display: block;
}

.service-row__media:hover img { transform: scale(1.04); }

.service-row__price-tag {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--dark);
    color: var(--cream);
    padding: 0.75rem 1.25rem;
    font-family: var(--font-display);
    font-size: 1.625rem;
    font-weight: 300;
    border-radius: 2px;
    letter-spacing: -0.01em;
}

.service-row__content { padding: 1rem 0; }

.service-row__num {
    display: block;
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 300;
    color: var(--sand);
    line-height: 0.9;
    margin-bottom: 0.5rem;
}

.service-row__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 300;
    color: var(--brown);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.service-row__desc {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 1.75rem;
}

.service-row__list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.service-row__list li {
    font-size: 0.83rem;
    color: var(--text-muted);
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.65;
}

.service-row__list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--sand);
    font-size: 0.72rem;
    line-height: 1.65;
}

@media (max-width: 900px) {
    .service-row          { grid-template-columns: 1fr; gap: 2.5rem; padding: 0 1.5rem; }
    .service-row--flip    { direction: ltr; }
    .service-row__price-tag { bottom: 1rem; right: 1rem; }
}

/* ----------------------------------------------------------------
   SERVICES INTRO  (Services page)
   ---------------------------------------------------------------- */
.services-page-intro {
    background: var(--cream);
    padding: clamp(4rem, 7vw, 6rem) 0;
    text-align: center;
    border-bottom: 1px solid var(--sand);
}

.services-page-intro__inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 2rem;
}

.services-page-intro__text {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-muted);
    font-weight: 300;
    margin-top: 1.25rem;
}

/* ----------------------------------------------------------------
   PROCESS STEPS  (Services page)
   ---------------------------------------------------------------- */
.process-section {
    background: var(--dark);
    padding: clamp(5rem, 10vw, 8rem) 0;
}

.process-header {
    text-align: center;
    margin-bottom: clamp(3rem, 5vw, 5rem);
}

.process-header .section-eyebrow { color: rgba(244, 241, 237, 0.38); }
.process-header .section-title   { color: var(--cream); }

.process-steps {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: calc(100% / 6);
    width: calc(100% * 2 / 3);
    height: 1px;
    background: rgba(244, 241, 237, 0.08);
    pointer-events: none;
}

.process-step {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.process-step__icon-wrap {
    width: 64px;
    height: 64px;
    border: 1px solid rgba(244, 241, 237, 0.14);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    color: var(--sand);
    position: relative;
    background: var(--dark);
    z-index: 1;
    flex-shrink: 0;
}

.process-step__num {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: var(--brown);
    border-radius: 50%;
    font-size: 0.58rem;
    font-weight: 500;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--cream);
}

.process-step__text {
    font-size: 0.83rem;
    color: rgba(244, 241, 237, 0.42);
    line-height: 1.78;
    font-weight: 300;
    max-width: 240px;
}

@media (max-width: 680px) {
    .process-steps { grid-template-columns: 1fr; gap: 2.5rem; }
    .process-steps::before { display: none; }
    .process-step__text { max-width: 100%; }
}

/* ----------------------------------------------------------------
   FAQ  (Services page & Contact page)
   ---------------------------------------------------------------- */
.faq-section {
    background: var(--warm);
    padding: clamp(5rem, 10vw, 9rem) 0;
}

.faq-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--brown);
    letter-spacing: 0.01em;
    transition: color 0.3s;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-family: var(--font-display);
}

.faq-question:hover { color: var(--dark); }

.faq-icon {
    font-size: 1.2rem;
    color: var(--sand);
    transition: transform 0.35s var(--ease-out), color 0.3s;
    flex-shrink: 0;
    line-height: 1;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--brown);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.45s var(--ease-out);
}

.faq-answer p {
    font-size: 0.9rem;
    line-height: 1.85;
    color: var(--text-muted);
    font-weight: 300;
    padding-bottom: 1.5rem;
}

.faq-item.open .faq-answer { max-height: 260px; }

/* ----------------------------------------------------------------
   FEATURED QUOTE SECTION  (Services page — parallax bg)
   ---------------------------------------------------------------- */
.featured-quote-section {
    position: relative;
    overflow: hidden;
    padding: clamp(6rem, 12vw, 10rem) 0;
}

.featured-quote-section__bg {
    position: absolute;
    inset: 0;
}

.featured-quote-section__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

.featured-quote-section__overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 10, 4, 0.85);
}

.featured-quote-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.featured-quote__icon {
    color: rgba(255, 255, 255, 0.18);
    font-size: 2.75rem;
}

.featured-quote__text {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.875rem);
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.62;
}

.featured-quote__author {
    font-size: 0.68rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
}

/* ----------------------------------------------------------------
   CONTACT HERO  (Contact page — minimal serif header)
   ---------------------------------------------------------------- */
.contact-hero {
    background: var(--cream);
    padding: calc(var(--nav-h) + 5rem) 0 5rem;
    text-align: center;
    border-bottom: 1px solid var(--sand);
}

.contact-hero__eyebrow {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(14px);
}

.contact-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 300;
    color: var(--brown);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    overflow: hidden;
}

.contact-hero__title em { font-style: italic; }

.contact-hero__sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 420px;
    margin: 0 auto;
    font-weight: 300;
    opacity: 0;
    transform: translateY(12px);
}

/* ----------------------------------------------------------------
   TESTIMONIALS STRIP  (Contact page — horizontal brown band)
   ---------------------------------------------------------------- */
.testimonials-strip {
    background: var(--brown);
    padding: 3.5rem 0;
}

.testimonials-strip__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.strip-quote__text {
    font-family: var(--font-display);
    font-size: 1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    font-weight: 300;
}

.strip-quote__author {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    margin-top: 0.75rem;
}

@media (max-width: 760px) {
    .testimonials-strip__inner { grid-template-columns: 1fr; gap: 2rem; }
}
