/* ============================================================================
   INFINITE RENOVATIONS — Combined Design System CSS
   ----------------------------------------------------------------------------
   This is a single drop-in file: design tokens + every component / layout rule.
   Generated from: colors_and_type.css + ui_kits/website/styles.css

   Asset paths assume:
     /assets/marble.png
     /assets/logo-black.png
     /assets/logo-white.png
   Adjust the url(...) refs to match your production layout.
   ============================================================================ */

/* ============================================================
   INFINITE RENOVATIONS — Colors & Type
   ------------------------------------------------------------
   Palette: "Granite & Sage"
   Mood: premium, calm, residential luxury, hand-built quality
   ============================================================ */

/* ---------- FONTS ---------- */
/* Display serif — high-contrast modern serif used for headlines,
   with the italic deployed as decorative emphasis ("precision").  */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

/* Body sans — neutral humanist sans for paragraphs, UI labels, eyebrows. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Wordmark / display inline — the logo's engraved/inline condensed sans.
   SUBSTITUTION: original logo font is unknown; Big Shoulders Inline Display
   is the closest free Google Fonts match. Flag for replacement when the
   real font file is available. */
@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Inline+Display:wght@400;500;700&display=swap');


:root {
  /* ============================================================
     COLOR TOKENS — base palette
     ============================================================ */

  /* Surfaces — warm cream ("ivory") family */
  --cream:            #efe9de;   /* primary surface (page bg) */
  --cream-light:      #f4eee4;   /* elevated surface, hover lift */
  --cream-deep:       #e5dfd6;   /* divider tint, header band */
  --paper-white:      #ffffff;

  /* Granite — warm near-black, NOT pure #000 */
  --granite:          #1d181c;   /* primary ink */
  --granite-soft:     #2b2528;
  --granite-mute:     #4a4441;   /* secondary text */
  --granite-faint:    #75726d;   /* tertiary / nav text */

  /* Gold — bronze-tan accent (eyebrows, frames, fine rules) */
  --gold:             #a07b51;   /* accent */
  --gold-deep:        #7a5734;   /* dark accent / hover */
  --gold-light:       #c1a07b;   /* lifted gold / disabled */
  --gold-wash:        #d8c4a8;   /* very faint gold tint */

  /* Sage — primary CTA */
  --sage:             #a4b576;   /* button fill */
  --sage-deep:        #8fa361;   /* button hover / pressed (locked) */
  --sage-soft:        #cce8d3;   /* tag bg, success-tinted surfaces */
  --sage-ink:         #1d181c;   /* text-on-sage (granite, not white) */
  --sage-glow:        0 0 0 6px rgba(164, 181, 118, 0.18), 0 10px 24px rgba(164, 181, 118, 0.28);

  /* Stone — pure neutral grays for borders / dividers */
  --stone-100:        #ece6db;
  --stone-200:        #ddd5c7;
  --stone-300:        #c4baa9;
  --stone-400:        #9c9282;
  --stone-500:        #6d655a;

  /* ============================================================
     SEMANTIC COLOR TOKENS
     ============================================================ */
  --bg:               var(--cream);
  --bg-elevated:      var(--cream-light);
  --bg-inverse:       var(--granite);

  --fg1:              var(--granite);          /* primary text */
  --fg2:              var(--granite-mute);     /* body text */
  --fg3:              var(--granite-faint);    /* meta / nav */
  --fg-inverse:       var(--cream);

  --accent:           var(--gold);
  --accent-strong:    var(--gold-deep);
  --cta:              var(--sage);
  --cta-hover:        var(--sage-deep);

  --border:           var(--stone-200);
  --border-strong:    var(--granite);          /* outline-on-cream buttons */
  --border-gold:      var(--gold);
  --rule:             var(--gold);             /* thin decorative rules */

  --success:          #6a8d4a;
  --warning:          #c9962e;
  --danger:           #a04b3e;
  --info:             #5b7a99;

  /* ============================================================
     TYPE TOKENS — families
     ============================================================ */
  --font-display:     "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body:        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-wordmark:    "Big Shoulders Inline Display", "Big Shoulders Display", "Stencil Std", Impact, sans-serif;
  --font-mono:        "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Type sizing scale (clamp-driven for fluid display) */
  --fs-12: 12px;
  --fs-13: 13px;
  --fs-14: 14px;
  --fs-15: 15px;
  --fs-16: 16px;
  --fs-18: 18px;
  --fs-20: 20px;
  --fs-24: 24px;
  --fs-28: 28px;
  --fs-32: 32px;
  --fs-40: 40px;
  --fs-48: 48px;
  --fs-56: 56px;
  --fs-72: 72px;
  --fs-96: 96px;

  /* ============================================================
     SPACING SCALE — 4px base
     ============================================================ */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  20px;
  --s-6:  24px;
  --s-8:  32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;
  --s-32: 128px;

  /* ============================================================
     RADII — restrained, mostly square geometry
     ============================================================ */
  --r-0:   0;
  --r-xs:  2px;
  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  14px;
  --r-pill: 999px;

  /* ============================================================
     SHADOWS — subtle, daylight-soft
     ============================================================ */
  --shadow-1: 0 1px 2px rgba(29, 24, 28, 0.06);
  --shadow-2: 0 4px 12px rgba(29, 24, 28, 0.08);
  --shadow-3: 0 12px 32px rgba(29, 24, 28, 0.12);
  --shadow-inset: inset 0 0 0 1px rgba(29, 24, 28, 0.08);

  /* ============================================================
     RULES & STROKES
     ============================================================ */
  --hairline: 1px solid var(--border);
  --hairline-gold: 1px solid var(--gold);
  --hairline-ink: 1px solid var(--granite);
}


