/* ==========================================================================
   JOHN SMITH PHOTOGRAPHY — DEMO SITE STYLESHEET
   Standalone stylesheet. Deliberately independent from the ForgePoint
   marketing site's style.css — different tokens, different type system,
   different components. Nothing in here should be shared with /style.css.
   ========================================================================== */

/* ==========================================================================
   1. Reset & Base
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ==========================================================================
   2. Design Tokens
   ========================================================================== */

:root {
    /* Warm, light & airy editorial palette */
    --gd-cream: #faf6f0;
    --gd-cream-deep: #f1e9dd;
    --gd-paper: #ffffff;
    --gd-ink: #2b2620;
    --gd-ink-soft: #5c5346;
    --gd-ink-faint: #8f8474;
    --gd-line: #e4d9c8;
    --gd-accent: #b3623f;
    --gd-accent-dark: #954f32;
    --gd-accent-soft: #ecd4c4;

    --gd-font-display: 'Playfair Display', 'Georgia', serif;
    --gd-font-body: 'Jost', 'Helvetica Neue', sans-serif;

    --gd-radius-sm: 6px;
    --gd-radius-md: 14px;
    --gd-radius-lg: 28px;

    --gd-shadow-soft: 0 20px 60px -20px rgba(43, 38, 32, 0.18);
    --gd-shadow-card: 0 10px 30px -12px rgba(43, 38, 32, 0.14);

    --gd-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: var(--gd-cream);
    color: var(--gd-ink);
    font-family: var(--gd-font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.gd-no-scroll {
    overflow: hidden;
}

.gd-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

.hidden {
    display: none !important;
}

h1, h2, h3, h4 {
    font-family: var(--gd-font-display);
    font-weight: 600;
    line-height: 1.15;
    color: var(--gd-ink);
}

.gd-eyebrow {
    display: inline-block;
    font-family: var(--gd-font-body);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gd-accent);
    font-weight: 500;
    margin-bottom: 18px;
}

.gd-section {
    padding: 100px 0;
}

.gd-section.gd-alt {
    background-color: var(--gd-cream-deep);
}

.gd-section-head {
    max-width: 640px;
    margin: 0 auto 56px;
    text-align: center;
}

.gd-section-head h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}

.gd-section-head p {
    color: var(--gd-ink-soft);
    font-size: 1.05rem;
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */

.gd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 34px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: var(--gd-transition);
    white-space: nowrap;
}

.gd-btn-primary {
    background-color: var(--gd-ink);
    color: var(--gd-cream);
}

.gd-btn-primary:hover {
    background-color: var(--gd-accent-dark);
    transform: translateY(-2px);
}

.gd-btn-outline {
    border: 1.5px solid var(--gd-ink);
    color: var(--gd-ink);
}

.gd-btn-outline:hover {
    background-color: var(--gd-ink);
    color: var(--gd-cream);
    transform: translateY(-2px);
}

.gd-btn-block {
    width: 100%;
}

.gd-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ==========================================================================
   4. Header / Navigation
   ========================================================================== */

.gd-header {
    position: sticky;
    top: 0;
    z-index: 500;
    background-color: rgba(250, 246, 240, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: var(--gd-transition);
}

.gd-header.scrolled {
    border-bottom-color: var(--gd-line);
    box-shadow: 0 4px 24px -18px rgba(43, 38, 32, 0.4);
}

.gd-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 22px;
    padding-bottom: 22px;
}

.gd-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.gd-logo-main {
    font-family: var(--gd-font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gd-ink);
}

.gd-logo-sub {
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gd-accent);
    margin-top: 2px;
}

.gd-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.gd-nav-link {
    font-size: 0.92rem;
    color: var(--gd-ink-soft);
    position: relative;
    transition: var(--gd-transition);
}

.gd-nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background-color: var(--gd-accent);
    transition: var(--gd-transition);
}

.gd-nav-link:hover,
.gd-nav-link.active {
    color: var(--gd-ink);
}

.gd-nav-link:hover::after,
.gd-nav-link.active::after {
    width: 100%;
}

.gd-nav-cta {
    padding: 10px 24px;
    border-radius: 999px;
    border: 1.5px solid var(--gd-ink);
    color: var(--gd-ink) !important;
}

.gd-nav-cta::after {
    display: none;
}

.gd-nav-cta:hover {
    background-color: var(--gd-ink);
    color: var(--gd-cream) !important;
}

/* Gallery Nav Dropdown */
.gd-nav-dropdown {
    position: relative;
}

