:root {
    --ink: #1c231f;
    --ink-soft: #52584f;
    --cream: #f7f4ee;
    --cream-deep: #efe8da;
    --copper: #bf8a52;
    --copper-dark: #96632f;
    --forest: #16241d;
    --forest-deep: #0c1410;
    --line: rgba(28,35,31,.14);
    --white: #ffffff;
    --shadow: 0 30px 80px rgba(12,17,14,.18);
    --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    color: var(--ink);
    background: var(--cream);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { padding-left: 20px; color: var(--ink-soft); line-height: 1.9; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; letter-spacing: -.02em; }

/* --- Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px clamp(20px, 4vw, 64px);
    background: rgba(247,244,238,.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.logo-link { display: flex; align-items: baseline; min-width: 0; font-family: 'Playfair Display', Georgia, serif; font-size: 22px; color: var(--ink); }
.logo-link .logo-suffix { color: var(--copper); }
.logo-full, .logo-compact { display: none; }
.site-nav { display: flex; align-items: center; gap: 34px; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; }
.site-nav a { color: var(--ink-soft); }
.site-nav a:hover { color: var(--copper); }
.nav-cta { padding: 13px 22px; border-radius: var(--radius); background: var(--forest); color: white !important; letter-spacing: .12em; }
.nav-toggle { display: none; border: 0; background: var(--forest); color: white; border-radius: var(--radius); padding: 10px 13px; font-size: 20px; }

/* --- Shared type --- */
.eyebrow { margin: 0 0 14px; color: var(--copper); text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 700; }
.section-pad { padding: clamp(64px, 8vw, 120px) clamp(20px, 6vw, 90px); }
h1 { font-size: clamp(42px, 6.4vw, 84px); line-height: 1.04; margin-bottom: 26px; }
h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.08; margin-bottom: 18px; }
h3 { font-size: 24px; line-height: 1.2; margin-bottom: 10px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.7; color: rgba(255,255,255,.86); max-width: 620px; }
.button { display: inline-flex; justify-content: center; align-items: center; border: 0; border-radius: var(--radius); padding: 16px 26px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--white); color: var(--ink); }
.button-primary:hover { background: var(--copper); color: white; }
.button-secondary { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.55); }
.button-secondary:hover { background: rgba(255,255,255,.12); }

/* --- Hero --- */
.hero { position: relative; min-height: 94vh; display: flex; align-items: flex-end; padding: 0 !important; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero-media::after {
    content: "";
    position: absolute; inset: 0;
    background:
        linear-gradient(0deg, rgba(8,12,10,.58) 0%, rgba(8,12,10,.18) 40%, transparent 68%);
}
.hero-exif { position: absolute; top: 28px; right: clamp(20px, 4vw, 64px); z-index: 2; text-align: right; color: rgba(255,255,255,.72); font-size: 11px; text-transform: uppercase; letter-spacing: .16em; line-height: 1.9; }
.hero-inner { position: relative; z-index: 2; width: 100%; padding: 0 clamp(20px, 6vw, 90px) clamp(56px, 8vw, 96px); color: white; }
.hero-inner .eyebrow { color: rgba(255,255,255,.8); }
.hero-inner h1, .hero-inner .lead, .hero-inner .eyebrow { text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: rgba(255,255,255,.68); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.trust-row .dot { opacity: .5; }

/* --- Selected Work / Portfolio --- */
.work-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.work-head .intro-copy { color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-item { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--cream-deep); }
.work-item.tall { grid-row: span 2; min-height: 520px; }
.work-item.short { min-height: 250px; }
.work-item.short img { position: absolute; inset: 0; }
.work-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work-item:hover img { transform: scale(1.04); }
.work-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; background: linear-gradient(0deg, rgba(8,12,10,.72), transparent); color: white; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; opacity: 0; transition: opacity .3s ease; }
.work-item:hover .work-caption { opacity: 1; }

/* --- Capabilities (clickable example cards) --- */
.capabilities-section { background: var(--cream-deep); }
/* --- Legal pages --- */
.legal-page { max-width: 760px; margin: 0 auto; padding-top: 140px; }
.legal-page h1 { font-family: 'Playfair Display', serif; font-size: clamp(34px, 5vw, 48px); margin: 0 0 20px; }
.legal-page h2 { font-family: 'Playfair Display', serif; font-size: 24px; margin: 36px 0 10px; }
.legal-page p { color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.legal-page a { color: var(--copper); }

/* 6-track grid with cards spanning 2, so a short last row (1 or 2 cards) can be centered */
.cap-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; margin-top: 48px; }
.cap-grid > .cap-card { grid-column: span 2; }
.cap-grid > .cap-card:last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
.cap-grid > .cap-card:nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
.cap-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: left; cursor: pointer; padding: 0; font: inherit; color: inherit; display: block; width: 100%; transition: transform .25s ease, box-shadow .25s ease; }
.cap-card:hover, .cap-card:focus-visible { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(28,35,31,.14); outline: none; }
.cap-thumb { position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden; background: var(--cream-deep); }
.cap-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cap-card:hover .cap-thumb img { transform: scale(1.06); }
.cap-thumb-badge { position: absolute; top: 14px; left: 14px; background: rgba(12,17,14,.72); color: white; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; padding: 6px 10px; border-radius: 999px; }
.cap-thumb-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(12,17,14,.22); }
.cap-thumb-play span { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.94); display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--forest); }
.cap-body { padding: 22px 22px 24px; }
.cap-body h3 { font-size: 21px; margin-bottom: 8px; }
.cap-body p { color: var(--ink-soft); font-size: 14px; line-height: 1.6; margin-bottom: 14px; }
.cap-view-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--copper); }
.cap-view-link .material-arrow { transition: transform .2s ease; }
.cap-card:hover .cap-view-link .material-arrow { transform: translateX(3px); }

