:root {
  --ink: #1f1f1f;
  --muted: #666666;
  --soft: #f6f3ee;
  --line: #e3ddd4;
  --accent: #6f7f52;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
}
body.modal-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; }
.page { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .76rem; }
.mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); flex: 0 0 auto; }
.mark svg { width: 25px; height: 25px; }
.nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: .92rem; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--ink); }
.hero { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 54px; padding: 58px 0 42px; }
.eyebrow { margin-bottom: 16px; color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.pulse { display: none; }
h1 { margin: 0; max-width: 620px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(3rem, 7vw, 5.8rem); line-height: .96; letter-spacing: -.045em; font-weight: 700; }
.highlight { color: var(--accent); }
.subtitle { max-width: 560px; margin: 22px 0 0; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.16rem); line-height: 1.75; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.centered-actions { justify-content: center; }
.btn, button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 2px; border: 1px solid var(--ink); color: var(--ink); background: transparent; text-decoration: none; font-weight: 700; cursor: pointer; transition: background .18s ease, color .18s ease; font: inherit; }
.btn:hover, button:hover { background: var(--ink); color: var(--white); }
.btn.primary, button.primary { color: var(--white); border-color: var(--ink); background: var(--ink); }
.btn.primary:hover, button.primary:hover { background: var(--accent); border-color: var(--accent); }
.btn.danger { color: #9b1c1c; border-color: #9b1c1c; }
.visual { min-height: 0; }
.photo-card { position: static; overflow: hidden; border-radius: 0; background: var(--soft); border: 1px solid var(--line); box-shadow: none; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-card.main { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.photo-card.side { display: none; }
.launch-card { display: none; }
.section { padding: 54px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.section h2, .section h1 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.035em; }
.section p.lead, .lead { max-width: 760px; color: var(--muted); line-height: 1.7; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card, .feature, .form-panel { border: 1px solid var(--line); background: var(--white); box-shadow: none; }
.feature { padding: 22px; }
.feature strong { font-family: "Playfair Display", Georgia, serif; font-size: 1.45rem; }
.feature p { color: var(--muted); line-height: 1.65; margin-bottom: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.photo-tile { overflow: hidden; background: var(--white); border: none; text-align: left; padding: 0; color: inherit; display: block; text-decoration: none; }
.photo-tile:hover { background: transparent; color: inherit; text-decoration: none; }
.photo-tile a, .photo-tile h3 a { text-decoration: none; color: inherit; }
.clickable-photo { cursor: pointer; }
.clickable-photo img { transition: transform .25s ease; }
.clickable-photo:hover img { transform: scale(1.015); }
.photo-tile img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border: 1px solid var(--line); }
.photo-tile .info { padding: 12px 0 0; }
.photo-tile h3 { margin: 0 0 5px; font-family: "Playfair Display", Georgia, serif; font-size: 1.35rem; }
.photo-tile p { margin: 0; color: var(--muted); line-height: 1.55; font-size: .95rem; }
.photo-block img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border: 1px solid var(--line); }
.photo-block h3 { margin: 12px 0 5px; font-family: "Playfair Display", Georgia, serif; font-size: 1.35rem; }
.photo-block p { margin: 0; color: var(--muted); line-height: 1.55; font-size: .95rem; }
.placeholder { display: grid; place-items: center; min-height: 220px; border: 1px dashed #bbb; background: var(--soft); color: var(--muted); padding: 20px; text-align: center; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
label { color: var(--muted); font-weight: 700; font-size: .88rem; }
input, textarea, select { width: 100%; min-height: 44px; border-radius: 0; border: 1px solid var(--line); background: var(--white); color: var(--ink); padding: 11px 12px; font: inherit; }
textarea { min-height: 110px; resize: vertical; }
.preview-box { border: 1px dashed #bbb; padding: 14px; min-height: 260px; display: grid; place-items: center; color: var(--muted); background: var(--soft); }
.preview-box img { max-width: 100%; }
.watermark-position-box { display: grid; gap: 10px; place-items: stretch; }
.watermark-stage { min-height: 260px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); padding: 10px; }
.watermark-stage img { max-height: 560px; width: auto; object-fit: contain; }
.watermark-controls { display: flex; gap: 8px; justify-content: center; align-items: center; }
.watermark-controls-top { order: -1; }
.watermark-controls-side { justify-self: center; }
.watermark-move-btn { min-height: 36px; padding: 0 12px; background: var(--white); }
.watermark-position-hint { text-align: center; margin: 0; font-size: .88rem; }
.status { margin-top: 14px; color: var(--muted); line-height: 1.5; }
.table { display: grid; gap: 12px; }
.admin-photo { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--line); background: var(--white); }
.admin-photo img { width: 110px; height: 82px; object-fit: cover; }
.admin-photo-commerce { align-items: start; }
.admin-commerce-fields { display: grid; grid-template-columns: 1.2fr auto 160px; gap: 10px; align-items: end; margin-top: 12px; }
.compact-checkbox { margin: 0; align-self: center; }
.badge { display: inline-flex; padding: 4px 8px; background: var(--soft); color: var(--accent); font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.landing-block-row { display: grid; grid-template-columns: 240px 1fr; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); color: var(--ink); }
.landing-block-row span { display: grid; gap: 3px; }
.landing-block-row small { color: var(--muted); font-weight: 500; }
.footer { display: flex; justify-content: space-between; gap: 18px; padding: 30px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.gallery-modal { position: fixed; inset: 0; z-index: 1000; display: none; }
.gallery-modal.active { display: block; }
.gallery-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); }
.gallery-modal-card { position: relative; z-index: 2; width: min(1180px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow: auto; margin: 16px auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; background: var(--white); border: 1px solid var(--line); }
.gallery-modal-media { background: var(--ink); min-height: 520px; display: grid; place-items: center; }
.gallery-modal-media img { width: 100%; height: 100%; max-height: calc(100vh - 34px); object-fit: contain; display: block; }
.gallery-modal-content { padding: clamp(24px, 4vw, 46px); }
.gallery-modal-content h2 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.035em; }
.gallery-modal-content p { color: var(--muted); line-height: 1.7; }
.gallery-purchase-panel { display: grid; gap: 18px; margin-top: 24px; }
.purchase-section { padding: 18px; border: 1px solid var(--line); background: var(--soft); }
.purchase-section h3 { margin: 0 0 10px; font-family: "Playfair Display", Georgia, serif; font-size: 1.55rem; }
.gallery-variant-list { max-height: 310px; overflow: auto; background: var(--white); padding: 10px; }
.checkout-variant-row { align-items: center; display: grid; grid-template-columns: 1fr auto auto; }
.checkout-variant-row button { min-height: 36px; padding: 0 12px; }
.digital-section button { width: 100%; }
.landing-carousel { padding: 34px 0 18px; }
.carousel-frame { position: relative; min-height: 620px; border: 1px solid var(--line); background: var(--soft); overflow: hidden; }
.carousel-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .6s ease; text-decoration: none; color: inherit; }
.carousel-slide.active { opacity: 1; pointer-events: auto; }
.carousel-slide-link { display: block; cursor: pointer; }
.carousel-slide-link:hover { text-decoration: none; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.placeholder-slide { display: grid; place-items: center; padding: clamp(24px, 6vw, 72px); background: radial-gradient(circle at 80% 20%, #e8e1d3, transparent 28%), var(--soft); }
.placeholder-slide .eyebrow { margin: 0; }
.carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0 0; }
.carousel-controls button { min-height: 36px; padding: 0 12px; font-size: .85rem; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; flex: 1; }
.carousel-dot { width: 34px; min-height: 4px; height: 4px; padding: 0; border: 0; background: var(--line); }
.carousel-dot.active, .carousel-dot:hover { background: var(--ink); }
.brand-statement { padding: 68px 0; text-align: center; border-bottom: 1px solid var(--line); }
.brand-statement h2 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: clamp(3.2rem, 8vw, 7rem); line-height: .95; letter-spacing: -.055em; }
.brand-statement p { max-width: 760px; margin: 22px auto 0; color: var(--muted); line-height: 1.75; font-size: 1.08rem; }
.editorial-section { padding-top: 62px; }
.blog-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; }
.blog-card { display: grid; align-content: start; gap: 12px; min-height: 310px; padding: 24px; border: 1px solid var(--line); background: var(--white); }
.blog-card span { color: var(--accent); text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .72rem; }
.blog-card h3 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 2rem; line-height: 1.08; letter-spacing: -.03em; }
.blog-card p { color: var(--muted); line-height: 1.7; }
.blog-card a { margin-top: auto; font-weight: 800; text-decoration: none; }
.cta-card { background: var(--soft); }
.wide-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 34px; margin: 28px 0 54px; border: 1px solid var(--line); background: var(--ink); color: var(--white); }
.wide-cta h2 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.2rem, 5vw, 4.6rem); letter-spacing: -.04em; }
.wide-cta .eyebrow { color: #d8b56d; }
.wide-cta .btn { border-color: var(--white); color: var(--white); }
.wide-cta .btn.primary { background: var(--white); color: var(--ink); }
.shop-hero { display: grid; grid-template-columns: 1fr 420px; align-items: end; gap: 36px; padding: 62px 0 30px; border-bottom: 1px solid var(--line); }
.shop-hero h1 { max-width: 720px; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.shop-toolbar strong { display: block; font-size: 1rem; }
.shop-toolbar select { max-width: 240px; }
.print-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 34px 0; }
.print-card { display: grid; border: 1px solid var(--line); background: var(--white); }
.print-card img, .print-detail-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-bottom: 1px solid var(--line); }
.print-card-body { display: grid; gap: 20px; padding: 18px; }
.print-card h2 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 1.55rem; letter-spacing: -.02em; }
.print-card p { color: var(--muted); line-height: 1.55; margin: 8px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.print-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.print-detail { padding: 0 0 44px; }
.print-detail-card { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 24px; border: 1px solid var(--line); background: var(--soft); position: relative; }
.print-detail-card h2 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.03em; }
.print-detail-card p { color: var(--muted); line-height: 1.7; }
.print-detail-media img { border: 1px solid var(--line); }
.print-close { position: absolute; top: 14px; right: 14px; min-height: 34px; padding: 0 12px; background: var(--white); z-index: 3; }
.variant-list { display: grid; gap: 8px; margin: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.variant-row { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.variant-row strong { color: var(--ink); }
.admin-page-body { background: var(--soft); }
.admin-page { padding-bottom: 60px; }
.admin-header { background: var(--white); }
.admin-hero { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; padding: 34px 0 22px; border-bottom: 1px solid var(--line); }
.admin-hero h1 { font-size: clamp(2.8rem, 6vw, 5.8rem); }
.admin-tools { display: grid; gap: 12px; justify-items: end; min-width: 260px; }
.admin-tabbar { position: sticky; top: 0; z-index: 10; display: flex; gap: 8px; padding: 12px 0; margin-bottom: 18px; background: rgba(246,243,238,.96); border-bottom: 1px solid var(--line); }
.admin-tab { background: var(--white); border-color: var(--line); color: var(--muted); }
.admin-tab.active, .admin-tab:hover { background: var(--ink); color: var(--white); }
.admin-panel { display: none; padding: 24px; border: 1px solid var(--line); background: var(--white); }
.admin-panel.active { display: block; }
.admin-panel-head { margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.admin-panel h2 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.1rem, 5vw, 4rem); letter-spacing: -.035em; }
.admin-panel-head p { color: var(--muted); max-width: 820px; line-height: 1.65; }
.admin-two-column.compact { display: grid; grid-template-columns: minmax(260px, 390px) 1fr; gap: 24px; align-items: start; }
.admin-form-card { padding: 0; }
.checkbox-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--ink); }
.checkbox-row input, .dev-toggle input { width: auto; min-height: auto; }
.dev-toggle { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.dev-note { display: none; color: var(--muted); line-height: 1.65; }
body.dev-mode .dev-note { display: block; }
@media (max-width: 920px) {
  .header { align-items: flex-start; flex-direction: column; gap: 14px; padding: 20px 0; }
  .brand { max-width: 100%; }
  .nav { display: flex; width: 100%; flex-wrap: wrap; gap: 8px; color: var(--ink); }
  .nav a { flex: 1 1 auto; min-width: 96px; padding: 10px 12px; border: 1px solid var(--line); background: var(--soft); text-align: center; font-weight: 800; }
  .nav a:hover { background: var(--ink); color: var(--white); }
  .hero, .admin-two-column.compact, .form-grid, .landing-block-row, .shop-hero, .print-detail-card, .gallery-modal-card { grid-template-columns: 1fr; }
  .gallery-grid, .grid, .print-grid, .blog-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .admin-hero, .shop-toolbar, .wide-cta { display: grid; }
  .admin-tools { justify-items: start; min-width: 0; }
  .admin-tabbar { overflow-x: auto; }
  .shop-toolbar select { max-width: none; }
  .carousel-frame { min-height: 560px; }
  .gallery-modal-media { min-height: 360px; }
  .admin-commerce-fields { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .page { width: min(100% - 26px, 1120px); }
  .actions { flex-direction: column; }
  .btn, button { width: 100%; }
  .nav a { flex: 1 1 calc(50% - 8px); min-width: 0; }
  .admin-photo { grid-template-columns: 82px 1fr; }
  .admin-photo img { width: 82px; height: 68px; }
  .admin-photo .actions { grid-column: 1 / -1; margin-top: 0; }
  .footer { flex-direction: column; }
  .admin-panel { padding: 18px; }
  .print-card-foot { display: grid; }
  .carousel-frame { min-height: 420px; }
  .carousel-controls { display: grid; grid-template-columns: 1fr; }
  .wide-cta { padding: 24px; }
  .checkout-variant-row { grid-template-columns: 1fr; }
}