/* ============================================================
   SEMANTIC TYPE — drop-in classes / element defaults
   ============================================================ */

html, body {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.55;
  color: var(--fg1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.eyebrow,
.ir-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-13);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
}
.eyebrow::before,
.ir-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

h1, .h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--fg1);
  margin: 0;
}

h2, .h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.005em;
  color: var(--fg1);
  margin: 0;
}

h3, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  color: var(--fg1);
  margin: 0;
}

h4, .h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-18);
  letter-spacing: 0.01em;
  color: var(--fg1);
  margin: 0;
}

.display-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}

p, .p {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.6;
  color: var(--fg2);
  margin: 0;
}

.lead {
  font-size: var(--fs-20);
  line-height: 1.55;
  color: var(--fg2);
}

.small,
.caption {
  font-size: var(--fs-13);
  line-height: 1.5;
  color: var(--fg3);
}

.label-caps {
  font-family: var(--font-body);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg3);
}

.stat-numeral {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-48);
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.01em;
}

.wordmark {
  font-family: var(--font-wordmark);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg1);
}

code, pre, .mono {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
}


/* ============================================================
   Infinite Renovations — Website UI Kit  (v2: honeycomb)
   - Flat-top hexagons that tessellate
   - Granite is a polished marble photograph
   - Sage CTAs with glow on hover
   - 1280px content cap, 96px section padding
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--cream); color: var(--fg1); }
main { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* ============================================================
   ATOMS
   ============================================================ */

.ir-eyebrow {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
}
.ir-eyebrow::before {
  content: ""; width: 36px; height: 1px; background: var(--gold);
}
.ir-eyebrow-sm { font-size: 11px; gap: 10px; margin-bottom: 10px; }
.ir-eyebrow-sm::before { width: 24px; }
.ir-eyebrow-on-dark { color: var(--gold-light); }
.ir-eyebrow-on-dark::before { background: var(--gold-light); }

.ir-h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(52px, 6.5vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.012em;
  color: var(--granite);
  margin: 0;
}
.ir-h1 em {
  font-style: italic; font-weight: 500; color: var(--gold);
}
.ir-h1 .ir-amp {
  font-family: var(--font-display);
  font-style: italic; font-weight: 500;
  color: var(--granite); font-size: 0.94em;
}

.ir-h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.005em;
  margin: 0;
  color: var(--granite);
}
.ir-h2 em { font-style: italic; color: var(--gold); font-weight: 500; }
.ir-h2-on-dark { color: var(--cream); }

.ir-h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 28px; line-height: 1.1;
  margin: 0 0 8px; color: var(--granite);
}
.ir-h4 {
  font-family: var(--font-body); font-weight: 600;
  font-size: 17px; letter-spacing: 0.01em;
  margin: 0 0 6px; color: var(--granite);
}

.ir-lead {
  font-size: 18px; line-height: 1.55;
  color: var(--fg2); max-width: 520px;
  margin: 22px 0 32px;
}
.ir-p { font-family: var(--font-body); font-size: 15.5px; line-height: 1.6; color: var(--fg2); margin: 0; }
.ir-p-sm { font-size: 14px; }
.ir-p-on-dark { color: var(--cream-deep); }

.ir-link {
  color: var(--gold-deep); font-weight: 600;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  transition: color 150ms ease;
  display: inline-flex; align-items: center; gap: 6px;
}
.ir-link:hover { color: var(--granite); }
.ir-link-sage { color: var(--sage-deep); }
.ir-link-sage:hover { color: var(--sage); }

/* ============================================================
   BUTTONS — sage primary with soft glow on hover
   ============================================================ */

.ir-btn-primary, .ir-btn-outline, .ir-btn-gold, .ir-btn-ghost-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 15px;
  padding: 16px 26px; border-radius: 2px;
  cursor: pointer; border: 1.5px solid transparent;
  transition: background 180ms ease, color 180ms ease, box-shadow 220ms ease, transform 120ms ease;
  letter-spacing: 0.01em;
}
.ir-btn-sm { padding: 11px 16px; font-size: 12.5px; }

.ir-btn-primary { background: var(--sage); color: var(--granite); }
.ir-btn-primary:hover { background: var(--sage-deep); box-shadow: var(--sage-glow); }
.ir-btn-primary:active { transform: translateY(1px); box-shadow: none; }

.ir-btn-outline { background: transparent; color: var(--granite); border-color: var(--granite); }
.ir-btn-outline:hover { background: var(--granite); color: var(--cream); }
.ir-btn-outline:active { transform: translateY(1px); }