/* --- Service example modal --- */
.service-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility .25s ease; }
.service-modal[aria-hidden="false"] { opacity: 1; visibility: visible; pointer-events: auto; }
.service-modal-backdrop { position: absolute; inset: 0; background: rgba(12,17,14,.74); backdrop-filter: blur(6px); }
.service-modal-panel { position: relative; width: min(1080px, 100%); max-height: min(840px, calc(100vh - 40px)); overflow: auto; background: var(--cream); border-radius: 18px; box-shadow: 0 40px 100px rgba(0,0,0,.4); }
.service-modal-grid { display: grid; grid-template-columns: 1.05fr 1fr; }
.modal-gallery { padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; background: var(--cream-deep); }
.modal-gallery img { width: 100%; height: 160px; object-fit: cover; border-radius: 10px; background: var(--white); }
.modal-gallery .full { grid-column: 1 / -1; height: 300px; }
.modal-gallery .full-group { grid-column: 1 / -1; }
.modal-gallery .full-group .full { height: 200px; }
.modal-gallery .pair { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-gallery .pair-label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); margin: 0 0 6px; text-align: center; }
.modal-gallery .pair-group h5 { margin: 0 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--copper); text-align: center; }
.modal-copy { padding: clamp(26px, 4vw, 44px); }
.modal-copy .eyebrow { margin-bottom: 10px; }
.modal-copy h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.modal-copy p.desc { color: var(--ink-soft); line-height: 1.7; margin-bottom: 22px; }
.modal-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 22px; }
.modal-columns h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--copper); margin-bottom: 10px; }
.modal-columns ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink-soft); }
.modal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--forest); color: white; font-size: 24px; line-height: 1; cursor: pointer; }
body.modal-open { overflow: hidden; }

