/* BloomWork Studio — colors and type carried over from the Wix site */
:root {
  --cream: #fff8eb;
  --forest: #2c4f37;
  --green: #33503b;
  --green-deep: #29432f;
  --maroon: #522222;
  --maroon-hi: #6a2c2c;
  --sage: #d3d9c8;
  --ink: #1f2a22;
  --line: rgba(255, 248, 235, 0.22);
  --field: rgba(255, 248, 235, 0.14);
  --display: "Corben", Georgia, serif;
  --body: Arial, Helvetica, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --slant: 6vw;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--forest); color: var(--cream); padding: 10px 16px; border-radius: 99px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid #e7b86a; outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 1px 0 rgba(44, 79, 55, .12), 0 8px 24px -16px rgba(44, 79, 55, .35); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { font: 700 1.35rem/1 var(--display); color: var(--forest); text-decoration: none; white-space: nowrap; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
  font: 700 .95rem/1 var(--display); color: var(--forest); text-decoration: none;
  padding: 10px 14px; border-radius: 99px; transition: background .2s;
}
.nav a:hover, .nav a[aria-current="page"] { background: rgba(44, 79, 55, .09); }
.flower { display: block; width: 44px; height: 44px; color: var(--forest); flex: none; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.flower svg, .hero-flower svg { display: block; width: 100%; height: 100%; }
.flower-link:hover .flower { transform: rotate(72deg); }
.menu-btn { display: none; }

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .brand { font-size: 1.15rem; }
  .flower-link { margin-left: auto; }
  .flower { width: 36px; height: 36px; }
  .menu-btn {
    display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 99px;
    background: var(--forest); color: var(--cream); cursor: pointer;
  }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after {
    display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s, background .3s;
  }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
  .menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
  .menu-open .menu-btn span { background: transparent; }
  .menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; height: calc(100dvh - var(--header-h));
    flex-direction: column; gap: 4px; padding: 32px var(--gutter);
    background: var(--forest); margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { color: var(--cream); font-size: 2rem; padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a:hover, .nav a[aria-current="page"] { background: none; color: #f3d9a8; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 1rem/1 var(--display); text-decoration: none;
  padding: 16px 26px; border-radius: 99px; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-cream { background: var(--cream); color: var(--forest); }
.btn-cream:hover { background: #fff; }
.btn-ghost { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn-ghost:hover { background: var(--cream); color: var(--forest); }
.btn-maroon { background: var(--maroon); color: var(--cream); }
.btn-maroon:hover { background: var(--maroon-hi); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Sections ---------- */
.green { background: var(--green); color: var(--cream); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2.6rem, 6vw, 3.6rem); margin-bottom: 18px; }
.section-head p { opacity: .85; }
.eyebrow { font: 600 .8rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; opacity: .75; margin-bottom: 18px; display: block; }

/* ---------- Hero ---------- */
.hero { padding: clamp(72px, 11vw, 150px) 0 clamp(90px, 12vw, 170px); text-align: center; position: relative; overflow: hidden; }
.hero h1 { font-size: clamp(3rem, 10vw, 6.6rem); margin-bottom: 22px; }
.hero .tagline { font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 700; letter-spacing: .02em; opacity: .9; margin-bottom: 36px; }
.hero .tagline .dot { margin: 0 .55em; opacity: .6; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero-flower { position: absolute; display: block; width: 360px; color: rgba(255, 248, 235, .05); right: -90px; bottom: -110px; pointer-events: none; }
.hero-flower.left { left: -120px; top: -100px; right: auto; bottom: auto; width: 280px; }

/* ---------- Slanted video band ---------- */
.band { position: relative; background: linear-gradient(var(--cream) 50%, var(--green) 50%); }
.band-media {
  position: relative; height: clamp(320px, 62vw, 760px); overflow: hidden;
  clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%);
}
.band-media video, .band-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(0,0,0,.18)); }
.band.short .band-media { height: clamp(260px, 40vw, 520px); }

/* ---------- About teaser ---------- */
.about-teaser { padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.about-teaser h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--forest); }
.about-teaser .lead { font-size: clamp(1.2rem, 1.8vw, 1.35rem); line-height: 1.6; font-weight: 700; color: var(--ink); }
.skills { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; padding: 0; list-style: none; }
.skills li { border: 1.5px solid rgba(44,79,55,.35); color: var(--forest); padding: 7px 14px; border-radius: 99px; font-size: .9rem; font-weight: 500; }
.text-link { font: 700 1rem/1 var(--display); color: var(--forest); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 4px; }
.text-link:hover { color: var(--maroon); }
@media (max-width: 760px) { .about-teaser { grid-template-columns: 1fr; } }

/* ---------- Portfolio grid ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -12px 0 40px; }
.filters button {
  font: 600 .92rem/1 var(--body); color: var(--cream); background: transparent; cursor: pointer;
  border: 1.5px solid var(--line); padding: 10px 18px; border-radius: 99px; transition: background .2s, color .2s, border-color .2s;
}
.filters button:hover { border-color: var(--cream); }
.filters button[aria-pressed="true"] { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.grid { columns: 3 300px; column-gap: 18px; }
.card {
  display: block; break-inside: avoid; margin-bottom: 18px; position: relative; overflow: hidden;
  border-radius: 6px; text-decoration: none; color: var(--cream); background: var(--green-deep);
}
.card img { width: 100%; transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .4s; }
.card .meta {
  position: absolute; inset: auto 0 0 0; padding: 64px 20px 18px;
  background: linear-gradient(transparent, rgba(20, 32, 24, .6) 45%, rgba(20, 32, 24, .94));
  transform: translateY(12px); opacity: 0; transition: opacity .35s, transform .35s;
}
.card .meta h3 { font-size: 1.25rem; margin-bottom: 6px; }
.card .meta span { font: 700 .88rem/1.3 Arial, Helvetica, sans-serif; letter-spacing: .02em; }
.card:hover img, .card:focus-visible img { transform: scale(1.045); }
.card:hover .meta, .card:focus-visible .meta { opacity: 1; transform: none; }
.card[hidden] { display: none; }
@media (hover: none) { .card .meta { opacity: 1; transform: none; padding-top: 48px; } }
.center { text-align: center; }
.mt { margin-top: 40px; }

/* ---------- Page heads ---------- */
.page-head { padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); }
.page-head h1 { font-size: clamp(2.8rem, 8vw, 5.2rem); margin-bottom: 18px; }
.page-head p { max-width: 640px; font-size: 1.15rem; opacity: .9; }
.page-head.center p { margin-left: auto; margin-right: auto; }

/* ---------- Project page ---------- */
.project-head { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 6vw, 80px); align-items: end; }
.project-head h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 0 0 22px; }
.crumbs { font-size: .9rem; margin-bottom: 26px; opacity: .8; }
.crumbs a { text-decoration: none; border-bottom: 1px solid var(--line); }
.crumbs a:hover { border-color: currentColor; }
.type-tag { display: inline-block; border: 1.5px solid var(--line); padding: 7px 14px; border-radius: 99px; font-size: .9rem; }
.project-head .summary { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.7; opacity: .92; }
@media (max-width: 860px) { .project-head { grid-template-columns: 1fr; align-items: start; } }