.gd-nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--gd-font-body);
    font-size: 0.92rem;
    color: var(--gd-ink-soft);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.gd-caret {
    font-size: 0.65rem;
    color: var(--gd-accent);
    transition: transform var(--gd-transition);
}

.gd-nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background-color: var(--gd-paper);
    border: 1px solid var(--gd-line);
    border-radius: var(--gd-radius-md);
    box-shadow: var(--gd-shadow-card);
    padding: 10px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transition: var(--gd-transition);
    z-index: 200;
}

.gd-nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -18px;
    left: 0;
    width: 100%;
    height: 18px;
}

.gd-nav-dropdown-item {
    padding: 10px 14px;
    border-radius: var(--gd-radius-sm);
    font-size: 0.9rem;
    color: var(--gd-ink-soft);
    transition: var(--gd-transition);
}

.gd-nav-dropdown-item:hover,
.gd-nav-dropdown-item.active {
    background-color: var(--gd-cream-deep);
    color: var(--gd-ink);
}

@media (min-width: 769px) {
    .gd-nav-dropdown:hover .gd-nav-dropdown-menu,
    .gd-nav-dropdown.open .gd-nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .gd-nav-dropdown:hover .gd-caret,
    .gd-nav-dropdown.open .gd-caret {
        transform: rotate(180deg);
    }
}

/* Gallery Category Tabs (used on gallery landing + category pages) */
.gd-gallery-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 auto 56px;
    padding: 0 20px;
}

.gd-gallery-tab {
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid var(--gd-line);
    font-size: 0.85rem;
    color: var(--gd-ink-soft);
    transition: var(--gd-transition);
    white-space: nowrap;
}

.gd-gallery-tab:hover {
    border-color: var(--gd-accent);
    color: var(--gd-ink);
}

.gd-gallery-tab.active {
    background-color: var(--gd-ink);
    border-color: var(--gd-ink);
    color: var(--gd-cream);
}

/* Scroll-Reveal Variants (paired with IntersectionObserver in script.js) */
.gd-reveal {
    opacity: 0;
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--gd-delay, 0s);
}

.gd-reveal.in-view {
    opacity: 1;
}

.gd-reveal-up {
    transform: translateY(46px);
}

.gd-reveal-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

.gd-reveal-flip {
    transform: perspective(900px) rotateX(-16deg) translateY(24px);
    transform-origin: top center;
}

.gd-reveal-flip.in-view {
    opacity: 1;
    transform: perspective(900px) rotateX(0) translateY(0);
}

.gd-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 24px;
}

.gd-menu-toggle span {
    display: block;
    height: 1.5px;
    width: 100%;
    background-color: var(--gd-ink);
    transition: var(--gd-transition);
}

.gd-menu-toggle.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.gd-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.gd-menu-toggle.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ==========================================================================
   5. Hero (Home)
   ========================================================================== */

.gd-hero {
    padding: 90px 0 70px;
    text-align: center;
}

.gd-hero-title {
    font-size: clamp(2.6rem, 7vw, 4.6rem);
    letter-spacing: -0.01em;
    margin-bottom: 22px;
}

.gd-hero-title em {
    font-style: italic;
    color: var(--gd-accent);
}

.gd-hero-sub {
    max-width: 560px;
    margin: 0 auto 36px;
    color: var(--gd-ink-soft);
    font-size: 1.15rem;
}

.gd-hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================================================
   6. Gallery Grid + Lightbox
   ========================================================================== */

.gd-gallery {
    column-count: 3;
    column-gap: 22px;
}

.gd-gallery-item {
    position: relative;
    break-inside: avoid;
    margin-bottom: 22px;
    border-radius: var(--gd-radius-md);
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: var(--gd-shadow-card);
}

.gd-gallery-item img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.gd-gallery-item:hover img {
    transform: scale(1.06);
}

.gd-gallery-tag {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 6px 14px;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background-color: rgba(250, 246, 240, 0.9);
    color: var(--gd-ink);
    border-radius: 999px;
    opacity: 0;
    transform: translateY(6px);
    transition: var(--gd-transition);
}

.gd-gallery-item:hover .gd-gallery-tag {
    opacity: 1;
    transform: translateY(0);
}

.gd-gallery-cta {
    text-align: center;
    margin-top: 56px;
}

