/* Dena Bowers Studio — preview site */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-latin-600-italic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #fbf8f3;
  --paper-2: #f4eee4;
  --paper-3: #ebe3d6;
  --ink: #2b2722;
  --ink-soft: #5e574e;
  --ink-faint: #8a8276;
  --line: #e4dcd0;
  --teal: #3f6f6b;
  --teal-deep: #2f5552;
  --teal-soft: #dce8e6;
  --lavender: #8f84ab;
  --mist: #7a96a8;
  --blush: #e8d5ce;
  --gold: #b7906a;
  --white: #fffcf8;
  --shadow: 0 18px 50px rgba(60, 48, 36, 0.12);
  --shadow-sm: 0 8px 24px rgba(60, 48, 36, 0.08);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
  --header-h: 4.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -40px;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.85rem;
  z-index: 100;
}
.skip:focus { top: 0.75rem; }

/* Decorative watercolor blobs — CSS/SVG only, not artwork */
.wash {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  filter: blur(8px);
  opacity: 0.55;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 243, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.1;
}
.wordmark span {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 0.15rem;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.55rem;
}
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:hover { color: var(--ink); }
.nav .btn { margin-left: 0.25rem; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 2.6rem;
  height: 2.6rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}
.nav-toggle i {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--teal);
  color: #f8fffe !important;
  text-decoration: none;
  border: 1px solid var(--teal);
  border-radius: 999px;
  padding: 0.72rem 1.25rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.btn-ghost {
  background: transparent;
  color: var(--teal-deep) !important;
  border-color: var(--paper-3);
}
.btn-ghost:hover { background: var(--teal-soft); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 4.25rem;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3.25rem;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.15rem;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 7vw, 5.1rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--teal-deep);
  display: block;
}
.lede {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 36rem;
  margin: 0 0 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.hero-meta {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 2rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
@media (max-width: 620px) {
  .hero-meta { grid-template-columns: 1fr; gap: 0.9rem; }
}
.hero-meta strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.hero-art {
  position: relative;
  min-height: 34rem;
}
.hero-art figure {
  margin: 0;
  background: var(--white);
  padding: 0.7rem 0.7rem 1.35rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.8);
}
.hero-art figure img {
  width: 100%;
  height: 28rem;
  object-fit: cover;
  object-position: 50% 22%;
  background: var(--paper-2);
}
.hero-art figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-soft);
  padding: 0.85rem 0.4rem 0;
}
.hero-art .stack-a {
  position: relative;
  z-index: 2;
  transform: rotate(-1.4deg);
  max-width: 86%;
  margin-left: auto;
}
.hero-art .stack-b {
  position: absolute;
  left: 0;
  bottom: 0.5rem;
  width: 46%;
  z-index: 3;
  transform: rotate(3.5deg);
  padding-bottom: 1.6rem;
}
.hero-art .stack-b img {
  height: 12.5rem;
  object-position: 50% 30%;
}

/* Sections */
section { padding: 4.5rem 0; position: relative; }
.section-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender);
  margin: 0 0 0.6rem;
}
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
}
.section-intro {
  max-width: 38rem;
  color: var(--ink-soft);
  margin: 0 0 2.25rem;
}

/* Portfolio */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
}
.filter-btn[aria-pressed="true"],
.filter-btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.15rem;
}
.card {
  background: var(--white);
  border: 1px solid rgba(228, 220, 208, 0.7);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.card button.thumb {
  all: unset;
  cursor: zoom-in;
  display: block;
  background: var(--paper-2);
}
.card button.thumb:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.card img, .placeholder-frame {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  display: block;
}
.card.tall img { height: 28rem; }
.card.wide { grid-column: span 6; }
.card.wide img { height: 24rem; object-position: 50% 30%; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-3 { grid-column: span 3; }
.span-6 { grid-column: span 6; }
.span-8 { grid-column: span 8; }
.card-body { padding: 1rem 1.05rem 1.15rem; }
.card-body h3 {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 600;
  margin: 0 0 0.2rem;
}
.card-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.3rem;
}

.placeholder-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  height: 18rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(143, 132, 171, 0.18), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(122, 150, 168, 0.2), transparent 50%),
    linear-gradient(180deg, #f7f2ea, #efe6d8);
  color: var(--ink-soft);
}
.placeholder-frame strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 0.35rem;
}
.placeholder-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-top: 0.7rem;
}
.card.is-hidden { display: none; }

