/* Urrianne Photography — main stylesheet */
:root {
  --bg: #fdfcfa;
  --bg-alt: #f5f1ea;
  --ink: #2b2724;
  --ink-soft: #6b625a;
  --line: #e4ddd2;
  --accent: #a8876a;
  --accent-dark: #8a6c52;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1200px;
  --header-h: 84px;
  --ease: cubic-bezier(.22,.61,.36,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
em { font-style: italic; }
.container { width: min(var(--maxw), 100% - 48px); margin-inline: auto; }
.narrow { max-width: 720px; margin-inline: auto; }
.center { text-align: center; }
.section { padding: clamp(72px, 10vw, 130px) 0; }
.alt-bg { background: var(--bg-alt); }
.eyebrow { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent-dark); margin: 0 0 18px; font-weight: 400; }
.script { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--accent-dark); margin: 0 0 8px; }
.section-title { font-size: clamp(34px, 4.6vw, 54px); }
.section-title em { color: var(--accent-dark); }
.lead { font-size: 19px; color: var(--ink-soft); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 200; }
.skip-link:focus { left: 8px; }

/* placeholder markers (remove once real content is in) */
.placeholder-note { display: inline-block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; background: #fff4d6; color: #7a5c00; border: 1px dashed #d9b44a; padding: 4px 10px; margin-bottom: 18px; border-radius: 2px; }
.placeholder-inline { font-size: 13px; color: #9a7a1a; font-style: italic; }

/* Buttons */
.btn { display: inline-block; font-family: var(--sans); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding: 15px 32px; background: var(--ink); color: #fff; border: 1px solid var(--ink); cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); font-weight: 400; }
.btn:hover, .btn:focus-visible { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-small { padding: 10px 20px; font-size: 12px; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; color: #fff; transition: background .4s var(--ease), color .4s var(--ease), height .4s var(--ease), box-shadow .4s var(--ease); }
.site-header.scrolled { background: rgba(253,252,250,.96); color: var(--ink); height: 68px; box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--serif); font-size: 30px; letter-spacing: .04em; }
.logo-sub { font-size: 10px; letter-spacing: .5em; text-transform: uppercase; margin-top: 4px; padding-left: 2px; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 34px; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; position: relative; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }
.site-header:not(.scrolled) .site-nav .btn { background: transparent; border-color: rgba(255,255,255,.8); }
.site-header:not(.scrolled) .site-nav .btn:hover { background: #fff; color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; color: inherit; }
.nav-toggle span { display: block; height: 1px; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease), opacity .3s; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; color: #fff; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url("../images/wedding-04.jpg") center 100%/cover no-repeat; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,12,.45) 0%, rgba(20,16,12,.22) 45%, rgba(20,16,12,.55) 100%); }
.hero-content { position: relative; padding: 100px 24px 24vh; max-width: 900px; animation: fadeUp 1.2s var(--ease) .2s both; }
.hero .eyebrow { color: rgba(255,255,255,.88); }
.hero h1 { font-size: clamp(46px, 8vw, 96px); font-weight: 400; margin-bottom: 24px; text-shadow: 0 2px 30px rgba(0,0,0,.2); }
.hero h1 em { font-weight: 400; }
.hero-lede { font-size: clamp(17px, 2vw, 20px); max-width: 600px; margin: 0 auto 40px; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.scroll-cue { position: absolute; bottom: 36px; right: 40px; width: 26px; height: 42px; border: 1px solid rgba(255,255,255,.7); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; background: #fff; border-radius: 2px; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Intro category strip */
.category-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 64px; }
.cat-card { position: relative; display: block; overflow: hidden; aspect-ratio: 3/4; text-decoration: none; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.45)); }
.cat-card span { position: absolute; z-index: 1; left: 0; right: 0; bottom: 22px; text-align: center; color: #fff; font-family: var(--serif); font-size: 26px; letter-spacing: .03em; }
.cat-card:hover img { transform: scale(1.06); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-photo { margin: 0; position: relative; }
.about-photo img { aspect-ratio: 4/5; object-fit: cover; width: 100%; object-position: 40% center; }
.about-photo::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--accent); z-index: -1; }
.about-photo { isolation: isolate; }
.about-photo figcaption { margin: 40px 0 0; }
.about-text p { color: var(--ink-soft); }
.about-facts { list-style: none; padding: 0; margin: 34px 0 40px; display: flex; gap: 40px; flex-wrap: wrap; }
.about-facts strong { display: block; font-family: var(--serif); font-size: 32px; font-weight: 500; color: var(--ink); line-height: 1.1; }
.about-facts span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }

/* Portfolio */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin: 10px 0 48px; }
.filter { background: none; border: 0; padding: 6px 0; font-family: var(--sans); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); cursor: pointer; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.filter:hover { color: var(--ink); }
.filter.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.g-item { margin: 0; overflow: hidden; position: relative; animation: fadeIn .6s var(--ease) both; }
.g-item.is-hidden { display: none; }
.g-item.feature { grid-row: span 2; }
.g-item.feature .g-link img { position: absolute; inset: 0; aspect-ratio: auto; }
.g-item.span2 { grid-column: span 2; }
.g-item.span3 { grid-column: 1 / -1; }
.g-item.span2 .g-link img, .g-item.span3 .g-link img { aspect-ratio: 3 / 1; }
.load-more-wrap { margin-top: 48px; }
.g-link { display: block; height: 100%; position: relative; cursor: zoom-in; }
.g-link img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/2; transition: transform .9s var(--ease), filter .6s; background: var(--bg-alt); }
.g-link:hover img { transform: scale(1.04); }
.g-tag { position: absolute; left: 16px; bottom: 14px; color: #fff; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: .4s var(--ease); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.g-link:hover .g-tag, .g-link:focus-visible .g-tag { opacity: 1; transform: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.service-card { background: var(--bg); display: flex; flex-direction: column; }
.service-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.service-body { padding: 30px 26px 34px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 28px; margin-bottom: 4px; }
.price { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--accent-dark); margin: 0 0 16px; }
.service-body ul { list-style: none; padding: 0; margin: 0 0 28px; font-size: 15px; color: var(--ink-soft); flex: 1; }
.service-body li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.service-body .btn { align-self: flex-start; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.testimonial { margin: 0; padding: 44px 34px; border: 1px solid var(--line); text-align: center; position: relative; }
.testimonial::before { content: "\201C"; font-family: var(--serif); font-size: 80px; line-height: 1; color: var(--accent); display: block; height: 40px; }
.testimonial p { font-family: var(--serif); font-size: 21px; font-style: italic; line-height: 1.55; margin: 0 0 22px; }
.testimonial cite { font-style: normal; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }

/* Booking */
.booking-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.booking-intro p { color: var(--ink-soft); }
.steps { list-style: none; padding: 0; margin: 36px 0 0; }
.steps li { display: flex; gap: 18px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; }
.steps span { font-family: var(--serif); font-size: 22px; color: var(--accent-dark); }
.booking-form { background: var(--bg); padding: clamp(28px, 4vw, 52px); box-shadow: 0 30px 60px -40px rgba(60,40,20,.25); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; display: flex; flex-direction: column; }
.field label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 10px 2px; border-radius: 0; transition: border-color .3s; width: 100%; -webkit-appearance: none; appearance: none; }
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b625a'/%3E%3C/svg%3E") right 4px center no-repeat; padding-right: 22px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent-dark); }
.field textarea { resize: vertical; min-height: 120px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-bottom-color: #b5483a; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 16px 0 0; font-size: 15px; min-height: 1em; }
.form-status.ok { color: #4d7a4f; }
.form-status.err { color: #b5483a; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.contact-grid h3 { font-size: 24px; margin-bottom: 6px; }
.contact-grid p { margin: 0; color: var(--ink-soft); }
.contact-grid a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-grid a:hover { border-color: var(--accent); }

/* Footer */
.site-footer { background: #2b2724; color: #d9d1c5; padding: 64px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.logo-footer { color: #fff; }
.footer-tag { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin: 14px 0 0; color: #a9a094; }
.socials { list-style: none; display: flex; gap: 14px; margin: 0; padding: 0; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; transition: background .3s, border-color .3s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.socials svg .fill { fill: #fff; stroke: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: 13px; color: #a9a094; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #d9d1c5; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(18,15,12,.95); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .35s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lightbox figure { margin: 0; max-width: 90vw; max-height: 88vh; text-align: center; }
.lightbox img { max-width: 90vw; max-height: 82vh; width: auto; height: auto; margin: 0 auto; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox figcaption { color: #cfc6b9; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; margin-top: 16px; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font-size: 54px; line-height: 1; padding: 12px 18px; opacity: .75; transition: opacity .2s; font-family: var(--serif); }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 12px; right: 16px; font-size: 44px !important; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .site-nav ul { gap: 22px; }
}
@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .nav-toggle { display: block; position: relative; z-index: 102; }
  .site-nav { position: fixed; inset: 0; background: var(--bg); color: var(--ink); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; z-index: 101; }
  .site-nav ul { flex-direction: column; gap: 26px; }
  .site-nav a { font-size: 15px; }
  .site-nav .btn, .site-header:not(.scrolled) .site-nav .btn { background: var(--ink); color: #fff; border-color: var(--ink); }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-nav { opacity: 1; visibility: visible; }
  body.nav-open .site-header { color: var(--ink); }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.nav-open .logo { position: relative; z-index: 102; }
  .category-strip { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .booking-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 520px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .g-item.feature { grid-row: auto; grid-column: span 2; }
  .g-item.feature .g-link img { position: static; aspect-ratio: 3/2; }
  .g-item.span2 .g-link img { aspect-ratio: 2 / 1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 40px); }
  .logo-name { font-size: 26px; }
  .category-strip { gap: 12px; margin-top: 44px; }
  .cat-card span { font-size: 21px; bottom: 14px; }
  .services-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hide-sm { display: none; }
  .hero { place-items: start center; }
  .hero-bg { background-position: 52% 100%; background-size: auto 115%; }
  .hero-content { padding-top: 22vh; padding-top: 22svh; }
  .hero-lede { margin-bottom: 28px; }
  .hero-actions { gap: 12px; }
  .scroll-cue { display: none; }
  .service-card img { aspect-ratio: 16/9; }
  .filters { gap: 6px 18px; }
  .filter { font-size: 12px; letter-spacing: .14em; }
  .contact-grid { grid-template-columns: 1fr; gap: 26px; }
  .about-facts { gap: 26px; }
  .about-photo::before { inset: 16px -12px -16px 16px; }
  .hero-actions .btn { width: 100%; max-width: 300px; }
  .footer-inner { flex-direction: column; text-align: center; align-items: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .lb-prev, .lb-next { top: auto !important; bottom: 10px; transform: none !important; }
}
