/* Public photographer websites. Brand colors arrive as --brand / --accent (+ readable text colors). */
.site {
  --bg: #f8f4ee; --text: #2a241f; --soft: #6f655b; --tint-bg: #f0e9df; --line: rgba(42,36,31,.12); --card: #fffdf9;
  --display: "Cormorant Garamond", Georgia, serif; --body: "Jost", system-ui, sans-serif;
  --display-weight: 500; --h1: clamp(2.8rem, 8vw, 5.6rem); --radius: 4px; --tracking: .02em;
  margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--body); -webkit-font-smoothing: antialiased;
}
.site.theme-modern {
  --bg: #0e0e0e; --text: #f2f0ed; --soft: #a3a09b; --tint-bg: #171717; --line: rgba(255,255,255,.12); --card: #1a1a1a;
  --display: "Manrope", system-ui, sans-serif; --body: "Manrope", system-ui, sans-serif; --display-weight: 800;
  --h1: clamp(2.6rem, 8.5vw, 6.2rem); --radius: 14px; --tracking: -.03em;
}
.site.theme-editorial {
  --bg: #ffffff; --text: #121212; --soft: #5f5f5f; --tint-bg: #f5f4f2; --line: rgba(0,0,0,.1); --card: #fff;
  --display: "Playfair Display", Georgia, serif; --body: "Inter", system-ui, sans-serif; --display-weight: 500;
  --h1: clamp(2.6rem, 6.5vw, 5rem); --radius: 0px; --tracking: -.01em;
}
.site *, .site *::before, .site *::after { box-sizing: border-box; }
.site img { max-width: 100%; display: block; }
.site a { color: inherit; }
.site h1, .site h2, .site h3 { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--tracking); line-height: 1.08; margin: 0 0 .4em; }
.site h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
.site h3 { font-size: 1.45rem; }
.theme-modern h3 { font-size: 1.15rem; font-weight: 700; }
.site p { margin: 0 0 1em; }
.site .icon { flex: none; }
.site :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #000; color: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; }
.s-wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.s-muted { color: var(--soft); }
.s-center { text-align: center; margin-bottom: 24px; }