.ir-btn-gold {
  background: transparent; color: var(--gold); border-color: var(--gold);
  padding: 11px 18px; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
}
.ir-btn-gold:hover { background: var(--gold); color: var(--cream); }

.ir-btn-ghost-dark {
  background: transparent; color: var(--cream); border-color: var(--gold);
  padding: 11px 18px; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
}
.ir-btn-ghost-dark:hover { background: var(--gold); color: var(--granite); }

.ir-cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ============================================================
   HEXAGON — flat-top, tessellating
   - --hex-w sets width; height = w * 0.866 (sin 60°)
   - clip-path 25%/75% gives flat-top with 30° corners
   - To tessellate columns: shift x by 75% * width, y by 50% * height
   ============================================================ */

.ir-hex {
  --hex-w: 240px;
  width: var(--hex-w);
  height: calc(var(--hex-w) * 0.8660254);  /* √3/2 */
  position: relative;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  overflow: hidden;
}
.ir-hex > img,
.ir-hex > .ir-hex-fill {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.ir-hex-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #d8c4a8 0%, #75726d 100%);
  color: var(--cream);
  font-family: var(--font-body); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  text-align: center; padding: 16px;
}
.ir-hex-marble {
  background: url('/assets/marble.png') center/cover no-repeat;
}
/* Gold outline hex (used as decoration / connector node) */
.ir-hex-outline {
  background: var(--cream);
}
.ir-hex-outline::after {
  content: ""; position: absolute; inset: 2px;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background: var(--cream-light);
}

/* ============================================================
   HEADER
   ============================================================ */

.ir-utility-bar {
  background: var(--granite);
  background: url('/assets/marble.png') center/cover no-repeat, var(--granite);
  color: var(--cream);
  position: relative;
}
.ir-utility-bar::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(29, 24, 28, 0.86);
}
.ir-utility-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 7px 32px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; letter-spacing: 0.08em;
}
.ir-utility-l {
  color: var(--gold-light); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 10.5px;
}
.ir-utility-phone {
  color: var(--sage); font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.06em;
  transition: color 150ms ease;
}
.ir-utility-phone:hover { color: var(--cream); }

.ir-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(239, 233, 222, 0.86);
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}
.ir-header.is-scrolled {
  background: rgba(239, 233, 222, 0.96);
  border-bottom-color: var(--stone-200);
}
.ir-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex; align-items: center; gap: 28px;
}
.ir-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; cursor: pointer; }
.ir-logo img,
.ir-logo .ir-logo-img { height: 50px; width: auto; display: block; }
/* Tighter logo when the sticky header is in its compact "scrolled" state */
.ir-header.is-scrolled .ir-logo-img { height: 42px; }
/* Legacy text-wordmark spans (unused after image swap, kept harmless) */
.ir-logo-stack { display: flex; flex-direction: column; line-height: 1; }
.ir-logo-a { font-family: var(--font-wordmark); font-weight: 700; font-size: 19px; letter-spacing: 0.06em; color: var(--granite); }
.ir-logo-b { font-family: var(--font-wordmark); font-weight: 400; font-size: 10px; letter-spacing: 0.22em; color: var(--granite); margin-top: 3px; }

.ir-nav { display: flex; gap: 26px; flex: 1; justify-content: center; }
.ir-nav-item {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--granite);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 150ms ease; cursor: pointer;
}
.ir-nav-item:hover { color: var(--gold); }
.ir-nav-bullet { color: var(--gold); margin-left: 2px; }

.ir-header-actions { display: flex; gap: 10px; align-items: center; }
.ir-hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; flex-direction: column; gap: 4px; }
.ir-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--granite); }

.ir-mobile-drawer {
  display: none;
  flex-direction: column; gap: 16px;
  padding: 18px 32px 24px;
  background: var(--cream-light);
  border-top: 1px solid var(--stone-200);
}
.ir-mobile-drawer a { font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--granite); }

/* ============================================================
   HERO — granite slab (42%) + cream content (58%)
   zigzag hex composition that bleeds off edges and bridges the boundary
   ============================================================ */

/* ============================================================================
 * HERO — LOCKED 2026-05-16 (owner sign-off)
 * ----------------------------------------------------------------------------
 * Spec: docs/marketing/V4_GRANITE_SAGE_DNA.md
 * Do not change these rules without updating the DNA doc.
 *
 * Constitutional rules:
 *   1. Three SAME-SIZE flat-top hex photos in zigzag honeycomb staggering
 *   2. Visible 22px gap between adjacent hexes (NOT edge-shared)
 *   3. Granite slab = 22.5% of viewport (cream = 77.5%)
 *   4. Middle hex (B) bridges into cream area; A and C live inside granite
 *   5. Hero text centered horizontally in cream area
 *   6. No decorative shapes — every hex must contain a photo
 * Voided arrangements: triangular cluster, vertical column, different-sized
 * hexes, edge-shared tessellation, left-aligned text, mini outline hexes.
 * ============================================================================ */
