/* CHOKEPOINT storefront 0.1.8. Every selector is scoped to the storefront page or its root element. */

body.profano-page { margin: 0; background: #f3ede4; color: #241625; }
body.profano-page * { box-sizing: border-box; }
body.profano-page a { color: inherit; text-decoration: none; }
body.profano-page button,
body.profano-page input { font: inherit; }
body.profano-page button { cursor: pointer; }
body.profano-page :focus-visible { outline: 3px solid #bd4b16; outline-offset: 4px; }
body.profano-page .profano-skip { position: absolute; left: -9999px; top: 1rem; z-index: 1000; background: #fff; padding: 1rem; }
body.profano-page .profano-skip:focus { left: 1rem; }

.profano-root { font-family: Arial, Helvetica, sans-serif; line-height: 1.5; min-height: 100vh; }

/* Header and menu */
.profano-root .pf-header { display: flex; align-items: center; justify-content: space-between; background: #241625; color: #fff; padding: 1rem clamp(1rem, 4vw, 4rem); gap: 1rem; }
.profano-root .pf-logo { font-weight: 950; letter-spacing: -.06em; font-size: clamp(1.5rem, 3vw, 2.5rem); }
.profano-root .pf-nav,
.profano-root .pf-header-actions { display: flex; gap: 2rem; align-items: center; }
.profano-root .pf-nav a { font-size: .8rem; font-weight: 800; letter-spacing: .15em; }
.profano-root .pf-header-actions button { background: none; border: 1px solid #765a65; color: #fff; border-radius: 3px; padding: .4rem .7rem; }
.profano-root .pf-menu { background: #332137; color: #fff; display: flex; gap: 1.5rem; padding: 1rem 4vw; flex-wrap: wrap; }
.profano-root .pf-menu a,
.profano-root .pf-menu button { background: none; border: 0; color: inherit; }

/* Hero */
.profano-root .pf-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr); background: #241625; color: #fff; min-height: 530px; overflow: hidden; }
.profano-root .pf-hero-content { padding: clamp(2rem, 7vw, 7rem) clamp(1rem, 5vw, 6rem); position: relative; z-index: 1; }
.profano-root .pf-kicker { font-size: .7rem; font-weight: 800; letter-spacing: .18em; color: #d7a18a; }
.profano-root .pf-hero h1 { font-size: clamp(4rem, 11vw, 10rem); line-height: .9; letter-spacing: -.08em; margin: 1.5rem 0 .2rem; font-weight: 950; color: #fff; }
.profano-root .pf-slogan { font-size: clamp(1.8rem, 5vw, 4.7rem); font-weight: 950; line-height: 1; letter-spacing: -.05em; color: #e1773c; margin: .5rem 0 2rem; }
.profano-root .pf-intro { max-width: 34rem; font-size: 1.1rem; margin-bottom: 2rem; color: #f3ede4; }
.profano-root .pf-hero-art { display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, #bb4b1b 0 29%, transparent 30%), repeating-linear-gradient(135deg, #241625 0 16px, #342238 17px 19px); }
.profano-root .pf-orbit { font-size: clamp(8rem, 24vw, 26rem); font-weight: 950; color: #f3ede4; letter-spacing: -.12em; transform: rotate(-12deg); text-shadow: 15px 12px #241625; }

/* Buttons */
.profano-root .pf-btn { display: inline-block; background: #bd4b16; color: #fff; padding: .9rem 1.5rem; border: 1px solid #bd4b16; border-radius: 3px; font-weight: 800; letter-spacing: .05em; text-align: center; }
.profano-root .pf-btn:hover { background: #9e3c0d; }
.profano-root .pf-btn-secondary { background: transparent; border-color: currentColor; color: inherit; }

/* Sections */
.profano-root .pf-section { padding: 5rem clamp(1rem, 5vw, 6rem); }
.profano-root .pf-section-head span { font-size: .75rem; letter-spacing: .15em; color: #9a411e; }
.profano-root .pf-section h2,
.profano-root .pf-newsletter h2 { font-size: clamp(2.2rem, 5vw, 5rem); line-height: 1; letter-spacing: -.05em; margin: .8rem 0 2rem; }
.profano-root .pf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.profano-root .pf-category { border: 1px solid #c8b8ae; padding: 1.5rem; min-height: 240px; display: flex; flex-direction: column; background: #eee5da; }
.profano-root .pf-number { color: #b04c25; font-size: .75rem; }
.profano-root .pf-category h3 { font-size: 1.7rem; line-height: 1.1; letter-spacing: -.04em; margin: auto 0 .5rem; }
.profano-root .pf-category p { font-size: .85rem; }
.profano-root .pf-disclaimer { font-size: .8rem; color: #6e5c60; margin-top: 2rem; }

.profano-root .pf-manifesto { padding: 5rem clamp(1rem, 5vw, 6rem); background: #123b3f; color: #f3ede4; }
.profano-root .pf-manifesto h2 { font-size: clamp(2.5rem, 7vw, 7rem); max-width: 1000px; line-height: .97; letter-spacing: -.05em; margin: 1rem 0; color: #fff; }
.profano-root .pf-manifesto > p:last-child { font-size: 1.2rem; color: #f3ede4; }

.profano-root .pf-newsletter { padding: 4rem clamp(1rem, 5vw, 6rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

/* Footer */
.profano-root .pf-footer { background: #241625; color: #f3ede4; padding: 2rem clamp(1rem, 5vw, 6rem); display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.profano-root .pf-footer strong { font-size: 1.6rem; color: #fff; }
.profano-root .pf-footer small { width: 100%; color: #d5c4c8; }

/* Dialog */
.profano-root .pf-overlay { position: fixed; inset: 0; background: #120c14cf; z-index: 99999; display: grid; place-items: center; padding: 1rem; }
.profano-root .pf-dialog { position: relative; background: #241625; color: #fff; width: min(100%, 560px); max-height: 90vh; overflow: auto; padding: clamp(1.5rem, 5vw, 3rem); box-shadow: 0 20px 80px #0008; }
.profano-root .pf-dialog h2 { font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1; color: #e1773c; margin: 1rem 0; }
.profano-root .pf-dialog > .pf-btn { margin-top: .5rem; }
.profano-root .pf-close { position: absolute; top: .6rem; right: .7rem; background: none; border: 0; color: #fff; font-size: 1.3rem; }

/* Responsive */
@media (max-width: 850px) {
  .profano-root .pf-nav { display: none; }
  .profano-root .pf-hero { grid-template-columns: 1fr; min-height: 0; }
  .profano-root .pf-hero-art { min-height: 240px; grid-row: 1; }
  .profano-root .pf-hero-content { grid-row: 2; }
  .profano-root .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profano-root .pf-newsletter { display: block; }
  .profano-root .pf-newsletter .pf-btn { margin-top: 1rem; }
}

/* Reserve space so the cookie consent banner does not cover the newsletter button on small screens. Verify on device. */
@media (max-width: 480px) {
  .profano-root .pf-newsletter { padding-bottom: 9rem; }
}

@media (max-width: 480px) {
  .profano-root .pf-grid { grid-template-columns: 1fr; }
  .profano-root .pf-category { min-height: 175px; }
  .profano-root .pf-hero-art { min-height: 180px; }
  .profano-root .pf-hero-content { padding: 2.5rem 1.2rem; }
  .profano-root .pf-header { padding: 1rem; }
  .profano-root .pf-section,
  .profano-root .pf-manifesto,
  .profano-root .pf-newsletter { padding: 3rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  body.profano-page *,
  body.profano-page *::before,
  body.profano-page *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}

/* 0.1.8: product grid */
.profano-root .pf-product-image { width: 100%; height: auto; display: block; margin-bottom: 1rem; }
.profano-root .pf-price { font-weight: 800; }
.profano-root .pf-category .pf-btn { margin-top: 1rem; align-self: flex-start; }

/* 0.1.7: header buttons as text, dialog text contrast, mobile layout */
.profano-root .pf-icon-btn { font-weight: 800; letter-spacing: .12em; font-size: .75rem; min-width: 4.2rem; }
.profano-root .pf-dialog p { color: #f3ede4; font-size: 1.05rem; line-height: 1.6; }
.profano-root .pf-menu { flex-direction: column; gap: 1rem; }
.profano-root .pf-menu a,
.profano-root .pf-menu button { font-size: .85rem; font-weight: 800; letter-spacing: .14em; text-align: left; padding: .4rem 0; }
.profano-root .pf-category { min-height: 200px; }
.profano-root .pf-category h3 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.profano-root .pf-hero-content p.pf-intro { font-size: 1.15rem; }
@media (max-width: 480px) {
  .profano-root .pf-category { min-height: 0; padding: 1.25rem; }
  .profano-root .pf-category h3 { margin: 1.5rem 0 .4rem; }
  .profano-root .pf-btn { display: block; width: 100%; }
  .profano-root .pf-hero-content .pf-btn { width: auto; display: inline-block; }
  .profano-root .pf-header-actions { gap: .5rem; }
}

/* Long brand name on small screens: keep the hero title inside the viewport. */
@media (max-width: 480px) {
  .profano-root .pf-hero h1 { font-size: 3rem; }
}
