/*
Theme Name: Cutters Cold Brew
Theme URI: https://cutterscoldbrew.com/
Author: OpenAI for Cutters Cold Brew
Description: A clean, monochrome block theme for Cutters Cold Brew: collegiate geometry, straightforward typography, reusable glass, and no coffee-shop theater.
Version: 0.2.2
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: cutters-cold-brew
*/

:root {
  --ccb-black: #111111;
  --ccb-white: #ffffff;
  --ccb-paper: #f4f4f1;
  --ccb-gray: #666661;
  --ccb-rule: #cfcfca;
  --ccb-max: 1180px;
  --ccb-gutter: clamp(20px, 4vw, 36px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ccb-white); color: var(--ccb-black); font-family: Arial, Helvetica, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { text-underline-offset: .16em; text-decoration-thickness: .08em; }
img { max-width: 100%; height: auto; }

.ccb-shell { width: min(100% - (2 * var(--ccb-gutter)), var(--ccb-max)); margin-inline: auto; }
.ccb-kicker { margin: 0; font-size: .72rem; line-height: 1.2; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.ccb-label { margin: 0; font-size: .69rem; line-height: 1.2; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ccb-gray); }
.ccb-display { font-family: Arial, Helvetica, sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: -.052em; }

/* Header */
.ccb-header { background: var(--ccb-white); border-bottom: 1px solid var(--ccb-black); }
.ccb-header-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 38px; }
.ccb-logo-link { display: block; line-height: 0; }
.ccb-logo-mark { display: block; width: 205px; height: 99px; background: url('assets/images/cutters-logo.png') center/contain no-repeat; }
.ccb-logo { display: block; width: 205px; height: auto; }
.ccb-header-meta { display: flex; align-items: center; gap: 34px; }
.ccb-place { white-space: nowrap; font-size: .68rem; line-height: 1.2; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.ccb-header .wp-block-navigation { font-size: .71rem; font-weight: 800; letter-spacing: .105em; text-transform: uppercase; }
.ccb-header .wp-block-navigation-item__content { text-decoration: none; padding-block: .55rem; }
.ccb-header .wp-block-navigation-item__content:hover,
.ccb-header .wp-block-navigation-item__content:focus { text-decoration: underline; }

/* Hero */
.ccb-hero { padding: clamp(52px, 7vw, 88px) 0 clamp(58px, 8vw, 94px); }
.ccb-hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr); gap: clamp(42px, 7vw, 88px); align-items: center; }
.ccb-hero h1 { margin: 16px 0 24px; max-width: 780px; font-size: clamp(4rem, 8.7vw, 8.2rem); line-height: .82; }
.ccb-hero-copy { margin: 0; max-width: 650px; font-size: clamp(1.08rem, 1.6vw, 1.32rem); line-height: 1.58; }
.ccb-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.wp-element-button,
.ccb-button { border-radius: 0 !important; border: 2px solid var(--ccb-black); padding: .92rem 1.15rem; font-size: .72rem; line-height: 1; font-weight: 850; letter-spacing: .10em; text-transform: uppercase; text-decoration: none; }
.wp-element-button:hover,
.ccb-button:hover { background: var(--ccb-white) !important; color: var(--ccb-black) !important; }
.ccb-button.is-outline { background: var(--ccb-white) !important; color: var(--ccb-black) !important; }
.ccb-button.is-outline:hover { background: var(--ccb-black) !important; color: var(--ccb-white) !important; }