.gd-lightbox {
    position: fixed;
    inset: 0;
    z-index: 900;
    background-color: rgba(20, 16, 12, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    padding: 40px;
}

.gd-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.gd-lightbox-figure {
    max-width: 90vw;
    max-height: 84vh;
    text-align: center;
}

.gd-lightbox-figure img {
    max-width: 100%;
    max-height: 78vh;
    margin: 0 auto;
    border-radius: var(--gd-radius-sm);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gd-lightbox-figure img.loaded {
    opacity: 1;
}

.gd-lightbox-caption {
    color: var(--gd-cream);
    margin-top: 16px;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.gd-lightbox-close,
.gd-lightbox-prev,
.gd-lightbox-next {
    position: absolute;
    color: var(--gd-cream);
    font-size: 1.6rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    transition: var(--gd-transition);
}

.gd-lightbox-close:hover,
.gd-lightbox-prev:hover,
.gd-lightbox-next:hover {
    background-color: rgba(255, 255, 255, 0.18);
}

.gd-lightbox-close {
    top: 28px;
    right: 28px;
}

.gd-lightbox-prev {
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
}

.gd-lightbox-next {
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
}

/* ==========================================================================
   7. About Page
   ========================================================================== */

.gd-about-intro {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
    align-items: center;
}

.gd-about-portrait {
    border-radius: var(--gd-radius-lg);
    overflow: hidden;
    box-shadow: var(--gd-shadow-soft);
}

.gd-about-copy p {
    color: var(--gd-ink-soft);
    margin-bottom: 18px;
    font-size: 1.05rem;
}

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

.gd-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    text-align: center;
}

.gd-stat-number {
    font-family: var(--gd-font-display);
    font-size: 2.4rem;
    color: var(--gd-accent);
    margin-bottom: 6px;
}

.gd-stat-label {
    font-size: 0.85rem;
    color: var(--gd-ink-soft);
}

.gd-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.gd-list-card {
    background-color: var(--gd-paper);
    border: 1px solid var(--gd-line);
    border-radius: var(--gd-radius-md);
    padding: 36px;
}

.gd-list-card h3 {
    font-size: 1.4rem;
    margin-bottom: 22px;
}

.gd-list-card ul li {
    display: flex;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px dashed var(--gd-line);
    color: var(--gd-ink-soft);
    font-size: 0.98rem;
}

.gd-list-card ul li:last-child {
    border-bottom: none;
}

.gd-list-card ul li span.gd-dot {
    color: var(--gd-accent);
}

.gd-quote-block {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.gd-quote-block blockquote {
    font-family: var(--gd-font-display);
    font-style: italic;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--gd-ink);
    margin-bottom: 18px;
}

.gd-quote-block cite {
    font-style: normal;
    color: var(--gd-ink-faint);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ==========================================================================
   8. Category Gallery Pages
   Each category page uses a distinct transition treatment rather than
   reusing the same masonry grid four times.
   ========================================================================== */

/* --- Portraits: full-bleed slideshow with crossfade --- */
.gd-slideshow {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    aspect-ratio: 4 / 5;
    border-radius: var(--gd-radius-lg);
    overflow: hidden;
    box-shadow: var(--gd-shadow-soft);
    background-color: var(--gd-cream-deep);
}

.gd-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.1s ease;
    pointer-events: none;
}

.gd-slide.active {
    opacity: 1;
    pointer-events: auto;
}

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

.gd-slide-caption {
    position: absolute;
    left: 28px;
    bottom: 26px;
    color: var(--gd-cream);
    background-color: rgba(20, 16, 12, 0.4);
    backdrop-filter: blur(6px);
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.gd-slideshow-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 30px;
}

.gd-slideshow-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--gd-line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--gd-ink);
    transition: var(--gd-transition);
    flex-shrink: 0;
}

.gd-slideshow-arrow:hover {
    background-color: var(--gd-ink);
    color: var(--gd-cream);
    border-color: var(--gd-ink);
}

.gd-slideshow-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gd-slideshow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--gd-line);
    transition: var(--gd-transition);
}

.gd-slideshow-dot.active {
    width: 24px;
    border-radius: 999px;
    background-color: var(--gd-accent);
}

/* --- Landscapes: full-bleed panels with Ken Burns scroll reveal --- */
.gd-landscape-panel {
    position: relative;
    height: 88vh;
    overflow: hidden;
    margin-bottom: 6px;
    border-radius: var(--gd-radius-md);
}

.gd-landscape-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.18);
    transition: opacity 1.4s ease, transform 4.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gd-landscape-panel.in-view img {
    opacity: 1;
    transform: scale(1);
}

.gd-landscape-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 16, 12, 0) 45%, rgba(20, 16, 12, 0.5) 100%);
    pointer-events: none;
}

