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

:root { --navy: #07111f; --navy-soft: #0d1d31; --glass: rgba(16, 37, 59, .68); --line: rgba(166, 214, 238, .2); --text: #eff8ff; --muted: #9db6c8; --cyan: #62d8e8; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: #1e2933;
  font-family: Georgia, 'Times New Roman', serif;
}

body.portal-page { background: var(--navy); }
[hidden] { display: none !important; }
.landing-page { min-height: 100vh; overflow: hidden; color: var(--text); background: radial-gradient(circle at 76% 9%, rgba(68, 162, 213, .2), transparent 28rem), linear-gradient(135deg, #06101d, #0b1a2d 52%, #081322); font-family: 'DM Sans', sans-serif; }
.landing-page::before { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(120deg, transparent 0 45%, rgba(98, 216, 232, .035) 45.1% 45.3%, transparent 45.4% 100%); content: ''; }
.landing-nav, .landing-hero, .landing-section, .landing-footer { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding-left: 3vw; padding-right: 3vw; }
.landing-nav { z-index: 20; isolation: isolate; overflow: visible; }
.landing-nav { display: flex; align-items: center; gap: 24px; min-height: 66px; border-bottom: 1px solid var(--line); background: rgba(4, 17, 31, .48); }
.brand-lockup { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--text); text-decoration: none; }
.brand-lockup strong, .brand-lockup small { display: block; }
.brand-lockup strong { color: #fff; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; }
.brand-lockup small { margin-top: 3px; color: var(--muted); font-size: 9px; letter-spacing: .08em; }
.brand-logo { width: 54px; height: 54px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(98, 216, 232, .3)); }
.brand-mark { position: relative; display: grid; width: 37px; height: 28px; place-items: center; border: 2px solid var(--cyan); border-radius: 5px; color: var(--cyan); }
.brand-mark::before { width: 11px; height: 11px; border: 2px solid var(--cyan); border-radius: 50%; content: ''; }
.brand-mark::after { position: absolute; top: -6px; left: 8px; width: 10px; height: 5px; border: 2px solid var(--cyan); border-bottom: 0; border-radius: 3px 3px 0 0; content: ''; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links > a, .login-menu summary, .register-menu summary { align-items: center; color: var(--muted); display: inline-flex; font: 400 15px/1.2 'DM Sans', Arial, sans-serif; gap: 4px; text-decoration: none; white-space: nowrap; }
.login-menu summary, .register-menu summary { box-sizing: border-box; display: inline-flex; flex-shrink: 0; min-height: 40px; padding: 0 16px; border: 1px solid rgba(98, 216, 232, .9) !important; border-radius: 10px; background: rgba(7, 28, 45, .92) !important; box-shadow: inset 0 0 0 1px rgba(98, 216, 232, .12), 0 0 14px rgba(26, 154, 215, .14); color: #f4fbff !important; }
.login-menu summary { min-width: 120px; justify-content: center; }
.register-menu summary { min-width: 245px; justify-content: center; }
.nav-links > a:hover, .login-menu summary:hover, .register-menu summary:hover { color: var(--text); }
.login-menu summary, .register-menu summary { cursor: pointer; list-style: none; }
.login-menu summary::-webkit-details-marker, .register-menu summary::-webkit-details-marker { display: none; }
.login-menu summary span, .register-menu summary span { color: var(--cyan); margin-left: 1px; }
.login-menu, .register-menu { position: relative; }
.login-popover, .register-popover { position: absolute; top: 44px; right: 0; z-index: 100; display: grid; width: 230px; gap: 6px; padding: 9px; border: 1px solid rgba(176, 224, 246, .46); border-radius: 11px; background: #08182a; box-shadow: 0 20px 60px rgba(0, 0, 0, .65); isolation: isolate; }
.login-popover-heading { display: grid; gap: 4px; padding: 12px 13px 10px; }
.login-popover-heading strong { color: var(--text); font: 600 15px 'DM Sans', sans-serif; }
.login-popover-heading small { color: var(--muted); font-size: 11px; }
.login-popover a, .register-popover a { display: flex; min-height: 42px; align-items: center; padding: 0 12px; border-radius: 9px; color: var(--text); font: 600 12px/1.2 'DM Sans', Arial, sans-serif; }
.login-popover a:nth-of-type(1) { background: linear-gradient(135deg, #a8334c, #dc5366); }
.login-popover a:nth-of-type(2) { background: linear-gradient(135deg, #0878b8, #149fe3); }
.login-popover a:nth-of-type(3) { background: linear-gradient(135deg, #079655, #16bd70); }
.register-popover a:nth-of-type(1) { background: linear-gradient(135deg, #d47a00, #f3a900); }
.register-popover a:nth-of-type(2) { background: #f5f8fb; color: #183047; }
.login-popover a:hover { background: rgba(98, 216, 232, .1); }
.login-popover strong, .register-popover strong { font: inherit; }
.register-popover a:nth-of-type(1) strong { color: #fff; }
.register-popover a:nth-of-type(2) small { color: #587086; }
.landing-hero { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: center; min-height: 505px; padding-top: 54px; padding-bottom: 24px; background: radial-gradient(ellipse at 50% 30%, rgba(38, 127, 176, .42), transparent 45%), linear-gradient(120deg, rgba(5, 15, 27, .98), rgba(15, 61, 91, .72) 52%, rgba(5, 15, 27, .9)), repeating-linear-gradient(135deg, transparent 0 56px, rgba(98, 216, 232, .06) 57px 59px); }
.hero-copy { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; text-align: center; }
.eyebrow { margin: 0 0 17px; color: var(--cyan); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.landing-hero h1, .landing-section h2 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-weight: 600; letter-spacing: -.02em; }
.landing-hero h1 { max-width: none; font-size: clamp(3.5rem, 8vw, 6.4rem); line-height: .92; }
.landing-hero h1 em { color: var(--cyan); font-style: normal; }
.landing-hero h2 { margin-top: 24px; color: #fff; font: 500 clamp(1.3rem, 2.2vw, 2rem) 'DM Sans', sans-serif; letter-spacing: .01em; }
.hero-copy > p:not(.eyebrow) { max-width: 440px; margin: 15px auto 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.hero-actions { display: none; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid transparent; border-radius: 3px; font: 600 12px 'DM Sans', sans-serif; text-decoration: none; }
.button-primary { background: linear-gradient(135deg, #1b9ee4, #0b78c6); color: #fff; box-shadow: 0 7px 18px rgba(7, 117, 190, .25); }
.button-secondary { border-color: var(--line); color: var(--text); }
.button:hover { transform: translateY(-2px); }
.text-link { color: var(--cyan); font-size: 13px; text-decoration: none; }
.hero-frame { position: absolute; inset: 0; min-height: 0; padding: 22px; border: 0; opacity: .62; background: linear-gradient(145deg, rgba(83, 157, 206, .22), rgba(5, 15, 27, .5)), repeating-linear-gradient(135deg, transparent 0 34px, rgba(148, 216, 241, .06) 35px 36px); box-shadow: 0 25px 90px rgba(0, 0, 0, .28); }
.hero-frame-inner { display: flex; min-height: 100%; flex-direction: column; justify-content: space-between; padding: 20px; border: 1px solid rgba(188, 230, 247, .22); }
.hero-frame strong { font: 600 clamp(2.2rem, 5vw, 4.8rem)/.95 'Playfair Display', Georgia, serif; }
.frame-label, .frame-caption { color: var(--muted); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.frame-line { width: 46px; border-top: 2px solid var(--cyan); }
.hero-search { position: relative; z-index: 2; width: min(100%, 1040px); margin: 0 auto; grid-column: 1; grid-template-columns: 1.05fr repeat(4, 1fr) auto; border-radius: 12px; }
.hero-search label:has(input[name="service"]), .hero-search label:has(input[name="maxBudget"]) { display: none; }
.category-strip { position: relative; z-index: 1; display: grid; max-width: 1240px; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; margin: 0 auto; padding: 16px 3vw; border: 0; overflow: visible; }
.category-strip a { position: relative; display: flex; min-height: 120px; flex-direction: column; align-items: center; justify-content: center; gap: 13px; padding: 14px 10px; border: 1px solid rgba(98, 216, 232, .35); border-radius: 12px; background: rgba(11, 39, 61, .82); box-shadow: inset 0 1px rgba(255, 255, 255, .06), 0 10px 24px rgba(0, 0, 0, .2); color: #f4fbff; font: 600 16px/1.2 'DM Sans', Arial, sans-serif; text-align: center; text-decoration: none; white-space: nowrap; }
  .category-strip a::before { display: grid; width: 38px; height: 38px; place-items: center; color: var(--cyan); font-size: 36px; line-height: 1; }
     .category-strip a:nth-child(1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%2362d8e8' stroke-width='2.5'%3E%3Ccircle cx='19' cy='24' r='9'/%3E%3Ccircle cx='29' cy='24' r='9'/%3E%3C/svg%3E"); }
     .category-strip a:nth-child(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%2362d8e8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 38S8 29 8 18c0-5 3-8 8-8 4 0 7 3 8 6 1-3 4-6 8-6 5 0 8 3 8 8 0 11-16 20-16 20Z'/%3E%3C/svg%3E"); }
     .category-strip a:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%2362d8e8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='11' width='32' height='29' rx='3'/%3E%3Cpath d='M8 19h32M16 8v7M32 8v7M15 26h4M23 26h4M31 26h3M15 33h4M23 33h4'/%3E%3C/svg%3E"); }
     .category-strip a:nth-child(4)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%2362d8e8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='16' r='7'/%3E%3Cpath d='M11 40c1-9 6-14 13-14s12 5 13 14'/%3E%3C/svg%3E"); }
     .category-strip a:nth-child(5)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%2362d8e8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m24 7 15 8v18l-15 8-15-8V15l15-8Z'/%3E%3Cpath d='m9 15 15 8 15-8M24 23v18'/%3E%3C/svg%3E"); }
     .category-strip a:nth-child(6)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%2362d8e8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='14' width='25' height='20' rx='3'/%3E%3Cpath d='m32 20 9-5v18l-9-5M14 10v4M24 10v4'/%3E%3C/svg%3E"); }
     .category-strip a:nth-child(7)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%2362d8e8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='11' height='11' rx='1'/%3E%3Crect x='28' y='9' width='11' height='11' rx='1'/%3E%3Crect x='9' y='28' width='11' height='11' rx='1'/%3E%3Crect x='28' y='28' width='11' height='11' rx='1'/%3E%3C/svg%3E"); }
.category-strip a:hover, .category-strip a:focus { border-color: rgba(98, 216, 232, .8); background: rgba(15, 82, 122, .86); box-shadow: 0 0 16px rgba(98, 216, 232, .18); color: #fff; outline: 0; transform: translateY(-2px); }
.landing-section { padding-top: 70px; padding-bottom: 70px; border-top: 1px solid var(--line); }
.landing-section h2 { font-size: clamp(2.1rem, 5vw, 4.6rem); line-height: 1; }
.section-heading { margin-bottom: 36px; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-note { max-width: 390px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.login-grid, .service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.glass-card, .search-panel, .empty-state { border: 1px solid var(--line); background: var(--glass); box-shadow: 0 18px 60px rgba(0, 0, 0, .12); backdrop-filter: blur(16px); }
.login-card { position: relative; min-height: 210px; padding: 25px; color: var(--text); text-decoration: none; }
.login-card:hover { border-color: rgba(98, 216, 232, .7); transform: translateY(-4px); }
.card-kicker, .empty-index, .service-item > span { color: var(--cyan); font-size: 10px; letter-spacing: .14em; }
.login-card h3 { margin: 50px 0 8px; font: 600 25px 'Playfair Display', Georgia, serif; }
.login-card span:not(.card-kicker) { color: var(--muted); font-size: 12px; }
.login-card b { position: absolute; right: 25px; bottom: 22px; color: var(--cyan); font-size: 22px; font-weight: 400; }
.search-panel { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr) auto; gap: 10px; padding: 13px; border-radius: 12px; }
.search-panel label { display: grid; gap: 8px; color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.search-panel input, .search-panel select, .location-button { min-width: 0; height: 42px; padding: 0 12px; border: 1px solid rgba(126, 163, 184, .7); border-radius: 9px; background: #d3dce2; color: #173047; font: 12px 'DM Sans', sans-serif; }
.search-panel input::placeholder { color: #526a7c; opacity: 1; }
.location-field { position: relative; }
.location-suggestions { position: absolute; top: calc(100% + 4px); right: 0; left: 0; z-index: 6; max-height: 170px; overflow-y: auto; padding: 4px; border: 1px solid var(--line); border-radius: 7px; background: rgba(7, 20, 35, .98); box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }
.location-suggestion { display: block; width: 100%; padding: 8px 9px; border: 0; background: transparent; color: var(--text); font: 11px 'DM Sans', sans-serif; text-align: left; cursor: pointer; }
.location-suggestion:hover, .location-suggestion:focus { background: rgba(98, 216, 232, .12); color: var(--cyan); outline: 0; }
.location-button { text-align: left; cursor: pointer; }
.empty-state { display: flex; min-height: 112px; align-items: center; gap: 24px; margin-top: 17px; padding: 20px; color: var(--muted); }
.empty-state p { margin: 0; font-size: 13px; line-height: 1.6; }
.nearby-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(230px, 1fr); gap: 14px; }
.nearby-results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; color: var(--muted); font-size: 13px; }
.photographer-card { overflow: hidden; color: var(--text); }
.photographer-card-image { display: grid; min-height: 112px; place-items: center; background: linear-gradient(140deg, rgba(98, 216, 232, .25), rgba(8, 21, 37, .8)); color: var(--cyan); font: 600 40px 'Playfair Display', Georgia, serif; }
.photographer-card-body { display: grid; gap: 7px; padding: 13px; }
.photographer-card h3 { margin: 0; font: 600 18px 'Playfair Display', Georgia, serif; }
.photographer-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.photographer-card-meta { color: var(--cyan) !important; }
.photographer-card .button { width: max-content; margin-top: 5px; }
.why-panel { display: grid; align-content: start; gap: 20px; margin-top: 18px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: rgba(13, 36, 58, .48); }
.why-panel > div { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.why-panel strong { color: var(--text); font-size: 12px; font-weight: 500; }
.feature-section { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.feature-card { min-height: 190px; padding: 20px; border-radius: 12px; }
.feature-icon { display: block; margin-bottom: 17px; color: var(--cyan); font-size: 23px; }
.feature-card h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.feature-card > p:not(.eyebrow) { color: var(--muted); font-size: 12px; line-height: 1.55; }
.feature-status { display: block; margin-top: 16px; color: var(--cyan); font-size: 11px; line-height: 1.4; }
.feature-action, .section-action { display: inline-flex; min-height: 30px; align-items: center; justify-content: center; margin-top: 12px; padding: 0 12px; border: 1px solid rgba(98, 216, 232, .5); border-radius: 6px; background: rgba(8, 79, 126, .56); color: #fff; font: 600 10px 'DM Sans', sans-serif; text-decoration: none; }
.feature-action:disabled, .section-action:disabled { cursor: not-allowed; opacity: .76; }
.feature-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 45px; align-items: center; }
.feature-grid p, .about-copy > p, .service-item p, .contact-section p { color: var(--muted); line-height: 1.75; }
.second-feature { margin-top: 70px; }
.compact { margin-top: 0; min-height: 150px; }
.about-section { background: rgba(12, 31, 50, .36); }
.about-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-copy > p { max-width: 560px; margin: 0; font: 400 24px/1.45 'Playfair Display', Georgia, serif; color: var(--text); }
.about-meta { display: grid; grid-template-columns: 40px 1fr; gap: 16px 20px; color: var(--muted); font-size: 12px; }
.service-item { padding: 24px 0; border-top: 1px solid var(--line); }
.service-item h3 { margin: 34px 0 0; font: 600 26px 'Playfair Display', Georgia, serif; }
.contact-section { display: flex; justify-content: space-between; gap: 40px; }
.contact-details { display: grid; align-content: end; gap: 10px; min-width: 250px; color: var(--muted); font-size: 13px; text-align: right; }
.contact-details a { color: var(--cyan); }
.landing-footer { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; padding-top: 35px; padding-bottom: 38px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.landing-footer strong, .landing-footer span { display: block; }
.landing-footer strong { color: var(--text); font-size: 13px; }
.landing-footer a { color: var(--muted); text-decoration: none; }
.landing-footer a:hover { color: var(--cyan); }
.footer-links, .footer-legal { display: flex; flex-wrap: wrap; align-content: start; gap: 12px 18px; }
.footer-legal { justify-content: end; }
.why-panel small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 400; }
.stats-strip { position: relative; z-index: 1; display: grid; max-width: 1240px; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0 auto; padding: 0 3vw; background: var(--line); }
.stats-strip div { display: grid; gap: 5px; padding: 14px 10px; background: var(--navy-soft); text-align: center; }
.stats-strip strong { color: var(--cyan); font: 600 16px 'Playfair Display', Georgia, serif; }
.stats-strip span { color: var(--muted); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }

.public-portal {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.portal-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  border-bottom: 1px solid #d5dde3;
  padding-bottom: 1rem;
}

.portal-header h1 {
  margin: 0;
}

.business-name {
  margin: 0 0 0.4rem;
  color: #4a5d55;
}

.portal-entry-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.portal-entry-actions a {
  border: 1px solid #116466;
  border-radius: 4px;
  color: #116466;
  padding: 0.55rem 0.75rem;
  text-decoration: none;
}

.portal-entry-actions a:hover {
  background: #116466;
  color: #fff;
}

#portal-login {
  color: #116466;
}

.public-package-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.public-package {
  border: 1px solid #d5dde3;
  border-radius: 8px;
  padding: 1rem;
}

.public-package h3 {
  margin-top: 0;
}

.public-package img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
}

.booking-form {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.booking-form label {
  display: grid;
  gap: 0.25rem;
}

.booking-form input,
.booking-form textarea,
.booking-form button {
  box-sizing: border-box;
  font: inherit;
  padding: 0.5rem;
}

.booking-form textarea {
  min-height: 4rem;
  resize: vertical;
}

@media (max-width: 820px) {
  .landing-nav { flex-wrap: wrap; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
  .nav-links { order: 3; width: 100%; justify-content: space-between; gap: 10px; }
  .landing-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 80px; padding-bottom: 24px; }
  .hero-frame { max-width: 520px; width: 100%; }
  .search-panel { grid-template-columns: repeat(2, 1fr); }
  .search-panel > .button { grid-column: 1 / -1; }
  .feature-grid, .about-copy { grid-template-columns: 1fr; gap: 25px; }
  .nearby-results { grid-template-columns: repeat(2, 1fr); }
  .nearby-layout, .feature-section { grid-template-columns: 1fr; }
  .why-panel { grid-template-columns: 1fr; }
  .landing-footer { grid-template-columns: 1fr 1fr; }
  .footer-legal { justify-content: start; }
  .contact-section { flex-direction: column; }
  .contact-details { text-align: left; }
}

@media (max-width: 540px) {
  .landing-nav, .landing-hero, .landing-section, .landing-footer { padding-left: 20px; padding-right: 20px; }
  .nav-register { width: 100%; text-align: center; }
  .landing-hero { padding-top: 60px; padding-bottom: 18px; }
  .landing-hero h1 { font-size: clamp(3.1rem, 16vw, 5rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .login-grid, .service-grid, .search-panel { grid-template-columns: 1fr; }
  .nearby-results { grid-template-columns: 1fr; }
  .search-panel > .button { grid-column: auto; }
  .landing-section { padding-top: 75px; padding-bottom: 75px; }
  .landing-footer { flex-direction: column; gap: 12px; }
  .landing-footer { grid-template-columns: 1fr; }
  .nav-links { overflow-x: auto; justify-content: start; }
  .category-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; overflow: visible; }
  .category-strip a { min-height: 54px; padding: 7px 4px; font-size: 9px; }
  .login-menu { flex: 0 0 auto; }
  .login-popover { position: fixed; top: 125px; right: 20px; left: 20px; width: auto; }
}

/* Desktop reference composition: keep the public portal dense without changing behavior. */
@media (min-width: 821px) {
  .landing-nav, .landing-hero, .landing-section, .landing-footer { padding-left: 24px; padding-right: 24px; }
  .landing-nav { min-height: 58px; }
  .landing-hero { min-height: 394px; padding-top: 30px; padding-bottom: 14px; }
  .landing-hero h1 { font-size: clamp(3rem, 5.5vw, 5.8rem); }
  .landing-hero h2 { margin-top: 10px; font-size: 1.35rem; }
  .hero-copy > p:not(.eyebrow) { margin-top: 8px; font-size: 14px; }
  .hero-actions { margin-top: 15px; }
  .hero-frame-inner { padding: 14px; }
  .hero-frame strong { font-size: clamp(2rem, 4vw, 3.8rem); }
  .hero-search { gap: 7px; padding: 10px; }
  .search-panel label { gap: 5px; font-size: 9px; }
  .search-panel input, .search-panel select, .location-button { padding: 9px 8px; font-size: 11px; }
  .button { min-height: 36px; padding: 0 13px; font-size: 11px; }
  .category-strip { padding-left: 24px; padding-right: 24px; }
  .category-strip a { min-height: 58px; padding: 8px 5px; font-size: 10px; }
  .landing-section { padding-top: 28px; padding-bottom: 28px; }
  .section-heading { margin-bottom: 14px; }
  .landing-section h2 { font-size: clamp(1.7rem, 3vw, 2.7rem); }
  .section-note { font-size: 11px; line-height: 1.4; }
  .nearby-results { margin-top: 8px; }
  .empty-state { min-height: 78px; margin-top: 8px; padding: 13px; }
  .empty-state p { font-size: 11px; }
  .photographer-card-image { min-height: 84px; }
  .photographer-card-body { gap: 5px; padding: 10px; }
  .photographer-card h3 { font-size: 16px; }
  .photographer-card p { font-size: 10px; }
  .why-panel { gap: 10px; margin-top: 8px; padding: 13px; }
  .why-panel > div { gap: 9px; }
  .why-panel strong { font-size: 10px; }
  .feature-section { gap: 9px; }
  .feature-card { min-height: 132px; padding: 13px; }
  .feature-icon { margin-bottom: 8px; font-size: 18px; }
  .feature-card h2 { font-size: 1.65rem; }
  .feature-card > p:not(.eyebrow), .feature-status { margin: 7px 0 0; font-size: 10px; line-height: 1.35; }
  .about-section { padding-top: 24px; padding-bottom: 24px; }
  .about-copy { gap: 25px; }
  .about-copy > p { font-size: 16px; }
  .about-meta { gap: 7px 12px; font-size: 10px; }
  .testimonials-section { padding-top: 24px; padding-bottom: 24px; }
  .contact-section { padding-top: 24px; padding-bottom: 24px; }
  .landing-footer { padding-top: 16px; padding-bottom: 18px; }
}

@media (min-width: 1200px) {
  .landing-hero { min-height: 430px; padding-top: 34px; }
  .hero-copy { transform: translateY(-8px); }
  .hero-search { grid-template-columns: 1.1fr repeat(3, 1fr) 1.1fr .85fr auto; }
  .nearby-results { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nearby-section { padding-top: 25px; padding-bottom: 25px; }
  .feature-section { padding-top: 24px; padding-bottom: 24px; }
}
