/* Revision 02: the original Hero is governed by unchanged Prototype-01 styles.css.
   Only image readiness, message notes, ribbon controls, retained ALO and contact
   refinements are added here. No white header or alternate Hero grid. */
:root { --p2-line: rgba(51,49,71,.2); --p2-radius: 24px; }
.p2-shell { width: min(1240px, 90%); margin-inline: auto; }
.p2-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 14px 22px; border: 1px solid var(--ink); border-radius: 999px; font-size: 13px; line-height: 1.3; font-weight: 700; background: var(--ink); color: white; transition: transform .18s, box-shadow .18s; text-align: center; }
.p2-button:hover { transform: translateY(-2px); box-shadow: 0 4px 0 rgba(51,49,71,.16); }
.p2-button .p2-arrow { font-size: 19px; line-height: 1; }
.p2-button-blue { background: var(--blue); border-color: var(--blue); }
.p2-label { font: 500 11px/1.5 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .08em; }

/* The full image occupies exactly the original Hero image's box. */
.hero-art .p2-hero-preview { position: absolute; inset: 0; opacity: 1; }
.p2-hero-full { opacity: 0; transition: opacity .24s ease; }
.hero-ready .p2-hero-full { opacity: 1; }
.hero-ready .p2-hero-preview { opacity: 0; transition: opacity .24s ease; }
.site-header .brand { position: relative; }
.header-brand-fallback { display: none; }
.logo-failed .site-header .brand img { visibility: hidden; }
.logo-failed .header-brand-fallback { position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; font-weight: 700; letter-spacing: -.06em; }

/* The two notes keep the message-like treatment selected by the Founder. */
.hero-note.p2-sticker-label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; background: var(--cream); color: var(--ink); border: 1px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); text-shadow: none; font: 500 10px/1.4 'DM Mono', monospace; letter-spacing: .02em; }
.hero-note.p2-sticker-label > span { color: var(--blue); font-size: 20px; line-height: 1; }
.hero-note.note-top { top: 60px; transform: rotate(2deg); }
.hero-note.note-bottom { left: 3%; transform: rotate(-2deg); }