.ir-hero {
  display: grid;
  grid-template-columns: 22.5% 77.5%;
  min-height: 760px;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.ir-hero-granite {
  position: relative;
  background: url('/assets/marble.png') center/cover no-repeat;
}
/* darken / vignette the marble subtly so type would read on it */
.ir-hero-granite::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(29,24,28,0.0) 0%, rgba(29,24,28,0.18) 100%);
  pointer-events: none;
}

.ir-hero-cream {
  background: var(--cream);
  padding: 110px 7% 80px 7%;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  position: relative;
  z-index: 1;
  text-align: center;
}

/* The hex composition: TRUE flat-top honeycomb zigzag tessellation.
   Three SAME-SIZE hexes, staggered into adjacent columns so that adjacent
   hexes SHARE FLAT-SLANTED EDGES (zero gap). Matches the screenshot exactly.

   Honeycomb math for flat-top hexes (W wide, H = W × √3/2 tall):
     - Adjacent columns are horizontally offset by 0.75 × W
     - Adjacent rows in alternating columns are offset by 0.5 × H
     - When you offset by (0.75W, 0.5H) two hexes share one slanted edge
       (this is how a real honeycomb tessellates) */
.ir-hero-hexes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;

  /* SAME size for all three hexes — scale fluidly with viewport.
     Width bumped +25% on 2026-05-21 per Claude Design batch 1 review. */
  --hex-chain-w: clamp(275px, 26vw, 388px);
  --hex-chain-h: calc(var(--hex-chain-w) * 0.8660254);

  /* Cluster's leftmost x — bleeds slightly off the left edge */
  --hex-chain-x0: -50px;

  /* Breathing gap between adjacent hexes (NOT shared edges).
     Each cell has a clearly visible separation so they read as
     individual photos in a honeycomb cluster, not one fused shape. */
  --hex-gap: 22px;
}

.ir-hex-a, .ir-hex-b, .ir-hex-c {
  --hex-w: var(--hex-chain-w);
  position: absolute;
}

/* Hex A — top-left, column A, row 1. Bleeds off the left edge. */
.ir-hex-a {
  left: var(--hex-chain-x0);
  top: calc(50% - var(--hex-chain-h));
}

/* Hex B — middle, column B (offset right by 0.75W + small gap, down by 0.5H + small gap from A). */
.ir-hex-b {
  left: calc(var(--hex-chain-x0) + var(--hex-chain-w) * 0.75 + var(--hex-gap));
  top: calc(50% - var(--hex-chain-h) * 0.5 + var(--hex-gap) * 0.5);
}

/* Hex C — bottom-left, back to column A, row 2 (down by H + gap from A). */
.ir-hex-c {
  left: var(--hex-chain-x0);
  top: calc(50% + var(--hex-gap));
}

/* Decorative gold-outline hex echoing the geometry — placed to the
   side of the chain, smaller scale */
.ir-hex-mini {
  --hex-w: 70px;
  position: absolute;
  top: 36px;
  left: 8%;
  opacity: 0.65;
}

.ir-hero-content {
  position: relative; z-index: 3;
  max-width: 560px;
  margin: 0 auto;
}
/* Center the CTA buttons row and ensure the lead paragraph stays centered */
.ir-hero-content .ir-cta-row { justify-content: center; }
.ir-hero-content .ir-lead { margin-left: auto; margin-right: auto; }
.ir-stat-row {
  display: flex; gap: 56px;
  justify-content: center;
  padding-top: 24px;
  margin-top: 44px;
  border-top: 1px solid var(--gold);
}
.ir-stat-n {
  font-family: var(--font-display); font-weight: 500;
  font-size: 44px; line-height: 1;
  color: var(--gold); letter-spacing: -0.01em;
}
.ir-star { color: var(--gold); font-size: 22px; vertical-align: 3px; }
.ir-stat-l {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; margin-top: 8px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.ir-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 32px;
}
.ir-section-tinted {
  background: var(--cream-light);
  max-width: none;
}
.ir-section-tinted > .ir-section-inner,
.ir-section-tinted > * {
  max-width: 1280px; margin: 0 auto;
}
.ir-section-granite {
  background: url('/assets/marble.png') center/cover no-repeat fixed;
  position: relative;
  padding: 96px 32px;
}
.ir-section-granite::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(29,24,28,0.55) 0%, rgba(29,24,28,0.78) 100%);
}
.ir-section-granite > .ir-section-inner {
  max-width: 1280px; margin: 0 auto; position: relative; z-index: 1;
}
.ir-section-head {
  margin-bottom: 64px;
  max-width: 760px;
}
.ir-section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.ir-section-head-center .ir-eyebrow { justify-content: center; }

/* ============================================================
   SERVICES — 6 hexes in flat-top honeycomb tessellation
   Layout: 2 short columns of 2 hexes + 2 single hexes wedged
   Column A (x=0): 2 hexes stacked  (top, bottom)
   Column B (x=0.75W, y+0.5H): 1 hex
   Column C (x=1.5W):           2 hexes stacked
   Column D (x=2.25W, y+0.5H):  1 hex
   = 6 hexes total
   ============================================================ */