/* --- Packages --- */
.packages-section { background: var(--cream); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.price-card { position: relative; display: flex; flex-direction: column; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.price-card p { color: var(--ink-soft); line-height: 1.7; }
.price { font-family: 'Playfair Display', Georgia, serif; font-size: 44px; color: var(--copper); margin-bottom: 0; }
.featured { background: var(--forest); color: white; border-color: transparent; }
.featured p, .featured li { color: rgba(255,255,255,.78); }
.featured .price { color: #d9ab6f; }
.badge { position: absolute; top: 18px; right: 18px; background: var(--copper); color: white; border-radius: 999px; padding: 8px 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

/* --- Studio / About --- */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.studio-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-section p { color: var(--ink-soft); line-height: 1.75; margin-bottom: 18px; }

/* --- Reserve / Book (dark) --- */
.contact-section { background: var(--forest); color: white; }
.contact-section .eyebrow { color: #d9ab6f; }
.contact-section h2 { color: white; }
.contact-section > .section-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.reserve-steps { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-direction: column; gap: 18px; }
.reserve-steps li { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.82); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.reserve-steps .step-num { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', Georgia, serif; font-size: 14px; flex-shrink: 0; }
.request-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 32px; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.8); }
.field input, .field textarea { width: 100%; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.95); border-radius: var(--radius); padding: 14px 15px; font: inherit; color: var(--ink); }
.form-button { width: 100%; background: var(--copper); color: white; }
.form-button:hover { background: var(--copper-dark); }
.status-message { display: block; margin-top: 14px; color: #fff; font-weight: 600; }

/* --- Footer --- */
.site-footer-wrap { background: var(--forest-deep); color: white; }
.footer-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(56px, 7vw, 90px) clamp(20px, 6vw, 90px) 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-cta h2 { color: white; margin-bottom: 0; max-width: 560px; font-size: clamp(28px, 3.6vw, 44px); }
.footer-columns { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding: 48px clamp(20px, 6vw, 90px); }
.footer-columns h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.55); margin-bottom: 16px; }
.footer-columns p { color: rgba(255,255,255,.6); line-height: 1.7; }
.footer-columns .flogo { font-family: 'Playfair Display', Georgia, serif; font-size: 20px; margin-bottom: 14px; }
.footer-columns .flogo .logo-suffix { color: var(--copper); }
.footer-columns ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-columns ul a, .footer-columns a { color: rgba(255,255,255,.68); font-size: 14px; }
.footer-columns ul a:hover, .footer-columns a:hover { color: white; }
.site-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding: 24px clamp(20px, 6vw, 90px) 32px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; color: rgba(255,255,255,.5); }
.site-footer .flogo { font-family: 'Playfair Display', Georgia, serif; font-size: 15px; color: rgba(255,255,255,.8); }
.site-footer .flogo .logo-suffix { color: var(--copper); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: rgba(255,255,255,.5); }
.footer-legal a:hover { color: white; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
    .site-nav { position: absolute; left: 20px; right: 20px; top: 74px; display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 18px; border-radius: 16px; background: white; box-shadow: var(--shadow); }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 10px 4px; }
    .nav-toggle { display: block; }
    .work-head, .split-section, .contact-section > .section-inner { grid-template-columns: 1fr; }
    .work-grid { grid-template-columns: repeat(2, 1fr); }
    .work-item.tall { grid-row: span 1; min-height: 320px; }
    .cap-grid { grid-template-columns: repeat(2, 1fr); }
    .cap-grid > .cap-card,
    .cap-grid > .cap-card:last-child:nth-child(3n+1),
    .cap-grid > .cap-card:nth-last-child(2):nth-child(3n+1) { grid-column: auto; }
    .service-modal-grid { grid-template-columns: 1fr; }
    .modal-gallery img { height: 130px; }
    .pricing-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .featured { transform: none; }
    .footer-columns { grid-template-columns: 1fr 1fr; }
    .footer-columns > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .site-header { padding: 14px 16px; }
    .section-pad { padding: 54px 18px; }
    .hero { min-height: 86vh; }
    .hero-actions, .button { width: 100%; }
    .hero-exif { display: none; }
    .work-grid { grid-template-columns: 1fr; }
    .work-item.tall { min-height: 260px; }
    .cap-grid { grid-template-columns: 1fr; }
    .modal-columns { grid-template-columns: 1fr; }
    .modal-gallery .pair { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-cta { flex-direction: column; align-items: flex-start; }
    .footer-columns { grid-template-columns: 1fr; }
    .site-footer { flex-direction: column; align-items: flex-start; }
}

/* Essential package and direct inquiry options */
.package-intro { margin-bottom: 38px; max-width: 760px; }
.package-intro > p:last-child, .package-note { color: var(--ink-soft); line-height: 1.75; }
.price-card .price-quote { font-size: 27px; }
.price-card ul { padding-left: 20px; line-height: 1.8; margin: 10px 0 24px; }
.price-card .button { margin-top: auto; text-align: center; }
.package-secondary { color: var(--ink); border: 1px solid var(--line); }
.package-note { max-width: 920px; margin-top: 24px; font-size: 14px; }
.contact-options { display: grid; gap: 18px; min-width: 0; }
.contact-options p { color: rgba(255,255,255,.85); line-height: 1.75; }
.contact-options h3 { color: white; }
.contact-phone { color: white; border: 1px solid rgba(255,255,255,.5); }
.contact-help { font-size: 14px; overflow-wrap: anywhere; }
.contact-help a { color: #f0c996; text-decoration: underline; }

section[id] { scroll-margin-top: 130px; }

/* Bright Tucson property photography hero */
.hero { min-height: 780px; align-items: center; }
.hero-media img { object-position: right center; }
.hero-media::after { background: none; }
.hero-inner { width: min(550px, 46%); margin: 48px 0 48px clamp(20px, 4vw, 64px); padding: 34px; background: rgba(255,251,243,.70); border: 1px solid rgba(255,255,255,.55); border-radius: 14px; color: #193429; box-shadow: 0 12px 40px rgba(34,49,35,.12); }
.hero-inner h1 { color: #193429; font-size: clamp(36px, 4vw, 58px); line-height: 1.08; }
.hero-inner h1, .hero-inner .lead, .hero-inner .eyebrow { text-shadow: none; }
.hero-inner .eyebrow { color: #73502e; }
.hero-inner .hero-price { color: #73502e; font-weight: 700; font-size: 19px; margin: 20px 0 14px; }
.hero-inner .lead { color: #34483d; font-size: 16px; }
.hero-inner .trust-row { color: #42564a; font-size: 10px; }
.hero-inner .button-primary { background: #193429; color: white; }
.hero-inner .button-secondary { color: #193429; border: 1px solid #64776b; }
.hero-inner .hero-actions { gap: 10px; margin: 24px 0; }
@media (max-width: 760px) {
    .hero { display: block; min-height: 0; background: var(--cream); }
    .hero-media { position: relative; height: auto; aspect-ratio: 16 / 9; }
    .hero-media img { display: block; object-fit: cover; }
    .hero-inner { width: auto; margin: 0; padding: 30px 22px; border: 0; border-radius: 0; box-shadow: none; background: #fffbf3; }
}

.agents-section { background: var(--cream-deep); }
.agents-section .package-note a { color: var(--copper-dark); font-weight: 600; }
