/* TECMA 0.26: shared layout, typography and responsive media rules. */
:root {
  --blue:#0047ab; --ink:#162633; --muted:#53616d; --line:#d8dfe5;
  --pale:#f1f4f7; --white:#fff; --max:1200px; --gutter:32px;
  --type-display:2.25rem; --type-section:1.75rem;
  --type-body:1rem; --type-note:.875rem;
  --layout-gap:32px; --photo-width:480px;
  --diagram-width:320px; --support-width:260px; --icon-width:140px;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--ink); background:var(--white); font-synthesis:none;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:24px; scrollbar-gutter:stable; }
body { margin:0; font-size:var(--type-body); line-height:1.55; }
a { color:inherit; text-decoration-thickness:1px; text-underline-offset:4px; }
a:hover { color:var(--blue); }
a:focus-visible { outline:3px solid #ffbd36; outline-offset:4px; }
button,input { font:inherit; }
img { display:block; max-width:100%; height:auto; }
h1,h2,h3,p { margin-top:0; }
h1,h2,h3 { font-weight:600; letter-spacing:-.02em; }
h1 { font-size:var(--type-display); line-height:1.15; margin-bottom:16px; }
h2,.media-title { font-size:var(--type-section); line-height:1.2; margin-bottom:16px; }
h3 { font-size:var(--type-body); line-height:1.35; margin-bottom:8px; }
h3.media-title { font-size:var(--type-section); line-height:1.2; margin-bottom:16px; }
p { margin-bottom:16px; }
strong { font-weight:600; }
.wrap { width:min(var(--max),calc(100% - var(--gutter)*2)); margin:auto; }
.skip { position:absolute; top:-100px; left:20px; background:white; padding:10px; z-index:5; }
.skip:focus { top:8px; }
.page-anchor { scroll-margin-top:24px; }

/* Header geometry is shared by every page, including Contact. */
.review { background:var(--pale); border-bottom:1px solid var(--line); font-size:var(--type-note); text-align:center; padding:5px 16px; color:var(--muted); }
.site-header { border-bottom:1px solid var(--line); }
.header-inner { display:flex; align-items:center; gap:28px; padding:18px 0; }
.logo { display:block; width:180px; flex-shrink:0; }
.main-nav { display:flex; gap:24px; margin-left:auto; font-size:var(--type-note); }
.main-nav a { text-decoration:none; white-space:nowrap; }
.main-nav a[aria-current=page] { color:var(--blue); }
.languages { display:flex; align-items:center; gap:10px; font-size:var(--type-note); padding-left:20px; border-left:1px solid var(--line); }
.languages span { font-weight:600; color:var(--blue); }
.languages a { color:var(--muted); text-decoration:none; }
.breadcrumb { font-size:var(--type-note); color:var(--muted); padding-top:18px; margin-bottom:20px; }
.breadcrumb a { text-decoration:none; }
.breadcrumb span { margin:0 8px; }
.eyebrow,.section-number { color:var(--blue); font-size:var(--type-note); font-weight:600; letter-spacing:.045em; }
.eyebrow { text-transform:uppercase; margin-bottom:12px; }
.section-number { display:block; margin-bottom:12px; }

/* Shared photographic composition: copy left, the same photo column right.
   Photographs keep their native proportions; no crops or forced heights. */
.hero,.media-layout {
  display:grid; grid-template-columns:minmax(0,1fr) var(--photo-width);
  gap:var(--layout-gap); align-items:start;
}
.hero { padding-bottom:32px; }
.media-copy { min-width:0; }
.media-copy p { color:var(--muted); }
.media-copy>p:last-child { margin-bottom:0; }
.photo { margin:0; width:var(--photo-width); max-width:100%; }
.actual-photo picture,.actual-photo img { display:block; width:100%; height:auto; }
.hardware-photo { width:var(--photo-width); max-width:100%; }
figcaption { font-size:var(--type-note); color:var(--muted); padding-top:8px; }
.hero .lead,.hero-value { font-size:var(--type-body); max-width:40em; }
.hero-value { color:var(--muted); }
.button-row { display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin-top:24px; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 16px; background:var(--blue); color:white; border:1px solid var(--blue); text-decoration:none; font-size:var(--type-note); font-weight:600; line-height:1.4; }
.button:hover { background:#003986; color:white; }
.button.secondary { background:white; color:var(--ink); border-color:var(--line); }
.button.secondary:hover { border-color:var(--blue); color:var(--blue); }
.text-link { font-size:var(--type-note); font-weight:600; }
.cgl-hero { grid-template-areas:"intro photo" "offers offers" "evidence evidence"; row-gap:24px; }
.hero-intro { grid-area:intro; }
.cgl-hero>.photo { grid-area:photo; }
.hero-services { grid-area:offers; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--layout-gap); margin:0; padding:0; }
.hero-services>div { border-top:2px solid var(--blue); padding-top:12px; }
.hero-services dt { font-size:var(--type-body); line-height:1.35; font-weight:600; margin-bottom:8px; }
.hero-services dd { font-size:var(--type-body); color:var(--muted); margin:0; }
.hero-evidence { display:grid; gap:var(--layout-gap); border-top:1px solid var(--line); padding-top:16px; margin:0; color:var(--muted); font-size:var(--type-body); }
.cgl-hero .hero-evidence { grid-area:evidence; grid-template-columns:repeat(3,minmax(0,1fr)); }
.hero-evidence strong { display:block; color:var(--ink); font-size:var(--type-body); line-height:1.35; margin-bottom:8px; }

/* Section and supporting-information rhythm. */
.section { padding:40px 0; border-top:1px solid var(--line); }
.section-head { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 var(--layout-gap); margin-bottom:24px; align-items:start; }
.section-head>.section-number { grid-column:1/-1; }
.section-head h2 { grid-column:1; margin-bottom:0; }
.section-head>p { grid-column:2/-1; color:var(--muted); margin:0; }
.feature-rule,.routes { border-top:1px solid var(--line); padding-top:16px; margin-top:24px; }
.component-scope { display:grid; grid-template-columns:minmax(0,1fr) var(--support-width); gap:var(--layout-gap); align-items:start; }
.component-copy { min-width:0; }
.component-copy>p { color:var(--muted); margin-bottom:16px; max-width:65em; }
.supporting { margin-top:16px; }
.supporting p { margin:0; color:var(--muted); max-width:65em; }
.pot-arrangement { margin:0; width:var(--support-width); max-width:100%; }
.pot-arrangement .technical-graphic { max-width:var(--support-width); margin:0; }
.process { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 var(--layout-gap); margin:0; padding:0; list-style:none; }
.process li { border-top:1px solid var(--line); padding:16px 0; }
.process .num { display:block; font-size:var(--type-note); color:var(--blue); margin-bottom:8px; }
.process .step { font-size:var(--type-body); line-height:1.35; font-weight:600; display:block; }
.step-detail { color:var(--muted); font-size:var(--type-body); margin:8px 0 0; }

/* Identical graphic canvas widths, separate from photographic and icon sizes. */
.geometry-composition { margin-bottom:24px; }
.geometry-copy>p { margin-bottom:16px; }
.geometry-summary { margin:0; }
.geometry-summary>div { padding:12px 0; border-top:1px solid var(--line); }
.geometry-summary>div:last-child { padding-bottom:0; }
.geometry-summary dt { font-weight:600; line-height:1.35; margin-bottom:8px; }
.geometry-summary dd { margin:0; color:var(--muted); }
.technical-graphic { display:block; width:100%; max-width:var(--diagram-width); height:auto; margin:0 auto; }
.schematic { margin:0; }
.groove-options,.crown-options,.coating-benefits,.inspection-evidence,.development-options {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--layout-gap);
}
.groove-options>div { border-top:1px solid var(--line); padding-top:16px; display:grid; grid-template-rows:minmax(44px,auto) auto; gap:12px; align-content:start; }
.groove-options h3 { margin:0; }
.groove-options .technical-graphic,.crown-options .technical-graphic { max-width:var(--diagram-width); }
.groove-options figcaption,.crown-options figcaption { min-height:44px; }
.graphic-labels { font-size:var(--type-note); color:var(--muted); }
.geometry-details { margin-top:24px; }
.geometry-details>h3 { margin-bottom:16px; }
.crown-options .schematic { border-top:1px solid var(--line); padding-top:16px; display:grid; grid-template-rows:minmax(44px,auto) auto auto; gap:12px; align-content:start; }
.crown-options h3 { font-size:var(--type-body); margin:0; }
.crown-options figcaption { padding-top:0; }
.diagram-note { font-size:var(--type-note); color:var(--muted); margin:16px 0 0; }
.coating-benefits { margin-top:24px; }
.coating-benefits>div,.inspection-col,.development-options>div { border-top:1px solid var(--line); padding-top:16px; }
.coating-benefits p { color:var(--muted); margin:0; }