/* Equal repeated groups make the blue strip loop without a visible reset. */
.ribbon .ribbon-track { display: flex; animation: p2-marquee 30s linear infinite; }
.ribbon-track > span { flex: 0 0 auto; padding-right: 28px; }
@keyframes p2-marquee { to { transform: translateX(-50%); } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ALO: retain the composition accepted in revision 01. */
.p2-offer { background: var(--charcoal); color: white; padding: 84px 0 88px; scroll-margin-top: 24px; }
.p2-offer-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.p2-offer-head .p2-label { color: var(--lavender); margin: 0 0 12px; }
.p2-offer h2 { font-size: clamp(40px, 4.7vw, 66px); line-height: 1.04; letter-spacing: -.045em; margin: 0; }
.p2-offer h2 em { color: var(--lavender); font-style: normal; font-weight: 400; }
.p2-offer-note { max-width: 25ch; margin: 0 0 3px; font-size: 14px; line-height: 1.65; color: #dedce8; }
.p2-product { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); border: 1px solid var(--ink); border-radius: var(--p2-radius); overflow: hidden; color: var(--ink); }
.p2-product-art { background: var(--lavender); min-width: 0; position: relative; display: grid; place-items: center; padding: 45px 35px 30px; }
.p2-product-art::before { content: ''; width: 75%; aspect-ratio: 1; position: absolute; border-radius: 50%; background: rgba(237,236,255,.52); }
.p2-product-art img { position: relative; display: block; width: min(100%,420px); height: auto; aspect-ratio: 1; object-fit: contain; }
.p2-open { position: absolute; left: 24px; top: 22px; z-index: 1; display: inline-flex; align-items: center; gap: 7px; background: var(--lime); border: 1px solid var(--ink); border-radius: 99px; padding: 7px 11px; font: 500 10px/1.3 'DM Mono',monospace; }
.p2-open::before { content: ''; width: 5px; height: 5px; background: var(--ink); border-radius: 50%; }
.p2-product-copy { padding: clamp(30px, 3.5vw, 52px); display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.p2-product-copy .p2-label { margin: 0 0 20px; color: var(--slate); }
.p2-product h3 { font-size: clamp(38px, 4.3vw, 60px); line-height: 1; letter-spacing: -.045em; margin: 0; }
.p2-product-description { font-size: 16px; line-height: 1.65; max-width: 32ch; margin: 22px 0 27px; }
.p2-product-price { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding-top: 22px; margin-top: auto; border-top: 1px solid var(--p2-line); }
.p2-product-price strong { font-size: 34px; letter-spacing: -.04em; line-height: 1.2; }
.p2-product-price span { font: 400 11px/1.5 'DM Mono', monospace; }
.p2-product-order { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 24px; }
.p2-product-order small { max-width: 14ch; font-size: 12px; line-height: 1.5; }
.p2-offer .next-service { max-width: 510px; margin-top: 26px; border-radius: 16px; }
.p2-offer .next-service h3 { letter-spacing: -.04em; }
.p2-offer .next-service .kicker, .p2-offer .next-service > span { color: var(--lavender); }
#studio { scroll-margin-top: 24px; }

/* All five supplied contact icons are decorative; each link keeps its text name. */
.social-grid a { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 60px; padding-right: 14px; }
.social-grid a .contact-icon { display: block; width: 24px; height: 24px; object-fit: contain; flex: 0 0 24px; }
.social-grid a .contact-label { float: none; margin: 0; min-width: 0; overflow-wrap: anywhere; }
.social-grid a .contact-arrow { float: none; margin: 0 0 0 auto; flex: 0 0 auto; }
.social-grid a.email { grid-column: 1 / -1; justify-content: flex-start; }
.social-grid a.email .contact-arrow { margin-left: 2px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.p2-offer a:focus-visible { outline-color: var(--lavender); }

@media (max-width: 1050px) and (min-width: 761px) {
  .p2-product-order { align-items: flex-start; flex-direction: column; gap: 12px; }
  .p2-product-order small { max-width: none; }
}
@media (max-width: 760px) {
  .p2-shell { width: 88%; }
  .hero-note.p2-sticker-label { font-size: 9px; padding: 8px 10px; gap: 6px; }
  .hero-note.p2-sticker-label > span { font-size: 17px; }
  .hero-note.note-top { top: 0; right: 8%; }
  .hero-note.note-bottom { bottom: 3%; left: 2%; }
  .p2-offer { padding-block: 55px 58px; }
  .p2-offer-head { display: block; margin-bottom: 28px; }
  .p2-offer h2 { font-size: clamp(38px, 9.5vw, 58px); }
  .p2-offer-note { max-width: 34ch; margin-top: 18px; font-size: 14px; }
  .p2-product { grid-template-columns: 1fr; border-radius: 20px; }
  .p2-product-art { padding: 32px 28px 16px; }
  .p2-product-art img { width: min(100%, 350px); }
  .p2-open { top: 18px; left: 18px; }
  .p2-product-copy { padding: 30px 26px 32px; }
  .p2-product-copy .p2-label { margin-bottom: 16px; }
  .p2-product h3 { font-size: clamp(38px, 10vw, 54px); }
  .p2-product-description { font-size: 15px; margin: 20px 0 24px; }
  .p2-product-price { padding-top: 20px; }
  .p2-product-order { flex-wrap: wrap; }
  .p2-product-order small { max-width: none; }
  .p2-product-order .p2-button { width: 100%; justify-content: space-between; }
  .p2-offer .next-service { width: 100%; padding: 24px; }
  .social-grid a { display: flex; min-height: 62px; }
  .social-grid a.email { display: flex; font-size: 12px; gap: 8px; }
  .social-grid a .contact-icon { width: 22px; height: 22px; flex-basis: 22px; }
}
@media (max-width: 370px) {
  .p2-product-copy { padding-inline: 22px; }
  .p2-product-price { flex-wrap: wrap; }
  .social-grid a.email { font-size: 11px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* Founder explicitly requested uninterrupted movement for this strip. */
  .ribbon .ribbon-track { animation: p2-marquee 30s linear infinite !important; }
}
