/* Round 2, look "sk" (Super Kalifornija): Aaron's own Squarespace shop (superkalifornija.com) as the base, as close
   as the pages allow. White paper and near-black ink, Syne (OFL) in bold capitals for names and headings, Syne Mono
   (OFL) for everything else; black pill buttons; big square bottle photos two to a row with the name in capitals
   under each; a dark strip above the nav, a plain nav, a quiet centred footer. The hero is his black photo of a
   red-rimmed glass with the words in white over it. The site's look since 2026-11-22 (SITE_LOOK=sk). */
@font-face {
  font-family: "Syne";
  src: url("../../assets/fonts/syne-latin-wght.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Syne Mono";
  src: url("../../assets/fonts/syne-mono-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@layer themes {
  :root[data-look="sk"],
  [data-look="sk"] .nav,
  [data-look="sk"] .site-footer {
    --sk-paper: #ffffff;
    --sk-ink: #1c1c1c;
    --sk-black: #000000;
    --sk-grey: #ededed;
    --color-background: var(--sk-paper);
    --color-surface: var(--sk-paper);
    --color-surface-raised: var(--sk-paper);
    --color-text: var(--sk-ink);
    --color-text-muted: #555555;
    --color-text-subtle: #555555;
    --color-border: #d4d4d4;
    --color-border-subtle: #e6e6e6;
    --color-border-strong: var(--sk-ink);
    --accent: var(--sk-ink);
    --accent-ink: var(--sk-ink);
    --accent-fill: var(--sk-black);
    --accent-fill-hover: #333333;
    --on-accent: #fafafa;
    --on-accent-fill: #fafafa;
    --color-focus: var(--sk-ink);
    --nav-bg: var(--sk-paper);
    --nav-ink: var(--sk-ink);
    --band-inverse: var(--sk-paper);
  }
  :root[data-look="sk"] {
    --font-heading: "Syne", "Arial Black", system-ui, sans-serif;
    --font-body: "Syne Mono", ui-monospace, "SF Mono", Menlo, monospace;
    --radius-control: 300px;
    --radius-card: 0px;
    --look-field-pad: calc(1.3 * var(--step-0));
    --select-arrow-inset: 1.5em;
    --sk-caps: -0.03em;
    --wine-grid-row-gap: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
  }
  [data-look="sk"] body {
    font-family: var(--font-body);
    font-size: clamp(1rem, 0.93rem + 0.3vw, 1.2rem);
    letter-spacing: 0.01em;
    background: var(--sk-paper);
    color: var(--sk-ink);
  }
  [data-look="sk"] :is(h1, h2, h3, .hero__headline) {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--sk-caps);
    line-height: 1.05;
    text-wrap: balance;
  }
  /* Big capitals never break inside a word: each heading is capped at its box's width over the longest word in the
     catalog (CHARDONNAY is about 12 em wide in Syne capitals), with the boxes that hold headings as size
     containers (the hero is one already, Fluid hero.css). Never a wine card: a size container cannot be a subgrid, and
     the cards' rows would come apart (round 2 regression, fixed 2026-11-22). Card names are sized from the grid's
     width over its column count instead (below). */
  [data-look="sk"] :is(.wine__body, .section__head, .ship-estimate__head, .faq-group) { container-type: inline-size; }
  [data-look="sk"] { --fit: calc(100cqi / 12.2); }
  [data-look="sk"] h1 { font-size: min(clamp(2.4rem, 1.4rem + 3.6vw, 4.6rem), var(--fit)); }
  [data-look="sk"] h2 { font-size: min(clamp(2rem, 1.2rem + 2.9vw, 4.1rem), var(--fit)); }
  [data-look="sk"] :is(p, li, dd, label, .lede, .hero__subheadline) { font-family: var(--font-body); }
  [data-look="sk"] .lede { font-size: 1em; line-height: 1.55; color: var(--sk-ink); max-inline-size: 34em; }
  [data-look="sk"] .eyebrow {
    font-family: var(--font-body); font-size: 0.85em; font-weight: 400; letter-spacing: 0.02em; text-transform: none; color: var(--color-text-muted);
  }
  [data-look="sk"] main a:not(.button, .wine-card__link) { color: var(--sk-ink); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
  [data-look="sk"] :focus-visible { outline: 2px solid var(--sk-ink); outline-offset: 3px; }

  /* The strip above the nav (his "coming soon" bar sits above his nav): the body is a column so it can move up
     without changing the page's order for other looks; the skip link stays first. */
  [data-look="sk"] body { display: flex; flex-direction: column; min-block-size: 100svh; }
  [data-look="sk"] body > .preview-note { order: -1; }
  [data-look="sk"] body > .skip-link { order: -2; }
  [data-look="sk"] body > main { flex: 1 0 auto; }
  [data-look="sk"] .preview-note {
    background: #1c1c1c; color: #fafafa; border: 0;
    font-family: var(--font-body); font-size: 0.9rem; letter-spacing: 0.04em; padding-block: 0.85rem;
  }

  /* Nav: the name in bold capitals on the left, the pages in mono on the right, an underline on the page you are on;
     no button in the bar (his has none). */
  [data-look="sk"] .nav { padding-block: clamp(1rem, 0.6rem + 1.3vw, 1.9rem); border: 0; }
  [data-look="sk"] .nav__brand {
    font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.05rem, 0.95rem + 0.3vw, 1.23rem);
    text-transform: uppercase; letter-spacing: var(--sk-caps);
  }
  [data-look="sk"] .nav__link {
    font-family: var(--font-body); font-size: clamp(1rem, 0.93rem + 0.3vw, 1.23rem); font-weight: 400; letter-spacing: 0.01em;
    text-decoration: none; text-underline-offset: 0.35em;
  }
  [data-look="sk"] .nav__link:hover { text-decoration: underline; text-decoration-thickness: 1px; }
  [data-look="sk"] .nav__link[aria-current] { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: currentColor; }
  [data-look="sk"] .nav__cta { display: none; }

  /* On a narrow bar the name may take two lines rather than push the page wider. */
  [data-look="sk"] .nav__brand { flex-shrink: 1; min-inline-size: 0; line-height: 1.1; }

  /* Buttons: black pills, mono type, generous padding (his 24 × 40 px at 1440). */
  [data-look="sk"] .button {
    font-family: var(--font-body); font-weight: 400; letter-spacing: 0.02em; text-transform: none;
    border-radius: var(--radius-control); padding-inline: 2em;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }
  [data-look="sk"] .button[data-variant="primary"], [data-look="sk"] .button:not([data-variant]) { background: var(--sk-black); color: #fafafa; border-color: var(--sk-black); }
  [data-look="sk"] .button[data-variant="outline"] { background: transparent; color: var(--sk-ink); border: 1px solid var(--sk-ink); }
  [data-look="sk"] .button[data-variant="outline"]:hover { background: var(--sk-ink); color: #fafafa; }
  [data-look="sk"] .button:disabled { background: #2b2b2b; color: #fafafa; border-color: #2b2b2b; opacity: 1; }

  /* Hero: a black photo panel inside the page edges with the words centred in white over it. */
  [data-look="sk"] .hero[data-art] {
    --hero-background: transparent;
    display: block;
    padding-block: 0 var(--space-l);
  }
  [data-look="sk"] .hero__photo {
    position: absolute; inset: 0 max(var(--page-edge), (100% - var(--container-content)) / 2) var(--space-l);
    z-index: 0; margin: 0; overflow: hidden; background: #000; max-inline-size: none;
  }
  [data-look="sk"] .hero__photo img { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
  [data-look="sk"] .hero__content {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    max-inline-size: none;
    min-block-size: clamp(26rem, 54vw, 49rem);
    padding: clamp(3rem, 2rem + 4vw, 6rem) clamp(1.25rem, 5vw, 5rem);
    color: #ffffff;
  }
  [data-look="sk"] .hero .eyebrow { color: rgb(255 255 255 / 0.82); margin-block-end: var(--space-m); }
  [data-look="sk"] .hero__headline { color: #ffffff; font-size: min(clamp(2.3rem, 1.2rem + 4.2vw, 4.6rem), var(--fit)); max-inline-size: 15em; margin-inline: auto; }
  [data-look="sk"] .hero__subheadline { color: rgb(255 255 255 / 0.86); font-size: 1em; line-height: 1.55; max-inline-size: 36em; margin-inline: auto; }
  [data-look="sk"] .hero__actions { justify-content: center; }
  [data-look="sk"] .hero .button[data-variant="primary"] { background: #ffffff; color: #000000; border-color: #ffffff; }
  [data-look="sk"] .hero .button[data-variant="primary"]:hover { background: #e6e6e6; }
  [data-look="sk"] .hero .button[data-variant="outline"] { color: #ffffff; border-color: #ffffff; }
  [data-look="sk"] .hero .button[data-variant="outline"]:hover { background: #ffffff; color: #000000; }
  [data-look="sk"] .hero :focus-visible { outline-color: #ffffff; }

  /* Sections: no rules, plenty of air. */
  [data-look="sk"] .section .container { border: 0; padding-block-start: 0; }
  [data-look="sk"] .section__head { margin-block-end: clamp(1.75rem, 1rem + 2vw, 3rem); border: 0; padding-block-start: 0; }
  [data-look="sk"] .section__head > h2, [data-look="sk"] .section__head > h1 { margin-block: 0 var(--space-s); }
  [data-look="sk"] .text-block .prose { max-inline-size: 30em; line-height: 1.6; }
  /* The DIY section on the home page: his About page, the words on the left and the crowd photo on the right. */
  @media (min-width: 52rem) {
    [data-look="sk"] #diy .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2rem, 4vw, 5rem); align-items: center; }
    [data-look="sk"] #diy .container > * { grid-column: 1; }
    [data-look="sk"] #diy .container::after {
      content: ""; grid-column: 2; grid-row: 1 / span 2; align-self: stretch; min-block-size: 28rem;
      background: #000 url("../../assets/img/sk/crowd.webp") 50% 50% / cover no-repeat; filter: grayscale(1);
    }
  }

  /* Wine cards: his shop grid. Square photos two to a row, the name in capitals, price and status in small type. */
  [data-look="sk"] .wine-grid {
    --cols: 1; --col-gap: clamp(1rem, 0.5rem + 1.2vw, 1.6rem);
    container-type: inline-size;
    grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--col-gap);
  }
  @media (min-width: 48rem) { [data-look="sk"] .wine-grid { --cols: 2; } }
  /* A card name fits its card: the grid's width less the gaps, over the columns, over about 12 em (CHARDONNAY). */
  [data-look="sk"] .wine-card__title { --fit: calc((100cqi - (var(--cols) - 1) * var(--col-gap)) / var(--cols) / 12.2); }
  [data-look="sk"] .wine-card { border: 0; background: transparent; }
  [data-look="sk"] .wine-card__media { aspect-ratio: 1; background: #f2f2f2; }
  [data-look="sk"] .wine-card__nophoto { font-family: var(--font-heading); text-transform: uppercase; color: #8a8a8a; }
  [data-look="sk"] .wine-card__body { padding: clamp(1rem, 0.7rem + 1vw, 1.6rem) 0 0; }
  [data-look="sk"] .wine-card__title { font-size: min(clamp(1.6rem, 1.1rem + 1.6vw, 2.42rem), var(--fit)); line-height: 1.12; }
  [data-look="sk"] .wine-card__link:hover .wine-card__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.12em; }
  [data-look="sk"] .wine-card__facts, [data-look="sk"] .wine-card__origin { font-size: 0.85em; color: var(--color-text-muted); }
  [data-look="sk"] .wine-card__meta { gap: var(--space-s); padding-block-start: var(--space-2xs, 0.4rem); }
  [data-look="sk"] .wine-card__price { font-family: var(--font-heading); font-weight: 500; font-size: 0.9em; }
  [data-look="sk"] .badge {
    border: 0; padding: 0; border-radius: 0; background: none;
    font-family: var(--font-body); font-weight: 400; font-size: 0.8em; letter-spacing: 0.02em; text-transform: none;
    color: var(--color-text-muted);
  }

  [data-look="sk"] .section.wine { padding-block-start: clamp(1.5rem, 1rem + 2vw, 3rem); }
  /* One wine: his product page. Photo left, the name huge on the right, price in bold, the facts in mono. */
  @media (min-width: 52rem) {
    [data-look="sk"] .wine__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 2vw, 2rem); align-items: center; }
  }
  [data-look="sk"] .wine__body { max-inline-size: none; }
  [data-look="sk"] .wine h1 { font-size: min(clamp(2.4rem, 1.3rem + 3.6vw, 4.15rem), var(--fit)); line-height: 1.12; margin-block: 0; }
  [data-look="sk"] .wine .eyebrow a { color: var(--sk-ink); text-decoration: none; }
  [data-look="sk"] .wine .eyebrow a::after { content: " ›"; }
  [data-look="sk"] .wine .eyebrow { font-size: 1em; color: var(--sk-ink); }
  [data-look="sk"] .wine__price { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); letter-spacing: var(--sk-caps); }
  [data-look="sk"] .wine__meta { flex-direction: column; align-items: flex-start; gap: var(--space-xs); }
  [data-look="sk"] .wine__meta .badge { font-size: 1rem; font-weight: 400; text-transform: uppercase; color: var(--sk-ink); letter-spacing: 0.04em; }
  [data-look="sk"] .wine__facts dt { font-family: var(--font-body); font-weight: 400; text-transform: none; letter-spacing: 0.01em; color: var(--color-text-muted); font-size: 0.85em; }
  [data-look="sk"] .wine__facts > div { grid-template-columns: 7.5rem 1fr; }
  [data-look="sk"] .wine__notes h2 { font-size: min(clamp(1.3rem, 1rem + 0.9vw, 1.8rem), var(--fit)); }
  [data-look="sk"] .wine__order { flex-direction: column; align-items: stretch; }
  [data-look="sk"] .wine__order .button { inline-size: 100%; }

  /* Shipping estimate: his contact band, light grey with white pill fields. */
  [data-look="sk"] .ship-estimate { background: var(--sk-grey); border: 0; }
  [data-look="sk"] .ship-estimate h2 { font-size: min(clamp(1.8rem, 1.2rem + 2vw, 3rem), var(--fit)); }
  [data-look="sk"] .ship-estimate input:not([type="checkbox"]), [data-look="sk"] .ship-estimate select { background-color: #ffffff; border: 1px solid var(--sk-ink); }
  [data-look="sk"] .ship-estimate__free { font-family: var(--font-body); font-weight: 400; }
  [data-look="sk"] .form-label { font-family: var(--font-body); font-weight: 400; }
  [data-look="sk"] .ship-estimate__check { font-weight: 400; }
  [data-look="sk"] .ship-estimate__check input { accent-color: var(--sk-ink); }
  [data-look="sk"] .ship-estimate__total { font-family: var(--font-heading); }

  /* Labels page: the pictures on a light grey, no frames. */
  [data-look="sk"] .label-grid img { background: #f2f2f2; border: 0; }

  /* Footer: quiet and centred on white, like his. */
  [data-look="sk"] .site-footer {
    --_footer-bg: var(--sk-paper);
    --_footer-rule: transparent;
    --color-text: var(--sk-ink);
    --color-text-muted: #555555;
    background: var(--sk-paper);
    color: var(--sk-ink);
    border-block-start: 1px solid #e6e6e6;
    font-family: var(--font-body);
    text-align: center;
  }
  [data-look="sk"] .site-footer__grid { grid-template-columns: 1fr; justify-items: center; gap: var(--space-l); }
  [data-look="sk"] .site-footer__column { align-items: center; }
  [data-look="sk"] .site-footer__mark { display: none; }
  [data-look="sk"] .site-footer__name { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: var(--sk-caps); }
  [data-look="sk"] .site-footer__title { font-family: var(--font-body); font-weight: 400; text-transform: none; letter-spacing: 0.02em; color: var(--color-text-muted); font-size: 0.85em; }
  [data-look="sk"] .site-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2xs, 0.4rem) var(--space-m); }
  [data-look="sk"] .site-footer__links a { color: var(--sk-ink); }
  [data-look="sk"] .site-footer__brand p, [data-look="sk"] .site-footer__column p { margin-inline: auto; max-inline-size: 34rem; }
  [data-look="sk"] .site-footer__bottom { justify-content: center; text-align: center; border-color: #e6e6e6; }
}
