:root {
  --ivory: #fbf8f1;
  --paper: #f7f2e8;
  --paper-deep: #efe0b9;
  --ink: #2b2118;
  --brown: #5c3c20;
  --muted: #675847;
  --gold: #ad7b20;
  --gold-soft: #c19a4f;
  --line: rgba(82, 55, 30, 0.18);
  --font-display: 'Cormorant Garamond', 'EB Garamond', Garamond, Georgia, serif;
  --font-body: 'EB Garamond', Garamond, Georgia, serif;
  --font-label: 'Barlow Condensed', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.pricing-page { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.pricing-page img { display: block; max-width: 100%; height: auto; }
.pricing-page a { color: inherit; text-decoration: none; }
.pricing-page :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Header — same light editorial family as the corrected Gallery, with Pricing added sitewide. */
.pricing-header { background: rgba(251,248,241,.98); border-bottom: 1px solid rgba(65,47,33,.12); position: relative; z-index: 50; }
.pricing-header__inner { width: min(100% - 42px, 1580px); margin: 0 auto; min-height: 104px; display: flex; align-items: center; gap: 24px; }
.pricing-brand { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.pricing-brand__seal { width: 72px; height: 72px; object-fit: contain; }
.pricing-brand__text { display: flex; flex-direction: column; line-height: .9; }
.pricing-brand__name { font-family: var(--font-display); text-transform: uppercase; font-size: 2.05rem; font-weight: 600; letter-spacing: .08em; }
.pricing-brand__tagline { font-family: var(--font-label); text-transform: uppercase; font-size: .7rem; letter-spacing: .28em; margin-top: 8px; }
.pricing-header__nav { margin-left: auto; }
.pricing-header__nav ul { list-style: none; display: flex; align-items: center; gap: 18px; margin: 0; padding: 0; }
.pricing-header__nav a { font-family: var(--font-label); text-transform: uppercase; font-size: .76rem; letter-spacing: .065em; white-space: nowrap; padding: 8px 0 7px; border-bottom: 1px solid transparent; }
.pricing-header__nav a:hover, .pricing-header__nav .is-active a { color: var(--gold); border-bottom-color: var(--gold); }
.pricing-header__cta { flex: 0 0 auto; background: var(--gold); color: #fffaf0; font-family: var(--font-label); text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; padding: 15px 22px; border: 1px solid var(--gold); }
.pricing-header__cta:hover { background: #95691c; }
.pricing-header__menu-toggle { display: none; margin-left: auto; width: 44px; height: 40px; border: 1px solid var(--ink); background: transparent; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.pricing-header__menu-toggle span { width: 20px; height: 1.5px; background: var(--ink); }
.pricing-header__mobile-nav { display: none; border-top: 1px solid rgba(65,47,33,.12); background: var(--ivory); }
.pricing-header__mobile-nav.is-open { display: block; }
.pricing-header__mobile-nav ul { list-style: none; margin: 0; padding: 10px 24px 24px; }
.pricing-header__mobile-nav a { display: block; padding: 11px 0; border-bottom: 1px solid rgba(65,47,33,.08); font-family: var(--font-label); text-transform: uppercase; letter-spacing: .07em; font-size: .9rem; }
.pricing-header__mobile-nav .is-active a { color: var(--gold); }

.gold-rule { width: 108px; height: 18px; display: block; position: relative; margin: 15px auto 0; color: var(--gold); }
.gold-rule::before, .gold-rule::after { content: ''; position: absolute; top: 8px; width: 41px; height: 1px; background: currentColor; opacity: .8; }
.gold-rule::before { left: 0; } .gold-rule::after { right: 0; }
.gold-rule span { position: absolute; left: 50%; top: 3px; width: 10px; height: 10px; border: 1px solid currentColor; transform: translateX(-50%) rotate(45deg); }
.gold-rule span::after { content: ''; position: absolute; width: 3px; height: 3px; border-radius: 50%; background: currentColor; left: 2.5px; top: 2.5px; }
.gold-rule--small { width: 84px; }
.gold-rule--small::before, .gold-rule--small::after { width: 30px; }
.gold-rule--left { margin: 10px 0 0; width: 94px; }
.gold-rule--left::before, .gold-rule--left::after { width: 34px; }

/* Hero */
.pricing-hero { position: relative; min-height: 500px; overflow: hidden; border-bottom: 1px solid var(--line); background: #f7f2e8; isolation: isolate; }
.pricing-hero__pastiche { position: absolute; inset: 0 auto 0 0; height: 100%; width: 57%; object-fit: cover; object-position: left center; z-index: -2; opacity: .98; }
.pricing-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,242,232,0) 0 28%, rgba(247,242,232,.42) 43%, rgba(247,242,232,.94) 58%, rgba(247,242,232,1) 72%); z-index: -1; }
.pricing-hero__inner { width: min(100% - 44px, 1480px); min-height: 500px; margin: 0 auto; display: grid; grid-template-columns: minmax(360px, 41%) minmax(520px, 59%); align-items: stretch; position: relative; }
.pricing-hero__copy { align-self: center; justify-self: center; max-width: 480px; text-align: center; padding: 44px 30px 44px 54px; }
.pricing-hero__copy h1 { margin: 0; color: var(--brown); font-family: var(--font-display); font-size: clamp(3.8rem, 5.4vw, 5.2rem); font-weight: 500; line-height: .86; letter-spacing: -.025em; }
.pricing-hero__subhead { color: #a86d1c; font-size: 1.55rem; line-height: 1.1; margin: 14px 0 16px; }
.pricing-hero__body { margin: 0 auto; max-width: 42ch; font-size: 1rem; line-height: 1.42; }
.pricing-hero__art { margin: 0; align-self: stretch; display: flex; align-items: stretch; justify-content: stretch; min-width: 0; }
.pricing-hero__art img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; object-position: center 45%; }
.pricing-hero__note { position: absolute; right: -6px; top: 31%; width: 150px; min-height: 170px; background: rgba(249,244,233,.95); border: 1px solid rgba(107,78,42,.13); box-shadow: 0 7px 15px rgba(64,43,27,.2); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 12px; }
.pricing-hero__note .gold-rule { margin: 0 0 6px; }
.pricing-hero__note p { margin: 0; color: #755133; font-size: 1.22rem; line-height: 1.1; font-style: italic; }
.pricing-hero__note em { color: #9a651a; }

/* Medium cards */
.pricing-mediums { background: var(--ivory); padding: 12px 42px 30px; }
.pricing-mediums__grid { max-width: 1390px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.medium-card { min-width: 0; border: 1px solid #ddd0b7; background: rgba(255,255,255,.16); }
.medium-card__media { aspect-ratio: 1.48 / 1; overflow: hidden; background: #efe8dc; }
.medium-card__media img { width: 100%; height: 100%; object-fit: cover; }
.medium-card__body { min-height: 370px; padding: 10px 30px 18px; display: flex; flex-direction: column; text-align: center; align-items: center; }
.medium-card h2 { margin: 0; font-family: var(--font-display); font-size: 2.2rem; font-weight: 500; line-height: 1; text-transform: uppercase; }
.medium-card__tagline { margin: 4px 0 13px; color: #a66a1f; font-size: 1.28rem; line-height: 1; }
.medium-card__body > p:not(.medium-card__tagline) { margin: 0 auto 15px; max-width: 34ch; font-size: 1rem; line-height: 1.32; }
.price-panel { margin-top: auto; width: min(100%, 330px); background: linear-gradient(90deg, rgba(231,216,184,.22), rgba(241,227,197,.62), rgba(231,216,184,.22)); padding: 13px 28px 12px; }
.price-panel__label { margin: 0 0 8px; font-family: var(--font-label); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; }
.price-panel dl { margin: 0; }
.price-panel dl div { display: grid; grid-template-columns: 1fr auto; gap: 28px; font-size: 1.2rem; line-height: 1.35; }
.price-panel dt, .price-panel dd { margin: 0; }
.pricing-mediums__note { text-align: center; font-size: .98rem; line-height: 1.3; margin: 10px auto 0; }

/* Framing */
.pricing-framing { padding: 18px 30px 22px; background: #faf6ed; border-top: 1px solid rgba(90,62,35,.06); }
.framing-layout { max-width: 1420px; margin: 0 auto; display: grid; grid-template-columns: 270px minmax(0,1fr) 270px; gap: 18px; align-items: stretch; }
.framing-intro, .custom-frame { background: #efdfb5; padding: 28px 26px; }
.framing-intro h2, .custom-frame h2 { margin: 0; font-family: var(--font-display); text-transform: uppercase; font-size: 2rem; line-height: 1; font-weight: 600; }
.framing-intro p, .custom-frame p { color: #7a6b58; font-size: 1.18rem; line-height: 1.38; }
.framing-intro p { margin: 25px 0 0; }
.custom-frame { text-align: center; display: flex; flex-direction: column; align-items: center; }
.custom-frame p { margin: 22px auto; }
.outline-button { margin-top: auto; width: 100%; min-height: 64px; border: 2px solid #a97626; display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--font-label); font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; background: rgba(255,255,255,.18); }
.outline-button:hover { background: #a97626; color: #fffaf0; }
.frame-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; min-width: 0; }
.frame-card { border: 1px solid #d3bb93; background: #fbf8f1; min-width: 0; display: flex; flex-direction: column; }
.frame-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #eee4d4; }
.frame-card__body { padding: 10px 10px 14px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.frame-card h3 { margin: 0 0 10px; font-family: var(--font-display); font-size: 1.08rem; line-height: 1.05; font-weight: 600; }
.frame-card p { margin: 0; text-align: left; font-size: .72rem; line-height: 1.2; }
.frame-card strong { margin-top: auto; padding-top: 13px; font-family: var(--font-display); text-transform: uppercase; font-size: .95rem; }

/* Additional prints */
.pricing-prints { max-width: 1440px; margin: 0 auto; padding: 12px 28px 22px; display: grid; grid-template-columns: 31% 37% 32%; align-items: center; background: var(--ivory); border-top: 1px solid rgba(90,62,35,.07); }
.pricing-prints__art { min-width: 0; padding-right: 24px; }
.pricing-prints__art img { width: 100%; }
.pricing-prints__copy { border-right: 1px solid #c9ae7b; padding: 0 34px 0 8px; }
.pricing-prints__copy h2, .popular-options h2 { margin: 0; font-family: var(--font-display); font-size: 1.7rem; text-transform: uppercase; font-weight: 500; }
.pricing-prints__copy p { font-size: 1rem; line-height: 1.35; }
.pricing-prints__highlight { color: #b17821; font-size: 1.25rem !important; line-height: 1.22 !important; margin-bottom: 0 !important; }
.popular-options { padding-left: 48px; }
.popular-options ul { margin: 16px 0 0; padding-left: 20px; font-size: 1.05rem; line-height: 1.55; }

/* Closing pastiche + integrated footer */
.pricing-closing { min-height: 255px; position: relative; overflow: hidden; background: #f1e3c4; border-top: 1px solid rgba(105,74,38,.12); display: grid; grid-template-columns: 41% 42% 17%; align-items: center; }
.pricing-closing__art { position: absolute; inset: 0; z-index: 0; }
.pricing-closing__art img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.pricing-closing__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(243,229,198,.02) 0 31%, rgba(243,229,198,.25) 40%, rgba(243,229,198,.92) 56%, rgba(243,229,198,.78) 100%); }
.pricing-closing__copy { position: relative; z-index: 2; grid-column: 2; text-align: center; background: rgba(247,238,217,.7); margin: 18px 0; padding: 18px 30px 20px; }
.pricing-closing__copy h2 { margin: 0; color: #6d4928; font-family: var(--font-display); font-size: clamp(2rem,3vw,3rem); font-weight: 500; line-height: 1.05; }
.pricing-closing__copy p { margin: 10px auto 14px; font-size: 1.02rem; line-height: 1.28; }
.gold-button { display: inline-flex; align-items: center; justify-content: center; background: var(--gold); color: #fff9ed !important; font-family: var(--font-label); text-transform: uppercase; letter-spacing: .07em; padding: 13px 26px; font-size: .94rem; }
.gold-button:hover { background: #96691e; }
.pricing-closing__seal { position: relative; z-index: 2; grid-column: 3; justify-self: center; width: min(150px, 80%); }

.pricing-footer { background: rgba(250,246,236,.98); border-top: 1px solid rgba(91,62,35,.13); }
.pricing-footer__inner { max-width: 1470px; min-height: 90px; margin: 0 auto; padding: 12px 28px; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 24px; }
.pricing-footer__brand { display: flex; align-items: center; gap: 10px; }
.pricing-footer__brand img { width: 46px; height: 46px; }
.pricing-footer__brand span { display: flex; flex-direction: column; line-height: .85; }
.pricing-footer__brand strong { font-family: var(--font-display); text-transform: uppercase; font-size: 1.55rem; letter-spacing: .06em; }
.pricing-footer__brand small { font-family: var(--font-label); text-transform: uppercase; letter-spacing: .18em; margin-top: 6px; }
.pricing-footer__nav { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.pricing-footer__nav a { font-family: var(--font-label); text-transform: uppercase; font-size: .75rem; letter-spacing: .055em; }
.pricing-footer__nav a:hover, .pricing-footer__nav [aria-current="page"] { color: var(--gold); }
.pricing-footer__social { display: flex; gap: 15px; font-family: Arial, sans-serif; font-size: 1.45rem; align-items: center; }
.pricing-footer__copy { margin: 0; font-size: .78rem; white-space: nowrap; }

@media (max-width: 1900px) {
  .pricing-header__nav, .pricing-header__cta { display: none; }
  .pricing-header__menu-toggle { display: flex; }
}

@media (max-width: 1180px) {
  .pricing-hero__inner { width: min(100% - 28px, 1120px); grid-template-columns: 42% 58%; }
  .pricing-hero__copy { padding-left: 24px; padding-right: 20px; }
  .pricing-hero__note { width: 128px; right: 0; }
  .pricing-mediums { padding-left: 22px; padding-right: 22px; }
  .medium-card__body { padding-left: 20px; padding-right: 20px; }
  .framing-layout { grid-template-columns: 1fr; }
  .framing-intro, .custom-frame { text-align: center; }
  .framing-intro .gold-rule, .custom-frame .gold-rule { margin-left: auto; margin-right: auto; }
  .frame-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .custom-frame { min-height: 230px; }
  .outline-button { max-width: 330px; }
  .pricing-prints { grid-template-columns: 34% 1fr; }
  .popular-options { grid-column: 1 / -1; padding: 22px 0 0; margin-top: 18px; border-top: 1px solid #d5c09a; }
  .popular-options ul { columns: 2; }
  .pricing-prints__copy { border-right: 0; }
  .pricing-footer__inner { grid-template-columns: auto 1fr auto; }
  .pricing-footer__copy { grid-column: 1 / -1; text-align: center; }
}

@media (max-width: 820px) {
  .pricing-hero { min-height: 0; }
  .pricing-hero__pastiche { width: 100%; height: 46%; opacity: .55; }
  .pricing-hero::after { background: linear-gradient(180deg, rgba(247,242,232,.05) 0 23%, rgba(247,242,232,.92) 45%, rgba(247,242,232,1) 62%); }
  .pricing-hero__inner { width: 100%; min-height: 0; grid-template-columns: 1fr; }
  .pricing-hero__copy { grid-row: 2; max-width: 620px; padding: 35px 26px 36px; }
  .pricing-hero__copy h1 { font-size: clamp(3.4rem,12vw,4.8rem); }
  .pricing-hero__art { grid-row: 1; min-height: 360px; }
  .pricing-hero__art img { min-height: 360px; max-height: 520px; }
  .pricing-hero__note { top: 32%; right: 18px; width: 122px; min-height: 146px; }
  .pricing-mediums__grid { grid-template-columns: 1fr; max-width: 620px; }
  .medium-card__media { aspect-ratio: 1.55/1; }
  .medium-card__body { min-height: 0; padding-bottom: 24px; }
  .price-panel { margin-top: 10px; }
  .pricing-mediums__note br { display: none; }
  .frame-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .frame-card p { font-size: .84rem; }
  .pricing-prints { grid-template-columns: 1fr; padding: 24px 22px; }
  .pricing-prints__art { padding: 0; max-width: 600px; margin: 0 auto 20px; }
  .pricing-prints__copy { padding: 0; text-align: center; }
  .pricing-prints__copy .gold-rule { margin-left: auto; margin-right: auto; }
  .popular-options { text-align: center; }
  .popular-options ul { display: inline-block; text-align: left; columns: 1; }
  .pricing-closing { min-height: 430px; grid-template-columns: 1fr; align-items: end; }
  .pricing-closing__art img { object-position: 28% center; }
  .pricing-closing__art::after { background: linear-gradient(180deg, rgba(243,229,198,.05) 0 34%, rgba(243,229,198,.78) 54%, rgba(243,229,198,.96) 100%); }
  .pricing-closing__copy { grid-column: 1; margin: 155px 20px 28px; }
  .pricing-closing__seal { grid-column: 1; position: absolute; right: 18px; top: 18px; width: 110px; }
  .pricing-footer__inner { grid-template-columns: 1fr; text-align: center; }
  .pricing-footer__brand { justify-content: center; }
  .pricing-footer__nav { gap: 15px 20px; }
  .pricing-footer__social { justify-content: center; }
}

@media (max-width: 640px) {
  .pricing-header__inner { width: calc(100% - 26px); min-height: 78px; gap: 10px; }
  .pricing-brand__seal { width: 50px; height: 50px; }
  .pricing-brand__name { font-size: 1.45rem; }
  .pricing-brand__tagline { font-size: .55rem; letter-spacing: .2em; margin-top: 5px; }
  .pricing-hero__art { min-height: 305px; }
  .pricing-hero__art img { min-height: 305px; }
  .pricing-hero__note { top: 235px; width: 108px; min-height: 124px; font-size: .9rem; }
  .pricing-hero__note p { font-size: 1rem; }
  .pricing-hero__copy { padding: 42px 20px 32px; }
  .pricing-hero__subhead { font-size: 1.35rem; }
  .pricing-mediums { padding: 10px 14px 24px; }
  .medium-card h2 { font-size: 2rem; }
  .pricing-framing { padding: 14px; }
  .framing-intro, .custom-frame { padding: 24px 20px; }
  .frame-grid { grid-template-columns: 1fr; }
  .frame-card { max-width: 430px; margin: 0 auto; }
  .frame-card img { aspect-ratio: 1.15/1; object-fit: contain; object-position: center; padding: 6px; background: #eee4d4; }
  .frame-card p { font-size: .9rem; }
  .pricing-prints__highlight { font-size: 1.15rem !important; }
  .pricing-closing__copy { padding-left: 18px; padding-right: 18px; }
  .pricing-closing__copy p br { display: none; }
  .pricing-footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px 18px; }
  .pricing-footer__nav a { text-align: center; }
}

@media (max-width: 380px) {
  .pricing-brand__seal { width: 44px; height: 44px; }
  .pricing-brand__name { font-size: 1.25rem; }
}