.project-cover { background: linear-gradient(var(--green) 50%, var(--cream) 50%); }
.project-cover img { border-radius: 8px; width: 100%; box-shadow: 0 30px 60px -30px rgba(20, 32, 24, .55); }

.gallery { columns: 2 340px; column-gap: 18px; padding: clamp(48px, 7vw, 90px) 0; }
.gallery.many { columns: 3 260px; }
.gallery > * { break-inside: avoid; margin-bottom: 18px; }
.shot { display: block; width: 100%; padding: 0; border: 0; background: #e9e2d3; border-radius: 6px; overflow: hidden; cursor: zoom-in; }
.shot img { width: 100%; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.shot:hover img { transform: scale(1.025); }
.clip { border-radius: 6px; overflow: hidden; background: #000; }
.clip video { width: 100%; }

.next-prev { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-bottom: clamp(64px, 9vw, 110px); }
.np {
  display: flex; align-items: center; gap: 18px; padding: 14px; border-radius: 10px; text-decoration: none;
  background: #f4ecdc; color: var(--forest); transition: background .2s, transform .2s;
}
.np:hover { background: #efe4cf; transform: translateY(-2px); }
.np img { width: 96px; height: 72px; object-fit: cover; border-radius: 6px; flex: none; }
.np small { display: block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; }
.np strong { font: 700 1.1rem/1.25 var(--display); }
.np.next { justify-content: flex-end; text-align: right; }
.np.next img { order: 2; }
@media (max-width: 640px) { .next-prev { grid-template-columns: 1fr; } .np img { width: 72px; height: 56px; } }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(16, 24, 18, .96); color: var(--cream); }
.lightbox::backdrop { background: rgba(16, 24, 18, .96); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 84dvh; width: auto; border-radius: 4px; }
.lb-btn {
  position: absolute; width: 52px; height: 52px; border-radius: 99px; border: 0; cursor: pointer;
  background: rgba(255, 248, 235, .12); color: var(--cream); font-size: 1.5rem; display: grid; place-items: center;
}
.lb-btn:hover { background: rgba(255, 248, 235, .25); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; translate: 0 -50%; }
.lb-next { right: 18px; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; bottom: 20px; left: 50%; translate: -50% 0; font-size: .9rem; opacity: .75; }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 10px; translate: none; } }

/* ---------- Contact ---------- */
.contact-form { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .92rem; font-weight: 500; }
.field input, .field textarea {
  font: inherit; color: var(--cream); background: var(--field);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 14px; transition: border-color .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cream); background: rgba(255, 248, 235, .2); }