.ir-services {
  --hex-w: 220px;
  --hex-h: calc(var(--hex-w) * 0.8660254);
  --hex-col-step-x: calc(var(--hex-w) * 0.75);   /* 75% of width */
  --hex-col-step-y: calc(var(--hex-h) * 0.5);    /* 50% of height */
  position: relative;
  width: calc(var(--hex-col-step-x) * 3 + var(--hex-w));   /* 3 column-steps + last hex */
  height: calc(var(--hex-h) * 2.5);
  margin: 0 auto;
}
.ir-svc {
  position: absolute;
  width: var(--hex-w); height: var(--hex-h);
}
.ir-svc-1 { left: 0; top: 0; }
.ir-svc-2 { left: 0; top: var(--hex-h); }
.ir-svc-3 { left: var(--hex-col-step-x); top: var(--hex-col-step-y); }
.ir-svc-4 { left: calc(var(--hex-col-step-x) * 2); top: 0; }
.ir-svc-5 { left: calc(var(--hex-col-step-x) * 2); top: var(--hex-h); }
.ir-svc-6 { left: calc(var(--hex-col-step-x) * 3); top: var(--hex-col-step-y); }

.ir-svc-cell {
  width: 100%; height: 100%;
  position: relative;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background-size: cover; background-position: center;
  cursor: pointer;
  transition: transform 200ms ease;
  overflow: hidden;
}
.ir-svc-cell:hover { transform: scale(1.03); }
.ir-svc-cell::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(29,24,28,0.05) 0%, rgba(29,24,28,0.72) 100%);
  transition: background 250ms ease;
}
.ir-svc-cell:hover::before {
  background: linear-gradient(180deg, rgba(29,24,28,0.2) 0%, rgba(29,24,28,0.85) 100%);
}
.ir-svc-label {
  position: absolute;
  left: 18%; right: 18%; bottom: 28%;
  text-align: center;
  z-index: 1;
}
.ir-svc-label .num {
  font-family: var(--font-display); font-style: italic;
  font-size: 13px; color: var(--gold-light);
  display: block; margin-bottom: 4px;
}
.ir-svc-label .name {
  font-family: var(--font-display); font-weight: 500;
  font-size: 24px; color: var(--cream);
  line-height: 1;
}

/* ============================================================
   PROCESS — 5-hex horizontal chain, alternating up/down,
   with bronze hairlines connecting them.
   ============================================================ */

.ir-process {
  --hex-w: 180px;
  --hex-h: calc(var(--hex-w) * 0.8660254);
  position: relative;
  width: calc(var(--hex-w) * 0.75 * 4 + var(--hex-w));
  height: calc(var(--hex-h) * 1.5 + 110px);
  margin: 0 auto;
}
.ir-proc-cell {
  position: absolute;
  width: var(--hex-w); height: var(--hex-h);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background: var(--cream);
  border: none;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 0 24px; text-align: center;
}
.ir-proc-cell::before {
  content: ""; position: absolute; inset: 0;
  border: 1px solid var(--gold);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background: var(--cream);
  z-index: -1;  /* not actually needed; we layer differently */
}
/* A real ring isn't easy with clip-path, so we use 2 hexes overlaid */
.ir-proc-cell-bg {
  position: absolute;
  width: var(--hex-w); height: var(--hex-h);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background: var(--gold);
}
.ir-proc-cell-inner {
  position: absolute;
  top: 2px; left: 2px; right: 2px; bottom: 2px;
  width: calc(var(--hex-w) - 4px); height: calc(var(--hex-h) - 4px);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 22px; text-align: center;
}
.ir-proc-cell-inner .n {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: 28px; line-height: 1;
  color: var(--gold); margin-bottom: 4px;
}
.ir-proc-cell-inner .t {
  font-family: var(--font-body); font-weight: 600;
  font-size: 14px; color: var(--granite);
  letter-spacing: 0.02em;
}

.ir-proc-1 { left: 0; top: 0; }
.ir-proc-2 { left: calc(var(--hex-w) * 0.75); top: calc(var(--hex-h) * 0.5); }
.ir-proc-3 { left: calc(var(--hex-w) * 1.5); top: 0; }
.ir-proc-4 { left: calc(var(--hex-w) * 2.25); top: calc(var(--hex-h) * 0.5); }
.ir-proc-5 { left: calc(var(--hex-w) * 3); top: 0; }

.ir-proc-blurbs {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--gold);
}
.ir-proc-blurb {
  font-size: 12.5px; line-height: 1.5; color: var(--fg2);
}
.ir-proc-blurb strong {
  display: block; color: var(--granite); font-weight: 600;
  font-size: 13px; margin-bottom: 4px;
  letter-spacing: 0.04em;
}

/* ============================================================
   PORTFOLIO — hex masonry with varied sizes overlapping at edges
   ============================================================ */

