/* GARANTİ · v13 design layer (25.10.2026) · preview
   Portal home (.g13-portal) and product page (.g13-product). Brand stays: New Science, GARANTİ red #A4192D,
   real header/footer, product photos. Adds: one graphite brand surface per page, stone tones, controlled red,
   light patterns drawn from millstone dressing (furrows) and drum perforation, short motion.
   Scope: everything under body.g13-page. Load after the theme and portal CSS. */

/* ---------- tokens ---------- */
body.g13-page {
  --g-graphite: #1d2024;
  --g-graphite-2: #262a2f;
  --g-graphite-3: #31363c;
  --g-ink: #202326;
  --g-muted: #5a5e63;
  --g-on-dark: #f3f1ed;
  --g-on-dark-muted: #b9b6b0;
  --g-red: #A4192D;
  --g-red-dark: #8a1426;
  --g-red-on-dark: #ff8a8f;   /* text-size red on graphite: 6.1:1 */
  --g-stone: #F6F5F3;
  --g-stone-2: #ECE8E1;
  --g-sand: #DCD5CA;
  --g-line: #E3E1DC;
  --g-line-dark: rgba(255,255,255,.14);
  --g-radius: 12px;
  --g-max: 1180px;
  --g-pad: clamp(16px, 4vw, 40px);
  --g-head: 70px;             /* height of the site's fixed header */
  --g-t-fast: 160ms;
  --g-t: 240ms;
  --g-t-slow: 320ms;
  --g-ease: cubic-bezier(.2, .7, .2, 1);
}

/* the two pages use the full width of the theme container; sections set their own inner width */
body.g13-page .container-wrap { padding-top: 0 !important; padding-bottom: 0 !important; background: #fff; }
body.g13-page .container.main-content { max-width: none !important; width: 100% !important; padding: 0 !important; }
body.g13-page .container.main-content > .row { margin: 0 !important; padding: 0 !important; }

.g13 { font-family: "New Science", Arial, sans-serif; color: var(--g-ink); -webkit-font-smoothing: antialiased; }
.g13 *, .g13 *::before, .g13 *::after { box-sizing: border-box; }
.g13 :where(h1, h2, h3, h4, p, ul, ol, li, dl, dt, dd, figure, figcaption, blockquote) { margin: 0; padding: 0; }
.g13 ul, .g13 ol { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.g13 li { list-style: none !important; margin: 0; padding: 0; }
.g13 li::before { content: none !important; }
.g13 p { padding-bottom: 0 !important; }
.g13 img { display: block; max-width: 100%; height: auto; }
.g13 a { color: inherit; }
.g13 :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.g13 .g-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

.g-wrap { width: 100%; max-width: calc(var(--g-max) + 2 * var(--g-pad)); margin: 0 auto; padding: 0 var(--g-pad); }
.g-eyebrow a { font: inherit; color: inherit; letter-spacing: inherit; }
.g-eyebrow { font-size: 13px; line-height: 1.3; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--g-red); }
.g-dark .g-eyebrow { color: var(--g-red-on-dark); }
.g-h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -.01em; }
.g-lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: var(--g-muted); max-width: 62ch; }

