/*
Theme Name: Vellum — Americo Izzo
Theme URI: https://americoizzo.com
Author: BOA Labs
Author URI: https://boalabs.io
Description: Vellum child theme for americoizzo.com. Rebuild of the WPBakery/Slider Revolution site with the same design: hero slides, split intros, gallery walls, photo bands.
Template: vellum
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: vellum-americoizzo
*/

/* ── Fonts ───────────────────────────────────────────────────────────
   Gotham Book is the site's licensed webfont (served from this theme).
   Montserrat (300/500) comes from Google Fonts, enqueued in functions.php. */
@font-face {
  font-family: "Gotham Book";
  src: url("fonts/gotham-book.woff") format("woff"), url("fonts/gotham-book.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-sans:    "Gotham Book", Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: var(--font-sans);
  --font-accent:  Montserrat, "Gotham Book", "Helvetica Neue", sans-serif;

  --color-bg:         #ffffff;
  --color-text:       #23232c;
  --color-text-muted: #888888;
  --color-line:       rgba(35, 35, 44, .08);
  --color-accent:     #23232c;
  --color-accent-dim: rgba(35, 35, 44, .06);

  --ai-ink:      #23232c;
  --ai-copy:     #221e1e;
  --ai-nav:      #888888;
  --ai-btn:      #2a2a2a;
  --ai-wrap:     1170px;     /* content column, as on the original site */
  --ai-pad:      55px;       /* page gutter outside the column */
  --ai-col-pad:  15px;       /* column inner padding */
  --nav-h:       84px;
}

/* ── Base ───────────────────────────────────────────────────────────── */
body { font-family: var(--font-sans); font-size: 14px; line-height: 30px; color: #7c7c80; background: #fff; }
/* The original site uses the browser's default font smoothing; Vellum's antialiased setting draws text thinner on Macs. */
html, body, body * { -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto; }
body { text-rendering: auto; }
.vellum-main { padding-top: 0 !important; }
.vellum-page__body.container { max-width: none; padding: 0; margin: 0; }
.vellum-page { margin: 0; padding: 0; }
.ai-copy p, .ai-p { font-size: 16px; line-height: 1.3; color: var(--ai-copy); margin: 0 0 20.8px; }
.is-dark .ai-copy p, .is-dark .ai-p, .ai-light-text p { color: #fff; }
.ai-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.ai-wrap { max-width: calc(var(--ai-wrap) + 2 * var(--ai-pad)); margin: 0 auto; padding: 0 var(--ai-pad); box-sizing: border-box; }
.ai-cols { display: flex; }
.ai-col { box-sizing: border-box; padding: 0 var(--ai-col-pad); flex: 1 1 0; min-width: 0; }
.ai-col--third { flex: 0 0 33.3333%; }
img { max-width: 100%; height: auto; }
/* The original site wraps text plainly; Vellum balances headings and uses pretty paragraphs, which moves line breaks. */
.vellum-main h1, .vellum-main h2, .vellum-main h3, .vellum-main h4, .vellum-main p, .ai-hero__title, .ai-hero__text { text-wrap: wrap; }

/* Headings (sizes, weights and spacing measured on the original site) */
.ai-title { font-family: var(--font-accent); font-weight: 500; font-size: 34px; line-height: 34px; letter-spacing: 0; text-transform: uppercase; color: var(--ai-ink); margin: 50px 0 30px; }
.is-dark .ai-title { color: #fff; }
.ai-statement { font-family: var(--font-sans); font-weight: 500; font-size: 25px; line-height: 27px; letter-spacing: 2px; text-transform: uppercase; margin: 0; }
.ai-quote { font-family: var(--font-sans); font-weight: 500; font-size: 60px; line-height: 72px; letter-spacing: 1px; text-transform: uppercase; text-align: center; color: #fff; margin: 0; }
.ai-quote--small { font-size: 30px; line-height: 36px; text-align: left; color: var(--ai-ink); }
.ai-big { font-family: var(--font-sans); font-weight: 700; font-size: 42px; line-height: 46.2px; letter-spacing: 1px; text-transform: uppercase; color: #fff; margin: 0; }
.ai-small { font-family: var(--font-sans); font-weight: 700; font-size: 25.2px; line-height: 30.24px; letter-spacing: 1px; text-transform: uppercase; color: #fff; margin: 0 0 20px; }

/* Button */
.ai-btn { display: inline-block; background: var(--ai-btn); color: #fff !important; font-family: var(--font-sans); font-size: 14px; line-height: normal; padding: 21px 20px; text-decoration: none; text-transform: uppercase; border: 1px solid transparent; transition: background-color .4s ease, color .4s ease; }
.ai-btn:hover, .ai-btn:focus-visible { background: #fff; color: var(--ai-ink) !important; outline: none; }

/* ── Header (Vellum nav, original layout) ─────────────────────────── */
.vellum-nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); padding: 20px 40px; box-sizing: border-box; display: flex; align-items: flex-start; justify-content: space-between; background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; mix-blend-mode: normal !important; z-index: 999; }
/* Vellum tightens the padding when scrolled (20px to 16px), which nudged the logo and links up; keep it fixed. */
.vellum-nav, .vellum-nav.is-scrolled { padding-top: 20px; padding-bottom: 20px; border-bottom: 0; }
.vellum-nav__mark { visibility: visible !important; margin-top: 2px; text-decoration: none; }
.vellum-nav__wordmark { font-family: var(--font-accent); font-weight: 500; font-size: 20px; line-height: 20px; letter-spacing: 10px; color: var(--ai-ink); }
/* Links nudged up 4px so their text is vertically centred in the 62px bar, level with the logo. */
.vellum-nav__links { display: flex; gap: 40px; margin: -4px 0 0; padding: 0; list-style: none; }
.vellum-nav__links a { font-family: var(--font-sans); font-weight: 600; font-size: 16px; line-height: 34.29px; letter-spacing: 2px; text-transform: uppercase; color: var(--ai-nav); opacity: 1; text-decoration: none; transition: color .2s ease; }
.vellum-nav__links a:hover { color: var(--ai-ink); }
/* On the black bar (Home, About) hovered links turn white so they stay visible. */
body.ai-black-bar .vellum-nav__links a:hover { color: #fff !important; }
.vellum-nav__links .current-menu-item > a, .vellum-nav__links .current_page_item > a, .vellum-nav__links .current-menu-ancestor > a { color: var(--ai-ink); }
/* Dark page tops: light logo, current item and burger until the bar appears */
body.ai-dark-top:not(.ai-scrolled) .vellum-nav:not(.ai-hov) .vellum-nav__wordmark,
body.ai-dark-top:not(.ai-scrolled) .vellum-nav:not(.ai-hov) .vellum-nav__links .current-menu-item > a,
body.ai-dark-top:not(.ai-scrolled) .vellum-nav:not(.ai-hov) .vellum-nav__links .current-menu-ancestor > a { color: #fff; }
/* Hover states use .ai-hov (site.js), which only switches on after the first scroll, so a cursor resting
   on the header after a page change does not pop the bar. */
/* The bar: 62px, white, or black on Home and About; on scroll and on hover */
.vellum-nav::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 62px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.08); opacity: 0; transition: opacity .3s ease; pointer-events: none; z-index: -1; }
body.ai-scrolled .vellum-nav::before, .vellum-nav.ai-hov::before { opacity: 1; }
/* Home: a soft black gradient behind the menu at the top of the hero, gone once the bar shows. */
body.home .vellum-nav::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 160px; background: linear-gradient(to bottom, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .28) 45%, rgba(0, 0, 0, 0) 100%); pointer-events: none; z-index: -2; transition: opacity .3s ease; }
body.home.ai-scrolled .vellum-nav::after, body.home .vellum-nav.ai-hov::after { opacity: 0; }
/* Light slide behind the menu (set by site.js): unselected items turn white, with a faint shadow for legibility. */
.vellum-nav__links a, .vellum-nav__wordmark { transition: color .4s ease, text-shadow .4s ease; }
body.home.ai-hero-light:not(.ai-scrolled) .vellum-nav:not(.ai-hov) .vellum-nav__links a { color: rgba(255, 255, 255, .9); text-shadow: 0 0 10px rgba(0, 0, 0, .35); }
body.home.ai-hero-light:not(.ai-scrolled) .vellum-nav:not(.ai-hov) .vellum-nav__links .current-menu-item > a, body.home.ai-hero-light:not(.ai-scrolled) .vellum-nav:not(.ai-hov) .vellum-nav__wordmark { color: #fff; text-shadow: 0 0 10px rgba(0, 0, 0, .35); }
body.ai-black-bar .vellum-nav::before { background: #000; box-shadow: none; }
body.ai-black-bar.ai-scrolled .vellum-nav__wordmark, body.ai-black-bar .vellum-nav.ai-hov .vellum-nav__wordmark,
body.ai-black-bar.ai-scrolled .vellum-nav__links .current-menu-item > a, body.ai-black-bar .vellum-nav.ai-hov .vellum-nav__links .current-menu-item > a { color: #fff; }
.vellum-nav__burger { display: none; }

@media (max-width: 1199px) {
  :root { --nav-h: 76px; }
  .vellum-nav, .vellum-nav.is-scrolled { padding: 20px 20px 15px; justify-content: center; }
  .vellum-nav__links { display: none !important; }
  .vellum-nav__mark { margin-top: 2px; }
  .vellum-nav__burger { display: flex !important; position: absolute; left: auto; right: 20px; top: 24px; /* right side (Jordan, 2026-11-16) */ width: 18px; height: 14px; padding: 0; background: none; border: 0; flex-direction: column; justify-content: space-between; cursor: pointer; }
  .vellum-nav__burger span { display: block; width: 18px; height: 2px; margin: 0; background: #7c7c80; transition: transform .3s ease, opacity .3s ease, background .3s ease; }
  .vellum-nav.is-open .vellum-nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .vellum-nav.is-open .vellum-nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  body.ai-dark-top:not(.ai-scrolled) .vellum-nav:not(.is-open) .vellum-nav__burger span, body.ai-black-bar.ai-scrolled .vellum-nav__burger span { background: #fff; }
  body.ai-scrolled:not(.ai-black-bar) .vellum-nav__burger span { background: var(--ai-ink); }
  .vellum-nav.is-open .vellum-nav__wordmark { color: var(--ai-ink) !important; }
  /* Menu open: no bar or gradient behind the header, so the title and X read dark on the white overlay (Jordan, 2026-11-16). */
  .vellum-nav.is-open::before, .vellum-nav.is-open::after { opacity: 0 !important; transition: none !important; }
  .vellum-nav.is-open { background: transparent !important; }
  .vellum-nav.is-open .vellum-nav__wordmark { text-shadow: none !important; }
  body .vellum-nav.is-open .vellum-nav__burger span { background: var(--ai-ink) !important; }
}
/* Mobile menu */
.vellum-nav-overlay { background: #fff; transition: opacity .3s ease; } /* background fades in faster than Vellum's .9s (Jordan, 2026-11-16) */
.vellum-nav-overlay a { display: inline-block; padding: 10px 0; line-height: 1.15; font-family: var(--font-sans); font-weight: 600; font-size: 32px; letter-spacing: 4px; text-transform: uppercase; color: var(--ai-ink); text-decoration: none; }
.vellum-nav-overlay .current-menu-item > a, .vellum-nav-overlay .current-menu-ancestor > a, .vellum-nav-overlay .current-page-ancestor > a { color: var(--ai-nav); }
/* Links fade in only, no rise (Jordan, 2026-11-16); Vellum's stagger delays still cascade them. */
.vellum-nav-overlay a { transform: none !important; opacity: 0; transition: opacity .5s ease, color .3s ease; }
.vellum-nav-overlay.is-open a { opacity: 1; }
/* Dark pages (Home, About): black menu with white links, title and X. */
body.ai-dark-top .vellum-nav-overlay { background: #000; }
body.ai-dark-top .vellum-nav-overlay a { color: #fff; }
body.ai-dark-top .vellum-nav-overlay .current-menu-item > a, body.ai-dark-top .vellum-nav-overlay .current-menu-ancestor > a, body.ai-dark-top .vellum-nav-overlay .current-page-ancestor > a { color: rgba(255,255,255,.5); }
body.ai-dark-top .vellum-nav.is-open .vellum-nav__wordmark { color: #fff !important; }
body.ai-dark-top .vellum-nav.is-open .vellum-nav__burger span { background: #fff !important; }

/* ── Hero slides (home) ─────────────────────────────────────────────── */
.ai-hero { position: relative; height: 100vh; min-height: 520px; background: #000; overflow: hidden; color: #fff; }
.ai-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.ai-hero__slide.is-active { opacity: 1; z-index: 1; }
.ai-hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background-size: cover; background-position: center; }
/* Positioned on the old slider's 1024px grid (640px tall, centred): title 173px, text 277px, button 407px from its top. */
.ai-hero__content { position: absolute; left: max(20px, calc((100% - 1024px) / 2 + 57px)); top: calc(50% - 147px); width: min(720px, 86%); }
.ai-hero__title { font-family: var(--font-accent); font-weight: 300; font-size: 44px; line-height: 44px; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.ai-hero__text { font-family: var(--font-accent); font-weight: 300; font-size: 20px; line-height: 24px; color: #fff; margin: 0 0 34px; max-width: 430px; }
/* Same type as the header menu; inverts to white on hover. */
.ai-hero__btn { display: inline-block; font-family: var(--font-sans); font-weight: 600; font-size: 16px; line-height: 17px; letter-spacing: 2px; color: #fff !important; background: rgba(0, 0, 0, .75); padding: 19px 35px; text-decoration: none; text-transform: uppercase; transition: background-color .4s ease, color .4s ease; }
.ai-hero__btn:hover, .ai-hero__btn:focus-visible { background: #fff; color: var(--ai-ink) !important; outline: none; }
.ai-hero__slide .ai-hero__content > * { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s cubic-bezier(.16, 1, .3, 1), background-color .4s ease, color .4s ease; }
.ai-hero__slide.is-active .ai-hero__content > * { opacity: 1; transform: none; }
.ai-hero__slide.is-active .ai-hero__content > :nth-child(2) { transition-delay: .15s, .15s, 0s, 0s; }
.ai-hero__slide.is-active .ai-hero__content > :nth-child(3) { transition-delay: .3s, .3s, 0s, 0s; } /* entrance delayed; hover fade is not */
.ai-hero__arrow { position: absolute; top: 50%; z-index: 3; width: 56px; height: 56px; margin-top: -28px; border: 0; background: none; cursor: pointer; padding: 0; opacity: .9; }
.ai-hero__arrow::before { content: ""; position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: translate(-30%, -50%) rotate(45deg); }
/* Arrows sit halfway between the screen edge and the centred text column (Jordan, 2026-11-16), never closer than 18px to the edge. */
.ai-hero__arrow--prev { left: max(18px, calc((100% - var(--ai-wrap)) / 4)); }
.ai-hero__arrow--next { right: max(18px, calc((100% - var(--ai-wrap)) / 4)); }
.ai-hero__arrow--next::before { transform: translate(-70%, -50%) rotate(-135deg); }
.ai-hero__arrow:focus, .ai-hero__arrow:focus-visible, .ai-hero__dot:focus, .ai-hero__dot:focus-visible { outline: none; box-shadow: none; }
.ai-hero__dots { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 3; display: flex; justify-content: center; gap: 10px; }
/* Each dot is a 24px tap target; the visible dot stays 12px. */
.ai-hero__dots { gap: 0; }
.ai-hero__dot { position: relative; width: 24px; height: 24px; border: 0; padding: 0; background: none; cursor: pointer; }
.ai-hero__dot::before { content: ""; position: absolute; left: 6px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, .6); transition: background .3s ease, transform .3s ease; }
.ai-hero__dot.is-active::before { background: #fff; transform: scale(1.15); }
/* Phones: the old slider's mobile grid (480 x 720, scaled to the screen width, centred). */
@media (max-width: 777px) {
  .ai-hero { --u: min(1px, calc(100vw / 480)); }
  .ai-hero__content { left: 50%; top: calc(50% - 314 * var(--u)); width: calc(433 * var(--u)); height: calc(480 * var(--u)); transform: translateX(-50%); }
  .ai-hero__title { position: relative; top: 0; left: calc(3.5 * var(--u)); width: calc(416 * var(--u)); font-weight: 400; font-size: calc(44 * var(--u)); line-height: calc(44 * var(--u)); margin: 0; }
  .ai-hero__text { position: relative; left: 0; width: 100%; max-width: none; font-weight: 400; font-size: calc(20 * var(--u)); line-height: calc(24 * var(--u)); margin: calc(22 * var(--u)) 0 0; } /* follows the headline, however many lines it wraps to (Jordan, 2026-11-16) */
  .ai-hero__btn { position: absolute; top: calc(434 * var(--u)); left: 50%; translate: -50% 0; white-space: nowrap; }
  .ai-hero__arrow { width: 40px; }
  .ai-hero__arrow--prev { left: 4px; } .ai-hero__arrow--next { right: 4px; }
}

/* ── Sections ─────────────────────────────────────────────────────── */
.ai-section { position: relative; background-color: #d7d7d7; background-repeat: no-repeat; background-position: center; background-size: cover; }
.ai-section.is-dark { background-color: #000; color: #fff; }
/* Intro statement: wider side margins and more line spacing (requested 2026-11-16). */
.ai-section--intro { padding: 50px 100px 0; }
.ai-section--intro .ai-statement { color: #fff; line-height: 36px; margin: 100px 0 30px; padding: 0; }
.ai-section--intro .ai-btn { margin: 0 0 150px; }
/* Same left margin and line spacing as the intro above; the ring photo shifts right by the same 60px. */
.ai-section--focus { padding: 50px 100px 0; background-position: calc(50% + 18vw) 50%; background-size: auto 100%; background-color: #fbfbfb; } /* whole ring shows, scaled to the section height (Jordan, 2026-11-16) */ /* photo edge colour, so a wide screen shows no seam */
.ai-section--focus .ai-col--third { flex: 0 0 520px; max-width: 46%; padding: 0; }
.ai-section--focus .ai-statement { color: #000; line-height: 36px; margin: 100px 0 200px; }
/* Side margins match the About page: text sits in the same centred --ai-wrap column, never closer than 100px to the edge. */
.ai-section--intro, .ai-section--focus { padding-left: max(100px, calc((100% - var(--ai-wrap)) / 2)); padding-right: max(100px, calc((100% - var(--ai-wrap)) / 2)); }

/* Split intro: heading + text beside a feature photo (collection pages) */
.ai-split { background: #fff; padding-top: 100px; padding-bottom: 80px; } /* space below the feature photo */
.ai-split.is-dark { background: #000; }
.ai-split .ai-cols { max-width: var(--ai-wrap); margin: 0 auto; }
.ai-split__text { margin: 40px 0 0; }
.ai-split__text p:last-child { margin-bottom: 0; }
/* Collection intros use the About page's body size (requested 2026-11-16). */
.ai-split__text p { font-size: 17px; line-height: 1.6; }
.ai-split__media { text-align: right; }
.ai-split__media img { display: inline-block; vertical-align: top; }

/* Gallery wall */
.ai-wall { background: #000; padding: 60px var(--ai-pad); box-sizing: border-box; }
.ai-wall__grid { list-style: none; margin: 0 auto; padding: 0; width: 100%; max-width: var(--ai-wrap); display: grid; grid-template-columns: repeat(auto-fill, var(--ai-tile, 150px)); justify-content: center; gap: 0; }
.ai-wall__grid > li { margin: 0; padding: 0 1px 1px 0; }
.ai-wall__grid img { display: block; width: 100% !important; height: auto !important; }

/* Full-height photo band */
.ai-band { position: relative; min-height: 100vh; background-color: #000; background-repeat: no-repeat; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; padding: 0 40px; box-sizing: border-box; }
.ai-band--auto { background-size: auto; background-position: 0 0; }
/* Parallax layer, as WPBakery drew it: 150% tall, cover, starts 50% above and slides down as the page scrolls. */
.has-parallax { overflow: hidden; background-image: none !important; }
.ai-parallax { position: absolute; left: 0; right: 0; top: -50%; height: 150%; background-size: cover; background-position: 50% 0; background-repeat: no-repeat; will-change: transform; z-index: 0; pointer-events: none; }
.has-parallax > :not(.ai-parallax) { position: relative; z-index: 1; }
.ai-band .ai-quote { max-width: 1200px; }

/* About */
.ai-about { background: #000 center / cover no-repeat; padding: 0 55px 80px; } /* space below the intro text */
.ai-about .ai-cols { max-width: var(--ai-wrap); margin: 0 auto; }
.ai-about__intro { padding-top: 135px; color: #fff; } /* name lines up with the top of the portrait */
.ai-about__intro .ai-big { letter-spacing: 4px; }
.ai-about__intro .ai-small { letter-spacing: 2.5px; }
/* About body text at a standard reading size (requested 2026-11-16). */
.ai-about__intro p { color: #fff; font-size: 17px; line-height: 1.6; margin: 0 0 24px; }
.ai-about__media img { display: block; width: 100%; }
.ai-about__media img:first-child { padding-top: 140px; }
.ai-about__media img + img { margin: 40px 0; } /* space above and below the ring photo */
/* About photos fade in one after the other (site.js adds .is-in as each loads). Failsafe: shown after 3s anyway. */
@keyframes aiShow { to { opacity: 1; transform: none; } }
.ai-about__media img { opacity: 0; transform: translateY(12px); transition: opacity .9s ease, transform .9s cubic-bezier(.16, 1, .3, 1); animation: aiShow 0s 3s forwards; }
.ai-about__media img.is-in { opacity: 1; transform: none; animation: none; }
@media (prefers-reduced-motion: reduce) { .ai-about__media img { opacity: 1; transform: none; transition: none; animation: none; } }
.ai-about-quote { position: relative; background: #fff 0 0 / auto no-repeat; min-height: 400px; padding: 0 55px; }
.ai-about-quote .ai-cols { max-width: var(--ai-wrap); margin: 0 auto; }
.ai-about-quote .ai-quote--small { margin: 100px 0 200px; }
/* Gentler parallax here (25% travel, centred photo) so the ring stays in frame the whole way down (Jordan, 2026-11-16). */
.ai-about-quote .ai-parallax { top: -25%; height: 125%; background-position: 50% 50%; }
.ai-master { background: #000; padding: 0 55px 100px; }
.ai-master .ai-inner { max-width: var(--ai-wrap); margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
.ai-master__video { margin: 20px 0 30px; position: relative; height: 0; padding-top: calc(56.23% + 45px); background: #000; }
.ai-master__video video { position: absolute; inset: 0; width: 100%; height: 100%; }
.ai-master p { color: #fff; font-size: 17px; line-height: 1.6; margin: 0 0 24px; }
.ai-master p:last-child { margin-bottom: 0; }
.ai-master .ai-small { margin-bottom: 0; }

/* Collection tiles */
.ai-tiles { max-width: var(--ai-wrap); margin: 100px auto 40px; /* starts where the collection pages start (Jordan, 2026-11-16) */ padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
.ai-tile { display: block; margin: 0 15px; position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #f1f1f1; }
.ai-tile img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
.ai-tile__title { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; background: rgba(0, 0, 0, .3); color: #fff; font-family: var(--font-sans); font-weight: 400; font-size: 22px; line-height: 1.3; letter-spacing: 2px; text-transform: uppercase; opacity: 0; transition: opacity .45s ease; }
.ai-tile:hover .ai-tile__title, .ai-tile:focus-visible .ai-tile__title { opacity: 1; transition: opacity .6s ease; } /* soft fade in, slightly quicker fade out */


/* Contact */
.ai-contact { max-width: var(--ai-wrap); margin: 150px auto 0; }
.ai-contact .ai-col:first-child { margin-bottom: 30px; }
.ai-contact__note { text-align: center; }
.ai-contact__rule { border: 0; border-top: 1px solid #ebebeb; margin: 30px 0 60px; }
.ai-contact__img { display: block; width: 100%; }
/* Gap below the form, matched to the original (it collapses with the form's own 30px bottom margin). */
.ai-contact .ai-col:first-child .ai-contact__img { margin-top: 36px; }
.wpcf7-form p { margin: 0 0 30px; }
.wpcf7-form label { display: block; font-family: var(--font-sans) !important; font-size: 16px !important; font-weight: 400 !important; line-height: 20.8px !important; letter-spacing: normal !important; text-transform: none !important; color: var(--ai-ink) !important; margin: 0 0 5px; }
.wpcf7-form .wpcf7-form-control-wrap { display: block; }
.wpcf7-form input.wpcf7-form-control:not(.wpcf7-submit), .wpcf7-form textarea.wpcf7-form-control { width: 100% !important; box-sizing: border-box; font-family: var(--font-sans) !important; font-size: 14px !important; line-height: 15px !important; letter-spacing: normal !important; color: #666 !important; background: transparent !important; border: 0 !important; border-bottom: 2px solid #bfbfc8 !important; border-radius: 0 !important; padding: 14px 14px 14px 0 !important; margin: 0 !important; box-shadow: none !important; outline: none; }
.wpcf7-form textarea.wpcf7-form-control { display: inline-block !important; vertical-align: baseline; height: 100px !important; min-height: 0 !important; resize: vertical; }
/* Send: same type, padding and fade as the slide buttons. On a white page the white hover keeps a thin dark outline. */
.wpcf7-form .wpcf7-submit { font-family: var(--font-sans) !important; font-weight: 600 !important; font-size: 16px !important; line-height: 17px !important; letter-spacing: 2px !important; text-transform: uppercase; color: #fff !important; background: #0b0b0b !important; border: 1px solid #0b0b0b !important; border-radius: 0 !important; padding: 19px 35px !important; width: auto !important; height: auto !important; min-height: 0 !important; cursor: pointer; transition: background-color .4s ease, color .4s ease, border-color .4s ease !important; }
.wpcf7-form .wpcf7-submit:hover, .wpcf7-form .wpcf7-submit:focus-visible { background: #fff !important; color: var(--ai-ink) !important; border-color: var(--ai-ink) !important; outline: none; }
.wpcf7-spinner { display: none; }

/* ── Footer ───────────────────────────────────────────────────────── */
.ai-footer { padding: 0 40px; background: #fff; }
.ai-footer__inner { border-top: 1px solid #f1f1f1; padding: 33px 0 33px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-sans); font-weight: 500; font-size: 12px; line-height: 25.71px; color: var(--ai-ink); }
.ai-footer a.boa-credit { color: var(--ai-ink); text-decoration: none; white-space: nowrap; }
body.home .ai-footer { position: relative; }
/* The original leaves 21px of white above the footer on every page but the homepage. */
body:not(.home) .vellum-main { padding-bottom: 21px; }

/* ── Responsive ───────────────────────────────────────────────────── */
/* Only the homepage's "Craftsmanship" quote shrinks on small screens (the original's h1.craft-break rules). */
@media (max-width: 991px) {
  .ai-quote--craft { font-size: 50px; line-height: 60px; }
}
@media (max-width: 768px) {
  .ai-quote--craft { font-size: 40px; line-height: 48px; }
}
@media (max-width: 767px) {
  :root { --ai-pad: 5px; }
  .ai-cols { flex-direction: column; }
  .ai-col, .ai-col--third { flex: 1 1 auto; }
  .ai-split .ai-cols { padding: 0 5px; }
  .ai-split { padding-bottom: 40px; }
  .ai-section--intro { padding-left: 30px; padding-right: 30px; }
  /* Phones: smaller statement on top, the ring centred and whole below it (Jordan, 2026-11-16). Ring centre is 52% across the 676px-wide image. */
  .ai-section--focus { padding: 0 30px 340px; background-size: auto 380px; background-position: left calc(50vw - 351px) bottom 0; }
  .ai-section--focus .ai-statement { font-size: 20px; line-height: 26px; margin: 70px 0 0; }
  .ai-section--intro .ai-statement { font-size: 20px; line-height: 26px; margin: 70px 0 30px; } /* matches the ring section (Jordan, 2026-11-16) */
  .ai-section--intro .ai-btn { margin-bottom: 90px; }
  .ai-section--focus .ai-col--third { flex: 1 1 auto; max-width: none; }
  .ai-about, .ai-about-quote, .ai-master { padding-left: 5px; padding-right: 5px; }
  .ai-about__intro { padding-top: 145px; }
  /* Phones: Rico's portrait sits right after the first paragraph, the ring photo after the text, less space at the end (Jordan, 2026-11-16). */
  .ai-about { padding-bottom: 30px; }
  .ai-about .ai-cols { padding: 145px var(--ai-col-pad) 0; }
  .ai-about__intro, .ai-about__media { display: contents; }
  .ai-about__intro > * { order: 2; }
  .ai-about__intro > :nth-child(-n+3) { order: 0; }
  .ai-about__media img:first-child { order: 1; padding-top: 0; margin: 6px 0 30px; }
  .ai-about__media img + img { order: 3; margin: 10px 0 0; }
  /* Phones: smaller quote on top, the ring centred and fully visible below it, no parallax (Jordan, 2026-11-16). */
  .ai-about-quote { padding-bottom: 290px; }
  .ai-about-quote .ai-quote--small { font-size: 20px; line-height: 26px; margin: 70px 0 0; }
  .ai-about-quote .ai-parallax { top: 0; height: 100%; transform: none !important; background-size: auto 360px; background-position: left calc(50vw - 482px) bottom 0; /* ring centre is 65.6% across the 735px-wide image */ background-color: #fff; }
  .ai-about__intro p, .ai-master p, .ai-split__text p { font-size: 16px; }
  .ai-split__media { text-align: left; }
  .ai-tiles { grid-template-columns: 1fr; padding: 0 5px; }
  .ai-contact { padding: 0 5px; }
  .ai-footer { padding: 0 20px; }
  .ai-footer__inner { padding: 33px 0 62px; }
}
@media (max-width: 480px) {
  .ai-quote--craft { font-size: 24px; line-height: 28.8px; }
  .ai-band { padding: 0 20px; }
}

/* Phone held sideways: tighter menu links, kept clear of the header (Jordan, 2026-11-16). */
@media (max-width: 1199px) and (max-height: 500px) {
  .vellum-nav-overlay { padding-top: 64px; box-sizing: border-box; }
  .vellum-nav-overlay a { font-size: 24px; padding: 4px 0; }
}
