/* ============================================================
   CANALTA — design system
   Monochrome shell · colour from product · confident type
   ============================================================ */

:root {
	--ca-ink: #101418;
	--ca-ink-2: #2a2f35;
	--ca-paper: #f6f5f1;
	--ca-white: #ffffff;
	--ca-line: #e6e6e2;
	--ca-mute: #8a8f94;
	/* v1.12.0 "refined manufacturer" pass (owner: "less AI template").
	   The bright #1d6fe0 blue was the single loudest tell — every scaffolded
	   site ships it. Deep ink-navy keeps every accent relationship (grids,
	   swatch rings, links) but reads like a 1974 plant, not a SaaS landing. */
	--ca-accent: #1c2b3a;
	--ca-accent-dark: #0f1a24;
	--ca-gold: #c9a227;
	--font-display: 'Archivo', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ca-ink);
	background: var(--ca-white);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--ca-accent); text-decoration: none; }
a:hover { color: var(--ca-accent-dark); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.015em; color: var(--ca-ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 600; letter-spacing: -0.015em; }
h3 { font-size: 1.15rem; font-weight: 600; }

.ca-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.ca-eyebrow { display: inline-block; font-family: var(--font-display); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #6b7075; margin-bottom: 14px; }
.ca-eyebrow.is-light { color: #aab2ba; }

/* ---------- Buttons ---------- */
.ca-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; padding: .9rem 1.55rem; border-radius: 2px; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.ca-btn-primary { background: var(--ca-accent); color: #fff !important; }
.ca-btn-primary:hover { background: var(--ca-accent-dark); }
.ca-btn-ghost { border-color: rgba(16,20,24,.5); color: var(--ca-ink) !important; }
.ca-btn-ghost:hover { background: rgba(16,20,24,.07); }
.ca-hero .ca-eyebrow.is-light { color: var(--ca-accent); }
.ca-btn-light { background: #fff; color: var(--ca-ink) !important; }
.ca-btn-light:hover { box-shadow: 0 6px 18px rgba(0,0,0,.2); }

/* ---------- Topbar ---------- */
.ca-topbar { background: var(--ca-ink); color: #cfd4d9; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: 7px 16px; font-family: var(--font-display); position: relative; }
.ca-topbar-sep { margin: 0 10px; color: #4a4f54; }
/* The email is pinned to the right rather than added as a fourth item so the
   three trust messages stay optically centred on the page, not pushed left. */
.ca-topbar-mail { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 7px; color: #e8ecef; text-decoration: none; text-transform: none; letter-spacing: .02em; transition: color .15s ease; }
.ca-topbar-mail svg { opacity: .65; flex: 0 0 auto; }
.ca-topbar-mail span { border-bottom: 1px solid rgba(232,236,239,.3); padding-bottom: 1px; }
.ca-topbar-mail:hover { color: #fff; }
.ca-topbar-mail:hover span { border-bottom-color: #fff; }
/* Drop the third message before the centred block can collide with the email,
   then drop the email label itself and leave the envelope as the tap target. */
@media (max-width: 1400px) { .ca-topbar-msg span:nth-child(n+4) { display: none; } }
/* Under 1100 the three messages no longer fit beside the email. The email is
   the actionable half of the bar, so it stays and centres; the trust messages
   are still carried by the hero. */
@media (max-width: 1100px) { .ca-topbar-msg { display: none; } .ca-topbar-mail { position: static; transform: none; } }

/* ---------- Header ---------- */
.ca-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ca-line); }
/* 84px, not 72px. The real logo is a stacked lockup — the mark is taller than
   the wordmark beside it — so it is very nearly square. At the old 54px cap the
   whole lockup was only 50px wide and the "BINDERY & GRAPHICS" line was under
   3px tall. The extra 12px of header buys 10px of logo, which is the difference
   between a readable mark and a smudge. Mobile stays at 72px (see the 760px
   query, where .ca-nav is positioned against this exact value). */
.ca-header-inner { max-width: 1240px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 32px; height: 84px; }
.ca-brand { display: flex; align-items: center; }
/* THE header logo rule. Nothing else in this file may set a height on the
   header mark — the class that ships on the <img> is .ca-logo-img, so it is
   named here explicitly rather than relying on the bare `img` descendant, and
   the footer's own sizing is scoped to .ca-footer-brand so it cannot leak up.
   The lockup is near-square (816x880) and carries a two-line descriptor under
   the wordmark, so height buys legibility the way it would not for a one-line
   logo. 56px in an 84px bar is the balance point: the descriptor still reads,
   and 14px of air top and bottom keeps the bar from looking stuffed. */
.ca-brand img, .ca-brand .custom-logo, .ca-brand .ca-logo-img { max-height: 56px; width: auto; }
.ca-wordmark { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; letter-spacing: .02em; color: var(--ca-ink); line-height: 1; }
.ca-wordmark b { font-weight: 700; }
.ca-wordmark small { display: block; font-size: .58rem; letter-spacing: .48em; color: var(--ca-mute); font-weight: 600; margin-top: 2px; }
.ca-wordmark.is-white { color: #fff; }
.ca-wordmark.is-white small { color: #9aa0a6; }

.ca-nav { flex: 1; }
.ca-menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.ca-menu a { display: block; font-family: var(--font-display); font-size: .92rem; font-weight: 500; color: var(--ca-ink); padding: 8px 13px; border-radius: 3px; }
.ca-menu a:hover { background: var(--ca-paper); color: var(--ca-ink); }
.ca-header-actions { display: flex; align-items: center; gap: 18px; }
.ca-action-link { font-family: var(--font-display); font-size: .85rem; font-weight: 600; color: var(--ca-ink); letter-spacing: .03em; border-bottom: 2px solid var(--ca-gold); padding-bottom: 2px; }
.ca-cart { position: relative; color: var(--ca-ink); display: flex; }
.ca-cart-count { position: absolute; top: -7px; right: -9px; background: var(--ca-mute); color: #fff; font-size: .62rem; font-weight: 700; min-width: 17px; height: 17px; border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.ca-cart-count.has-items { background: var(--ca-accent); }
.ca-burger { display: none; }

/* ---------- Hero (split — copy left, real building photo right) ---------- */
/* The photo is no longer a background with a white gradient washed over it. A
   scrim is what you need when type sits on top of a picture, and it was erasing
   the left two thirds of the plant to do it. Two columns means the words are on
   paper and the building is whole. */
.ca-hero { position: relative; background-color: #fdfdfc; color: var(--ca-ink); border-bottom: 1px solid var(--ca-line); }
/* Half the old 72px of air before the first line of text: the header already
   separates itself with its border, and the owner read the rest as dead space.
   align-items is now start rather than center so the building and the tiles
   BEGIN level with the headline instead of being vertically centred against
   the taller text column — centring was what pushed the first picture 170px
   below the header. */
.ca-hero-grid { max-width: 1240px; margin: 0 auto; padding: 36px 24px 60px; display: grid; grid-template-columns: 1.02fr .98fr; gap: 54px; align-items: start; }
.ca-hero-inner { position: relative; width: 100%; align-self: start; }
/* The plant panel shows the WHOLE building — owner's instruction, and the right
   call regardless: a 20,000 sq ft plant with the company's own sign on it only
   works as proof if you can see it is a building.

   Two things used to cut it down. The panel stretched to whatever height the
   text column happened to be (align-items: stretch + min-height: 400px), and
   object-fit: cover then filled that height by throwing away the sides of a
   photograph that is two and a half times wider than it is tall. So the frame
   no longer stretches — it centres at a fixed 16:10 — and the image is
   CONTAINED, which is the only fit that guarantees nothing is cropped.

   Anchored to the bottom, not centred, and on #fff rather than --ca-paper.
   Contain leaves spare height, and both choices put every pixel of it in one
   place: directly above the roofline, against the photograph's own sky, which
   is blown out to 254-255 across the full width of the frame. Matching the
   panel to #fff makes that seam invisible, so the spare height reads as more
   sky instead of as a letterbox bar. Centring it would split the same space in
   two and put half of it under the foliage, where the photo ends on a hard
   green edge and the join would show.

   2:1 rather than anything taller. The frame has to be wider than the photo for
   the caption plate to have sky to sit in (see figcaption below), but every
   extra pixel of height past that is white the visitor has to look at, and at
   16:10 the band above the roofline came out taller than the plant. 2:1 leaves
   roughly seventy pixels — enough for the plate, not enough to read as empty. */
/* The card is the photograph's own ratio (1200x447), not a design-led 2:1 with
   the picture letterboxed inside it. Anything other than the native ratio puts
   dead space in the card and pushes the building off centre — which is exactly
   what it did. Keep this in step with the bundled file if the photo is ever
   replaced; front-page.php explains the history. */
/* .ca-hero-visual is the right-hand grid column: the building on top, four
   product shelves underneath. The figure USED to be the grid item itself and
   carried align-self:center to stop it stretching to the text column's height.
   That declaration has moved up to the wrapper — left on the figure it would now
   be a cross-axis rule inside a flex column, which would shrink the figure to the
   width of its contents. Its only child is absolutely positioned, so that width
   is zero, and aspect-ratio would then give it zero height: the building would
   vanish. Hence width:100% here and align-self on the wrapper. */
/* Nudged below the headline's cap height rather than flush with it — level
   with the very top of the text column read as too high, and this drop sits
   the building against the paragraph, which is where the eye expects a
   photograph to start. Cleared in the stacked layout below 1024px, where the
   column follows the text and needs no offset. */
.ca-hero-visual { align-self: start; margin-top: 34px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ca-hero-media { position: relative; margin: 0; width: 100%; aspect-ratio: 1200 / 447; border-radius: 8px; overflow: hidden; border: 1px solid var(--ca-line); background: #fff; box-shadow: 0 8px 22px rgba(16,20,24,.07); }
.ca-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center center; display: block; }
/* A caption plate rather than text floated on the picture: it reads at any
   contrast, and it is where the two facts a buyer wants — where the plant is and
   how big it is — belong.

   Top-left in the sky, not bottom-left across the picture. It used to be a
   full-width bar pinned to the bottom of the panel, which was survivable when
   the photo was a cropped stretch of wall and stopped being survivable once the
   whole building was in frame: at the bottom the plate lies straight across the
   entrance, the glazing and the loading elevation — the part that shows this is
   a plant rather than a shed. Moved up, it sits on blown-out white sky, which
   is both the emptiest part of the photograph and the highest contrast
   available for white type. width:auto so it wraps the sentence instead of
   ruling a bar across the whole frame. */
.ca-hero-media figcaption { position: absolute; left: 14px; top: 14px; right: auto; bottom: auto; width: auto; max-width: calc(100% - 28px); background: rgba(16,20,24,.82); backdrop-filter: blur(6px); color: #e7eaee; font-size: .78rem; letter-spacing: .02em; padding: 10px 14px; border-radius: 3px; }
.ca-hero-media figcaption span { color: #fff; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; }
.ca-hero h1 { color: var(--ca-ink); max-width: 640px; }
/* Three-part H1: brand line, display slogan, category line. Sizes are set on the
   spans because the global h1 rule would otherwise blow all three up to 3.6rem. */
.ca-hero-h1 { display: block; max-width: 700px; margin-bottom: .55em; }
.ca-h1-brand { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--ca-accent); line-height: 1.4; margin-bottom: .9rem; }
.ca-h1-line { display: block; font-size: clamp(1.55rem, 3.1vw, 2.3rem); font-weight: 600; line-height: 1.16; letter-spacing: -0.015em; }
/* .ca-h1-kw is deliberately gone. It styled a third line under the headline
   that listed five product categories — copy written for a crawler, sitting in
   the most prominent heading on the site. The terms it carried now live in the
   headline sentence and the paragraph below it. */
.ca-hero p { font-size: 1.13rem; max-width: 540px; color: #3c4147; }
/* 60px under the buttons was the last pocket of dead air in the hero — the
   owner asked for "just a bit" off, so a third comes off here and a shade off
   the rule above the stats. */
.ca-hero-ctas { display: flex; gap: 14px; margin: 26px 0 40px; flex-wrap: wrap; }
/* The three values are now short phrases ("Since 1974", "20,000 sq ft") rather
   than bare numerals, so they are typographically wider than the 50+ / 20,000 /
   14 / 5-15 row they replaced. 1.5rem and a 38px gap keep all three on one line
   in the hero's left column instead of wrapping the third onto its own row. */
.ca-hero-stats { display: flex; gap: 38px; flex-wrap: wrap; border-top: 1px solid rgba(16,20,24,.16); padding-top: 22px; max-width: 720px; }
.ca-hero-stats strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; }
.ca-hero-stats span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #6b7075; }

/* ---------- Hero product tiles ---------- */
/* Four small shelf cards under the building photograph. Deliberately quieter
   than .ca-strip-cell below — a lighter shadow, a smaller radius, a single line
   of label instead of a title and a category — because this row is a shortcut,
   not the gallery. If both rows shouted the hero would have two focal points and
   the headline would lose. The 3:2 window matches the photographs' native ratio,
   so nothing is cropped; that was the fix for the "too zoomed" complaint on the
   category heads and the same arithmetic applies here. */
.ca-hero-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ca-hero-tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ca-line); border-radius: 4px; overflow: hidden; color: var(--ca-ink); transition: box-shadow .18s, border-color .18s, transform .18s; }
.ca-hero-tile:hover { border-color: #d0d0ca; box-shadow: 0 10px 24px rgba(16,20,24,.10); transform: translateY(-2px); }
.ca-hero-tile-img { display: block; overflow: hidden; background: var(--ca-paper); }
.ca-hero-tile-img img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .35s ease; }
.ca-hero-tile:hover .ca-hero-tile-img img { transform: scale(1.045); }
/* This started as nowrap + ellipsis on one line and had to change: measured live,
   "SAFETY MANUALS" needs 135px of the 126px a tile label gets in a 540px column,
   so two of the four labels were being cut off. Shrinking the type until they fit
   left three pixels of slack — one browser's font metrics or one notch of user
   zoom away from clipping again, and clipping a category name is worse than
   wrapping it.

   So the label reserves TWO lines at every tile. The long ones wrap, the short
   ones leave the second line empty, and because .ca-hero-tiles is a grid the row
   stretches all four cards to match anyway — the reservation just stops the
   pictures above from stepping out of line. No clipping is possible at any width,
   zoom level or font stack. */
.ca-hero-tile-cap { display: block; padding: 9px 10px 10px; font-size: clamp(.62rem, .55vw + .38rem, .72rem); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1.25; min-height: calc(2.5em + 19px); transition: color .18s; }
.ca-hero-tile:hover .ca-hero-tile-cap { color: var(--ca-accent); }

/* The catalogue row closing the hero column: two slim tiles, each a miniature
   cover standing beside its label, wide where the product tiles above are square
   so the row reads as "and here are the books" rather than two more shelves. The
   arrow behaves exactly like the category-card arrows — hidden until hover —
   because one motion vocabulary per page. */
.ca-hero-brochs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ca-hero-broch {
	display: flex; align-items: center; gap: 12px; min-width: 0;
	background: #fff; border: 1px solid var(--ca-line); border-radius: 4px;
	padding: 8px 12px 8px 8px; color: var(--ca-ink);
	transition: box-shadow .18s, border-color .18s, transform .18s;
}
.ca-hero-broch:hover { border-color: #d0d0ca; box-shadow: 0 10px 24px rgba(16,20,24,.10); transform: translateY(-2px); }
.ca-hero-broch img {
	display: block; flex: 0 0 auto; width: 44px; height: auto;
	border: 1px solid var(--ca-line); border-radius: 4px;
	box-shadow: 3px 4px 10px rgba(16,20,24,.16); background: #fff;
}
.ca-hero-broch-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.ca-hero-broch-t strong { font-family: var(--font-display); font-weight: 600; font-size: .82rem; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-hero-broch-t span { font-size: .7rem; color: var(--ca-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-hero-broch svg { flex: 0 0 auto; color: var(--ca-accent); opacity: 0; transform: translateX(-6px); transition: all .18s; }
.ca-hero-broch:hover svg { opacity: 1; transform: none; }

/* ---------- Product photo strip (directly under the hero) ---------- */
/* Real photographs of finished work, each one linking to the shelf it was shot
   for. It sits above every text section because the products come first, and it
   scrolls instead of wrapping so it costs one screen band rather than four —
   the complete category index is the grid immediately below it. */
.ca-strip { background: var(--ca-paper); border-bottom: 1px solid var(--ca-line); padding: 30px 0 34px; }
.ca-strip-head { max-width: 1240px; margin: 0 auto 16px; padding: 0 24px; display: flex; align-items: baseline; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.ca-strip-link { font-family: var(--font-display); font-size: .84rem; font-weight: 600; color: var(--ca-ink); border-bottom: 2px solid var(--ca-gold); padding-bottom: 2px; white-space: nowrap; }
.ca-strip-scroll { max-width: 1240px; margin: 0 auto; padding: 4px 24px 14px; display: flex; align-items: stretch; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.ca-strip-cell { flex: 0 0 286px; scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ca-line); border-radius: 5px; overflow: hidden; color: var(--ca-ink); transition: box-shadow .18s, border-color .18s, transform .18s; }
.ca-strip-cell:hover { border-color: #d0d0ca; box-shadow: 0 14px 34px rgba(16,20,24,.11); transform: translateY(-3px); }
/* The photographs are 3:2 natively, so a 3:2 window crops nothing at all — the
   "too zoomed" complaint was a 4:3 box cropping a 3:2 frame. */
.ca-strip-img { display: block; overflow: hidden; background: var(--ca-paper); }
.ca-strip-img img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .35s ease; }
.ca-strip-cell:hover .ca-strip-img img { transform: scale(1.035); }
.ca-strip-cap { display: flex; flex-direction: column; gap: 5px; padding: 12px 14px 14px; flex: 1 1 auto; }
.ca-strip-cap strong { font-family: var(--font-display); font-size: .9rem; font-weight: 600; line-height: 1.3; }
.ca-strip-cap em { font-style: normal; display: flex; align-items: center; gap: 5px; margin-top: auto; font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ca-mute); }
.ca-strip-cap em svg { color: var(--ca-accent); opacity: 0; transform: translateX(-5px); transition: all .18s; }
.ca-strip-cell:hover .ca-strip-cap em { color: var(--ca-accent); }
.ca-strip-cell:hover .ca-strip-cap em svg { opacity: 1; transform: none; }
@media (max-width: 600px) {
	.ca-strip-cell { flex: 0 0 74vw; }
	.ca-strip-head { margin-bottom: 12px; }
}

/* ---------- Sections ---------- */
.ca-section { max-width: 1240px; margin: 0 auto; padding: 88px 24px; }
.ca-section-head { margin-bottom: 44px; }
.ca-section-head h2 { margin-bottom: 0; }
.ca-section-dark { max-width: none; background: var(--ca-ink); color: #dfe3e8; }
.ca-section-dark .ca-section-head, .ca-section-dark .ca-steps { max-width: 1192px; margin-left: auto; margin-right: auto; }
.ca-section-dark .ca-section-head { margin-bottom: 44px; }
.ca-section-dark h2 { color: #fff; }

/* Category grid */
/* Three across, not four. At four the tile was 278px wide and a photograph of a
   dozen products in it was unreadable — the same complaint as the header dropdown.
   Three puts it near 390px, which is where the subject of a production photograph
   becomes legible, and it matches the product grid's own three-column rhythm. */
.ca-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ca-cat-card { display: flex; flex-direction: column; border: 1px solid var(--ca-line); border-radius: 5px; overflow: hidden; background: #fff; transition: all .18s; color: var(--ca-ink); }
.ca-cat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(16,20,24,.1); border-color: #d0d0ca; }
.ca-cat-img { display: block; aspect-ratio: 4 / 3; background-size: contain; background-repeat: no-repeat; background-position: center; background-origin: content-box; padding: 14px; background-color: #fff; border-bottom: 1px solid var(--ca-line); }
/* A catalogue cut-out is a floating object on white and needs the padding and the
   contain. A production photograph is a composed frame — padding it turns it into a
   postage stamp, and contain letterboxes 3:2 into a 4:3 box with white bars. Cover
   at centre trims about 11% off the two sides of an evenly-filled frame, which is
   nothing, and the picture finally reaches the edges of the card. */
.ca-cat-img.is-photo { background-size: cover; background-origin: padding-box; padding: 0; background-color: var(--ca-paper); }
.ca-cat-card:hover .ca-cat-img.is-photo { filter: saturate(1.06); }
.ca-cat-name { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; padding: 14px 16px 4px; }
.ca-cat-name svg { color: var(--ca-accent); opacity: 0; transform: translateX(-6px); transition: all .18s; }
.ca-cat-card:hover .ca-cat-name svg { opacity: 1; transform: none; }
.ca-cat-desc { font-size: .82rem; color: var(--ca-mute); padding: 0 16px 18px; line-height: 1.5; }

/* Steps */
.ca-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ca-step-card { border: 1px solid #2a2f35; border-radius: 5px; padding: 26px 24px; background: #171c22; }
.ca-step-num { font-family: var(--font-display); font-size: .8rem; font-weight: 700; letter-spacing: .2em; color: var(--ca-gold); }
.ca-step-card h3 { color: #fff; margin: 12px 0 8px; }
.ca-step-card p { font-size: .88rem; color: #aeb4bb; margin: 0; }

/* Capabilities */
.ca-cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ca-cap { border-top: 3px solid var(--ca-ink); padding-top: 18px; }
.ca-cap h3 { margin-bottom: 6px; }
.ca-cap p { font-size: .88rem; color: var(--ca-mute); margin: 0; }

/* Home page entity block — last section before the pre-footer. Three columns so a
   block of prose does not read as a wall of text on desktop; one column below 900px. */
.ca-brandnote { border-top: 1px solid var(--ca-line, #e6e8eb); }
.ca-brandnote-inner { max-width: 1240px; margin: 0 auto; }
.ca-brandnote h2 { font-size: 1.35rem; margin-bottom: 22px; }
.ca-brandnote-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ca-brandnote-cols p { font-size: .95rem; line-height: 1.62; color: var(--ca-mute); margin: 0; }
.ca-brandnote-cols a { color: inherit; text-decoration: underline; text-decoration-color: var(--ca-line, #cfd4da); text-underline-offset: 3px; }
.ca-brandnote-cols a:hover { color: var(--ca-ink, #10151b); text-decoration-color: currentColor; }

/* ---------- Pre-footer CTA ---------- */
.ca-precta { background: var(--ca-accent); color: #fff; }
.ca-precta-inner { max-width: 1240px; margin: 0 auto; padding: 64px 24px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ca-precta h2 { color: #fff; margin-bottom: 8px; }
.ca-precta p { margin: 0; color: #dbe8fb; max-width: 560px; }

/* ---------- Footer ---------- */
.ca-footer { background: var(--ca-ink); color: #aeb4bb; }
.ca-footer-inner { max-width: 1240px; margin: 0 auto; padding: 72px 24px 48px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.ca-footer-brand p { font-size: .88rem; margin-top: 18px; max-width: 320px; }
.ca-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.ca-footer ul { list-style: none; margin: 0; padding: 0; }
.ca-footer li { margin-bottom: 8px; }
.ca-footer a { color: #aeb4bb; font-size: .9rem; }
.ca-footer a:hover { color: #fff; }
.ca-footer-col p { font-size: .88rem; margin: 0 0 18px; }
/* The two contact headings carry links to the city landing pages. Without this
   they inherit `.ca-footer a` and repaint grey at .9rem inside a white .8rem
   uppercase heading, which reads as a rendering bug rather than a link. They
   should look exactly like the headings beside them until you hover one. */
.ca-footer h4 a { color: inherit; font-size: inherit; letter-spacing: inherit; text-decoration: none; }
.ca-footer h4 a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ca-footer-bottom { border-top: 1px solid #2a2f35; max-width: 1240px; margin: 0 auto; padding: 22px 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .78rem; color: #6b7075; }
/* Sitewide service-area row. Sits above the copyright line, deliberately quiet.
   It used to be a list of three city links; it now states the market in one
   line (Canada and the United States). The a/em rules below are kept because
   the row is still a flex row of inline pieces and cost nothing. */
.ca-footer-areas { border-top: 1px solid #2a2f35; max-width: 1240px; margin: 0 auto; padding: 18px 24px 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .8rem; color: #6b7075; }
.ca-footer-areas a { color: #b6bcc2; text-decoration: none; border-bottom: 1px solid #3a4046; padding-bottom: 1px; }
.ca-footer-areas a:hover { color: #fff; border-bottom-color: var(--ca-accent, #b6bcc2); }
.ca-footer-areas em { font-style: normal; color: #454b51; }
.ca-footer-areas + .ca-footer-bottom { border-top: 0; }
/* Footer logo sizing lives further down, in the footer-brand block — it used to
   be duplicated here unscoped, which also caught the header mark. */

/* ---------- Content pages ---------- */
.ca-content { padding-top: 32px; padding-bottom: 88px; }
/* wpautop leaves empty <p> tags around shortcodes and each one carries a
   16px margin; three of them was a quiet 50px of nothing above the
   catalogue headline. They say nothing, so they render as nothing. */
.ca-content > p:empty { display: none; margin: 0; }
.ca-page-hero { padding: 12px 0 4px; }
.ca-lead { font-size: 1.16rem; color: var(--ca-ink-2); max-width: 760px; }
.ca-cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 40px 0; }
.ca-cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0; }
.ca-card { border: 1px solid var(--ca-line); border-radius: 5px; padding: 28px; background: #fff; }
.ca-stats-band { display: flex; gap: 48px; flex-wrap: wrap; background: var(--ca-paper); border-radius: 5px; padding: 32px 36px; margin: 40px 0; }
.ca-stats-band strong { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 700; }
.ca-stats-band span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ca-mute); }

/* ---------- Shop / WooCommerce ---------- */
.ca-shop { padding-top: 40px; padding-bottom: 88px; }
.ca-shop-hero { margin-bottom: 40px; }
.ca-shop-hero p { color: var(--ca-mute); max-width: 620px; }
.ca-breadcrumb { font-size: .8rem; color: var(--ca-mute); margin-bottom: 26px; letter-spacing: .03em; text-transform: uppercase; font-family: var(--font-display); }
.ca-breadcrumb a { color: var(--ca-mute); }
.ca-breadcrumb a:hover { color: var(--ca-ink); }
.ca-bc-sep { margin: 0 6px; color: var(--ca-line); }

.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; border: 1px solid var(--ca-line); border-radius: 5px; overflow: hidden; background: #fff; transition: all .18s; padding: 0 !important; display: flex; flex-direction: column; }
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(16,20,24,.1); }
.woocommerce ul.products li.product a img { margin: 0 !important; aspect-ratio: 4/3; object-fit: contain; background: #fff; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-display); font-size: 1rem !important; font-weight: 600; padding: 14px 16px 2px !important; letter-spacing: .01em; text-transform: uppercase; }
.woocommerce ul.products li.product .ca-loop-swatches, .woocommerce ul.products li.product .ca-loop-min { padding: 0 16px; }
.woocommerce ul.products li.product .ca-price, .woocommerce ul.products li.product .price { padding: 6px 16px 8px; margin: 0 !important; }
.woocommerce ul.products li.product .button { margin: auto 16px 16px !important; background: var(--ca-ink); color: #fff; border-radius: 2px; font-family: var(--font-display); font-weight: 600; padding: .6rem 1.3rem; text-align: center; transition: background .15s; }
.woocommerce ul.products li.product .button:hover { background: var(--ca-accent); }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { font-size: .84rem; color: var(--ca-mute); margin-bottom: 22px; }
.woocommerce .woocommerce-ordering select { border: 1.5px solid var(--ca-line); border-radius: 3px; padding: 6px 10px; font-family: inherit; }

/* Category archive title */
.woocommerce-products-header .woocommerce-products-header__title, .ca-shop h1.page-title { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin: 0 0 6px; }
.term-description { color: var(--ca-mute); max-width: 640px; margin-bottom: 34px; }

/* ---------- Single product ---------- */
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); gap: 48px; }
.woocommerce div.product div.images { width: 100% !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.summary { width: 100% !important; float: none !important; margin: 0 !important; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related.products, .woocommerce div.product .up-sells { grid-column: 1 / -1; }
.woocommerce div.product div.images img { border-radius: 5px; border: 1px solid var(--ca-line); }
.woocommerce div.product .product_title { font-size: clamp(1.7rem, 3vw, 2.4rem); text-transform: uppercase; letter-spacing: .01em; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--ca-ink-2); font-size: 1.02rem; }
.woocommerce div.product form.cart { margin: 1.4rem 0; }
.woocommerce div.product form.cart div.quantity { margin-right: 12px; }
.woocommerce div.product form.cart .qty { height: 50px; width: 92px; border: 1.5px solid var(--ca-line); border-radius: 4px; font-size: 1rem; font-family: var(--font-display); font-weight: 600; }
.woocommerce div.product form.cart .button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { background: var(--ca-accent); border-radius: 2px; font-family: var(--font-display); font-weight: 600; font-size: 1rem; padding: .95rem 2.2rem; transition: background .15s; }
.woocommerce div.product form.cart .button:hover { background: var(--ca-accent-dark); }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 3rem 0 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent; border: none; border-radius: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom: 3px solid var(--ca-accent); }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs .panel { padding-top: 1.6rem; }
.related.products > h2, .up-sells > h2 { font-size: 1.5rem; margin: 3rem 0 1.4rem; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--ca-accent); border-radius: 0 0 4px 4px; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--ca-accent); }

/* Cart & checkout */
.woocommerce table.shop_table { border: 1px solid var(--ca-line); border-radius: 5px; border-collapse: separate; }
.woocommerce table.shop_table th { font-family: var(--font-display); }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { border: 1px solid var(--ca-line); border-radius: 5px; padding: 24px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { border: 1.5px solid var(--ca-line); border-radius: 3px; padding: .7rem .85rem; }
#payment { background: var(--ca-paper) !important; border-radius: 5px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.ca-cat-grid, .ca-steps, .ca-cap-grid { grid-template-columns: repeat(2, 1fr); }
	.ca-brandnote-cols { grid-template-columns: 1fr 1fr; }
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
	.ca-footer-inner { grid-template-columns: 1fr 1fr; }
	.woocommerce div.product { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.ca-header-inner { height: 72px; }
	/* Shorter bar, so the logo comes back down to keep the same breathing room:
	   72px bar, 46px mark, 13px of air — the same proportion as desktop. */
	.ca-brand img, .ca-brand .custom-logo, .ca-brand .ca-logo-img { max-height: 46px; }
	.ca-nav { display: none; position: fixed; inset: 72px 0 0 0; background: #fff; padding: 24px; overflow: auto; z-index: 99; }
	body.ca-nav-open .ca-nav { display: block; }
	.ca-menu { flex-direction: column; }
	.ca-menu a { font-size: 1.2rem; padding: 12px 8px; }
	.ca-burger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
	.ca-burger span { width: 22px; height: 2px; background: var(--ca-ink); }
	.ca-action-link { display: none; }
	.ca-header-inner { gap: 12px; justify-content: space-between; }
	.ca-hero { min-height: 72vh; }
	.ca-hero-stats { gap: 24px; }
	.ca-cat-grid, .ca-steps, .ca-cap-grid { grid-template-columns: 1fr; }
	.ca-brandnote-cols { grid-template-columns: 1fr; gap: 18px; }
	.woocommerce ul.products { grid-template-columns: 1fr; }
	.ca-cols-2, .ca-cols-3 { grid-template-columns: 1fr; }
	.ca-footer-inner { grid-template-columns: 1fr; }
	.ca-topbar { font-size: .72rem; }
}

/* ---------- Hero responsive ---------- */
/* Below 1024 the two columns stack. The photo goes under the copy rather than
   above it: the headline is the first thing a phone should render, and a photo
   pushed above it costs the largest-contentful-paint measurement for nothing. */
@media (max-width: 1024px) {
	.ca-hero-grid { grid-template-columns: 1fr; gap: 34px; padding: 30px 24px 44px; }
	.ca-hero-visual { margin-top: 0; }
	/* No aspect-ratio override here any more. This block used to step the frame
	   through 21/10, then 9/5, then 8/5 on the narrowest phones, each step
	   opening a taller band of white above the roofline so the caption plate had
	   somewhere to sit. The base rule is now the photograph's own ratio, so
	   there is no band to tune at any width and the building fills its card on
	   every screen. The caption plate is dark with light text and reads over the
	   photograph itself. */
	.ca-hero-media { min-height: 0; }
	.ca-hero-ctas { margin-bottom: 30px; }
}
@media (max-width: 600px) {
	.ca-hero-media { border-radius: 5px; }
	.ca-hero-stats { gap: 26px 34px; }
	/* Two by two rather than four across. On a 375px phone four tiles are 74px
	   wide, which is narrower than the label under them and small enough that a
	   group shot of thirty decals turns into confetti. Two rows of two gives each
	   photograph about 160px, which is the point where you can still tell a
	   diploma cover from a safety manual. */
	.ca-hero-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* Two catalogue tiles side by side leave ~24 characters each on a phone —
	   the labels ellipsize into noise. Stacked, each keeps its whole name. */
	.ca-hero-brochs { grid-template-columns: 1fr; }
}

/* ---------- Header v2: dropdown nav ---------- */
.ca-menu { align-items: center; }
.ca-menu > li { position: relative; list-style: none; }
.ca-menu a { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.ca-has-dd > a svg { transition: transform .15s; color: var(--ca-mute); }
.ca-has-dd:hover > a svg, .ca-has-dd:focus-within > a svg { transform: rotate(180deg); color: var(--ca-accent); }
.ca-dd { position: absolute; top: 100%; left: -12px; padding-top: 14px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .16s ease; z-index: 200; }
.ca-has-dd:hover .ca-dd, .ca-has-dd:focus-within .ca-dd { opacity: 1; visibility: visible; transform: none; }
.ca-dd-grid { background: #fff; border: 1px solid var(--ca-line); border-radius: 5px 5px 0 0; box-shadow: 0 10px 30px rgba(16,20,24,.1); padding: 14px; display: grid; grid-template-columns: repeat(2, 250px); gap: 4px; }
.ca-dd-item { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 3px; font-size: .9rem; font-weight: 500; color: var(--ca-ink); }
.ca-dd-item:hover { background: var(--ca-paper); color: var(--ca-ink); }
.ca-dd-thumb { width: 42px; height: 34px; border-radius: 2px; background-size: cover; background-position: center; background-color: var(--ca-paper); flex: none; border: 1px solid var(--ca-line); }
.ca-dd-name { line-height: 1.25; }
.ca-dd-all { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--ca-ink); color: #fff !important; padding: 12px; font-family: var(--font-display); font-weight: 600; font-size: .88rem; border-radius: 0 0 5px 5px; }
.ca-dd-all:hover { background: var(--ca-accent); }
@media (max-width: 760px) {
	.ca-dd { position: static; opacity: 1; visibility: visible; transform: none; padding-top: 4px; display: none; }
	.ca-has-dd:hover .ca-dd, .ca-has-dd:focus-within .ca-dd { display: block; }
	.ca-dd-grid { grid-template-columns: 1fr; border-radius: 4px; box-shadow: none; }
	.ca-dd-all { border-radius: 4px; margin-top: 6px; }
}

/* ---------- Industries dropdown + nav polish ---------- */
.ca-dd { display: flex; flex-direction: column; }
.ca-dd-grid { min-width: max-content; }
.ca-dd-all { width: 100%; }
.ca-dd-industries { grid-template-columns: repeat(2, 235px); border-radius: 5px; }
.ca-dd-industries .ca-dd-item { padding: 10px 12px; }
.ca-dd-dot { width: 7px; height: 7px; border-radius: 50%; background: #9aa1a8; flex: none; }
/* The header-logo override that used to sit here is gone. It was a later
   duplicate of the rule at the top of the file and silently won the cascade,
   which is why header sizing appeared not to respond to edits. Header size is
   set in exactly one place now — search .ca-brand .ca-logo-img. */
/* The footer sits on a dark panel with room to spare, so the reversed lockup
   runs larger there — it is the one place the full trading name is legible.
   Scoped to .ca-footer-brand so it stays out of the header. */
.ca-footer-brand .ca-logo-img { max-height: 78px; width: auto; }
@media (max-width: 760px) { .ca-dd-industries { grid-template-columns: 1fr; } }

/* Products-dropdown footer: three routes on one dark bar.
   The first link is the primary action and keeps the full weight; the two
   secondary links are lighter so the bar reads as one action plus two
   alternatives rather than three competing buttons. Specificity here (0,2,0)
   intentionally beats the plain .ca-dd-all rules above, including the ones
   inside the 760px query, so the corner radii stay on the bar and not on each
   individual link. */
.ca-dd-foot { display: flex; border-radius: 0 0 5px 5px; overflow: hidden; }
.ca-dd-foot .ca-dd-all { border-radius: 0; margin-top: 0; flex: 1 1 auto; white-space: nowrap; padding: 12px 14px; }
.ca-dd-foot .ca-dd-alt { flex: 0 1 auto; font-weight: 500; box-shadow: inset 1px 0 0 rgba(255,255,255,.18); }
@media (max-width: 760px) {
	.ca-dd-foot { flex-direction: column; border-radius: 4px; margin-top: 6px; }
	.ca-dd-foot .ca-dd-alt { box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
}

/* ---------- Trade pricing UI ---------- */
.ca-trade-pill { background: #103b1e; color: #b7f0c6; font-family: var(--font-display); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 2px; white-space: nowrap; }
.ca-login-link { font-size: .82rem; color: var(--ca-mute); white-space: nowrap; }
.ca-login-link:hover { color: var(--ca-ink); }
.ca-dist-badge { font-style: normal; background: #103b1e; color: #b7f0c6; font-size: .68rem; font-weight: 700; letter-spacing: .08em; padding: 3px 10px; border-radius: 2px; margin-left: 8px; vertical-align: middle; }

/* ---------- Products dropdown: compact 3-column, height-capped ---------- */
.ca-dd-grid { grid-template-columns: repeat(3, 218px); gap: 2px; padding: 12px; max-height: 66vh; overflow-y: auto; }
.ca-dd-item { padding: 7px 10px; font-size: .84rem; gap: 10px; }
.ca-dd-thumb { width: 36px; height: 30px; border-radius: 2px; }
.ca-dd-industries { grid-template-columns: repeat(2, 235px); max-height: none; }
@media (max-width: 900px) { .ca-dd-grid { grid-template-columns: repeat(2, 220px); } }
@media (max-width: 760px) { .ca-dd-grid, .ca-dd-industries { grid-template-columns: 1fr; max-height: none; } }

/* ---------- Touch & phone dropdowns (tap to open) ---------- */
@media (max-width: 760px) {
	.ca-nav .ca-dd { display: none; position: static; opacity: 1; visibility: visible; transform: none; padding-top: 4px; }
	.ca-nav .ca-has-dd.is-open .ca-dd { display: flex; flex-direction: column; }
	.ca-nav .ca-has-dd:not(.is-open):hover .ca-dd { display: none; }
	.ca-nav .ca-dd-grid, .ca-nav .ca-dd-industries { grid-template-columns: 1fr; max-height: none; min-width: 0; width: 100%; }
	.ca-nav .ca-has-dd.is-open > a svg { transform: rotate(180deg); color: var(--ca-accent); }
}
@media (hover: none) and (min-width: 761px) {
	.ca-nav .ca-has-dd:not(.is-open):hover .ca-dd { opacity: 0; visibility: hidden; }
	.ca-nav .ca-has-dd.is-open .ca-dd { opacity: 1; visibility: visible; transform: none; }
	.ca-nav .ca-has-dd.is-open > a svg { transform: rotate(180deg); color: var(--ca-accent); }
}

/* ---------- Dropdown: full category names, never clipped ---------- */
.ca-menu .ca-dd-item { white-space: normal; }
.ca-dd-grid { grid-template-columns: repeat(3, 244px); }
@media (max-width: 900px) { .ca-dd-grid { grid-template-columns: repeat(2, 236px); } }
@media (max-width: 760px) { .ca-dd-grid { grid-template-columns: 1fr; } }
.ca-dd-industries { grid-template-columns: repeat(2, 258px); }
@media (max-width: 760px) { .ca-dd-industries { grid-template-columns: 1fr; } }
/* Dropdown thumbs: show the whole product photo, never a tight crop */
.ca-dd-thumb { background-size: contain; background-repeat: no-repeat; background-position: center; background-color: #fff; }

/* ---------- Phone menu fix: backdrop-filter on the header hijacks position:fixed
   for the slide-down nav panel (it becomes the containing block). Disable the blur
   on small screens so the menu panel can actually cover the viewport. ---------- */
@media (max-width: 760px) {
	.ca-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
	.ca-nav { z-index: 999; }
}

/* ---------- Never let anything widen the page beyond the phone screen ---------- */
html, body { overflow-x: clip; }
@media (max-width: 760px) {
	.ca-main, .ca-header, .ca-topbar, .ca-footer { max-width: 100vw; }
}

/* ---------- Header search ---------- */
.ca-search { position: relative; display: flex; align-items: center; margin-left: auto; }
.ca-search-btn { background: none; border: none; cursor: pointer; padding: 8px; color: var(--ca-ink); display: inline-flex; border-radius: 3px; }
.ca-search-btn:hover { background: var(--ca-paper); color: var(--ca-accent); }
.ca-search-form { width: 0; overflow: hidden; transition: width .18s ease; }
.ca-search.is-open .ca-search-form { width: 240px; }
.ca-search-input { width: 100%; border: 1.5px solid var(--ca-line); border-radius: 2px; padding: .5rem 1rem; font-size: .88rem; font-family: inherit; }
.ca-search-input:focus { outline: none; border-color: var(--ca-accent); }
.ca-search-results { position: absolute; top: calc(100% + 10px); right: 0; width: 380px; max-height: 70vh; overflow-y: auto; background: #fff; border: 1px solid var(--ca-line); border-radius: 5px; box-shadow: 0 24px 60px rgba(16,20,24,.16); z-index: 300; }
.ca-sr-item { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid #f1efe9; color: var(--ca-ink); }
.ca-sr-item:hover { background: var(--ca-paper); }
.ca-sr-thumb { width: 52px; height: 42px; flex: none; border-radius: 3px; background: #fff center/contain no-repeat; border: 1px solid var(--ca-line); }
.ca-sr-title { display: block; font-weight: 600; font-size: .86rem; line-height: 1.25; }
.ca-sr-meta { display: block; font-size: .75rem; color: var(--ca-mute); margin-top: 2px; }
.ca-sr-all { display: block; text-align: center; padding: 12px; font-weight: 700; font-size: .85rem; color: var(--ca-accent); }
.ca-sr-empty { padding: 18px 16px; font-size: .86rem; color: var(--ca-mute); }
@media (max-width: 760px) {
	.ca-search { position: static; margin-left: 0; }
	.ca-search.is-open .ca-search-form { width: 150px; }
	.ca-search-results { left: 12px; right: 12px; width: auto; top: 130px; position: fixed; }
}

/* ---------- Phone: let product-page columns shrink so nothing is cut off ----------
   Grid/flex children default to min-width:auto, so a wide pricing table was forcing
   the whole layout wider than the screen. Allow shrinking; the table then scrolls
   inside its own wrapper as intended. ---------- */
.woocommerce div.product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.woocommerce div.product > *, .woocommerce div.product .summary, .woocommerce div.product .entry-summary { min-width: 0; }
@media (max-width: 1024px) {
	.woocommerce div.product { grid-template-columns: minmax(0, 1fr); }
}
.ca-main { min-width: 0; }

/* ---- Currency switcher ---- */
.ca-cur { position: relative; }
.ca-cur-btn { display: inline-flex; align-items: center; gap: 5px; background: none; border: 1px solid var(--ca-line); border-radius: 2px; padding: 6px 12px; font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .04em; color: var(--ca-ink); cursor: pointer; transition: border-color .15s; }
.ca-cur-btn:hover { border-color: #b9bec3; }
.ca-cur-menu { position: absolute; top: calc(100% + 8px); right: 0; background: #fff; border: 1px solid var(--ca-line); border-radius: 4px; box-shadow: 0 16px 44px rgba(16,20,24,.14); padding: 6px; min-width: 190px; display: none; z-index: 300; }
.ca-cur.is-open .ca-cur-menu { display: block; }
.ca-cur-menu button { display: flex; align-items: baseline; gap: 8px; width: 100%; background: none; border: 0; border-radius: 3px; padding: 9px 11px; font-family: var(--font-display); font-weight: 600; font-size: .84rem; color: var(--ca-ink); cursor: pointer; text-align: left; }
.ca-cur-menu button em { font-style: normal; font-weight: 400; font-size: .76rem; color: var(--ca-mute); }
.ca-cur-menu button:hover { background: var(--ca-paper); }
.ca-cur-menu button.is-active { background: var(--ca-paper); box-shadow: inset 0 0 0 1.5px var(--ca-accent); }
@media (max-width: 760px) { .ca-cur-btn { padding: 5px 10px; } .ca-cur-menu { right: auto; left: 0; } }

/* ---- Phone header: logo keeps its size, text links collapse into the menu ---- */
@media (max-width: 760px) {
	.ca-brand { flex: none; }
	/* Was a hard 40px here and 44px in the earlier 760px block — two rules for
	   one breakpoint, disagreeing. One value now, matching that block, and no
	   fixed `height` so the near-square lockup keeps its aspect. */
	.ca-brand img, .ca-brand .custom-logo, .ca-brand .ca-logo-img { max-height: 46px; width: auto; max-width: none; }
	.ca-header-actions { gap: 10px; }
	.ca-header-actions .ca-action-link, .ca-header-actions .ca-login-link, .ca-header-actions .ca-trade-pill { display: none; }
}

.ca-dd-ico { width: 36px; height: 36px; border-radius: 3px; background: var(--ca-paper); color: var(--ca-ink-2); display: flex; align-items: center; justify-content: center; flex: none; }
.ca-dd-item:hover .ca-dd-ico { background: var(--ca-ink); color: #fff; }

/* ============================================================
   Category archives — intro copy, spec tables, FAQ
   ============================================================ */
/* The reference block sits BELOW the product grid, so it needs a clear rule
   separating it from the products and a calmer visual weight than the grid. */
.ca-cat-seo {
	margin: 72px 0 0;
	padding-top: 52px;
	border-top: 1px solid var(--ca-line);
}
.ca-cat-seo .ca-cat-intro .ca-section-head { margin-bottom: 20px; }
.ca-cat-seo .ca-cat-faq:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.ca-cat-intro { max-width: 900px; margin: 0 0 42px; }
.ca-cat-lead {
	font-family: var(--font-display);
	font-size: clamp(1.05rem, 2vw, 1.32rem);
	line-height: 1.45;
	font-weight: 500;
	color: var(--ca-ink);
	margin: 0 0 22px;
	padding-left: 18px;
	border-left: 3px solid var(--ca-accent);
}
.ca-cat-copy p { margin: 0 0 15px; color: var(--ca-ink-2); font-size: .97rem; line-height: 1.72; }
.ca-cat-copy p:last-child { margin-bottom: 0; }
.ca-cat-copy strong { color: var(--ca-ink); font-weight: 600; }
.ca-cat-copy em { font-style: italic; }

.ca-cat-specs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 20px;
	margin-top: 30px;
}
.ca-spec-block {
	background: var(--ca-paper);
	border: 1px solid var(--ca-line);
	border-radius: 3px;
	padding: 22px 24px;
}
.ca-spec-block h3 {
	font-size: .78rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ca-mute);
	font-weight: 600;
	margin: 0 0 14px;
}
.ca-spec-block dl { margin: 0; }
.ca-spec-block dl > div {
	display: grid;
	grid-template-columns: minmax(120px, 34%) 1fr;
	gap: 14px;
	padding: 9px 0;
	border-top: 1px solid var(--ca-line);
}
.ca-spec-block dl > div:first-child { border-top: 0; padding-top: 0; }
.ca-spec-block dt { font-weight: 600; color: var(--ca-ink); font-size: .87rem; }
.ca-spec-block dd { margin: 0; color: var(--ca-ink-2); font-size: .87rem; line-height: 1.55; }
@media (max-width: 560px) {
	.ca-spec-block dl > div { grid-template-columns: 1fr; gap: 3px; }
}

.ca-cat-faq {
	margin: 56px 0 8px;
	padding-top: 44px;
	border-top: 1px solid var(--ca-line);
}
.ca-cat-faq .ca-section-head { margin-bottom: 26px; }
.ca-cat-faq .ca-section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.ca-faq-list { max-width: 900px; border-top: 1px solid var(--ca-line); }
.ca-faq-item { border-bottom: 1px solid var(--ca-line); }
.ca-faq-item > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	cursor: pointer;
	list-style: none;
	padding: 18px 2px;
	transition: color .15s ease;
}
.ca-faq-item > summary::-webkit-details-marker { display: none; }
.ca-faq-item > summary h3 {
	margin: 0;
	font-size: 1.02rem;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.005em;
}
.ca-faq-item > summary svg { flex: none; color: var(--ca-mute); transition: transform .2s ease; }
.ca-faq-item[open] > summary svg { transform: rotate(180deg); color: var(--ca-accent); }
.ca-faq-item > summary:hover h3 { color: var(--ca-accent); }
.ca-faq-a { padding: 0 40px 20px 2px; }
.ca-faq-a p { margin: 0; color: var(--ca-ink-2); font-size: .95rem; line-height: 1.72; }
.ca-faq-cta { margin: 26px 0 0; font-size: .92rem; color: var(--ca-mute); }
.ca-cat-related { margin: 22px 0 0; font-size: .9rem; color: var(--ca-ink-2); }
.ca-cat-related span { font-weight: 600; color: var(--ca-ink); }
.ca-cat-related em { font-style: normal; color: var(--ca-line); margin: 0 4px; }

/* ============================================================
   Guides — the /guides/ answer hub
   ------------------------------------------------------------
   A guide is a reading page, not a selling page, so the measure is
   narrower than the rest of the site (68ch) and the type is set for
   sustained reading rather than scanning. Everything reuses the
   established tokens and the .ca-spec-block / .ca-faq-item patterns
   so a guide never looks like it came from a different site.
   ============================================================ */

/* ---------- Hero, byline, lead ---------- */
.ca-guide-hero { padding: 24px 0 4px; max-width: 900px; }
.ca-guide-hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin-bottom: .28em; }

.ca-guide-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 26px;
	font-family: var(--font-display);
	font-size: .8rem;
	letter-spacing: .04em;
	color: var(--ca-mute);
}
.ca-guide-meta em { font-style: normal; color: var(--ca-line); }

/* General sibling, not adjacent: wpautop is free to drop an empty paragraph
   between the byline and the lead and this still has to hold. */
.ca-guide-hero ~ .ca-lead {
	font-family: var(--font-display);
	font-size: clamp(1.08rem, 2vw, 1.32rem);
	line-height: 1.5;
	font-weight: 500;
	color: var(--ca-ink);
	max-width: 820px;
	margin: 0 0 34px;
	padding-left: 18px;
	border-left: 3px solid var(--ca-accent);
}

/* ---------- Table of contents ---------- */
/* Real anchors to real headings — deep-linkable, and useful on a long page. */
.ca-guide-toc {
	background: var(--ca-paper);
	border: 1px solid var(--ca-line);
	border-radius: 4px;
	padding: 24px 28px 22px;
	margin: 0 0 44px;
	max-width: 720px;
}
.ca-guide-toc .ca-eyebrow { margin-bottom: 12px; }
.ca-guide-toc ol {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: ca-toc;
}
.ca-guide-toc li {
	counter-increment: ca-toc;
	padding: 6px 0;
	border-top: 1px solid var(--ca-line);
}
.ca-guide-toc li:first-child { border-top: 0; padding-top: 0; }
.ca-guide-toc li::before {
	content: counter(ca-toc, decimal-leading-zero);
	display: inline-block;
	width: 30px;
	font-family: var(--font-display);
	font-size: .74rem;
	font-weight: 600;
	color: var(--ca-mute);
	letter-spacing: .06em;
}
.ca-guide-toc a {
	color: var(--ca-ink-2);
	font-size: .93rem;
	line-height: 1.5;
	transition: color .15s ease;
}
.ca-guide-toc a:hover { color: var(--ca-accent); }

/* ---------- Body copy ---------- */
.ca-guide-body { max-width: 68ch; }
.ca-guide-body h2 {
	font-size: clamp(1.35rem, 2.6vw, 1.85rem);
	margin: 52px 0 18px;
	padding-top: 12px;
	scroll-margin-top: 96px;
}
.ca-guide-body h2:first-child { margin-top: 0; padding-top: 0; }
.ca-guide-body h3 {
	font-size: 1.05rem;
	margin: 30px 0 10px;
	scroll-margin-top: 96px;
}
.ca-guide-body p {
	margin: 0 0 17px;
	color: var(--ca-ink-2);
	font-size: 1rem;
	line-height: 1.78;
}
.ca-guide-body strong { color: var(--ca-ink); font-weight: 600; }
.ca-guide-body em { font-style: italic; }
.ca-guide-body a { color: var(--ca-accent); text-decoration: underline; text-underline-offset: 2px; }
.ca-guide-body a:hover { color: var(--ca-accent-dark); }
.ca-guide-body ul,
.ca-guide-body ol { margin: 0 0 20px; padding-left: 22px; }
.ca-guide-body li {
	margin: 0 0 9px;
	color: var(--ca-ink-2);
	font-size: 1rem;
	line-height: 1.7;
}
.ca-guide-body li::marker { color: var(--ca-mute); }
/* A pull-out for the "here is what we will not claim" paragraphs — the whole
   editorial point of these pages is that the honest answer gets the emphasis. */
.ca-guide-body blockquote {
	margin: 26px 0;
	padding: 20px 24px;
	background: var(--ca-paper);
	border-left: 3px solid var(--ca-gold);
	border-radius: 0 3px 3px 0;
}
.ca-guide-body blockquote p { margin: 0; color: var(--ca-ink); font-size: .97rem; }

/* ---------- Spec blocks ---------- */
/* Same card as the category archives, just laid out for a reading page. */
.ca-guide-specs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 20px;
	margin: 56px 0 0;
	padding-top: 48px;
	border-top: 1px solid var(--ca-line);
}
/* A guide that only has one spec block should not stretch it across the full
   1240px container while the prose above it stops at 68ch — the mismatched
   right edge reads as a mistake. Two or more blocks earn the extra width. */
.ca-guide-specs:has(> .ca-spec-block:only-child) { max-width: 68ch; }

/* ---------- FAQ ---------- */
.ca-guide-faq {
	margin: 56px 0 0;
	padding-top: 46px;
	border-top: 1px solid var(--ca-line);
	scroll-margin-top: 96px;
}
.ca-guide-faq .ca-section-head { margin-bottom: 24px; }
.ca-guide-faq .ca-section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0; }

/* ---------- Related: categories this guide is about ---------- */
.ca-guide-rel { margin: 52px 0 0; padding-top: 44px; border-top: 1px solid var(--ca-line); }
.ca-guide-rel .ca-eyebrow { margin-bottom: 16px; }

.ca-guide-cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 14px;
}
.ca-guide-cat {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px;
	border: 1px solid var(--ca-line);
	border-radius: 4px;
	background: #fff;
	transition: border-color .15s ease, transform .15s ease;
}
.ca-guide-cat:hover { border-color: var(--ca-accent); transform: translateY(-2px); }
.ca-guide-cat strong {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 600;
	color: var(--ca-ink);
	line-height: 1.25;
}
.ca-guide-cat span { font-size: .78rem; letter-spacing: .04em; color: var(--ca-mute); }
.ca-guide-cat:hover span { color: var(--ca-accent); }

/* ---------- Read next / before you order ---------- */
.ca-guide-next-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}
.ca-guide-next {
	display: flex;
	flex-direction: column;
	padding: 22px 24px;
	border: 1px solid var(--ca-line);
	border-radius: 5px;
	background: var(--ca-paper);
	transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.ca-guide-next:hover { border-color: var(--ca-accent); background: #fff; transform: translateY(-2px); }
.ca-guide-next .ca-eyebrow { font-size: .68rem; margin-bottom: 10px; }
.ca-guide-next strong {
	font-family: var(--font-display);
	font-size: 1.02rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ca-ink);
	margin-bottom: 10px;
}
.ca-guide-next em {
	font-style: normal;
	font-size: .78rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ca-mute);
	margin-top: auto;
}
.ca-guide-allink { margin: 18px 0 0; font-size: .9rem; }
.ca-guide-allink a { color: var(--ca-accent); font-family: var(--font-display); font-weight: 600; }

/* ---------- Closing CTA ---------- */
.ca-guide-cta {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 36px;
	align-items: center;
	margin: 56px 0 0;
	padding: 40px 44px;
	background: var(--ca-ink);
	border-radius: 7px;
}
.ca-guide-cta .ca-eyebrow { color: #9dc1f5; }
.ca-guide-cta h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.95rem); margin-bottom: .4em; }
.ca-guide-cta p { margin: 0; color: rgba(255,255,255,.72); font-size: .95rem; line-height: 1.7; }
.ca-guide-cta-act {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}
.ca-guide-cta-act .ca-btn { background: #fff; color: var(--ca-ink) !important; }
.ca-guide-cta-act .ca-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.ca-guide-cta-act span { font-size: .82rem; color: rgba(255,255,255,.6); letter-spacing: .02em; }

/* ---------- Index grid ---------- */
.ca-guide-index {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 18px;
	margin: 36px 0 0;
}
.ca-guide-card {
	display: flex;
	flex-direction: column;
	padding: 28px 30px;
	border: 1px solid var(--ca-line);
	border-radius: 5px;
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.ca-guide-card:hover {
	border-color: var(--ca-accent);
	box-shadow: 0 12px 32px rgba(16,20,24,.07);
	transform: translateY(-3px);
}
.ca-guide-card .ca-eyebrow { font-size: .68rem; margin-bottom: 12px; }
.ca-guide-card h3 {
	font-size: 1.18rem;
	line-height: 1.28;
	margin: 0 0 12px;
	color: var(--ca-ink);
}
.ca-guide-card p {
	margin: 0 0 22px;
	color: var(--ca-ink-2);
	font-size: .92rem;
	line-height: 1.65;
}
.ca-guide-card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--ca-line);
}
.ca-guide-card-foot em {
	font-style: normal;
	font-size: .74rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ca-mute);
}
.ca-guide-card-foot i {
	font-style: normal;
	font-family: var(--font-display);
	font-size: .84rem;
	font-weight: 600;
	color: var(--ca-accent);
}

/* ---------- Guide links on a category archive ---------- */
/* Sits below the product grid, after the reference copy, per the placement
   rule for everything editorial on a category page. */
.ca-cat-guides {
	margin: 52px 0 0;
	padding-top: 44px;
	border-top: 1px solid var(--ca-line);
}
.ca-cat-guides .ca-eyebrow { margin-bottom: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
	.ca-guide-cta { grid-template-columns: 1fr; gap: 26px; padding: 32px 28px; }
}
@media (max-width: 640px) {
	.ca-guide-toc { padding: 20px 22px; }
	.ca-guide-body { max-width: none; }
	.ca-guide-body h2 { margin-top: 40px; }
	.ca-guide-card { padding: 24px 22px; }
	.ca-guide-meta { gap: 6px; font-size: .76rem; }
}