/* ---------- surfaces ---------- */
.g-dark { background: var(--g-graphite); color: var(--g-on-dark); }
.g-dark .g-lead, .g-dark .g-muted { color: var(--g-on-dark-muted); }
.g13 .g-dark :is(h1, h2, h3), .g13 .g-campaign :is(h2, h3) { color: #fff; }
.g-stone { background: var(--g-stone); }
.g-stone-2 { background: var(--g-stone-2); }
.g-sec { position: relative; padding: clamp(56px, 8vw, 104px) 0; }
.g-sec--tight { padding: clamp(40px, 6vw, 72px) 0; }

/* section join: the next surface rises into view with a soft edge, a visual cue to keep scrolling */
.g-join { position: relative; }
.g-join::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 28px; pointer-events: none;
  background: var(--g-join-to, #fff); border-radius: 28px 28px 0 0;
}

/* ---------- patterns (decor only, aria-hidden containers; text always sits on a solid area) ---------- */
/* millstone dressing: concentric harps of furrows, faded out towards the text with a mask */
.g-pat-stone::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.075' stroke-width='1.2'%3E%3Ccircle cx='300' cy='300' r='290'/%3E%3Ccircle cx='300' cy='300' r='230'/%3E%3Ccircle cx='300' cy='300' r='60'/%3E%3Cpath d='M300 240L300 10M342 258L505 95M360 300L590 300M342 342L505 505M300 360L300 590M258 342L95 505M240 300L10 300M258 258L95 95'/%3E%3Cpath d='M300 240L330 12M342 258L522 115M360 300L588 330M342 342L485 522M300 360L270 588M258 342L78 485M240 300L12 270M258 258L115 78'/%3E%3Cpath d='M300 240L360 16M342 258L537 137M360 300L584 360M342 342L463 537M300 360L240 584M258 342L63 463M240 300L16 240M258 258L137 63'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: min(760px, 120vw);
  background-position: right -180px top -160px;
  -webkit-mask-image: radial-gradient(circle at 85% 20%, #000 0 40%, transparent 72%);
          mask-image: radial-gradient(circle at 85% 20%, #000 0 40%, transparent 72%);
}
/* drum perforation: a fine dot field, used on the control/technical band */
.g-pat-drum::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,.09) 1.1px, transparent 1.4px);
  background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(100deg, transparent 0 45%, #000 85%);
          mask-image: linear-gradient(100deg, transparent 0 45%, #000 85%);
}
/* industrial rule: thin parallel lines, on light surfaces */
.g-pat-rule::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: repeating-linear-gradient(135deg, rgba(32,35,38,.045) 0 1px, transparent 1px 12px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
          mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.g-sec > .g-wrap, .g-hero > .g-wrap { position: relative; z-index: 1; }
/* the portal hero holds the fixed bottom nav on phones: no stacking context there, so the nav stays above later sections */
.g-portal-hero > .g-wrap { z-index: auto; }

/* ---------- buttons ---------- */
.g-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 4px;
  font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none !important; cursor: pointer;
  transition: background-color var(--g-t-fast) var(--g-ease), border-color var(--g-t-fast) var(--g-ease), transform var(--g-t-fast) var(--g-ease);
}
.g-btn:active { transform: translateY(1px); }
.g-btn--red { background: var(--g-red); color: #fff !important; }
.g-btn--red:hover { background: var(--g-red-dark); }
.g-btn--line { border-color: currentColor; color: inherit; background: transparent; }
.g-btn--line:hover { background: rgba(127,127,127,.12); }
.g-btn svg { width: 18px; height: 18px; transition: transform var(--g-t-fast) var(--g-ease); }
.g-btn:hover svg { transform: translateX(3px); }
.g-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.g-link:hover { text-decoration-thickness: 2px; }

/* ---------- motion: one-time reveal, only when JS is running and motion is welcome ---------- */
@media (prefers-reduced-motion: no-preference) {
  .g13-js [data-reveal] { transition: opacity var(--g-t-slow) var(--g-ease), transform var(--g-t-slow) var(--g-ease); }
  .g13-js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(14px); }
}
@media (prefers-reduced-motion: reduce) {
  .g13 *, .g13 *::before, .g13 *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   PORTAL HOME
   ===================================================================== */
body.g13-portal-page #gwh-contact-bar { display: none !important; }

.g-hero { position: relative; overflow: hidden; }
.g-portal-hero { padding: clamp(36px, 5vw, 64px) 0 0; }
.g-portal-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: clamp(24px, 4vw, 56px); align-items: end; }
.g-portal-hero h1 { margin-top: 10px; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.04; font-weight: 700; letter-spacing: -.015em; color: #fff; }
.g-portal-hero .g-lead { margin-top: 12px; }
.g-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px; margin-top: 18px;
  border: 1px solid var(--g-line-dark); border-radius: 999px; font-size: 14px; color: var(--g-on-dark);
}
.g-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5fd39a; }
.g-demo { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 4px; background: #f6d36b; color: #2a2200; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }

/* next action: the one thing to do now */
.g-next {
  position: relative; display: grid; gap: 10px; padding: 22px 22px 22px 24px;
  border-radius: var(--g-radius); background: #fff; color: var(--g-ink);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}
.g-next::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--g-red); }
.g-next__label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--g-red); }
.g-next__title { font-size: 22px; line-height: 1.25; font-weight: 700; }
.g-next__meta { color: var(--g-muted); font-size: 15px; }
.g-next .g-btn { justify-self: start; margin-top: 4px; }