.ir-portfolio {
  position: relative;
  height: 720px;
  max-width: 1280px;
  margin: 0 auto;
}
.ir-port-cell {
  position: absolute;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  overflow: hidden;
  cursor: pointer;
  transition: transform 220ms ease, filter 220ms ease;
}
.ir-port-cell:hover { transform: scale(1.02); filter: brightness(1.05); z-index: 4; }
.ir-port-cell img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.ir-port-cell .meta {
  position: absolute; left: 14%; right: 14%; bottom: 22%;
  z-index: 2; text-align: center;
}
.ir-port-cell .meta .eb {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-light); font-weight: 600; margin-bottom: 6px;
}
.ir-port-cell .meta .t {
  font-family: var(--font-display); font-weight: 500; font-size: 22px;
  color: var(--cream); line-height: 1;
}
.ir-port-cell::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(29,24,28,0) 0%, rgba(29,24,28,0.75) 100%);
}
.ir-port-1 { width: 340px; height: 295px; top: 0;     left: 0;    z-index: 2; }
.ir-port-2 { width: 280px; height: 243px; top: 110px; left: 270px;z-index: 3; }
.ir-port-3 { width: 320px; height: 277px; top: 60px;  left: 500px;z-index: 2; }
.ir-port-4 { width: 260px; height: 225px; top: 280px; left: 740px;z-index: 3; }
.ir-port-5 { width: 360px; height: 312px; top: 360px; left: 80px; z-index: 2; }
.ir-port-6 { width: 280px; height: 243px; top: 410px; left: 420px;z-index: 3; }
.ir-port-7 { width: 300px; height: 260px; top: 80px;  left: 980px;z-index: 2; }
.ir-port-cta {
  position: absolute; right: 0; bottom: 0;
  width: 320px;
  padding: 24px 28px;
  background: var(--cream);
  border-top: 2px solid var(--gold);
  z-index: 5;
}

/* ============================================================
   TESTIMONIALS — granite background, 3-card carousel
   ============================================================ */

.ir-testi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.ir-testi-card {
  background: rgba(244, 238, 228, 0.05);
  border: 1px solid rgba(160, 123, 81, 0.35);
  padding: 28px 26px 26px;
  border-radius: 3px;
  position: relative;
}
.ir-testi-card::before {
  content: ""; position: absolute; top: -1px; left: 24px; right: 24px;
  height: 2px; background: var(--gold);
}
.ir-testi-stars { display: flex; gap: 4px; margin-bottom: 16px; color: var(--sage); font-size: 14px; }
.ir-testi-q {
  font-family: var(--font-display);
  font-weight: 500; font-size: 20px; line-height: 1.35;
  color: var(--cream); margin: 0 0 22px;
}
.ir-testi-meta {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-light); font-weight: 600;
}
.ir-testi-meta strong { color: var(--cream); display: block; font-size: 12px; margin-bottom: 4px; letter-spacing: 0.08em; }
.ir-testi-dots {
  display: flex; gap: 8px; justify-content: center; margin-top: 40px;
}
.ir-testi-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(244,238,228,0.3); border: 0; cursor: pointer; }
.ir-testi-dot.is-active { background: var(--sage); width: 24px; border-radius: 3px; }

/* ============================================================
   BLOG / LEARNING CENTER
   ============================================================ */
.ir-blog {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}
.ir-blog-feature, .ir-blog-card {
  background: var(--cream-light);
  border: 1px solid var(--stone-200);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.ir-blog-feature:hover, .ir-blog-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-2);
}
.ir-blog-img {
  background-size: cover; background-position: center;
  position: relative;
}
.ir-blog-feature .ir-blog-img { height: 320px; }
.ir-blog-card .ir-blog-img { height: 180px; }
.ir-blog-body { padding: 22px 24px 24px; }
.ir-blog-feature .ir-blog-body { padding: 28px 32px 32px; }
.ir-blog-tag {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
.ir-blog-tag::before { content: ""; width: 20px; height: 1px; background: var(--gold); }
.ir-blog-feature .ir-h3 { font-size: 32px; line-height: 1.05; margin-bottom: 12px; }
.ir-blog-card .ir-h3 { font-size: 21px; line-height: 1.15; margin-bottom: 10px; }
.ir-blog-meta {
  margin-top: 16px;
  font-size: 11px; color: var(--fg3); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
  display: flex; gap: 12px;
}

/* ============================================================
   PLAN YOUR PROJECT — multi-step wizard
   ============================================================ */
.ir-plan {
  background: var(--cream-light);
  border: 1px solid var(--stone-200);
  border-top: 3px solid var(--gold);
  border-radius: 3px;
  max-width: 880px;
  margin: 40px auto 0;
  padding: 40px 48px 44px;
  position: relative;
}
.ir-plan-steps {
  display: flex; align-items: center; gap: 4px;
  margin-bottom: 36px;
}
.ir-plan-step {
  flex: 1;
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg3); font-weight: 600;
}
.ir-plan-step .pill {
  width: 28px; height: 28px;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background: var(--stone-200);
  color: var(--fg3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 13px;
}
.ir-plan-step.is-current { color: var(--granite); }
.ir-plan-step.is-current .pill { background: var(--gold); color: var(--cream); }
.ir-plan-step.is-done .pill { background: var(--sage); color: var(--granite); }
.ir-plan-step .bar {
  flex: 1; height: 1px; background: var(--stone-200); margin-left: 4px;
}
.ir-plan-step:last-child .bar { display: none; }
.ir-plan-step.is-done .bar { background: var(--sage); }

.ir-plan-q { font-family: var(--font-display); font-weight: 500; font-size: 30px; line-height: 1.1; margin: 0 0 8px; color: var(--granite); }
.ir-plan-q em { font-style: italic; color: var(--gold); }
.ir-plan-help { font-size: 14px; color: var(--fg2); margin: 0 0 24px; }
.ir-plan-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ir-plan-opt {
  border: 1.5px solid var(--stone-200);
  background: var(--cream);
  padding: 18px 16px 16px;
  border-radius: 3px;
  text-align: left;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}
.ir-plan-opt:hover { border-color: var(--gold); }
.ir-plan-opt.is-selected { border-color: var(--sage-deep); background: var(--sage-soft); }
.ir-plan-opt .nm { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--granite); display: block; margin-bottom: 4px; }
.ir-plan-opt .sub { font-size: 12px; color: var(--fg3); }
.ir-plan-nav { display: flex; justify-content: space-between; margin-top: 28px; }