.gd-landscape-caption {
    position: absolute;
    left: 40px;
    bottom: 36px;
    z-index: 1;
    color: var(--gd-cream);
    font-family: var(--gd-font-display);
    font-style: italic;
    font-size: clamp(1.3rem, 3vw, 2rem);
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease 0.4s, transform 1s ease 0.4s;
}

.gd-landscape-panel.in-view .gd-landscape-caption {
    opacity: 1;
    transform: translateY(0);
}

/* --- Street & Everyday: grayscale-to-color masonry --- */
.gd-gallery-item.gd-grayscale img {
    filter: grayscale(100%);
    transition: filter 0.7s ease, transform 0.6s ease;
}

/* Devices with a real hover (mouse/trackpad): colour reveals on hover. */
@media (hover: hover) and (pointer: fine) {
    .gd-gallery-item.gd-grayscale:hover img {
        filter: grayscale(0%);
    }
}

/* Touch devices can't hover, so colour reveals as each photo scrolls
   into view instead (in-view is toggled by the .gd-reveal observer). */
@media (hover: none), (pointer: coarse) {
    .gd-gallery-item.gd-grayscale.in-view img {
        filter: grayscale(0%);
    }
}

/* --- Architecture: 3-column flip-reveal grid --- */
.gd-arch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.gd-arch-item {
    border-radius: var(--gd-radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: var(--gd-shadow-card);
    cursor: zoom-in;
}

.gd-arch-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gd-arch-item:hover img {
    transform: scale(1.06);
}

/* ==========================================================================
   9. Pricing Page
   ========================================================================== */

.gd-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

.gd-price-card {
    background-color: var(--gd-paper);
    border: 1px solid var(--gd-line);
    border-radius: var(--gd-radius-md);
    padding: 40px 28px;
    display: flex;
    flex-direction: column;
    transition: var(--gd-transition);
}

.gd-price-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--gd-shadow-card);
}

.gd-price-card.gd-featured {
    background-color: var(--gd-ink);
    color: var(--gd-cream);
    border-color: var(--gd-ink);
}

.gd-price-card.gd-featured .gd-price-name,
.gd-price-card.gd-featured .gd-price-amount,
.gd-price-card.gd-featured .gd-price-desc {
    color: var(--gd-cream);
}

.gd-price-card.gd-featured .gd-price-list li {
    color: rgba(250, 246, 240, 0.78);
    border-bottom-color: rgba(250, 246, 240, 0.15);
}

.gd-price-badge {
    display: inline-block;
    align-self: flex-start;
    background-color: var(--gd-accent);
    color: var(--gd-cream);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.gd-price-name {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.gd-price-desc {
    color: var(--gd-ink-soft);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.gd-price-amount {
    font-family: var(--gd-font-display);
    font-size: 2.6rem;
    margin-bottom: 4px;
}

.gd-price-amount span {
    font-family: var(--gd-font-body);
    font-size: 0.9rem;
    color: var(--gd-ink-faint);
}

.gd-price-list {
    margin: 24px 0 32px;
    flex-grow: 1;
}

.gd-price-list li {
    padding: 9px 0;
    border-bottom: 1px dashed var(--gd-line);
    font-size: 0.92rem;
    color: var(--gd-ink-soft);
}

.gd-price-list li:last-child {
    border-bottom: none;
}

.gd-addons {
    max-width: 820px;
    margin: 90px auto 0;
}

.gd-addons h3 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 32px;
}

.gd-addon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.gd-addon-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    background-color: var(--gd-paper);
    border: 1px solid var(--gd-line);
    border-radius: var(--gd-radius-sm);
    padding: 16px 20px;
    font-size: 0.95rem;
}

.gd-addon-item strong {
    color: var(--gd-accent-dark);
    white-space: nowrap;
}

.gd-faq {
    max-width: 760px;
    margin: 90px auto 0;
}

.gd-faq h3 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 32px;
}

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

.gd-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 4px;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--gd-ink);
}

.gd-faq-question .gd-faq-icon {
    transition: var(--gd-transition);
    color: var(--gd-accent);
    font-size: 1.3rem;
}

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

.gd-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    color: var(--gd-ink-soft);
    font-size: 0.96rem;
    padding: 0 4px;
}

.gd-faq-item.open .gd-faq-answer {
    max-height: 220px;
    padding: 0 4px 22px;
}

.gd-price-note {
    text-align: center;
    color: var(--gd-ink-faint);
    font-size: 0.85rem;
    margin-top: 60px;
    font-style: italic;
}