.ccb-product-frame { border: 1px solid var(--ccb-black); min-height: 520px; display: grid; grid-template-rows: 1fr auto; background: var(--ccb-paper); }
.ccb-product-stage { position: relative; display: grid; place-items: center; min-height: 445px; padding: 46px; overflow: hidden; }
.ccb-product-stage::before { content: ""; width: 166px; height: 270px; border: 2px solid var(--ccb-black); border-radius: 28px 28px 22px 22px; opacity: .18; }
.ccb-product-stage::after { content: "PHOTO"; position: absolute; font-size: clamp(3rem, 8vw, 6rem); line-height: 1; font-weight: 900; letter-spacing: -.06em; color: rgba(17,17,17,.055); }
.ccb-product-caption { border-top: 1px solid var(--ccb-black); padding: 16px 18px; display: flex; justify-content: space-between; gap: 18px; font-size: .68rem; line-height: 1.35; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.ccb-product-caption span:last-child { text-align: right; color: var(--ccb-gray); }

/* Fact strip */
.ccb-fact-strip { border-top: 1px solid var(--ccb-black); border-bottom: 1px solid var(--ccb-black); }
.ccb-fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.ccb-fact { min-height: 96px; padding: 22px 28px; border-left: 1px solid var(--ccb-black); display: flex; flex-direction: column; justify-content: center; }
.ccb-fact:first-child { border-left: 0; padding-left: 0; }
.ccb-fact:last-child { padding-right: 0; }
.ccb-fact strong { margin-top: 5px; font-size: .98rem; line-height: 1.35; }

/* Main sections */
.ccb-section { padding: clamp(72px, 9vw, 116px) 0; }
.ccb-section + .ccb-section { border-top: 1px solid var(--ccb-black); }
.ccb-section-title { margin: 10px 0 24px; max-width: 880px; font-size: clamp(3rem, 6.6vw, 6.5rem); line-height: .88; }
.ccb-lede { margin: 0; max-width: 740px; font-size: clamp(1.08rem, 1.55vw, 1.26rem); line-height: 1.66; }
.ccb-two-col { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr); gap: clamp(44px, 8vw, 104px); align-items: start; }
.ccb-copy { max-width: 780px; font-size: 1.05rem; line-height: 1.72; }
.ccb-copy p:first-child { margin-top: 0; }
.ccb-copy p:last-child { margin-bottom: 0; }
.ccb-text-link { display: inline-block; margin-top: 18px; color: inherit; font-size: .73rem; line-height: 1.2; font-weight: 850; letter-spacing: .10em; text-transform: uppercase; }

.ccb-paper { background: var(--ccb-paper); }
.ccb-paper.ccb-section { border-top: 1px solid var(--ccb-black); border-bottom: 1px solid var(--ccb-black); }
.ccb-return-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: clamp(48px, 9vw, 110px); align-items: end; }
.ccb-return-statement { margin: 10px 0 0; font-size: clamp(3.4rem, 7.7vw, 7.7rem); line-height: .84; }
.ccb-return-note { border-left: 1px solid var(--ccb-black); padding-left: clamp(28px, 4vw, 46px); font-size: 1.02rem; line-height: 1.68; }

.ccb-choice-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ccb-black); }
.ccb-choice { min-height: 300px; padding: clamp(30px, 4vw, 50px); display: flex; flex-direction: column; justify-content: space-between; }
.ccb-choice + .ccb-choice { border-left: 1px solid var(--ccb-black); }
.ccb-choice h3 { margin: 14px 0 18px; font-size: clamp(2.25rem, 4.4vw, 4.2rem); line-height: .9; }
.ccb-choice p { margin: 0; max-width: 500px; line-height: 1.62; }

.ccb-retailer { background: var(--ccb-black); color: var(--ccb-white); }
.ccb-retailer .ccb-kicker,
.ccb-retailer .ccb-label { color: rgba(255,255,255,.7); }
.ccb-retailer-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(270px, .88fr); gap: clamp(50px, 9vw, 112px); align-items: end; }
.ccb-retailer h2 { margin: 10px 0 0; font-size: clamp(3.2rem, 7vw, 6.7rem); line-height: .86; }
.ccb-retailer-copy { font-size: 1.02rem; line-height: 1.68; }
.ccb-retailer .ccb-text-link { color: var(--ccb-white); }