.ir-plan-field { display: block; margin-bottom: 14px; }
.ir-plan-field label { display: block; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg3); font-weight: 600; margin-bottom: 6px; }
.ir-plan-field input { width: 100%; background: var(--cream); border: 1px solid var(--stone-200); padding: 12px 14px; border-radius: 2px; font-family: var(--font-body); font-size: 14px; color: var(--granite); outline: none; }
.ir-plan-field input:focus { border-color: var(--granite); background: #fff; }
.ir-plan-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ir-plan-summary {
  background: var(--cream); border: 1px solid var(--stone-200);
  padding: 18px 22px; margin-bottom: 18px; border-radius: 2px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px;
  font-size: 13px;
}
.ir-plan-summary dt { color: var(--fg3); letter-spacing: 0.1em; text-transform: uppercase; font-size: 10px; font-weight: 600; }
.ir-plan-summary dd { margin: 0; color: var(--granite); font-weight: 500; }

/* ============================================================
   FOOTER — granite (marble photo)
   ============================================================ */
.ir-footer {
  background: var(--granite);
  background: url('/assets/marble.png') center/cover no-repeat, var(--granite);
  color: var(--cream);
  padding: 96px 32px 28px;
  position: relative;
}
.ir-footer::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(29,24,28,0.78) 0%, rgba(29,24,28,0.92) 100%);
}
.ir-footer-inner, .ir-footer-bottom {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
}
.ir-footer-inner {
  display: grid; grid-template-columns: 1.4fr 2fr; gap: 80px;
}
.ir-footer-brand img { height: 96px; width: auto; filter: brightness(0) invert(1); }
.ir-footer-tag { margin-top: 18px; font-size: 14px; line-height: 1.6; color: var(--cream-deep); max-width: 380px; }
.ir-footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ir-footer-h { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid rgba(160, 123, 81, 0.35); }
.ir-footer-col a { display: block; font-size: 14px; color: var(--cream-deep); padding: 6px 0; transition: color 150ms ease; }
.ir-footer-col a:hover { color: var(--gold); }
.ir-footer-col a.is-sage { color: var(--sage); font-weight: 600; font-family: var(--font-display); font-size: 22px; letter-spacing: 0.01em; }
.ir-footer-col a.is-sage:hover { color: var(--cream); }
.ir-footer-bottom {
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid rgba(160, 123, 81, 0.3);
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--cream-deep); letter-spacing: 0.04em;
}

/* ============================================================
   ESTIMATE MODAL
   ============================================================ */