.contact-form .btn { grid-column: 1 / -1; justify-content: center; width: 100%; }
.form-status { grid-column: 1 / -1; text-align: center; min-height: 1.6em; margin: 0; }
.honey { display: none; }
.contact-alt { text-align: center; margin-top: 30px; opacity: .85; }
.contact-alt a { color: var(--cream); }
@media (max-width: 560px) { .contact-form { grid-template-columns: 1fr; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--sage); color: var(--forest); overflow: hidden; padding: 16px 0; border-block: 1px solid rgba(44,79,55,.15); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { font: 400 clamp(1.1rem, 2vw, 1.45rem)/1 var(--display); white-space: nowrap; padding-right: 48px; }
.marquee-track span::after { content: "✿"; margin-left: 48px; opacity: .55; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon); color: var(--cream); padding: clamp(56px, 7vw, 80px) 0 32px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-brand { font: 700 clamp(1.8rem, 4vw, 2.4rem)/1 var(--display); text-decoration: none; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 99px; display: grid; place-items: center; background: rgba(255,248,235,.1); transition: background .2s, transform .2s; }
.socials a:hover { background: rgba(255,248,235,.22); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.footer-cols { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 80px); font-size: .95rem; }
.footer-cols h4 { font: 600 .75rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; opacity: .65; margin: 6px 0 14px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .85rem; opacity: .75; }

/* ---------- Prose (about / privacy) ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.6rem; color: var(--forest); margin: 2em 0 .6em; }
.prose p, .prose li { font-size: 1.08rem; }
.about-body { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; column-gap: clamp(32px, 6vw, 80px); row-gap: clamp(40px, 5vw, 64px); }
.about-body .lead { font: 700 clamp(1.2rem, 1.8vw, 1.35rem)/1.6 var(--body); color: var(--ink); }
.about-body .pull { border-left: 3px solid var(--maroon); padding-left: 20px; font-style: italic; color: var(--maroon); font-size: 1.15rem; }
.about-body { grid-template-areas: "photo text" "card card"; align-items: center; }
.about-body .prose { grid-area: text; }
.about-photo { grid-area: photo; margin: 0; border-radius: 14px; overflow: hidden; background: var(--green); box-shadow: 0 30px 60px -34px rgba(20, 32, 24, .6); }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-card { grid-area: card; background: var(--green); color: var(--cream); border-radius: 14px; padding: clamp(28px, 4vw, 44px); align-self: start; }
.about-card ul { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); column-gap: 24px; }
.about-card h2 { font-size: 1.5rem; margin-bottom: 16px; }
.about-card ul { padding: 0; margin: 0 0 26px; list-style: none; display: grid; row-gap: 10px; }
.about-card li { display: flex; gap: 10px; }
.about-card li::before { content: "✿"; opacity: .6; }
@media (max-width: 860px) { .about-body { grid-template-columns: 1fr; grid-template-areas: "photo" "text" "card"; } .about-photo { max-width: 420px; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