/* Footer */
.ccb-footer { border-top: 1px solid var(--ccb-black); padding: 48px 0 30px; background: var(--ccb-white); color: var(--ccb-black); }
.ccb-footer-top { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; }
.ccb-footer-logo { width: 170px; height: auto; display: block; }
.ccb-footer-logo-mark { display: block; width: 170px; height: 82px; background: url('assets/images/cutters-logo.png') center/contain no-repeat; }
.ccb-footer-copy { margin: 16px 0 0; max-width: 530px; color: var(--ccb-gray); font-size: .88rem; line-height: 1.55; }
.ccb-footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px 24px; max-width: 510px; }
.ccb-footer-links a { color: inherit; text-decoration: none; font-size: .68rem; font-weight: 850; letter-spacing: .10em; text-transform: uppercase; }
.ccb-footer-links a:hover { text-decoration: underline; }
.ccb-footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--ccb-rule); color: var(--ccb-gray); font-size: .66rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }

/* Interior pages, including /feedback/ */
.ccb-page-head { border-bottom: 1px solid var(--ccb-black); padding: clamp(52px, 7vw, 82px) 0 clamp(38px, 5vw, 56px); }
.ccb-page-head h1 { margin: 12px 0 0; font-size: clamp(3.6rem, 8vw, 7.8rem); line-height: .84; }
.ccb-content { width: min(100% - (2 * var(--ccb-gutter)), 860px); margin-inline: auto; padding: clamp(48px, 7vw, 76px) 0 clamp(78px, 10vw, 120px); font-size: 1.03rem; line-height: 1.72; }
.ccb-content > *:first-child { margin-top: 0; }
.ccb-content h2,
.ccb-content h3 { font-family: Arial, Helvetica, sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: -.035em; line-height: .95; }
.ccb-content h2 { margin-top: 2.2em; font-size: clamp(2rem, 4.5vw, 3.7rem); }
.ccb-content h3 { margin-top: 1.9em; font-size: clamp(1.5rem, 3vw, 2.35rem); }
.ccb-content input,
.ccb-content select,
.ccb-content textarea { border-radius: 0 !important; }

/* Generic WordPress adjustments */
.wp-block-navigation__responsive-container.is-menu-open { padding: 24px; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size: 1.5rem; letter-spacing: -.02em; }

@media (max-width: 960px) {
  .ccb-place { display: none; }
  .ccb-logo { width: 185px; }
  .ccb-logo-mark { width: 185px; height: 89px; }
  .ccb-hero-grid,
  .ccb-return-grid,
  .ccb-retailer-grid { grid-template-columns: 1fr; }
  .ccb-hero-grid { align-items: start; }
  .ccb-product-frame { width: min(100%, 620px); }
  .ccb-two-col { grid-template-columns: 1fr; gap: 24px; }
  .ccb-return-note { border-left: 0; border-top: 1px solid var(--ccb-black); padding: 28px 0 0; }
}

@media (max-width: 700px) {
  .ccb-header-inner { min-height: 88px; gap: 16px; }
  .ccb-logo { width: 150px; }
  .ccb-logo-mark { width: 150px; height: 72px; }
  .ccb-fact-grid { grid-template-columns: 1fr; }
  .ccb-fact { min-height: 74px; padding: 16px 0; border-left: 0; border-top: 1px solid var(--ccb-black); }
  .ccb-fact:first-child { border-top: 0; }
  .ccb-choice-grid { grid-template-columns: 1fr; }
  .ccb-choice + .ccb-choice { border-left: 0; border-top: 1px solid var(--ccb-black); }
  .ccb-choice { min-height: 250px; }
  .ccb-footer-top { grid-template-columns: 1fr; }
  .ccb-footer-links { justify-content: flex-start; }
  .ccb-footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
  .ccb-hero h1 { font-size: clamp(3.5rem, 20vw, 5.4rem); }
  .ccb-product-stage { min-height: 340px; }
  .ccb-product-frame { min-height: 410px; }
  .ccb-product-caption { flex-direction: column; }
  .ccb-product-caption span:last-child { text-align: left; }
}
