:root {
  --ink: #211a16;
  --muted: #6d625c;
  --paper: #fbf7ef;
  --white: #fffdf9;
  --line: #ded2c2;
  --rose: #b85f64;
  --blue: #2f6f89;
  --green: #566f48;
  --gold: #c58a35;
  --shadow: 0 18px 55px rgba(68, 45, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, sans-serif;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(33, 26, 22, 0.12);
  background: rgba(251, 247, 239, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  width: fit-content;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2rem;
}

.brand small {
  color: var(--muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 4vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--ink);
}

.cart-button {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.cart-button strong {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-size: 0.8rem;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.hero-art {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background:
    linear-gradient(120deg, rgba(33, 26, 22, 0.1), transparent 32%),
    #ede0d0;
}

.canvas-field {
  position: absolute;
  inset: clamp(18px, 4vw, 58px);
  overflow: hidden;
  border: 14px solid var(--white);
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 24% 22%, rgba(255, 253, 249, 0.82), transparent 21%),
    linear-gradient(145deg, rgba(184, 95, 100, 0.84), transparent 38%),
    linear-gradient(28deg, rgba(47, 111, 137, 0.78), transparent 42%),
    linear-gradient(202deg, rgba(86, 111, 72, 0.74), transparent 45%),
    #d8b894;
}

.stroke {
  position: absolute;
  display: block;
  filter: saturate(1.08);
  mix-blend-mode: multiply;
}

.stroke-a {
  width: 52%;
  height: 18%;
  left: 7%;
  top: 18%;
  border-radius: 52% 48% 42% 58%;
  background: rgba(255, 253, 249, 0.78);
  transform: rotate(-10deg);
}

.stroke-b {
  width: 64%;
  height: 22%;
  right: -8%;
  top: 34%;
  border-radius: 62% 34% 58% 38%;
  background: rgba(197, 138, 53, 0.7);
  transform: rotate(16deg);
}

.stroke-c {
  width: 44%;
  height: 38%;
  left: 14%;
  bottom: 2%;
  border-radius: 49% 51% 36% 64%;
  background: rgba(47, 111, 137, 0.52);
  transform: rotate(12deg);
}

.stroke-d {
  width: 22%;
  height: 70%;
  right: 14%;
  top: 12%;
  border-radius: 50%;
  background: rgba(86, 111, 72, 0.48);
  transform: rotate(23deg);
}

.stroke-e {
  width: 34%;
  height: 16%;
  left: 31%;
  bottom: 18%;
  border-radius: 999px;
  background: rgba(184, 95, 100, 0.52);
  transform: rotate(-25deg);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: clamp(42px, 7vw, 96px);
}

.eyebrow {
  margin: 0;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  line-height: 0.98;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(5rem, 14vw, 11rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.55rem, 6vw, 5.4rem);
}

.hero-copy p:not(.eyebrow),
.about-band p {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--ink);
}

.button.ghost {
  color: var(--ink);
  background: transparent;
}

.shop-band,
.mail-band,
.about-band {
  padding: clamp(56px, 8vw, 108px) clamp(18px, 4vw, 56px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.32fr) minmax(0, 0.68fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 34px;
}

.print-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.print-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.print-art {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  padding: 8%;
  background: var(--art-bg);
}

.print-art span {
  width: 82%;
  height: 76%;
  border: 10px solid rgba(255, 253, 249, 0.9);
  box-shadow: 0 12px 30px rgba(33, 26, 22, 0.18);
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 253, 249, 0.88), transparent 18%),
    linear-gradient(var(--art-angle), var(--art-one), transparent 46%),
    linear-gradient(var(--art-angle-two), var(--art-two), transparent 52%),
    var(--art-three);
}

.print-info {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.print-title-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.print-title-row h3 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.05;
}

.print-title-row strong {
  white-space: nowrap;
}

.print-info p {
  min-height: 48px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.print-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.print-actions select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  background: var(--white);
}

.mail-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
  border-block: 1px solid var(--line);
  background: #f3eadc;
}

.signup-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

label,
legend {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  min-height: 46px;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fffefa;
}

fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--rose);
}

.form-note,
.cart-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.about-band {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a {
  font-weight: 800;
}

.site-footer a:hover {
  color: var(--ink);
}

.portrait-mark {
  aspect-ratio: 1;
  max-width: 330px;
  border-radius: 50%;
  border: 12px solid var(--white);
  box-shadow: var(--shadow);
  background:
    linear-gradient(155deg, transparent 35%, rgba(33, 26, 22, 0.18) 36% 38%, transparent 39%),
    radial-gradient(circle at 58% 34%, rgba(255, 253, 249, 0.9), transparent 14%),
    linear-gradient(42deg, rgba(184, 95, 100, 0.74), transparent 50%),
    linear-gradient(150deg, rgba(47, 111, 137, 0.62), transparent 48%),
    #d9b68b;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  justify-content: flex-end;
  background: rgba(33, 26, 22, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.cart-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  width: min(440px, 100%);
  min-height: 100%;
  padding: 22px;
  background: var(--white);
  box-shadow: -20px 0 50px rgba(33, 26, 22, 0.2);
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.cart-head h2 {
  font-size: 2.6rem;
}

.cart-head button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 1.5rem;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.cart-item button {
  align-self: center;
  border: 0;
  color: var(--rose);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.cart-empty {
  padding: 34px 0;
  color: var(--muted);
  text-align: center;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin: 22px 0;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
  font-size: 1.1rem;
}

.checkout-button {
  width: 100%;
}

.paypal-buttons {
  min-height: 150px;
}

.paypal-buttons.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }

  .hero,
  .mail-band,
  .about-band,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 46vh;
  }

  .hero-copy {
    padding: 38px 22px 56px;
  }

  .print-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
    min-height: 64px;
  }

  .brand {
    font-size: 1.7rem;
  }

  .site-nav {
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .cart-button span {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-art {
    min-height: 390px;
  }

  .canvas-field {
    border-width: 10px;
  }

  h1 {
    font-size: clamp(4.3rem, 28vw, 6.5rem);
  }

  .print-grid {
    grid-template-columns: 1fr;
  }

  .print-actions {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