/* main nav: tabs at the bottom of the hero on desktop; fixed bottom bar on phones */
.g-tabs { margin-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--g-line-dark); }
.g-tabs ul { display: flex; gap: 4px; }
.g-tabs a {
  position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 16px;
  color: var(--g-on-dark-muted); font-size: 16px; font-weight: 600; text-decoration: none;
  transition: color var(--g-t-fast) var(--g-ease);
}
.g-tabs a svg { width: 20px; height: 20px; }
.g-tabs a:hover { color: #fff; }
.g-tabs a[aria-current="page"] { color: #fff; }
.g-tabs a[aria-current="page"]::before { content: ""; position: absolute; left: 16px; right: 16px; top: -1px; height: 3px; background: var(--g-red); border-radius: 0 0 3px 3px; }

/* active requests: progress along the real status steps */
.g-reqs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.g-req {
  display: grid; gap: 10px; padding: 22px; border-radius: var(--g-radius); background: #fff;
  border: 1px solid var(--g-line);
  transition: border-color var(--g-t-fast) var(--g-ease), box-shadow var(--g-t) var(--g-ease);
}
.g-req:hover { border-color: var(--g-sand); box-shadow: 0 8px 24px rgba(32,35,38,.08); }
.g-req__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; color: var(--g-muted); font-size: 14px; }
.g-req__meta strong { color: var(--g-ink); font-weight: 600; }
.g-req h3 { font-size: 20px; line-height: 1.25; font-weight: 700; }
.g-req h3 a { text-decoration: none; }
.g-req h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.g-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 4px; }
.g-steps li { position: relative; padding-top: 12px; font-size: 12px; line-height: 1.3; color: var(--g-muted); }
.g-steps li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 2px; background: var(--g-line); }
.g-steps li.is-done::after { background: var(--g-ink); }
.g-steps li.is-now { color: var(--g-ink); font-weight: 700; }
.g-steps li.is-now::after { background: var(--g-red); }
.g-req__next { padding-top: 12px; border-top: 1px solid var(--g-line); font-size: 15px; line-height: 1.5; }
.g-req__next span { color: var(--g-muted); }
.g-req__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.g-req__date { color: var(--g-muted); font-size: 14px; }

.g-sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; }
.g-sec-head .g-h2 { margin-top: 8px; }

