:root {
  --orange: #f26a1b;
  --orange-dark: #c9500c;
  --wall: #f4f0e8;
  --paper: #fbf9f4;
  --ink: #17140f;
  --muted: #6a6358;
  --line: #e3dccd;
  --frame: #2a2118;
  --gold: #b88a3a;
  --white: #ffffff;
  --max: 1140px;
  --serif: "Bodoni 72", "Bodoni MT", Didot, "Didot LT STD", "Hoefler Text", "Iowan Old Style", Garamond, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.defs { position: absolute; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); letter-spacing: -0.01em; }
h1 em { color: var(--orange); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 1em;
}

.lead { font-size: 1.15rem; color: var(--muted); max-width: 33em; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .85em 1.6em;
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--orange);
  border-radius: 2px;
  letter-spacing: .02em;
  transition: background .15s, color .15s, transform .15s;
  overflow-wrap: anywhere;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn-ghost { background: transparent; border-color: var(--ink); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-small { padding: .45em 1.1em; font-size: .9rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251,249,244,.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wordmark { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--muted); }
.nav a:not(.btn):hover { color: var(--orange-dark); }

/* Hero */
.hero { background: var(--wall); padding: 76px 0 96px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Gallery wall */
.wall { position: relative; height: 420px; }
.hframe, .frame {
  background: var(--white);
  border: 10px solid var(--frame);
  outline: 1px solid var(--gold);
  outline-offset: -5px;
  box-shadow: 0 18px 34px rgba(23,20,15,.22);
  display: grid; place-items: center;
}
.hframe { position: absolute; padding: 14px; }
.hframe svg { width: 100%; height: auto; display: block; }
.h1 { width: 46%; left: 0; top: 30px; }
.h2 { width: 36%; right: 6%; top: 0; }
.h3 { width: 38%; right: 0; bottom: 0; }

/* Strip */
.strip { background: var(--orange); color: var(--ink); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.strip-inner div { display: flex; flex-direction: column; }
.strip strong { font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; }
.strip span { font-size: .93rem; font-weight: 500; }

/* Sections */
.section { padding: 96px 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .eyebrow { color: var(--orange); }
.section-dark .lead { color: rgba(255,255,255,.75); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 28px; margin-top: 48px; }
.piece { display: flex; flex-direction: column; }
.frame { padding: 22px; background: var(--wall); transition: transform .2s; }
.frame svg { width: 62%; height: auto; display: block; }
.piece:hover .frame { transform: translateY(-4px); }
.label { margin-top: 18px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); flex: 1; display: flex; flex-direction: column; }
.label h3 { margin-bottom: .15em; }
.label-cap { margin: 0; font-style: italic; color: var(--muted); font-family: var(--serif); font-size: 1.05rem; }
.label-meta { margin: .4em 0 1em; font-size: .85rem; color: var(--muted); letter-spacing: .02em; }
.label-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.price { font-family: var(--serif); font-size: 1.5rem; }
.sizes { margin: 32px 0 0; color: var(--muted); font-size: .95rem; }

/* Quality */
.quality { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.qualities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); }
.qualities li { background: var(--ink); padding: 24px 22px; display: flex; flex-direction: column; }
.qualities strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--orange); }
.qualities span { color: rgba(255,255,255,.75); font-size: .95rem; }

/* Gift */
.gift { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.gift-box { position: relative; aspect-ratio: 1; max-width: 320px; width: 100%; margin: 0 auto; background: var(--ink); box-shadow: 0 24px 44px rgba(23,20,15,.25); }
.ribbon-v, .ribbon-h { position: absolute; background: var(--orange); }
.ribbon-v { left: 50%; top: 0; bottom: 0; width: 34px; transform: translateX(-50%); }
.ribbon-h { top: 50%; left: 0; right: 0; height: 34px; transform: translateY(-50%); }
.gift-tag { position: absolute; right: -14px; top: 22px; background: var(--white); border: 1px solid var(--line); padding: .35em .9em; font-family: var(--serif); font-size: 1.1rem; box-shadow: 0 6px 14px rgba(23,20,15,.15); transform: rotate(6deg); }
.gift-price { margin: 1.2em 0 1.4em; }
.gift-price strong { font-family: var(--serif); font-size: 2.4rem; font-weight: 500; }
.gift-price span { color: var(--muted); text-decoration: line-through; margin-left: 8px; }

/* Contact */
.contact { background: var(--orange); text-align: center; }
.contact .eyebrow { color: var(--ink); }
.contact .lead { color: var(--ink); opacity: .85; margin: 0 auto 1.6em; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); font-size: .9rem; }
.footer-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.footer-inner p { margin: 0; }
.footer-inner a { color: var(--orange); }

/* Responsive */
@media (max-width: 960px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .hero-inner, .quality, .gift { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 52px 0 72px; }
  .wall { height: 340px; max-width: 460px; width: 100%; margin: 0 auto; }
  .section { padding: 68px 0; }
  .nav a:not(.btn) { display: none; }
  .gift-box { max-width: 240px; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .gallery { grid-template-columns: 1fr; gap: 36px; }
  .frame svg { width: 50%; }
  .qualities { grid-template-columns: 1fr; }
  .wall { height: 290px; }
  .hframe { border-width: 7px; padding: 10px; }
  .gift-tag { right: -6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