/* Finishing is one subsection and one five-row comparison, never split
   around an image. Its introduction uses the same photo/copy composition. */
.finish-options { margin-top:32px; padding-top:32px; border-top:1px solid var(--line); }
.finish-comparison { margin:24px 0 0; }
.finish-comparison>div {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2fr);
  column-gap:var(--layout-gap); border-top:1px solid var(--line); padding:12px 0;
}
.finish-comparison>div:last-child { border-bottom:1px solid var(--line); }
.finish-comparison dt { font-size:var(--type-body); font-weight:600; line-height:1.35; margin:0; }
.finish-comparison dd { font-size:var(--type-body); margin:0; color:var(--muted); }

/* Hardware selection and compact explanatory support. */
.hardware-items { margin:16px 0; padding:0; list-style:none; }
.hardware-items li { border-bottom:1px solid var(--line); padding:8px 0; font-size:var(--type-body); }
.alloy-selection { margin-top:24px; }
.technical-table { width:100%; border-collapse:collapse; text-align:left; font-size:var(--type-body); margin-top:16px; }
.technical-table th { font-size:var(--type-note); color:var(--muted); font-weight:600; padding:12px 12px 12px 0; border-bottom:1px solid var(--line); }
.technical-table td { padding:12px 12px 12px 0; border-bottom:1px solid var(--line); vertical-align:top; color:var(--muted); }
.alloy-table { table-layout:fixed; }
.alloy-table th:first-child { width:20%; }
.alloy-table tbody th { color:var(--ink); font-size:var(--type-body); vertical-align:top; }
.alloy-family { display:block; font-size:var(--type-note); font-weight:400; color:var(--muted); margin-top:8px; }
.wear-bands>h3 { margin-bottom:16px; }
.band-content { display:grid; grid-template-columns:var(--support-width) minmax(0,560px); gap:24px; align-items:center; }
.band-visual { margin:0; width:var(--support-width); max-width:100%; }
.band-visual .technical-graphic { max-width:var(--support-width); margin:0; }
.band-copy { min-width:0; }
.band-copy p { margin:0; color:var(--muted); }
.manufacturing-routes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--layout-gap); margin-top:16px; align-items:start; }
.route-option { display:grid; grid-template-columns:var(--icon-width) minmax(0,1fr); grid-template-rows:auto auto; gap:8px 16px; align-content:start; }
.route-option>h3 { grid-column:2; grid-row:1; margin:0; }
.route-option>p { grid-column:2; grid-row:2; margin:0; color:var(--muted); }
.route-illustration { grid-column:1; grid-row:1/3; margin:0; width:var(--icon-width); max-width:100%; }
.route-illustration .technical-graphic { max-width:var(--icon-width); margin:0; }
.band-visual figcaption,.route-illustration figcaption { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.hardware-value { color:var(--muted); margin:24px 0 0; }
.inspection-col ul { margin:0; padding-left:18px; color:var(--muted); }
.inspection-col li+li { margin-top:8px; }
.inspection-col p,.development-options p { color:var(--muted); margin-bottom:0; }
.development-options .development-status { font-size:var(--type-note); color:var(--blue); margin-bottom:8px; }
.development-production { color:var(--muted); margin:24px 0 0; max-width:70em; }

/* General TECMA page uses the same photo column and text roles. */
.home-hero { padding:32px 0; }
.home-hero>.hero-evidence { grid-column:1/-1; grid-template-columns:repeat(4,minmax(0,1fr)); }
.home-capabilities { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 var(--layout-gap); }
.capability { border-top:1px solid var(--line); padding:16px 0; }
.capability p { color:var(--muted); margin-bottom:0; }
.home-about>h1,.home-about>h2,.home-about>p,.home-about>.feature-rule { max-width:760px; }
.home-about p { color:var(--muted); }
.company-copy>.feature-rule>p { margin-bottom:0; }
.capabilities-diagram { display:block; width:100%; max-width:400px; height:auto; margin-inline:auto; }

/* Compact inquiry strip. */
.contact { background:white; color:var(--ink); padding:32px 0; border-top:1px solid var(--line); }
.contact-strip { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--layout-gap); align-items:start; }
.contact-intro h2 { margin-bottom:8px; }
.contact-intro p { margin:0; color:var(--muted); max-width:38em; }
.contact-actions { border-left:2px solid var(--blue); padding-left:24px; }
.contact-rows { margin:0; display:grid; gap:16px; }
.contact-rows dt { font-size:var(--type-note); color:var(--muted); margin-bottom:8px; }
.contact-rows dd { margin:0; }
.contact-rows dd a { font-size:var(--type-body); line-height:1.4; color:var(--ink); text-decoration:none; overflow-wrap:anywhere; }
.contact-rows dd a:hover { color:var(--blue); text-decoration:underline; }
.contact-actions .contact-rows { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.contact-actions .contact-rows dd a { font-weight:600; }
.contact-privacy { font-size:var(--type-note); color:var(--muted); margin:16px 0 0; }
.contact-actions>.text-link { display:inline-block; margin-top:16px; }
.contact-actions>.contact-privacy+.text-link { margin-top:8px; }

/* Contact-page compaction affects its content only, never the shared header. */
.contact-hero { padding:8px 0 16px; }
.contact-hero h1 { margin-bottom:8px; }
.contact-hero>p { color:var(--muted); margin:0; max-width:70em; }
.contact-page-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:var(--layout-gap); margin-bottom:24px; align-items:stretch; }
.contact-card { border-top:1px solid var(--line); padding-top:16px; }
.contact-card h2 { font-size:var(--type-body); margin-bottom:8px; }
.contact-card address { font-style:normal; font-size:var(--type-body); line-height:1.55; margin-bottom:16px; }
.contact-page .contact-rows { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.contact-page .contact-rows dd a { font-weight:600; }
.contact-page .contact-privacy { margin:8px 0 16px; }
.entrance-directions { border-top:2px solid var(--blue); padding-top:12px; }
.entrance-directions h3 { margin-bottom:8px; }
.entrance-directions p { margin-bottom:8px; }
.entrance-directions .arrival-note { color:var(--muted); font-size:var(--type-body); font-weight:400; margin:0; }
.location-section { display:grid; grid-template-rows:auto minmax(320px,1fr); gap:12px; margin:0; border-top:1px solid var(--line); padding-top:16px; }
.location-heading { display:flex; align-items:baseline; justify-content:space-between; gap:16px; flex-wrap:wrap; margin:0; }
.location-heading h2 { font-size:var(--type-body); margin:0; }
.location-map { border:1px solid var(--line); }
.location-map iframe { display:block; width:100%; height:100%; min-height:320px; border:0; }
.site-footer { border-top:1px solid var(--line); padding:24px 0; font-size:var(--type-note); color:var(--muted); }
.footer-inner { display:flex; justify-content:space-between; align-items:center; gap:24px; }
.footer-inner p { margin:0; }
.footer-nav { display:flex; gap:20px; flex-wrap:wrap; }
.footer-nav a { text-decoration:none; }

/* Every photographic row switches at the same breakpoint. */
@media (max-width:1000px) {
  .hero,.media-layout { grid-template-columns:minmax(0,1fr); gap:24px; }
  .cgl-hero { grid-template-areas:"intro" "photo" "offers" "evidence"; }
}
@media (max-width:900px) {
  .logo { width:160px; }
  .header-inner { gap:20px; }
  .main-nav { gap:16px; }
  .languages { padding-left:16px; }
  .manufacturing-routes { grid-template-columns:minmax(0,1fr); gap:24px; }
  .contact-actions .contact-rows { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:720px) {
  :root { --gutter:20px; --layout-gap:24px; --icon-width:110px; }
  .header-inner { display:grid; grid-template-columns:1fr auto; gap:12px; padding:14px 0 10px; }
  .logo { width:150px; }
  .languages { grid-column:2; grid-row:1; border:0; padding:0; }
  .main-nav { grid-column:1/3; margin:0; justify-content:space-between; gap:10px; padding-top:4px; border-top:1px solid var(--line); }
  .main-nav a,.languages a,.languages span { display:inline-flex; align-items:center; min-height:44px; }
  .languages a,.languages span { min-width:36px; justify-content:center; }
  .breadcrumb { padding-top:14px; margin-bottom:18px; }
  .button-row { margin-top:16px; }
  .hero-services,.cgl-hero .hero-evidence { grid-template-columns:minmax(0,1fr); gap:16px; }
  .section { padding:28px 0; }
  .section-head { grid-template-columns:minmax(0,1fr); gap:0; margin-bottom:24px; }
  .section-head h2,.section-head>p { grid-column:1; }
  .section-head>p { margin-top:12px; }
  .component-scope { grid-template-columns:minmax(0,1fr); }
  .process { grid-template-columns:minmax(0,1fr); gap:0; }
  .process li { display:grid; grid-template-columns:24px minmax(0,1fr); gap:0 12px; }
  .process .num { margin-top:3px; }
  .step-detail { grid-column:2; margin-top:8px; }
  .groove-options,.crown-options,.coating-benefits,.inspection-evidence,.development-options { grid-template-columns:minmax(0,1fr); }
  .groove-options>div,.crown-options .schematic { grid-template-rows:auto; }
  .groove-options figcaption,.crown-options figcaption { min-height:0; }
  .finish-options { margin-top:24px; padding-top:24px; }
  .finish-comparison>div { display:block; }
  .finish-comparison dt { margin-bottom:8px; }
  .band-content { grid-template-columns:minmax(0,1fr); gap:16px; }
  .alloy-table,.alloy-table thead,.alloy-table tbody,.alloy-table tr,.alloy-table th,.alloy-table td { display:block; }
  .alloy-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .alloy-table tbody th { width:auto; padding:16px 0 8px; color:var(--ink); }
  .alloy-table th:first-child { width:auto; }
  .alloy-table td { border:0; padding:8px 0; }
  .alloy-table tr { border-bottom:1px solid var(--line); padding-bottom:8px; }
  .route-option { column-gap:16px; }
  .home-hero { padding:24px 0; }
  .home-hero>.hero-evidence { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
  .home-capabilities,.contact-strip,.contact-page-grid { grid-template-columns:minmax(0,1fr); }
  .contact { padding:28px 0; }
  .contact-actions { padding:16px 0 0; border-left:0; border-top:2px solid var(--blue); }
  .contact-hero { padding-top:4px; padding-bottom:16px; }
  .contact-page .contact-rows { grid-template-columns:minmax(0,1fr); gap:8px; }
  .contact-page .contact-rows>div { display:grid; grid-template-columns:112px minmax(0,1fr); align-items:center; gap:8px; }
  .contact-page .contact-rows dt { margin:0; }
  .contact-page .contact-rows dd a { display:inline-flex; align-items:center; min-height:44px; }
  .contact-page .contact-privacy { margin-top:4px; }
  .location-section { grid-template-rows:auto 220px; }
  .location-map iframe { min-height:0; height:220px; }
  .footer-inner { align-items:flex-start; flex-direction:column; gap:16px; }
}
@media (pointer:coarse) {
  .contact-actions .contact-rows dd a { display:inline-flex; align-items:center; min-height:44px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
}
@media print {
  .review,.button-row,.skip { display:none; }
  .section { padding:20px 0; }
  .photo { break-inside:avoid; }
  h2,h3 { break-after:avoid; }
}