.credit {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--ink-faint);
}

/* Services */
.services { background: linear-gradient(180deg, transparent, var(--paper-2) 8%, var(--paper-2) 92%, transparent); }
.service-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.15rem;
}
.service {
  background: var(--white);
  padding: 1.6rem 1.5rem 1.5rem;
  border: 1px solid var(--line);
}
.service.feature {
  grid-row: span 2;
  background:
    linear-gradient(180deg, rgba(255,252,248,0.2), rgba(255,252,248,0.92) 42%),
    var(--white);
  display: flex;
  flex-direction: column;
}
.service.feature img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  margin: -1.6rem -1.5rem 1.2rem;
  width: calc(100% + 3rem);
}
.service h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.service p { margin: 0; color: var(--ink-soft); }
.service .price {
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 0.25rem;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--teal);
  display: block;
  margin-bottom: 0.55rem;
  line-height: 1;
}
.step h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin: 0 0 0.35rem;
  font-weight: 600;
}
.step p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* Sizes */
.size-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.size-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.6rem 1.4rem;
  text-align: center;
}
.size-card h3 {
  font-family: var(--serif);
  font-size: 2.2rem;
  margin: 0 0 0.35rem;
  font-weight: 500;
}
.size-card p { margin: 0; color: var(--ink-soft); }
.note {
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: center;
}
.about-photo {
  margin: 0;
  background: var(--white);
  padding: 0.7rem 0.7rem 2rem;
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}
.about-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 15%;
}
.about-photo figcaption {
  font-family: var(--serif);
  font-style: italic;
  padding: 0.8rem 0.3rem 0;
  color: var(--ink-soft);
}
.about-copy p { color: var(--ink-soft); margin: 0 0 1rem; max-width: 38rem; }

/* Contact */
.contact {
  background: var(--teal-deep);
  color: #f3f7f6;
  padding: 5rem 0;
}
.contact h2 { color: #f8fffe; }
.contact .section-kicker { color: #c9e0dc; }
.contact p { color: #d5e4e1; max-width: 36rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.5rem 0 1.75rem; }
.contact .btn { background: var(--paper); color: var(--teal-deep) !important; border-color: var(--paper); }
.contact .btn:hover { background: #fff; }
.contact .btn-ghost { background: transparent; color: #f8fffe !important; border-color: rgba(255,255,255,0.28); }
.contact .btn-ghost:hover { background: rgba(255,255,255,0.08); }
.placeholder-email {
  display: inline-block;
  background: rgba(0,0,0,0.18);
  border: 1px dashed rgba(255,255,255,0.4);
  color: #f3efe6;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
}
.placeholder-email strong { color: #fff; }

/* Footer */
.site-footer {
  padding: 1.5rem 0 2rem;
  color: var(--ink-faint);
  font-size: 0.88rem;
  border-top: 1px solid var(--line);
}
.footer-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(28, 24, 20, 0.9);
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 4.5rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 8rem);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  background: var(--paper-2);
}
.lightbox-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.1rem;
  text-align: center;
  color: #f3efe6;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  padding: 0 1rem;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  width: 2.6rem;
  height: 2.6rem;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(251, 248, 243, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.9rem;
  }
  .nav.open { display: flex; }
  .nav .btn { margin-left: 0; }
  .hero-grid, .about-grid, .service-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 0; margin-top: 0.5rem; }
  .hero-art .stack-a { max-width: 100%; }
  .hero-art .stack-b { display: none; }
  .hero-art figure img { height: 22rem; }
  .steps, .size-row { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .span-3, .span-4, .span-5, .span-6, .span-8, .card.wide { grid-column: span 1; }
  .card img, .card.tall img, .card.wide img { height: 18rem; }
}
@media (max-width: 620px) {
  .wrap, .header-inner, .footer-inner { width: min(var(--max), calc(100% - 1.5rem)); }
  .gallery, .steps, .size-row { grid-template-columns: 1fr; }
  .hero { padding: 2.25rem 0 2.75rem; }
  .hero-art figure img { height: 18.5rem; }
  section { padding: 3.25rem 0; }
}
