/* NoVa DeVries — Studio
   Palette: paper #F6F1E7 · ink #2A241C · sepia #9C7440 · terracotta #A8442A
            peach #E3A46F · indigo #1E2F44 · teal #3A6B6E · moon #E9C43F */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #F6F1E7;
  font-family: 'Work Sans', system-ui, sans-serif;
  color: #2A241C;
  -webkit-font-smoothing: antialiased;
}
a { color: #A8442A; text-decoration: none; }
a:hover { color: #8a3620; }
input, textarea, button { font-family: 'Work Sans', sans-serif; }
::selection { background: #E3A46F; color: #2A241C; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .05;
  background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22140%22 height=%22140%22%3E%3Cfilter id=%22n%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.85%22 numOctaves=%222%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23n)%22/%3E%3C/svg%3E');
}
.page { position: relative; z-index: 1; min-height: 100vh; overflow-x: clip; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(246, 241, 231, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(156, 116, 64, .28);
}
.nav-name {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 23px;
  color: #2A241C;
  letter-spacing: .3px;
}
.nav-name:hover { color: #2A241C; }
.navlinks { display: flex; align-items: center; gap: 30px; }
.navlinks a { font: 500 15px 'Work Sans'; color: #2A241C; }
.navlinks a:hover, .navlinks a.active { color: #A8442A; }
.nav-ig {
  font: 600 12px 'Work Sans' !important;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #9C7440 !important;
}
.nav-ig:hover { color: #A8442A !important; }

/* ---------- shared bits ---------- */
.eyebrow {
  font: 600 13px 'Work Sans';
  letter-spacing: 2px;
  text-transform: uppercase;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #E9C43F; display: inline-block; flex: none; }
.btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font: 500 15px 'Work Sans';
  padding: 14px 30px;
  border: none;
}
.btn-primary { background: #A8442A; color: #F6F1E7; }
.btn-primary:hover { background: #8a3620; color: #F6F1E7; }
.btn-ghost-light { background: transparent; color: #F6F1E7; border: 1.5px solid rgba(246, 241, 231, .55); }
.btn-ghost-light:hover { border-color: #F6F1E7; color: #F6F1E7; }
.rule { display: block; width: 100%; height: 8px; }
.serif { font-family: 'Fraunces', serif; font-weight: 400; }

/* ---------- home hero ---------- */
.hero { background: #1E2F44; }
.hero-split { display: grid; grid-template-columns: 1.05fr 1fr; min-height: calc(100vh - 57px); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 64px 60px; }
.hero-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.hero-moon { font-size: 19px; color: #E9C43F; line-height: 1; }
.hero-kicker .eyebrow { color: #E3A46F; }
.h1 {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -1px;
  color: #F6F1E7;
}
.hero-blurb { margin: 26px 0 0; max-width: 430px; font-size: 18px; line-height: 1.65; color: rgba(246, 241, 231, .82); }
.hero-ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-art { position: relative; background: #17273a; display: flex; align-items: center; justify-content: center; padding: 44px; }
.hero-art img { max-height: 80vh; max-width: 100%; border-radius: 2px; box-shadow: 0 34px 70px rgba(0, 0, 0, .55); }

/* ---------- selected work / featured ---------- */
.section-max { max-width: 1200px; margin: 0 auto; padding: 74px 40px 20px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.section-head .eyebrow { color: #9C7440; }
.section-head a { font: 500 15px 'Work Sans'; }
.feat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.card { cursor: pointer; display: block; color: inherit; }
.card:hover { color: inherit; }
.card-img-rect {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 3px;
  background: #EFE7D6;
  box-shadow: 0 8px 22px rgba(42, 36, 28, .14);
}
.card-img-round {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #EFE7D6;
  box-shadow: 0 8px 22px rgba(42, 36, 28, .14);
}
.card-img-rect img, .card-img-round img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.card:hover img { transform: scale(1.05); }
.card-title { font-family: 'Fraunces', serif; font-weight: 500; font-size: 19px; margin-top: 13px; color: #2A241C; }
.card-meta {
  font: 500 11.5px 'Work Sans';
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #9C7440;
  margin-top: 3px;
}

/* ---------- commissions teaser band ---------- */
.band { margin: 70px 0 0; background: #1E2F44; }
.band-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 58px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
}
.band-kicker { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; }
.band-kicker .eyebrow { color: #E9C43F; }
.band-line { font-family: 'Fraunces', serif; font-weight: 400; font-size: 30px; line-height: 1.15; color: #F6F1E7; max-width: 640px; }
.btn-nowrap { white-space: nowrap; }

/* ---------- gallery ---------- */
.gallery-wrap { padding: 52px 40px 96px; max-width: 1300px; margin: 0 auto; }
.gallery-wrap > .eyebrow { color: #A8442A; }
.page-h2 {
  margin: 10px 0 12px;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -.5px;
  color: #2A241C;
}
.gallery-intro { margin: 0; max-width: 560px; font-size: 17px; line-height: 1.6; color: #5c5344; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 34px; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  font: 600 12px/1 'Work Sans', sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: transparent;
  color: #9C7440;
  border: 1.5px solid rgba(156, 116, 64, .4);
}
.chip:hover { border-color: #9C7440; }
.chip.active { background: #A8442A; color: #F6F1E7; border-color: #A8442A; }
.masonry { column-count: 3; column-gap: 26px; }
.masonry .card { break-inside: avoid; margin-bottom: 26px; }
.masonry .card-img-rect { aspect-ratio: auto; box-shadow: 0 8px 24px rgba(42, 36, 28, .13); }
.masonry .card-img-rect img { height: auto; }
.masonry .card:hover img { transform: scale(1.04); }

/* ---------- commissions page ---------- */
.comm-hero { background: #1E2F44; }
.comm-hero-inner { max-width: 900px; margin: 0 auto; padding: 78px 40px; }
.comm-hero-kicker { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.comm-hero-kicker .eyebrow { color: #E9C43F; }
.comm-h2 {
  margin: 0;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 52px;
  line-height: 1.03;
  letter-spacing: -.5px;
  color: #F6F1E7;
}
.comm-hero-blurb { margin: 24px 0 0; max-width: 620px; font-size: 18px; line-height: 1.7; color: rgba(246, 241, 231, .85); }
.offer-wrap { max-width: 1120px; margin: 0 auto; padding: 70px 40px 24px; }
.offer-wrap > .eyebrow { color: #A8442A; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 26px; }
.offer-ring { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid #E3A46F; margin-bottom: 16px; }
.offer-title { font-family: 'Fraunces', serif; font-weight: 500; font-size: 23px; color: #2A241C; }
.offer-copy { margin: 9px 0 0; font-size: 16px; line-height: 1.6; color: #5c5344; }
.steps-wrap { max-width: 1120px; margin: 0 auto; padding: 44px 40px 74px; }
.steps-wrap > .eyebrow { color: #9C7440; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step-num { font-family: 'Fraunces', serif; font-weight: 500; font-size: 30px; color: #A8442A; }
.step-title { font-family: 'Fraunces', serif; font-weight: 500; font-size: 18px; margin-top: 6px; color: #2A241C; }
.step-copy { margin: 6px 0 0; font-size: 15px; line-height: 1.55; color: #5c5344; }

/* ---------- commission form ---------- */
.form-band { background: #1E2F44; }
.form-inner { max-width: 760px; margin: 0 auto; padding: 66px 40px 76px; }
.form-h3 { margin: 0 0 8px; font-family: 'Fraunces', serif; font-weight: 400; font-size: 34px; color: #F6F1E7; }
.form-sub { margin: 0 0 28px; font-size: 16px; line-height: 1.6; color: rgba(246, 241, 231, .72); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-label {
  display: block;
  font: 600 11.5px 'Work Sans';
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #E3A46F;
  margin-bottom: 8px;
}
.form-input, .form-textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 8px;
  border: 1px solid rgba(246, 241, 231, .25);
  background: #F6F1E7;
  color: #2A241C;
  font-size: 16px;
}
.form-textarea { resize: vertical; }
.form-input:focus, .form-textarea:focus { outline: 2px solid #E3A46F; outline-offset: 1px; }
.form-btn { margin-top: 24px; padding: 14px 32px; }
.form-row-2 { margin-top: 18px; }
.sent-note { text-align: center; padding: 30px 0; }
.sent-note .hero-moon { font-size: 26px; }
.sent-h3 { margin: 14px 0 8px; font-family: 'Fraunces', serif; font-weight: 400; font-size: 34px; color: #F6F1E7; }
.sent-copy { margin: 0; font-size: 17px; line-height: 1.6; color: rgba(246, 241, 231, .82); }
.form-error {
  margin: 0 0 20px;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(233, 196, 63, .12);
  border: 1px solid rgba(233, 196, 63, .4);
  color: #E9C43F;
  font-size: 15px;
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- about ---------- */
.about-wrap { max-width: 1080px; margin: 0 auto; padding: 64px 40px 90px; }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.portrait {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #EFE7D6;
  box-shadow: 0 16px 40px rgba(42, 36, 28, .2);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag {
  font: 600 11px 'Work Sans';
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #9C7440;
  border: 1px solid rgba(156, 116, 64, .4);
  padding: 6px 12px;
  border-radius: 999px;
}
.about-copy > .eyebrow { color: #A8442A; }
.about-h2 {
  margin: 10px 0 22px;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -.5px;
  color: #2A241C;
}
.about-p { margin: 0 0 18px; font-size: 18px; line-height: 1.75; color: #3f3a30; }
.about-p.last { margin-bottom: 30px; }

/* ---------- footer ---------- */
.footer { background: #1E2F44; color: #F6F1E7; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 52px 40px; }
.footer-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.footer-name { font-family: 'Fraunces', serif; font-weight: 500; font-size: 26px; }
.footer-tag { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.footer-tag .dot { width: 7px; height: 7px; }
.footer-tag span:last-child { font-size: 14px; color: rgba(246, 241, 231, .7); }
.footer-links { display: flex; flex-direction: column; gap: 8px; text-align: right; }
.footer-ig {
  font: 600 13px 'Work Sans';
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #E3A46F;
}
.footer-ig:hover { color: #E9C43F; }
.footer-mail { font-size: 15px; color: rgba(246, 241, 231, .82); }
.footer-mail:hover { color: #F6F1E7; }

/* ---------- lightbox ---------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(24, 40, 58, .92);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.lb.open { display: flex; }
.lb-panel {
  background: #F6F1E7;
  border-radius: 6px;
  max-width: 1120px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
}
.detailgrid { display: grid; grid-template-columns: 1.25fr 1fr; }
.lb-imgcol {
  background: #EFE7D6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 34px;
}
.lb-img { max-width: 100%; max-height: 70vh; display: block; border-radius: 2px; box-shadow: 0 14px 34px rgba(42, 36, 28, .22); }
.lb-img-alt { max-width: 70%; max-height: 34vh; display: block; border-radius: 2px; box-shadow: 0 10px 24px rgba(42, 36, 28, .2); }
.lb-info { padding: 40px 38px; display: flex; flex-direction: column; }
.lb-toprow { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.lb-medium { font: 600 12px 'Work Sans'; letter-spacing: 1.8px; text-transform: uppercase; color: #A8442A; }
.lb-close {
  cursor: pointer;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(42, 36, 28, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2A241C;
  font-size: 15px;
  background: transparent;
}
.lb-close:hover { border-color: #2A241C; }
.lb-title { margin: 12px 0 0; font-family: 'Fraunces', serif; font-weight: 400; font-size: 38px; line-height: 1.05; color: #2A241C; }
.lb-yearsize { font: 500 13px 'Work Sans'; letter-spacing: .4px; color: #9C7440; margin-top: 10px; }
.lb-story { margin: 0; font-size: 17px; line-height: 1.75; color: #3f3a30; }
.lb-spacer { flex: 1; }
.lb-navrow { display: flex; gap: 12px; margin-top: 34px; }
.lb-prev, .lb-next {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  font: 500 14px 'Work Sans';
  padding: 11px 20px;
  background: transparent;
}
.lb-prev { border: 1.5px solid rgba(42, 36, 28, .25); color: #2A241C; }
.lb-prev:hover { border-color: #2A241C; }
.lb-next { border: none; padding: 11px 22px; background: #2A241C; color: #F6F1E7; }
body.lb-lock { overflow: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .split, .hero-split, .form-grid { grid-template-columns: 1fr; }
  .masonry { column-count: 2; }
  .feat, .offer-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .detailgrid { grid-template-columns: 1fr; }
  .padx { padding-left: 22px !important; padding-right: 22px !important; }
  .h1 { font-size: 44px; }
  .hero-art { padding: 28px; }
  .hero-art img { max-height: 60vh; }
}
@media (max-width: 560px) {
  .masonry { column-count: 1; }
  .feat, .offer-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  .navlinks { gap: 16px; }
  .hideSm { display: none; }
  .page-h2, .comm-h2 { font-size: 40px; }
}