/* stock and offers: the visual weight is on photos and prices */
.g-offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.g-ocard {
  position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden;
  border-radius: var(--g-radius); background: #fff; text-decoration: none; color: var(--g-ink);
  border: 1px solid var(--g-line);
  transition: transform var(--g-t) var(--g-ease), box-shadow var(--g-t) var(--g-ease);
}
.g-ocard:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(32,35,38,.12); }
.g-ocard__img { aspect-ratio: 4 / 3; background: var(--g-graphite-2); overflow: hidden; }
.g-ocard__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform var(--g-t-slow) var(--g-ease); }
.g-ocard:hover .g-ocard__img img { transform: scale(1.03); }
.g-ocard__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.g-ocard__code { color: var(--g-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.g-ocard__title { font-size: 20px; font-weight: 700; line-height: 1.2; }
.g-ocard__facts { color: var(--g-muted); font-size: 14px; line-height: 1.45; }
.g-ocard__note { color: #63676d; font-size: 12px; margin-bottom: 10px; }
.g-ocard__price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--g-line); }
.g-ocard__price span { color: var(--g-muted); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.g-ocard__price strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.g-ocard--lead { grid-row: span 1; }

.g-campaign {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 32px;
  margin-top: 16px; padding: 24px 28px; border-radius: var(--g-radius);
  background: var(--g-red); color: #fff;
}
.g-campaign .g-eyebrow { color: #ffd9dc; }
.g-campaign h3 { margin-top: 6px; font-size: 24px; line-height: 1.2; font-weight: 700; }
.g-campaign p { margin-top: 6px; color: #ffe9ea; font-size: 15px; line-height: 1.5; max-width: 60ch; }
.g-campaign .g-btn { background: #fff; color: var(--g-red) !important; }
.g-campaign .g-btn:hover { background: #fbe8ea; }
.g-campaign::before {
  content: ""; position: absolute; right: -60px; top: -80px; width: 280px; height: 280px; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, rgba(255,255,255,.10) 0 1px, transparent 1px 16px);
}
.g-campaign > * { position: relative; }

/* machine: owner band on graphite-2 / prospect invitation */
.g-machine { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.g-machine__id { display: grid; gap: 6px; }
.g-machine__name { font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.1; }
.g-machine__links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.g-mlink {
  display: grid; gap: 4px; min-height: 92px; padding: 18px; border-radius: var(--g-radius);
  background: var(--g-graphite-3); color: #fff; text-decoration: none;
  transition: background-color var(--g-t-fast) var(--g-ease);
}
.g-mlink:hover { background: #3b4148; }
.g-mlink strong { font-size: 17px; }
.g-mlink span { color: var(--g-on-dark-muted); font-size: 14px; line-height: 1.4; }
.g-mlink svg { width: 22px; height: 22px; color: var(--g-red-on-dark); margin-bottom: 4px; }

.g-explore { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.g-explore a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--g-sand); background: #fff; font-size: 15px; font-weight: 600; text-decoration: none;
  transition: border-color var(--g-t-fast) var(--g-ease);
}
.g-explore a:hover { border-color: var(--g-ink); }

/* role switch: only one role's blocks are shown */
.g13-portal[data-role="owner"] [data-role-only="prospect"],
.g13-portal[data-role="prospect"] [data-role-only="owner"] { display: none !important; }

/* =====================================================================
   PRODUCT PAGE (FOCHA)
   ===================================================================== */
.g-prod-hero { padding: clamp(28px, 4vw, 48px) 0 0; }
.g-prod-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(16px, 4vw, 56px); align-items: center; }
.g-prod-hero h1 { margin-top: 12px; font-size: clamp(56px, 9vw, 112px); line-height: .92; font-weight: 700; letter-spacing: .02em; color: #fff; }
.g-prod-hero .g-lead { margin-top: 18px; color: var(--g-on-dark); }
.g-prod-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.g-prod-hero__cta .g-btn--line { color: #fff; }
.g-prod-hero__media { position: relative; margin: 0; }
.g-prod-hero__media img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; object-position: 50% 100%; border-radius: var(--g-radius); }
.g-award {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 22px; padding: 8px 14px 8px 10px;
  border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--g-line-dark);
  color: var(--g-on-dark); font-size: 14px; text-decoration: none;
}
.g-award svg { width: 22px; height: 22px; color: #e9c46a; }
.g-award:hover { background: rgba(255,255,255,.1); }

.g-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(24px, 4vw, 40px); border-top: 1px solid var(--g-line-dark); }
.g-facts > div { padding: 18px 16px 22px 0; }
.g-facts > div + div { padding-left: 16px; border-left: 1px solid var(--g-line-dark); }
.g-facts dt { color: var(--g-on-dark-muted); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.g-facts dd { margin-top: 6px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; color: #fff; line-height: 1.15; }
.g-facts dd small { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--g-on-dark-muted); }

/* section nav: sticky under the site header, scrollable on phones, shows where you are */
.g-snav { position: sticky; top: var(--g-head); z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--g-line); backdrop-filter: saturate(1.2) blur(6px); }
.g-snav .g-wrap { display: flex; align-items: center; gap: 16px; }
.g-snav ul { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; }
.g-snav ul::-webkit-scrollbar { display: none; }
.g-snav a {
  position: relative; display: inline-flex; align-items: center; min-height: 52px; padding: 0 14px; white-space: nowrap;
  color: var(--g-muted); font-size: 15px; font-weight: 600; text-decoration: none; transition: color var(--g-t-fast) var(--g-ease);
}
.g-snav a:hover, .g-snav a.is-active { color: var(--g-ink); }
.g-snav a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: var(--g-red); border-radius: 3px 3px 0 0; }
.g-snav .g-btn { flex: 0 0 auto; min-height: 44px; padding: 0 16px; font-size: 15px; }
html { scroll-padding-top: calc(var(--g-head, 70px) + 64px); }
@media (prefers-reduced-motion: no-preference) { html:focus-within { scroll-behavior: smooth; } }

/* gallery */
.g-gallery { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 16px; margin-top: 32px; }
.g-shot { position: relative; margin: 0; overflow: hidden; border-radius: var(--g-radius); background: #fff; }
.g-shot a { display: block; height: 100%; }
.g-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--g-t-slow) var(--g-ease); }
.g-shot a:hover img { transform: scale(1.025); }
.g-shot figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 6px; background: rgba(29,32,36,.92); color: #fff; font-size: 13px; }
.g-shot--tall { grid-row: span 2; }
.g-shot--tall img { object-position: 50% 60%; }
.g-shot--white { background: #fff; }
.g-shot--white img { object-fit: contain; padding: 12px; }

/* control band */
.g-control { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.g-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--g-line-dark); border-radius: var(--g-radius); overflow: hidden; }
.g13 .g-feat { padding: 22px; background: var(--g-graphite-2); }
.g-feat h3 { font-size: 17px; line-height: 1.3; font-weight: 700; color: #fff; }
.g-feat p { margin-top: 8px; color: var(--g-on-dark-muted); font-size: 15px; line-height: 1.5; }
.g-feat__n { display: block; margin-bottom: 10px; color: var(--g-red-on-dark); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.g-panel-fact { margin-top: 28px; padding: 18px 20px; border-left: 3px solid var(--g-red); background: rgba(255,255,255,.05); border-radius: 0 8px 8px 0; color: var(--g-on-dark); font-size: 16px; line-height: 1.5; }

/* technical data */
.g-specs { margin-top: 28px; border-top: 2px solid var(--g-ink); }
.g-spec { display: grid; grid-template-columns: minmax(160px, .5fr) minmax(0, 1.5fr); gap: 8px 32px; padding: 18px 0; border-bottom: 1px solid var(--g-line); }
.g-spec dt { font-weight: 700; font-size: 16px; }
.g-spec dd { color: var(--g-ink); font-size: 16px; line-height: 1.55; }
.g-spec dd small { display: block; color: var(--g-muted); font-size: 14px; }
.g-specs-note { margin-top: 14px; color: var(--g-muted); font-size: 14px; }

/* award band */
.g-awardband { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px 32px; align-items: center; }
.g-awardband__mark { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--g-graphite); color: #e9c46a; }
.g-awardband__mark svg { width: 40px; height: 40px; }
.g-awardband h2 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; font-weight: 700; }
.g-awardband p { margin-top: 6px; color: var(--g-muted); font-size: 16px; line-height: 1.5; max-width: 62ch; }

/* documents and models */
.g-docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.g-doc {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: start; min-height: 88px; padding: 18px;
  border: 1px solid var(--g-line); border-radius: var(--g-radius); background: #fff; text-decoration: none;
  transition: border-color var(--g-t-fast) var(--g-ease);
}
.g-doc:hover { border-color: var(--g-ink); }
.g-doc svg { grid-row: span 2; width: 26px; height: 26px; color: var(--g-red); }
.g-doc strong { font-size: 17px; }
.g-doc span { color: var(--g-muted); font-size: 14px; }

.g-models { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.g-family { border: 1px solid var(--g-line); border-radius: var(--g-radius); background: #fff; }
.g-family summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 0 20px;
  list-style: none; cursor: pointer; font-size: 18px; font-weight: 700;
}
.g-family summary::-webkit-details-marker { display: none; }
.g-family summary span { color: var(--g-muted); font-size: 14px; font-weight: 400; margin-left: 10px; }
.g-family summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform var(--g-t) var(--g-ease); }
.g-family[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.g-family ul { padding: 0 20px 14px !important; }
.g-family li a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; border-top: 1px solid var(--g-line); text-decoration: none; font-weight: 600; }
.g-family li a span { color: var(--g-muted); font-weight: 400; font-size: 14px; }
.g-models-more { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 18px; }

/* final call: price and configuration */
.g-final { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.g-final__options { display: grid; gap: 12px; }
.g-opt { display: grid; gap: 6px; padding: 20px 22px; border-radius: var(--g-radius); background: var(--g-graphite-2); border: 1px solid var(--g-line-dark); }
.g-opt h3 { font-size: 18px; font-weight: 700; color: #fff; }
.g-opt p { color: var(--g-on-dark-muted); font-size: 15px; line-height: 1.5; }
.g-opt .g-btn { justify-self: start; margin-top: 8px; }
.g-opt .g-btn--line { color: #fff; }
.g-owner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 24px; color: var(--g-on-dark-muted); font-size: 15px; }
.g-owner a { color: #fff; }

/* ---------- tablet ---------- */
@media (max-width: 999px) {
  .g-portal-hero__grid, .g-prod-hero__grid, .g-control, .g-final, .g-machine { grid-template-columns: 1fr; }
  .g-offers { grid-template-columns: 1fr 1fr; }
  .g-ocard--lead { grid-column: span 2; }
  .g-docs { grid-template-columns: 1fr; }
  .g-prod-hero__media { order: -1; }
  .g-prod-hero__media img { max-height: 56vh; }
}

/* ---------- phones ---------- */
@media (max-width: 690px) {
  body.g13-portal-page .g13 { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .g-portal-hero { padding-top: 28px; padding-bottom: 32px; }
  .g-next { padding: 18px 18px 18px 20px; }
  .g-next__title { font-size: 19px; }
  .g-next .g-btn, .g-campaign .g-btn, .g-prod-hero__cta .g-btn, .g-opt .g-btn { width: 100%; }

  .g-tabs {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; margin: 0;
    background: var(--g-graphite); border-top: 1px solid var(--g-line-dark);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .g-tabs ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
  .g-tabs a { display: grid; justify-items: center; align-content: center; gap: 4px; width: 100%; min-height: 64px; padding: 6px 2px; font-size: 12px; }
  .g-tabs a svg { width: 24px; height: 24px; }
  .g-tabs a[aria-current="page"] { color: #fff; }
  .g-tabs a[aria-current="page"] svg { color: var(--g-red-on-dark); }
  .g-tabs a[aria-current="page"]::before { left: 32%; right: 32%; }

  .g-reqs { grid-template-columns: 1fr; }
  .g-req { padding: 18px; }
  .g-steps li { font-size: 11px; }
  .g-offers { grid-template-columns: 1fr; }
  .g-ocard--lead { grid-column: auto; }
  .g-ocard { grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: none; }
  .g-ocard__img { aspect-ratio: auto; height: 100%; min-height: 150px; }
  .g-ocard__title { font-size: 18px; }
  .g-campaign { grid-template-columns: 1fr; padding: 22px 20px; }
  .g-machine__links { grid-template-columns: 1fr; }
  .g-mlink { min-height: 0; }

  .g-prod-hero h1 { font-size: 64px; }
  .g-prod-hero__media img { max-height: 46vh; margin: 0 auto; width: auto; }
  .g-facts { grid-template-columns: 1fr 1fr; }
  .g-facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .g-facts > div:nth-child(n+3) { border-top: 1px solid var(--g-line-dark); }
  .g-snav .g-btn { display: none; }
  .g-gallery { grid-template-columns: 1fr; }
  .g-shot--tall { grid-row: auto; }
  .g-feats { grid-template-columns: 1fr; }
  .g-spec { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .g-awardband { grid-template-columns: 1fr; }
  .g-awardband__mark { width: 64px; height: 64px; }
  .g-models { grid-template-columns: 1fr; }
}