.preview-bar { position: sticky; top: 0; z-index: 60; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 8px 16px; background: #1b1714; color: #fff; font: 500 .85rem/1.3 system-ui, sans-serif; }
.preview-bar span { display: inline-flex; gap: 8px; align-items: center; }
.preview-bar a { color: #e8c39e; }

.ph-tag { display: inline-flex; align-items: center; font: 600 .66rem/1 system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; background: #fff3cd; color: #7a5800; border: 1px dashed #d9a400; padding: 4px 7px; border-radius: 4px; margin-left: 8px; vertical-align: middle; white-space: nowrap; }
.ph-float { position: absolute; top: 10px; left: 10px; margin: 0; }

/* Buttons */
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: var(--radius);
  font: 500 .92rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s, background .15s, color .15s, box-shadow .15s; }
.theme-modern .s-btn { text-transform: none; letter-spacing: 0; font-weight: 700; border-radius: 999px; }
.s-btn:hover { transform: translateY(-1px); }
.s-btn-accent { background: var(--accent); color: var(--on-accent) !important; }
.s-btn-accent:hover { box-shadow: 0 10px 24px -12px var(--accent); }
.s-btn-brand { background: var(--brand); color: var(--on-brand) !important; }
.theme-modern .s-btn-brand { background: var(--accent); color: var(--on-accent) !important; }
.s-btn-ghost { background: rgba(255,255,255,.08); color: #fff !important; border-color: rgba(255,255,255,.7); backdrop-filter: blur(4px); }
.s-btn-ghost:hover { background: #fff; color: #111 !important; }
.s-btn-sm { min-height: 38px; padding: 0 16px; font-size: .78rem; }
.s-btn-lg { min-height: 54px; padding: 0 30px; }
.s-btn-block { width: 100%; }
.s-btn.loading { opacity: .7; pointer-events: none; }

/* Nav */
.s-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 28px; color: #fff; }
.preview-bar ~ .s-nav { top: 36px; }
.theme-editorial .s-nav { position: relative; color: var(--text); border-bottom: 1px solid var(--line); }
.preview-bar ~ .skip ~ .s-nav { top: 36px; }
.theme-editorial .preview-bar ~ .skip ~ .s-nav { top: 0; }
.s-logo { text-decoration: none; font-family: var(--display); font-size: 1.5rem; font-weight: var(--display-weight); letter-spacing: var(--tracking); }
.s-logo img { max-height: 52px; width: auto; }
.s-links { display: flex; align-items: center; gap: 26px; }
.s-links a:not(.s-btn) { text-decoration: none; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; opacity: .92; }
.theme-modern .s-links a:not(.s-btn) { text-transform: none; letter-spacing: 0; font-size: .95rem; }
.s-links a:not(.s-btn):hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.s-menu-toggle { display: none; }
.s-menu-btn { display: none; cursor: pointer; padding: 6px; }
@media (max-width: 860px) {
  .s-nav { padding: 14px 18px; }
  .s-menu-btn { display: block; }
  .s-links { position: absolute; top: 100%; left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 0; background: var(--card); color: var(--text);
    border-radius: 12px; padding: 8px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.35); display: none; }
  .s-links a:not(.s-btn) { padding: 13px 12px; border-bottom: 1px solid var(--line); }
  .s-links .s-btn { margin-top: 8px; }
  .s-menu-toggle:checked ~ .s-links { display: flex; }
}

/* Hero */
.s-hero { position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #2a241f; }
.s-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s-hero-blank { background: linear-gradient(135deg, var(--brand), var(--accent)); }
.s-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.7) 100%); }
.s-hero-copy { position: relative; z-index: 1; padding: 0 28px 9vh; max-width: 980px; }
.theme-classic .s-hero { align-items: center; justify-content: center; text-align: center; }
.theme-classic .s-hero-copy { padding-bottom: 0; margin: 0 auto; }
.theme-classic .s-hero-cta { justify-content: center; }
.s-hero h1 { font-size: var(--h1); margin-bottom: .15em; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.theme-classic .s-hero h1 { font-style: italic; }
.s-eyebrow { text-transform: uppercase; letter-spacing: .24em; font-size: .78rem; opacity: .9; }
.s-tagline { font-size: clamp(1.05rem, 2.2vw, 1.35rem); max-width: 620px; opacity: .95; }
.theme-classic .s-tagline { margin-left: auto; margin-right: auto; }
.s-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
/* Editorial: split hero */
.theme-editorial .s-hero { min-height: 0; display: grid; grid-template-columns: 1fr 1.35fr; background: var(--bg); color: var(--text); align-items: stretch; }
.theme-editorial .s-hero-img { position: relative; grid-column: 2; grid-row: 1; height: 100%; min-height: 78vh; }
.theme-editorial .s-hero-shade { display: none; }
.theme-editorial .s-hero-copy { grid-column: 1; grid-row: 1; padding: 10vh 44px; align-self: center; }
.theme-editorial .s-hero h1 { text-shadow: none; }
.theme-editorial .s-hero .s-btn-ghost { color: var(--text) !important; border-color: var(--text); background: transparent; }
.theme-editorial .s-hero .s-btn-ghost:hover { background: var(--text); color: var(--bg) !important; }
@media (max-width: 860px) {
  .theme-editorial .s-hero { grid-template-columns: 1fr; }
  .theme-editorial .s-hero-img { grid-column: 1; grid-row: 1; min-height: 56vh; }
  .theme-editorial .s-hero-copy { grid-row: 2; padding: 32px 22px 40px; }
  .s-hero-copy { padding: 0 20px 64px; }
  .s-hero .s-btn { flex: 1 1 100%; }
}

/* Sections */
.s-section { padding: clamp(64px, 10vw, 120px) 0; }
.s-tint { background: var(--tint-bg); }
.s-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.theme-editorial .s-head { text-align: left; margin-left: 0; border-top: 2px solid var(--text); padding-top: 18px; }
.s-kicker { text-transform: uppercase; letter-spacing: .26em; font-size: .74rem; color: var(--accent); margin-bottom: 12px; font-weight: 500; }
.theme-modern .s-kicker { letter-spacing: .14em; }
.theme-classic .s-kicker::before, .theme-classic .s-kicker::after { content: ""; display: inline-block; width: 26px; height: 1px; background: currentColor; vertical-align: middle; margin: 0 12px; opacity: .6; }

/* Portfolio */
.s-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: -14px 0 30px; }
.theme-editorial .s-filters { justify-content: flex-start; }
.s-filters button { font: 500 .82rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.s-filters button.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.s-masonry { columns: 3 300px; column-gap: 14px; }
.theme-modern .s-masonry { column-gap: 10px; }
.theme-editorial .s-masonry { columns: 2 340px; column-gap: 28px; }
.s-shot { position: relative; break-inside: avoid; margin: 0 0 14px; }
.theme-editorial .s-shot { margin-bottom: 28px; }
.s-shot[hidden] { display: none; }
.s-shot-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; border-radius: var(--radius); }
.s-shot img { width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .3s; }
.s-shot-btn:hover img { transform: scale(1.03); }
.s-shot figcaption { font-size: .86rem; color: var(--soft); padding-top: 8px; }

/* Services */
.s-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.s-service { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; }
.theme-classic .s-service { text-align: center; }
.theme-editorial .s-service { border: 0; border-top: 1px solid var(--text); padding: 22px 0 8px; background: none; }
.s-service p { color: var(--soft); font-size: .95rem; flex: 1; }
.s-service-foot { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 16px; }
.theme-classic .s-service-foot { align-items: center; }
.s-price { font-family: var(--display); font-size: 1.5rem; font-weight: var(--display-weight); display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.theme-modern .s-price { font-size: 1.25rem; }
.theme-classic .s-price { justify-content: center; }
.s-duration { display: inline-flex; gap: 6px; align-items: center; color: var(--soft); font-size: .86rem; }
.theme-classic .s-duration { justify-content: center; }
.s-link { display: inline-flex; gap: 6px; align-items: center; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--accent) !important; font-weight: 500; }
.theme-classic .s-link { justify-content: center; }
.s-note { text-align: center; font-size: .86rem; color: var(--soft); margin-top: 22px; }

/* About */
.s-about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.s-about-img img, .s-about-blank { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.theme-classic .s-about-img img { border-radius: 999px 999px 4px 4px; }
.s-about-blank { display: grid; place-items: center; background: var(--tint-bg); color: var(--soft); }
.s-about-copy p { font-size: 1.04rem; }
.s-about-copy .s-btn { margin-top: 12px; }
@media (max-width: 760px) { .s-about { grid-template-columns: 1fr; } .s-about-img { max-width: 420px; } }

/* Gallery band */
.s-band { background: var(--brand); color: var(--on-brand); padding: 56px 0; }
.theme-modern .s-band { background: var(--tint-bg); color: var(--text); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.s-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.s-band h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: .2em; }
.s-band p { margin: 0; opacity: .85; }
@media (max-width: 640px) { .s-band .s-btn { width: 100%; } }

/* Booking form */
.s-book { max-width: 760px; }
.s-form { background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) * 2); padding: clamp(20px, 4vw, 36px); display: grid; gap: 16px; }
.theme-editorial .s-form { border-radius: 0; border-color: var(--text); }
.s-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .s-grid2 { grid-template-columns: 1fr; } }
.s-field label { display: block; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 7px; color: var(--soft); font-weight: 500; }
.s-field input, .s-field select, .s-field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--text); font: 400 1rem/1.4 var(--body); }
.theme-modern .s-field input, .theme-modern .s-field select, .theme-modern .s-field textarea { border-radius: 10px; color-scheme: dark; }
.s-field input:focus, .s-field select:focus, .s-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.s-field.err input, .s-field.err textarea { border-color: #c0392b; }
.s-err { color: #c0392b; font-size: .85rem; margin: 6px 0 0; }
.theme-modern .s-err, .theme-modern .s-form-error { color: #ff8a7a; }
.s-form-error { color: #c0392b; margin: 0; font-weight: 500; }
.s-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.s-fine { font-size: .8rem; color: var(--soft); text-align: center; margin: 0; }
.s-success { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: calc(var(--radius) * 2); background: color-mix(in srgb, var(--accent) 14%, var(--card)); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.s-success .icon { color: var(--accent); margin-top: 2px; }
.s-success p { margin: 4px 0 0; color: var(--soft); }

/* Contact */
.s-contact { list-style: none; padding: 0; margin: 0 auto; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 40px; font-size: 1.08rem; }
.s-contact li { display: inline-flex; align-items: center; gap: 10px; }
.s-contact a { text-decoration: none; border-bottom: 1px solid var(--line); }
.s-contact .icon { color: var(--accent); }
.s-socials { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 30px; }
.s-socials a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); text-decoration: none; transition: background .15s, color .15s; }
.s-socials a:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.theme-editorial .s-contact, .theme-editorial .s-socials { justify-content: flex-start; }

/* Footer */
.s-foot { background: var(--brand); color: var(--on-brand); padding: 48px 0 24px; }
.theme-modern .s-foot { background: #000; color: #eee; }
.s-foot-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.15); }
.s-foot-name { font-family: var(--display); font-size: 1.6rem; font-weight: var(--display-weight); }
.s-foot p { margin: 4px 0 0; opacity: .75; font-size: .92rem; }
.s-foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.s-foot nav a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-size: .9rem; opacity: .9; }
.s-foot nav a:hover { opacity: 1; text-decoration: underline; }
.s-socials-sm { margin: 0; }
.s-socials-sm a { width: 38px; height: 38px; border-color: rgba(255,255,255,.25); }
.s-foot-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; font-size: .8rem; opacity: .7; }
.s-foot-base a { text-decoration: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,8,8,.94); display: grid; place-items: center; padding: 50px 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%) rotate(-90deg); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%) rotate(-90deg); }

.s-unavailable { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 8px; }
.s-unavailable h1 { font-size: 2rem; }

/* Embedded preview (onboarding iframe) */
.embed .s-hero { min-height: 70vh; }
@media (prefers-reduced-motion: reduce) { .site * { transition: none !important; } }