.ir-modal-scrim {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(29, 24, 28, 0.55);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.ir-modal {
  background: var(--cream);
  border-radius: 3px;
  max-width: 640px; width: 100%;
  padding: 40px 44px 36px;
  position: relative;
  box-shadow: var(--shadow-3);
  border-top: 3px solid var(--gold);
}
.ir-modal-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: 0; font-size: 28px; line-height: 1;
  color: var(--fg3); cursor: pointer; padding: 4px 10px;
}
.ir-modal-close:hover { color: var(--granite); }
.ir-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ir-field label { display: block; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg3); font-weight: 600; margin-bottom: 6px; }
.ir-field input, .ir-field select {
  width: 100%; background: var(--cream-light);
  border: 1px solid var(--stone-200);
  padding: 12px 14px; border-radius: 2px;
  font-family: var(--font-body); font-size: 14px; color: var(--granite); outline: none;
}
.ir-field input:focus, .ir-field select:focus { border-color: var(--granite); background: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .ir-utility-bar { display: none; }
  .ir-nav { display: none; }
  .ir-hamburger { display: flex; }
  .ir-header-actions .ir-btn-gold { display: none; }
  .ir-mobile-drawer.is-open { display: flex; }

  /* ---- Mobile hero: cream content on top, honeycomb hexes on a granite band below ---- */
  .ir-hero { grid-template-columns: 100%; min-height: auto; }
  .ir-hero-granite { display: none; }            /* was an empty 380px block */
  .ir-hero-cream { padding: 54px 26px 38px; }
  .ir-hex-mini { display: none; }

  .ir-hero-hexes {
    position: relative; inset: auto;
    pointer-events: auto;
    width: 100%;
    height: clamp(300px, 80vw, 384px);
    background: url('/assets/marble.png') center/cover no-repeat;
    --hex-chain-w: clamp(148px, 42vw, 196px);
    --hex-gap: 16px;
    --hex-chain-x0: calc((100% - (var(--hex-chain-w) * 1.75 + var(--hex-gap))) / 2);
    --hex-top0: calc((100% - (var(--hex-chain-h) * 2 + var(--hex-gap))) / 2);
  }
  .ir-hero-hexes::after {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(ellipse at 50% 42%, rgba(29,24,28,0) 0%, rgba(29,24,28,0.34) 100%);
    pointer-events: none;
  }
  .ir-hex-a, .ir-hex-b, .ir-hex-c { display: block; }
  .ir-hex-a { left: var(--hex-chain-x0); top: var(--hex-top0); }
  .ir-hex-b {
    left: calc(var(--hex-chain-x0) + var(--hex-chain-w) * 0.75 + var(--hex-gap));
    top: calc(var(--hex-top0) + var(--hex-chain-h) * 0.5 + var(--hex-gap) * 0.5);
  }
  .ir-hex-c {
    left: var(--hex-chain-x0);
    top: calc(var(--hex-top0) + var(--hex-chain-h) + var(--hex-gap));
  }

  /* Services honeycomb — shrink the hex unit so the cluster fits (no transform hack) */
  .ir-services { --hex-w: clamp(96px, 27vw, 220px); }
  .ir-svc-label .name { font-size: 16px; }
  .ir-svc-label .num { font-size: 11px; }

  /* Process — reflow the 5-hex chain into a centered vertical column */
  .ir-process {
    --hex-w: clamp(152px, 46vw, 180px);
    width: 100%; height: auto;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
  }
  .ir-proc-cell { position: relative; left: auto; top: auto; }
  .ir-proc-1, .ir-proc-2, .ir-proc-3, .ir-proc-4, .ir-proc-5 { left: auto; top: auto; }
  .ir-proc-blurbs { position: static; grid-template-columns: 1fr; gap: 10px; padding-top: 20px; }
  .ir-portfolio { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .ir-port-cell { position: relative; width: 100% !important; height: 280px !important; top: 0 !important; left: 0 !important; }
  .ir-port-cta { position: relative; width: 100%; }

  .ir-testi { grid-template-columns: 1fr; }
  .ir-blog { grid-template-columns: 1fr; }
  .ir-plan-options { grid-template-columns: 1fr 1fr; }
  .ir-plan-field-grid { grid-template-columns: 1fr; }

  .ir-footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .ir-footer-cols { grid-template-columns: 1fr; }
  .ir-field-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ir-services { --hex-w: clamp(88px, 26vw, 160px); }
  .ir-portfolio { grid-template-columns: 1fr; }
  .ir-stat-row { gap: 24px; flex-wrap: wrap; }
  .ir-stat-n { font-size: 30px; }
  .ir-plan { padding: 28px 22px 28px; }
  .ir-plan-options { grid-template-columns: 1fr; }
  .ir-footer-bottom { flex-direction: column; gap: 8px; }
}

/* ============================================================
   MOBILE PASS (Claude Design return, integrated) — 2026-05-29
   ============================================================ */

/* Global overflow guard: zero horizontal scroll on phones.
   Use `overflow-x: clip` (NOT hidden) — hidden turns body into a scroll
   container and breaks the sticky header; clip prevents h-scroll without it. */
@media (max-width: 768px) {
  html, body { max-width: 100%; overflow-x: clip; }
  .ir-hero, .ir-section-granite, .ir-section-tinted, .ir-commitment, .ir-footer { overflow-x: clip; }
}

/* Marble: keep fine veining + iOS-safe "anchored" feel.
   `background-attachment: fixed` is IGNORED by iOS Safari; `center/cover` on a
   tall, narrow phone over-zooms the marble (blown-up veining). Pin a fixed
   texture scale — dark sections tile and the dark overlay hides any seam. */
@media (max-width: 768px) {
  .ir-section-granite, .ir-footer, .ir-hero-hexes, .ir-commitment-granite {
    background-attachment: scroll;
    background-size: 720px auto;
    background-repeat: repeat;
    background-position: center top;
  }
  /* White Calacatta trust bar stays crisp (a short bar barely crops) — no tiling */
  .ir-trust-bar,
  .ir-trust-bar.is-marble-2,
  .ir-trust-bar.is-marble-3 {
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
  }
}

/* Estimate stepper: all 4 steps visible as compact stacked chips */
@media (max-width: 768px) {
  .ir-plan-steps { gap: 6px; margin-bottom: 28px; }
  .ir-plan-step {
    flex: 1 1 0; flex-direction: column; gap: 7px;
    text-align: center; font-size: 9.5px; letter-spacing: 0.10em;
    line-height: 1.2; min-width: 0;
  }
  .ir-plan-step .bar { display: none; }
  .ir-plan-options { grid-template-columns: 1fr; }
}