/* ==========================================================================
   10. Contact Page
   ========================================================================== */

.gd-contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
}

.gd-contact-info-item {
    display: flex;
    gap: 18px;
    margin-bottom: 30px;
}

.gd-contact-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--gd-accent-soft);
    color: var(--gd-accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gd-contact-info-item h4 {
    font-size: 1.02rem;
    margin-bottom: 4px;
}

.gd-contact-info-item p,
.gd-contact-info-item a {
    color: var(--gd-ink-soft);
    font-size: 0.96rem;
}

.gd-form-card {
    background-color: var(--gd-paper);
    border: 1px solid var(--gd-line);
    border-radius: var(--gd-radius-lg);
    padding: 44px;
    box-shadow: var(--gd-shadow-card);
}

.gd-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.gd-field {
    margin-bottom: 20px;
}

.gd-field label {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    color: var(--gd-ink-soft);
    margin-bottom: 8px;
}

.gd-field input,
.gd-field select,
.gd-field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--gd-line);
    border-radius: var(--gd-radius-sm);
    background-color: var(--gd-cream);
    font-family: var(--gd-font-body);
    font-size: 0.96rem;
    color: var(--gd-ink);
    transition: var(--gd-transition);
}

.gd-field textarea {
    resize: vertical;
    min-height: 120px;
}

.gd-field input:focus,
.gd-field select:focus,
.gd-field textarea:focus {
    outline: none;
    border-color: var(--gd-accent);
    background-color: var(--gd-paper);
}

.gd-form-notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background-color: var(--gd-accent-soft);
    border: 1px solid var(--gd-accent);
    color: var(--gd-accent-dark);
    border-radius: var(--gd-radius-sm);
    padding: 16px 18px;
    font-size: 0.92rem;
    margin-bottom: 22px;
}

/* ==========================================================================
   11. Footer
   ========================================================================== */

.gd-footer {
    background-color: var(--gd-ink);
    color: rgba(250, 246, 240, 0.7);
    padding: 64px 0 32px;
}

.gd-footer-inner {
    text-align: center;
}

.gd-footer-brand {
    margin-bottom: 24px;
}

.gd-footer-brand .gd-logo-main {
    color: var(--gd-cream);
}

.gd-footer-nav {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

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

.gd-footer-note {
    max-width: 640px;
    margin: 0 auto 20px;
    font-size: 0.88rem;
    line-height: 1.6;
}

.gd-footer-note a {
    color: var(--gd-accent-soft);
    border-bottom: 1px solid rgba(236, 212, 196, 0.4);
}

.gd-footer-copy {
    font-size: 0.78rem;
    opacity: 0.6;
}

.gd-footer-copy a {
    color: inherit;
    border-bottom: 1px solid rgba(250, 246, 240, 0.3);
}

/* ==========================================================================
   12. Responsive
   ========================================================================== */

@media (max-width: 960px) {
    .gd-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gd-about-intro,
    .gd-contact-grid,
    .gd-two-col {
        grid-template-columns: 1fr;
    }

    .gd-about-portrait {
        max-width: 420px;
        margin: 0 auto;
    }

    .gd-stats-row {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 32px;
    }

    .gd-arch-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gd-container {
        padding: 0 22px;
    }

    .gd-section {
        padding: 70px 0;
    }

    .gd-menu-toggle {
        display: flex;
    }

    .gd-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(78vw, 320px);
        background-color: var(--gd-cream);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 40px;
        gap: 26px;
        transform: translateX(100%);
        transition: var(--gd-transition);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.12);
    }

    .gd-nav.open {
        transform: translateX(0);
    }

    .gd-nav-dropdown {
        width: 100%;
    }

    .gd-nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .gd-nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: none;
        padding: 6px 0 6px 12px;
        min-width: 0;
        display: none;
    }

    .gd-nav-dropdown.open .gd-nav-dropdown-menu {
        display: flex;
    }

    .gd-nav-dropdown.open .gd-caret {
        transform: rotate(180deg);
    }

    .gd-gallery {
        column-count: 2;
    }

    .gd-form-row {
        grid-template-columns: 1fr;
    }

    .gd-addon-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .gd-gallery {
        column-count: 1;
    }

    .gd-pricing-grid {
        grid-template-columns: 1fr;
    }

    .gd-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .gd-arch-grid {
        grid-template-columns: 1fr;
    }

    .gd-landscape-panel {
        height: 60vh;
    }

    .gd-slideshow {
        aspect-ratio: 3 / 4;
    }
}
