/* Actual production, the service index and the workshop notes each have a distinct scale. */
.home-workshop .home-copy h2,
.home-directory:has(.process-index) h2 {
  max-width: 12ch;
  font-size: clamp(3.1rem, 5.8vw, 6.7rem);
  letter-spacing: -.055em;
  line-height: .99;
}
.home-workshop .home-copy p > a[href="#film-oynatici"] {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  min-height: 44px;
}
.home-workshop .home-copy p > a[href="#film-oynatici"]::before {
  content: "";
  width: 0;
  height: 0;
  border-block: 4px solid transparent;
  border-left: 7px solid currentColor;
}

.home-areas {
  background: #eeede6;
  border-top: 1px solid #d0cfc5;
}
.home-directory:has(.process-index) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .89fr);
  gap: 0 clamp(32px, 5.4vw, 104px);
}
.home-directory:has(.process-index) h2 { align-self: start; }
.home-directory:has(.process-index) > p {
  grid-row: auto;
  grid-column: 2;
  max-width: 51ch;
  margin: 0;
}
.process-index {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .89fr);
  column-gap: clamp(32px, 5.4vw, 104px);
  margin-top: clamp(30px, 3.8vw, 62px);
  color: var(--ink);
}
.process-index > a {
  display: grid;
  grid-column: 2;
  grid-template-columns: clamp(68px, 7.2vw, 136px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 1.8vw, 33px);
  min-height: 76px;
  padding-block: clamp(10px, 1vw, 18px);
  border-top: 1px solid #a5a89f;
}
.process-index > a:last-child { border-bottom: 1px solid #a5a89f; }
.process-index .process-thumb {
  display: block;
  overflow: hidden;
  background: #344244;
}
.process-index .process-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.process-index > a:not(:first-child) .process-thumb { aspect-ratio: 1.42; }
.process-name {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .6em;
  font-size: clamp(1.3rem, 2vw, 2.35rem);
  line-height: 1.13;
  letter-spacing: -.045em;
  font-weight: 570;
}
.process-name::after {
  content: "↗";
  flex: none;
  color: #79562e;
  font-family: Arial, sans-serif;
  font-size: .74em;
  line-height: 1;
}
.process-index > a:first-child {
  grid-column: 1;
  grid-row: 1 / span var(--service-rows, 4);
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(130px, 1fr) auto;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border: 0;
  background: #17282b;
  color: #faf8f0;
}
.process-index > a:first-child .process-thumb { position: relative; }
.process-index > a:first-child img { position: absolute; inset: 0; object-position: 54% 48%; }
.process-index > a:first-child .process-name {
  padding: clamp(14px, 1.5vw, 26px) clamp(18px, 2vw, 36px);
  font-size: clamp(1.55rem, 2.35vw, 2.8rem);
}
.process-index > a:first-child .process-name::after { color: #e4c794; }
.home-areas .area-index { min-height: 44px; align-items: center; margin-top: 10px; }
.process-index a:is(:hover, :focus-visible) .process-name {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
@media (prefers-reduced-motion: no-preference) {
  .process-index img { transition: transform .42s cubic-bezier(.2,.7,.3,1); }
  .process-index a:is(:hover, :focus-visible) img { transform: scale(1.035); }
  .process-name::after { transition: transform .22s ease; }
  .process-index a:is(:hover, :focus-visible) .process-name::after { transform: translate(2px, -2px); }
}

.facility-in {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  align-items: center;
  gap: clamp(30px, 6vw, 106px);
}
.facility-in .home-copy {
  display: block;
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}
.facility-in .home-copy > p:first-of-type { margin-top: 1.3em; }
.facility-in figure { grid-column: 2; grid-row: 1; }
.facility-in figure img { aspect-ratio: 1.28; object-position: 48% 48%; }
.facility-in figcaption, .home-journal figcaption {
  padding-top: 9px;
  border-top: 1px solid var(--rule);
  color: var(--body);
  line-height: 1.4;
}
.home-journal.wrap {
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.05fr);
  gap: clamp(32px, 7vw, 132px);
}
.home-journal figure { grid-column: 1; grid-row: 1; }
.home-journal .home-copy { grid-column: 2; grid-row: 1; }
.home-journal figure img { aspect-ratio: 1.32; }
.home-brief { background: #e8e2d6; border-top: 1px solid #c8c0ae; }
.home-brief > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr);
  align-items: center;
  gap: clamp(36px, 6vw, 110px);
}
.home-brief .home-copy { display: block; max-width: 54ch; }
.home-brief .home-copy > p:first-of-type { margin-top: 1.25em; }
.home-brief .brief-part { margin: 0; }
.brief-part img { display: block; width: 100%; height: auto; aspect-ratio: 1.42; object-fit: cover; object-position: 40% 55%; }
.brief-part figcaption { margin-top: 9px; font-size: .8rem; line-height: 1.45; color: var(--body); }
.home-brief h2 { max-width: 11ch; font-size: clamp(3rem, 5.35vw, 6.6rem); }
.home-brief .home-copy > p:has(>a:first-child) { margin-top: 1.5rem; }
.home-brief .home-copy a {
  min-height: 48px;
  padding-inline: 22px;
  gap: 30px;
}
@media (max-width: 760px) {
  .home-brief > .wrap { grid-template-columns: 1fr; gap: 25px; }
  .brief-part img { aspect-ratio: 1.72; }
  .home-workshop .home-copy h2,
  .home-directory:has(.process-index) h2,
  .home-brief h2 { max-width: 15ch; font-size: clamp(2.65rem, 9vw, 4.3rem); }
  .home-directory:has(.process-index) { display: block; }
  .home-directory:has(.process-index) > p { margin-top: 16px; }
  .process-index { display: block; margin-top: 26px; }
  .process-index > a { grid-template-columns: clamp(64px, 18vw, 94px) minmax(0, 1fr); }
  .process-index > a:first-child { display: block; margin-bottom: 12px; }
  .process-index > a:first-child .process-thumb { aspect-ratio: 2.1; }
  .process-index > a:first-child .process-name { padding: 14px 16px; font-size: 1.5rem; }
  .process-index .process-name { min-width: 0; }
  .facility-in { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 24px; }
  .facility-in figure img { aspect-ratio: 1.5; }
  .home-journal.wrap { display: block; }
  .home-journal figure img { aspect-ratio: 1.8; }
}

/* Product drawings, purchasing tables and the final project conversation. */
.home :is(.home-families, .home-selection, .home-process, .home-quote-guide, .home-contact) {
  --flow-rule: #b9b8ae;
  --flow-gap: clamp(24px, 3.2vw, 58px);
  padding-block: clamp(54px, 6.6vw, 112px);
  scroll-margin-top: var(--mast-height);
}
.flow-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .76fr);
  align-items: end;
  gap: 14px var(--flow-gap);
  margin-bottom: clamp(28px, 3.3vw, 54px);
}
.flow-heading h2, .home-contact h2 {
  font-size: clamp(2.65rem, 4.8vw, 5.15rem);
  line-height: 1.02;
  letter-spacing: -.062em;
  font-weight: 565;
  text-wrap: balance;
}
.flow-heading > p, .contact-copy > p, .home-families .family-description, .process-sequence p {
  max-width: 53ch;
  color: var(--body);
  font-size: clamp(.98rem, 1.1vw, 1.13rem);
  line-height: 1.62;
}
.flow-link, .flow-table a, .complementary-processes a {
  color: inherit;
  font-weight: 670;
  text-decoration: underline;
  text-decoration-color: #a18d70;
  text-underline-offset: .23em;
  text-decoration-thickness: 1px;
}
.flow-link:hover, .flow-table a:hover, .complementary-processes a:hover { text-decoration-thickness: 2px; }
.home-families, .home-process {
  --body: #d0d8dd;
  background: #0d1c2e;
  color: #f6f2e9;
}
.home :is(.home-families,.home-process) { --flow-rule: #4b5360; }
.home-families .flow-link { color: #ecd19b; }
.family-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--flow-rule);
}
.family-study {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: clamp(22px, 2.7vw, 40px) clamp(16px, 2vw, 36px);
}
.family-study + .family-study { border-inline-start: 1px solid var(--flow-rule); }
.family-study h3 {
  font-size: clamp(1.45rem, 2.25vw, 2.6rem);
  line-height: 1.1;
  font-weight: 605;
  letter-spacing: -.047em;
}
.family-drawing {
  position: relative;
  width: 100%;
  margin: clamp(16px, 1.7vw, 28px) 0;
  aspect-ratio: 3 / 2;
  background: #0d1c2e;
}
.family-drawing img, .family-drawing svg { display: block; width: 100%; height: 100%; }
.family-drawing img { object-fit: contain; }
.drawing-guides { position: absolute; inset: 0; pointer-events: none; }
.drawing-guides line, .drawing-dimension { fill: none; stroke: #f0cd87; stroke-width: .85; }
.drawing-dimension { opacity: .89; }
.guide-end { fill: #f0cd87; }
.guide-number { fill: #112136; stroke: #edcd94; stroke-width: .95; }
.drawing-annotation text { fill: #ffdfa2; font: 600 8.5px/1 ui-monospace, monospace; }
.process-sequence {
  padding: 0;
  list-style: none;
}
.drawing-pin, .family-legend button { -webkit-tap-highlight-color: transparent; }
.drawing-pin:not([hidden]) {
  position: absolute;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  padding: 0;
  border: 0;
  background: transparent;
  color: #f8daad;
  cursor: pointer;
  touch-action: manipulation;
}
.drawing-pin span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid #e5c18a;
  border-radius: 50%;
  background: #101e30;
  font: 600 .73rem/1 ui-monospace, monospace;
}
.drawing-pin::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid #e9c482;
  border-radius: 50%;
  opacity: .32;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .drawing-pin::after { animation: drawing-ring 3.3s ease-out infinite; }
  .drawing-pin:nth-of-type(2)::after { animation-delay: -.55s; }
  .drawing-pin:nth-of-type(3)::after { animation-delay: -1.1s; }
  .drawing-pin[aria-expanded="true"]::after { animation: none; }
}
@keyframes drawing-ring {
  0%, 55%, 100% { transform: scale(.94); opacity: .28; }
  59% { transform: scale(.94); opacity: .74; }
  88%, 99% { transform: scale(1.4); opacity: 0; }
}
.drawing-popover:not([hidden]) {
  box-sizing: border-box;
  position: absolute;
  z-index: 6;
  width: min(14rem, calc(100% - 8px));
  padding: 12px 14px 14px;
  color: #f3f2eb;
  background: #16283a;
  border: 1px solid #ae9162;
  border-radius: 5px;
  box-shadow: 0 8px 22px #07101b55;
}
.drawing-popover::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: inherit;
  border: solid #ae9162;
  border-width: 0 0 1px 1px;
  pointer-events: none;
}
.drawing-popover[data-side="right"]::before { left: -5px; top: var(--pointer); transform: translateY(-50%) rotate(45deg); }
.drawing-popover[data-side="left"]::before { right: -5px; top: var(--pointer); transform: translateY(-50%) rotate(225deg); }
.drawing-popover[data-side="bottom"]::before { top: -5px; left: var(--pointer); transform: translateX(-50%) rotate(135deg); }
.drawing-popover[data-side="top"]::before { bottom: -5px; left: var(--pointer); transform: translateX(-50%) rotate(-45deg); }
.drawing-popover strong { display: block; padding-right: 21px; font-size: .91rem; line-height: 1.3; font-weight: 650; color: #f5d69a; }
.drawing-popover p { margin-top: 7px; font-size: .9rem; line-height: 1.48; max-height: 48dvh; overflow: auto; }
.drawing-popover-close {
  position: absolute; top: 0; right: 0; width: 36px; height: 36px; padding: 0;
  border: 0; background: transparent; color: #ead5ad;
  font-size: 1.25rem; line-height: 1; cursor: pointer;
}
.drawing-popover-close:focus-visible { outline: 2px solid #fff1d7; outline-offset: -3px; }
.drawing-pin[aria-pressed="true"] span {
  color: #101d2d;
  background: #f0d199;
  box-shadow: 0 0 0 3px #0d1c2e, 0 0 0 4px #a48754;
}
.drawing-pin:focus-visible { outline: none; }
.drawing-pin:focus-visible span, .family-legend button:focus-visible, .family-panel:focus-visible {
  outline: 2px solid #fff1d7;
  outline-offset: 3px;
}
@media (hover: hover) {
  .drawing-pin:hover span { border-color: #fff3df; box-shadow: 0 0 0 3px #0d1c2e, 0 0 0 4px #c5a26c; }
  .family-legend button:hover { color: #f6d9a5; }
}
.has-drawing-tabs .guide-fallback, .has-drawing-tabs .panel-label { display: none; }
.family-legend:not([hidden]) { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.family-legend button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-height: 48px;
  padding: 8px 8px 11px 0;
  color: #d3dbe1;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #516071;
  text-align: left;
  font-family: inherit;
  font-size: clamp(.76rem,.9vw,.94rem);
  font-weight: 550;
  line-height: 1.25;
  cursor: pointer;
}
.family-legend button[aria-selected="true"] { color: #ffe2af; border-bottom: 2px solid #e8c584; padding-bottom: 10px; }
.legend-index { color: #e7c387; font: 600 .72rem/1 ui-monospace, monospace; }
.family-panels { margin-block: 13px 20px; }
.family-panel { color: #f1e9d9; font-size: clamp(.91rem,1vw,1.03rem); line-height: 1.55; }
.panel-label { display: block; color: #f0cf93; font-weight: 650; }
.family-study:not(.has-drawing-tabs) .family-panel + .family-panel { margin-top: 12px; }
.has-drawing-tabs .family-panels { display: grid; }
.has-drawing-tabs .family-panel { grid-area: 1 / 1; }
/* Overlap inactive panels to reserve the height of the longest explanation. */
.has-drawing-tabs .family-panel[hidden] { display: block; visibility: hidden; }
.family-study .flow-link { align-self: start; display: inline-flex; align-items: center; gap: .5em; min-height: 44px; margin-top: auto; padding-top: 8px; font-size: .92rem; }
.complementary-processes { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); align-items: start; gap: 16px var(--flow-gap); margin-block: 24px; }
.complementary-processes h3 { font-size: 1rem; font-weight: 580; color: #e7c387; }
.complementary-processes a { display: grid; gap: 3px; min-height: 44px; text-decoration: none; }
.complementary-processes a strong { text-decoration: underline; text-underline-offset: .22em; text-decoration-color: #998458; }
.complementary-processes a span { color: var(--body); font-size: .88rem; font-weight: 450; }
.complementary-processes a:hover strong { text-decoration-thickness: 2px; }
.home-selection { background: #f1efe8; color: #202c36; }
.home-selection .flow-heading p { color: #465057; }
.flow-table {
  width: 100%;
  border-collapse: collapse;
  text-align: start;
  line-height: 1.5;
  font-size: clamp(.94rem, 1.05vw, 1.1rem);
  color: inherit;
}
.flow-table th, .flow-table td { padding: clamp(15px, 1.75vw, 29px) clamp(12px, 1.5vw, 26px); text-align: start; vertical-align: middle; }
.flow-table :is(th,td):first-child { padding-inline-start: 0; }
.flow-table :is(th,td):last-child { padding-inline-end: 0; }
.flow-table thead th { padding-block: 12px; font-size: .8rem; font-weight: 620; border-block: 1px solid currentColor; }
.flow-table tbody tr { border-bottom: 1px solid var(--flow-rule); }
.flow-table tbody th { font-weight: 655; letter-spacing: -.018em; }
.selection-table {
  --flow-rule: #b8b5aa;
  --part-width: clamp(52px, 5.4vw, 82px);
}
.selection-table tr:has(a[href$="/boru-spool-imalati/"]) { --part-photo: url("etutler/boru-spool-imalati-720.webp"); }
.selection-table tr:has(a[href$="/yapisal-celik/"]) { --part-photo: url("etutler/yapisal-celik-720.webp"); }
.selection-table tr:has(a[href$="/tank-ve-bunker/"]) { --part-photo: url("etutler/tank-ve-bunker-720.webp"); }
.selection-table tbody th:first-child {
  position: relative;
  padding-inline-start: calc(var(--part-width) + 14px);
  min-height: 46px;
}
.selection-table tbody th::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  width: var(--part-width);
  aspect-ratio: 1.5;
  background: #263239 var(--part-photo) center / cover;
  border-radius: 3px;
}
.home-families > .wrap > .flow-link,
.selection-table td .flow-link,
.home-contact .contact-direct a {
  display: inline-flex;
  align-items: center;
  gap: .34em;
  min-height: 44px;
}
.selection-table thead { color: #71552e; }
.selection-table a { text-decoration-color: #9e814e; }
.flow-table a { display: inline-block; padding-block: 5px; }
.process-sequence { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: var(--flow-gap); margin: 0; }
.process-sequence li { min-width: 0; border-top: 1px solid var(--flow-rule); }
.process-sequence img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: #0d1c2e; margin-bottom: 15px; border-bottom: 1px solid var(--flow-rule); }
.process-sequence h3 { font-size: clamp(1.3rem, 1.8vw, 2rem); line-height: 1.2; font-weight: 620; letter-spacing: -.04em; }
.process-sequence p { margin-top: .66em; }
.home-quote-guide { background: #f5f4ef; color: #19283a; }
.home #teklif-rehberi:target { scroll-margin-top: max(0px, calc(var(--mast-height, 80px) - clamp(54px, 6.6vw, 112px) + 12px)); }
.quote-picker {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  column-gap: clamp(30px, 4.1vw, 72px);
  isolation: isolate;
}
.quote-cover, .quote-visual {
  grid-column: 1;
  grid-row: 1 / span var(--quote-count);
  border-radius: 8px;
  min-width: 0;
}
.quote-cover {
  display: flex;
  align-items: end;
  position: relative;
  z-index: 2;
  overflow: hidden;
  min-height: clamp(380px, 34vw, 560px);
  padding: clamp(24px, 3vw, 52px);
  color: #fffaf1;
  background: linear-gradient(0deg, #081427 1%, rgb(9 23 38 / 90%) 18%, rgb(10 22 33 / 66%) 42%, transparent 76%);
}
.quote-cover-copy { max-width: 38rem; }
.quote-cover-copy h2 {
  max-width: 14ch;
  color: inherit;
  font-size: clamp(2.5rem, 3.9vw, 4.7rem);
  line-height: 1.03;
  font-weight: 565;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.quote-cover-copy p {
  margin-top: 13px;
  max-width: 43ch;
  color: #edeae3;
  font-size: clamp(.96rem, 1.12vw, 1.18rem);
  line-height: 1.5;
}
.quote-cover-copy a { color: inherit; text-decoration: underline; }
.quote-visual { position: relative; overflow: hidden; opacity: 0; pointer-events: none; background: #182331; }
.quote-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-visual--base, .quote-option[open] + .quote-visual { opacity: 1; }
.quote-option[open] + .quote-visual { z-index: 1; }
.quote-option {
  grid-column: 2;
  min-width: 0;
  --thumb: clamp(48px, 4.2vw, 72px);
  --indent: clamp(12px, 1.2vw, 21px);
  border-bottom: 1px solid #c4c2b7;
}
.quote-option:first-of-type { border-top: 1px solid #9c998d; }
.quote-option summary {
  display: grid;
  grid-template-columns: var(--thumb) minmax(0, 1fr) 32px;
  gap: var(--indent);
  align-items: center;
  min-height: 60px;
  padding: clamp(8px, 1vw, 15px) 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.05rem, 1.5vw, 1.65rem);
  font-weight: 620;
  line-height: 1.24;
  letter-spacing: -.035em;
}
.quote-option summary::-webkit-details-marker { display: none; }
.quote-thumb { width: var(--thumb); height: auto; aspect-ratio: 1.5; object-fit: cover; border-radius: 3px; }
.quote-switch {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #aaa99c;
  color: #283643;
}
.quote-switch::before, .quote-switch::after { content: ""; grid-area: 1 / 1; width: 10px; height: 1.5px; background: currentColor; }
.quote-switch::after { transform: rotate(90deg); }
.quote-option[open] .quote-switch { background: #1a2b3f; border-color: #1a2b3f; color: #ead09a; }
.quote-option[open] .quote-switch::after { transform: rotate(0); }
.quote-option summary:hover .quote-switch { border-color: #796844; }
.quote-option summary:focus-visible, .quote-file-link:focus-visible { outline: 2px solid #916e2b; outline-offset: 3px; }
.quote-file { padding: 0 12px clamp(18px, 1.7vw, 29px) calc(var(--thumb) + var(--indent)); }
.quote-file-label { color: #705633; font-size: .8rem; font-weight: 650; }
.quote-file-title { margin-top: 3px; font-size: clamp(1.13rem, 1.47vw, 1.62rem); font-weight: 590; line-height: 1.27; letter-spacing: -.026em; }
.quote-file ul { display: grid; gap: 4px; list-style: none; padding: 0; margin: 12px 0 17px; }
.quote-file li { display: flex; gap: 9px; align-items: baseline; color: #46505a; font-size: clamp(.91rem, 1.04vw, 1.05rem); line-height: 1.44; }
.quote-file li::before { content: ""; flex: 0 0 7px; height: 1px; background: #8a7049; transform: translateY(-.25em); }
.quote-file-link {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 100%; min-height: 44px; padding: 9px 16px;
  color: #fffaf0; background: #192a3c; border-radius: 3px;
  font-size: .91rem; line-height: 1.3; font-weight: 630; text-decoration: none;
}
.quote-file-link span { color: #e3c48d; font-size: 1.15em; }
.quote-file-link:hover { background: #304558; }
@media (max-width: 760px) {
  .quote-picker { grid-template-columns: minmax(0, 1fr); }
  .quote-cover, .quote-visual { grid-area: 1 / 1; margin-bottom: 16px; }
  .quote-cover {
    min-height: clamp(200px, 46vw, 292px);
    padding: clamp(18px, 4.8vw, 32px);
    background: linear-gradient(65deg, rgb(8 20 36 / 98%) 2%, rgb(8 20 36 / 77%) 36%, rgb(8 20 36 / 24%) 76%);
  }
  .quote-cover-copy h2 { font-size: clamp(2rem, 6.6vw, 2.75rem); }
  .quote-cover-copy p { max-width: 31ch; font-size: .91rem; }
  .quote-option { grid-column: 1; --thumb: 48px; --indent: 12px; }
  .quote-option summary { min-height: 55px; }
  .quote-file { padding-inline-start: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .quote-option[open] + .quote-visual img { animation: quote-plate-in .32s ease-out; }
  .quote-option[open] .quote-file { animation: quote-file-in .18s ease-out; }
  .quote-switch::after { transition: transform .18s ease; }
}
@keyframes quote-plate-in { from { opacity: .68; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
@keyframes quote-file-in { from { opacity: .65; transform: translateY(-3px); } to { opacity: 1; transform: translateY(0); } }
.home-contact {
  background: #e7e0d2;
  color: #1a282d;
  border-top: 1px solid #bdb5a6;
}
.home-contact > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .76fr);
  align-items: center;
  gap: var(--flow-gap);
}
.contact-copy > p { margin-top: 18px; max-width: 45ch; }
.home-contact .contact-actions { display: grid; grid-template-columns: 1.08fr 1fr; align-items: stretch; gap: 10px; margin: 0; }
.home-contact .contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 18px;
  font-size: .96rem;
  font-weight: 660;
  line-height: 1.3;
  text-align: center;
}
.home-contact .contact-actions .wa-link { background: #1e3035; color: #fffdf6; border: 1px solid #1e3035; }
.home-contact .contact-actions .wa-link:hover { background: #31474b; }
.home-contact .quote-summary { border: 1px solid #827867; color: #253037; }
.home-contact .quote-summary:hover { background: #f1ece2; }
.home-contact .contact-direct { display: flex; gap: 8px 22px; flex-wrap: wrap; align-items: center; margin-top: 18px; font-size: .9rem; }
.contact-direct a { text-decoration: underline; text-underline-offset: .24em; }
@media (min-width: 701px) and (max-width: 990px) {
  .family-grid { grid-template-columns: 1fr; }
  .family-study {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    gap: 12px 32px;
    align-items: center;
    padding: 24px 0;
  }
  .family-study + .family-study { border-inline-start: 0; border-top: 1px solid var(--flow-rule); }
  .family-drawing { grid-area: 1 / 1 / span 4; margin: 0; }
  .family-study > :not(.family-drawing) { grid-column: 2; }
  .family-panels { margin-bottom: 0; }
  .family-study .flow-link { margin-top: 0; }
}
@media (max-width: 800px) {
  .flow-heading, .home-contact > .wrap { grid-template-columns: 1fr; }
  .flow-heading h2, .home-contact h2 { max-width: 20ch; }
  .flow-heading p { max-width: 57ch; }
}
@media (max-width: 700px) {
  .family-grid, .process-sequence { grid-template-columns: 1fr; }
  .family-study { padding: 24px 0; }
  .family-study + .family-study { border-inline-start: 0; border-top: 1px solid var(--flow-rule); }
  .family-drawing { margin-block: 14px; }
  .complementary-processes { grid-template-columns: 1fr; gap: 16px; }
  .flow-table, .flow-table tbody { display: block; }
  .flow-table thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
  }
  .flow-table tbody { border-top: 1px solid var(--flow-rule); }
  .flow-table tr { display: block; padding-block: 15px; }
  .flow-table tbody th { display: block; padding: 0 0 8px; font-size: 1.12rem; }
  .flow-table td { display: grid; grid-template-columns: minmax(80px, .58fr) minmax(0, 1.42fr); gap: 12px; padding: 5px 0; }
  .flow-table td::before { content: attr(data-label); font-size: .8rem; color: #665943; }
  .flow-table td a { padding-block: 0; }
  .selection-table tbody th:first-child { display: flex; align-items: center; gap: 12px; padding-inline-start: 0; }
  .selection-table tbody th::before { position: static; flex: 0 0 var(--part-width); transform: none; }
  .selection-table tbody td:last-child { align-items: center; }
  .home-contact .contact-direct { gap: 0 18px; margin-top: 10px; }
  .process-sequence { row-gap: 26px; }
  .process-sequence img { max-height: 260px; }
  .home-contact .contact-actions a { min-width: 0; gap: 5px; padding: 10px 6px; font-size: clamp(.77rem,3.5vw,.94rem); }
}
@media print {
  .family-drawing .drawing-popover:not([hidden]) { display: none; }
  .family-drawing, .family-drawing .drawing-annotation { opacity: 1 !important; }
  .has-drawing-tabs .guide-fallback, .has-drawing-tabs .panel-label,
  .has-drawing-tabs .family-panels, .has-drawing-tabs .family-panel[hidden] { display: block; visibility: visible; }
  .family-drawing .drawing-pin, .family-legend:not([hidden]) { display: none; }
  .family-study, .process-sequence li, .flow-table tr { break-inside: avoid; }
}
