/* Public visual system */
:root {
  --canvas: #f1f2ee;
  --paper: #fafaf5;
  --stone: #e1e6e5;
  --ink: #182830;
  --muted: #465961;
  --line: #b8c7c8;
  --control: #667e85;
  --dark: #101f28;
  --dark-line: #47606b;
  --light: #fbfaf3;
  --light-muted: #bfcfd1;
  --red: #b72735;
  --red-hover: #912030;
  --red-tint: #eadcda;
  --signal: #ff6975;
  --font-heading: 'Saira Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  --font-spec: 'IBM Plex Mono', monospace;
  --font-ui: 'Manrope', 'Segoe UI', sans-serif;
  --space-section: clamp(59px, 8vw, 124px);
}

body { font-size: clamp(1rem, 1.33vw, 1.14rem); }
h1, h2, h3, h4 { letter-spacing: -.014em; font-weight: 700; line-height: .99; }
h2 { font-size: clamp(2.5rem, 5.4vw, 5rem); }
h3 { font-size: clamp(1.65rem, 2.4vw, 2.4rem); }
.section-tag { font: 500 .76rem/1.45 var(--font-spec); letter-spacing: .12em; }
.text-link { text-decoration-thickness: 1px; }
.btn { min-height: 45px; gap: 8px; font-size: .9rem; font-weight: 600; }
.btn-primary { padding-inline: 18px 23px; }
.btn-primary::before { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%); }
.btn-glass, .btn-whatsapp { border-bottom-color: currentColor; }
.btn-lg { min-height: 49px; }

/* Shared navigation */
.navbar { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); }
.navbar-inner { min-height: 65px; gap: 14px; }
.nav-brand { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; text-decoration: none; }
.brand-emblem { position: relative; display: block; width: 37px; height: 41px; overflow: hidden; }
.brand-emblem img { position: absolute; inset: 0 auto auto -1px; width: 177px; height: 42px; max-width: none; }
.brand-word { font: 800 clamp(1.6rem, 2.4vw, 2.2rem)/1 var(--font-heading); letter-spacing: .012em; white-space: nowrap; }
.brand-word > span { color: var(--red); }
.nav-link { color: var(--muted); font: 500 .83rem/1.2 var(--font-spec); }
.nav-link:hover, .nav-link[aria-current] { color: var(--ink); }
.nav-link[aria-current]::after { inset: auto 0 12px; height: 2px; background: var(--red); transform: none; }
.navbar :focus-visible { outline-color: var(--focus); }
.nav-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 0 10px 0 13px;
  gap: 10px;
  color: var(--ink);
  border: 1px solid var(--control);
  font-family: var(--font-spec);
  font-size: .82rem;
}
.nav-toggle-btn .menu-glyph { position: relative; display: block; width: 19px; height: 16px; background: transparent; }
.menu-glyph::before, .menu-glyph::after { position: absolute; width: 15px; height: 2px; background: var(--red); transform: rotate(-28deg); content: ''; }
.menu-glyph::before { top: 5px; left: 0; }
.menu-glyph::after { top: 10px; left: 4px; }
.mobile-nav-drawer {
  isolation: isolate;
  inset: 0;
  width: 100%;
  padding: clamp(22px, 5vw, 63px) clamp(22px, 6vw, 78px) calc(25px + env(safe-area-inset-bottom));
  background: var(--dark);
  color: var(--light);
  animation: menu-curtain 460ms cubic-bezier(.22,.67,.24,1) both;
}
.menu-photo {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg,#101f28 8%,#101f28f0 35%,#101f284a),url('../images/real/yuksek-gerilim-direk-montaj.jpg') 92% 35% / cover;
}
.mobile-nav-header { margin-bottom: clamp(16px, 4vw, 42px); padding-bottom: 10px; border-bottom: 1px solid var(--dark-line); font: 700 1.9rem/1 var(--font-heading); }
.mobile-nav-close {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: none;
  border: 0;
  color: var(--light);
  font: 500 .84rem/1 var(--font-spec);
}
.close-glyph { position: relative; display: block; width: 19px; height: 19px; }
.close-glyph::before, .close-glyph::after { position: absolute; inset: 8px 0 auto; height: 2px; background: var(--signal); content: ''; }
.close-glyph::before { transform: rotate(45deg); }
.close-glyph::after { transform: rotate(-45deg); }
.mobile-nav-list a {
  min-height: 49px;
  padding: 5px 0 8px;
  border-top: 1px solid #8daab15d;
  font: 700 clamp(1.8rem, 6.5vw, 4.25rem)/1 var(--font-heading);
  letter-spacing: .005em;
}
.mobile-nav-list li:first-child a { border-top: 0; }
.mobile-nav-list a[aria-current] { color: var(--signal); }
.mobile-nav-list li { animation: menu-line 410ms cubic-bezier(.22,.67,.24,1) both; }
.mobile-nav-list li:nth-child(2) { animation-delay: 30ms; }
.mobile-nav-list li:nth-child(3) { animation-delay: 55ms; }
.mobile-nav-list li:nth-child(4) { animation-delay: 80ms; }
.mobile-nav-list li:nth-child(5) { animation-delay: 105ms; }
.mobile-nav-list li:nth-child(6) { animation-delay: 130ms; }
.mobile-nav-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 17px; border-top: 1px solid var(--dark-line); padding-top: 13px; margin-top: clamp(12px, 3vw, 32px); }
.mobile-nav-footer .text-link, .menu-admin, .menu-phone { color: var(--light); }
.menu-phone { font: 500 .85rem/1.4 var(--font-spec); text-underline-offset: 4px; }
.menu-admin { font-size: .875rem; }
.mobile-nav-drawer :focus-visible { outline-color: #ffd490; }
@keyframes menu-curtain { from { clip-path: polygon(70% 0,100% 0,100% 13%,83% 20%); } to { clip-path: polygon(0 0,100% 0,100% 100%,0 100%); } }
@keyframes menu-line { from { opacity: .15; translate: 28px 0; } }
.mobile-whatsapp {
  position: fixed;
  z-index: 9;
  isolation: isolate;
  inset-inline: max(14px, env(safe-area-inset-left)) max(14px, env(safe-area-inset-right));
  inset-block-end: calc(11px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-inline-size: 410px;
  min-block-size: 54px;
  margin-inline: auto;
  padding: 10px 16px;
  overflow: hidden;
  border: 1px solid #3eb27b;
  border-radius: 12px;
  background: linear-gradient(115deg, #095a40, #087244 58%, #095a40);
  box-shadow: inset 0 1px #e0ffeb45, 0 5px 22px #12865059, 0 2px 4px #103a283d;
  color: #fff;
  font: 750 .98rem/1.2 var(--font-ui);
  text-align: center;
  text-decoration: none;
}
.mobile-whatsapp svg { flex: none; }
.mobile-whatsapp:hover { background: #075b3a; }
.mobile-whatsapp:focus-visible { outline-offset: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .mobile-whatsapp::before {
    position: absolute;
    z-index: -1;
    inset: 0 auto 0 0;
    inline-size: 45%;
    background: linear-gradient(90deg, #ffffff00, #adffce40, #ffffff00);
    content: '';
    animation: whatsapp-shine 1.75s .3s ease-out both;
  }
}
@keyframes whatsapp-shine {
  from { transform: translateX(-115%) skewX(-24deg); }
  to { transform: translateX(245%) skewX(-24deg); }
}

/* Opening scene */
.masthead {
  isolation: isolate;
  position: relative;
  overflow: clip;
  background: var(--dark);
  color: var(--light);
  padding: 0;
}
.masthead-figure { position: absolute; z-index: -2; inset: 0 0 auto; height: clamp(290px, 86vw, 500px); margin: 0; background: var(--dark); }
.masthead-photo { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; background: var(--dark); cursor: auto; }
.masthead-photo img { object-position: 55% 49%; filter: saturate(.86); }
.masthead-figure::after { position: absolute; inset: 0; background: linear-gradient(180deg,#101f2800 15%,#101f2820 35%,#101f28bc 68%,var(--dark) 100%); content: ''; }
.masthead-figure figcaption { display: none; }
.masthead-inner { position: relative; display: grid; grid-template-columns: 1fr; min-height: 0; gap: 10px; padding-block: clamp(202px, 52vw, 338px) 23px; }
.masthead-copy { align-self: end; }
.masthead-copy .section-tag { color: var(--light); padding-inline-start: 14px; margin-bottom: clamp(23px, 2.6vw, 43px); border-inline-start: 3px solid var(--signal); }
.masthead h1 { max-width: 100%; font: 800 clamp(3rem, 12.2vw, 6.5rem)/.88 var(--font-heading); letter-spacing: -.012em; text-transform: uppercase; }
.masthead h1.masthead-custom { max-width: 16ch; font-size: clamp(2.65rem, 7.15vw, 7.4rem); line-height: .94; overflow-wrap: anywhere; }
.masthead-line + .masthead-line { color: var(--light); font-size: .91em; margin-top: .07em; }
.masthead-copy > p:not(.section-tag) { color: var(--light-muted); margin-block: 19px; }
.masthead-actions { margin: 0; }
.masthead .btn-glass { color: var(--light); }
.masthead .btn-glass:hover { background: #ffffff20; }
.masthead-links { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 17px; }
.masthead-whatsapp, .masthead-photo-open { color: var(--light-muted); text-decoration: underline; text-underline-offset: 5px; font-size: .88rem; }
.masthead-photo-open { background: transparent; min-height: 40px; padding: 4px 0; border: 0; text-align: left; }
.masthead-whatsapp:hover, .masthead-photo-open:hover { color: var(--light); }
.masthead-rule { position: absolute; z-index: -1; inset: auto 0 0; height: 3px; background: linear-gradient(90deg,var(--red) 24%,#b9c5c3 24%,#b9c5c3 25%,transparent 25%); }
.dispatch-strip { background: var(--paper); }
.dispatch-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 6px; padding-block: 7px; }
.dispatch-inner a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  min-height: 49px;
  padding: 8px clamp(7px, 1.1vw, 16px);
  border-radius: 8px;
  color: var(--ink);
  font: 750 clamp(.94rem, 1.45vw, 1.2rem)/1.28 var(--font-ui);
}
.dispatch-inner a::after {
  flex: none;
  width: 7px;
  height: 7px;
  margin-block-start: -3px;
  border: solid var(--red);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  content: '';
}
.dispatch-inner a:hover { background: var(--stone); color: var(--red-hover); }

/* Field record and fleet */
.project-section { background: var(--stone); color: var(--ink); padding-block: var(--space-section); }
.project-grid { width: min(100% - var(--gutter) * 2, var(--max-width)); gap: 14px; }
.project-main-photo { aspect-ratio: 1.35; background: var(--stone); }
.project-copy { margin: 0; padding: 0; border: 0; background: transparent; }
.project-copy .section-tag { color: var(--red); }
.project-copy > p:not(.section-tag), .project-specs dt { color: var(--muted); }
.project-specs > div { border-color: var(--line); }
.project-specs dd { font-family: var(--font-spec); font-size: .92rem; }
.project-copy .btn-glass:hover { background: #d3dddc; }
.project-section :focus-visible { outline-color: var(--focus); }
.project-thumbnails { gap: 7px; padding: 0; }
.project-section + .fleet-story { padding-top: var(--space-section); }
.fleet-story { border-top: 4px solid var(--red); }
.fleet-station h2 { max-width: 9ch; }
.fleet-index a { font-family: var(--font-spec); font-weight: 500; }
.fleet-sequence .fleet-card { padding-bottom: 22px; }
.fleet-sequence .fleet-body h3 { font-size: clamp(1.85rem, 3.1vw, 3.2rem); }
.fleet-sequence .fleet-spec-value { font: 500 clamp(.86rem, 1.4vw, 1.16rem)/1.32 var(--font-spec); }
.feature-note-copy h3 { font-size: clamp(2rem, 4.2vw, 4rem); }

/* Service register */
.home-services { background: var(--paper); position: relative; }
.service-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 20px; margin-bottom: 28px; }
.service-register { display: grid; gap: 20px 30px; }
.register-index { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.register-index a {
  position: relative;
  display: block;
  padding: 11px 22px 11px 9px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.24;
}
.register-index a::after { position: absolute; content: ''; width: 8px; height: 8px; top: calc(50% - 4px); right: 8px; border: 1px solid var(--red); transform: rotate(45deg); }
.register-index a:hover, .register-index a[aria-selected=true] { background: var(--stone); color: var(--red-hover); }
.register-index a[aria-selected=true]::after { background: var(--red); }
.register-body, .register-detail > * { min-width: 0; }
.service-entry { scroll-margin-top: 18px; border-bottom: 1px solid var(--line); padding-bottom: 19px; }
.register-photo { position: relative; overflow: hidden; aspect-ratio: 1.48; background: var(--stone); }
:where(.register-photo) > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 49%; }
.register-detail { display: grid; gap: 15px; padding-top: 17px; }
.register-detail h3 { font-size: clamp(1.9rem, 3.3vw, 3.2rem); margin-bottom: 8px; }
.register-detail p { color: var(--muted); }
.register-specs { list-style: none; padding: 7px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .93rem; }
.register-specs li { padding: 6px 0; }
.home-services .service-entry { border-bottom: 0; padding-bottom: 0; }
.home-services .register-photo { border-radius: 12px 12px 0 0; }
.home-services .register-detail {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: clamp(17px, 3.35vw, 39px);
  border-radius: 0 0 12px 12px;
  background: #eef2ef;
}
.home-services .register-detail h3 {
  max-width: 36ch;
  margin-bottom: 9px;
  font: 800 clamp(1.27rem, 2.25vw, 1.9rem)/1.24 var(--font-ui);
  letter-spacing: -.026em;
}
.home-services .register-detail p { max-width: 65ch; font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.55; }
.home-services .register-specs {
  display: grid;
  gap: 5px;
  max-width: 65ch;
  padding: 0 0 0 1.16em;
  border: 0;
  color: var(--ink);
  list-style: disc;
  font-size: 1rem;
  line-height: 1.45;
}
.home-services .register-specs li { padding: 0; }
.home-services .register-specs li::marker { color: var(--red); }
.home-services .register-detail .action-row { margin-top: 3px; }

/* Calculator */
.calculator-section { background: var(--dark); color: var(--light); }
.workbench-heading { margin-bottom: 22px; }
.workbench-heading .section-tag { color: var(--signal); }
.calc-box { background: transparent; border: 0; border-block: 1px solid var(--dark-line); padding: 21px 0; }
.workbench-label { font: 500 .86rem/1.4 var(--font-spec); margin-bottom: 9px; }
.op-selector-grid { gap: 3px; margin-bottom: 23px; }
.op-selector-card { border: 0; border-bottom: 1px solid var(--dark-line); border-radius: 0; background: #213841; color: var(--light); font-weight: 600; }
.op-selector-card:hover { background: #354d57; }
.op-selector-card.active { background: var(--light); color: var(--ink); box-shadow: inset 3px 0 var(--red); }
.slider-group { border-color: var(--dark-line); }
.slider-header { font-size: .91rem; font-weight: 600; }
.slider-val-badge { color: var(--signal); font: 500 .92rem/1.3 var(--font-spec); }
.range-slider { accent-color: var(--signal); appearance: none; background: transparent; }
.range-slider::-webkit-slider-runnable-track {
  height: 13px;
  background: repeating-linear-gradient(90deg,#9ab1b6 0 1px,transparent 1px 7%) 0 bottom / 100% 6px no-repeat,linear-gradient(var(--dark-line),var(--dark-line)) 0 4px / 100% 2px no-repeat;
}
.range-slider::-webkit-slider-thumb { appearance: none; width: 12px; height: 19px; margin-top: -5px; background: var(--signal); border: 2px solid var(--dark); }
.range-slider::-moz-range-track { height: 13px; border-block-end: 1px dashed #9ab1b6; background: linear-gradient(var(--dark-line),var(--dark-line)) 0 4px / 100% 2px no-repeat; }
.range-slider::-moz-range-thumb { width: 8px; height: 15px; border: 2px solid var(--dark); border-radius: 0; background: var(--signal); }
.calc-result-card { border-color: var(--dark-line); }
.calc-result-header { color: var(--signal); font: 500 .78rem/1.4 var(--font-spec); letter-spacing: .075em; }
.calc-result-img { background: #263c43; aspect-ratio: 1.95; }
.calc-result-specs, .calc-note { color: var(--light-muted); }
.calculator-section .btn-glass:hover { background: #314c54; }
.calculator-section :focus-visible { outline-color: #ffd490; }

/* Information and FAQ */
.proof-section { background: var(--stone); }
.proof-numbers { gap: 0; }
.proof-numbers > div { padding: 16px 11px; border-color: var(--line); }
.proof-numbers > div:nth-child(even) { border-inline-start: 1px solid var(--line); }
.proof-numbers dd { font: 700 clamp(2.15rem, 7vw, 5rem)/.92 var(--font-heading); letter-spacing: -.01em; }
.faq-section { background: var(--paper); }
.faq-grid { border-top: 1px solid var(--control); }
.faq-item { border-top: 0; border-bottom: 1px solid var(--line); }
.faq-item.open { background: var(--stone); }
.faq-question { padding: 13px 11px; min-height: 53px; font-weight: 600; text-wrap: pretty; }
.faq-icon { position: relative; display: block; width: 20px; height: 20px; color: var(--red); }
.faq-icon::before, .faq-icon::after { position: absolute; inset: 9px 3px auto; height: 2px; background: currentColor; content: ''; transition: transform 250ms ease, opacity 200ms ease; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item.open .faq-icon { transform: none; }
.faq-item.open .faq-icon::after { transform: rotate(0); opacity: 0; }
.faq-answer, .faq-item.open .faq-answer { display: grid; padding: 0; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 355ms cubic-bezier(.25,.7,.25,1), opacity 200ms ease; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; opacity: 1; }
.faq-answer-inner { overflow: hidden; }
.faq-answer-inner p { padding: 1px 37px 16px 11px; font-size: .96rem; }
.contact-band { background: var(--red-tint); }

/* Secondary pages and archive */
.page-hero { background: var(--stone); border-bottom: 0; }
.page-hero h1, .archive-masthead h1, .error-page h1 { font: 800 clamp(3.3rem, 8.7vw, 7.85rem)/.87 var(--font-heading); letter-spacing: -.012em; }
.breadcrumb { font: 500 .76rem/1.4 var(--font-spec); }
.page-hero-photo { aspect-ratio: 1.72; background: var(--dark); }
.archive-section { background: var(--paper); }
.archive-toolbar { border-top: 2px solid var(--control); }
.archive-toolbar, .gallery-filters { background: var(--paper); }
.filter-btn { font: 500 .77rem/1.22 var(--font-spec); }
.gallery-grid { row-gap: clamp(24px, 5vw, 64px); }
.gallery-grid .gallery-item:nth-child(3n + 1 of .gallery-item:not([hidden])) { --gallery-ratio: 1.46; }
.gallery-grid .gallery-item:nth-child(3n + 2 of .gallery-item:not([hidden])) { --gallery-ratio: 1.08; }
.gallery-title { font: 700 clamp(1.55rem, 3vw, 2.25rem)/1.08 var(--font-heading); letter-spacing: 0; }
.gallery-location { font-size: .89rem; }
.gallery-overlay { padding-block: 10px; }
.gallery-open { font: 500 .73rem/1.3 var(--font-spec); }
.lightbox-modal { background: #101f28f5; }
.lightbox-content { width: min(100%, 1150px); background: var(--dark); color: var(--light); }
.lightbox-img-wrap { background: #08151b; }
.lightbox-caption { padding: 14px 16px 0; border-top: 1px solid var(--dark-line); }
.lightbox-caption h4 { font-size: clamp(1.6rem, 3vw, 2.55rem); }
.lightbox-caption p, .lightbox-actions .btn-whatsapp { color: var(--light-muted); }
.lightbox-actions .btn-whatsapp:hover { background: #ffffff17; color: var(--light); }
.contact-form-panel { border-top: 3px solid var(--red); }
.spec-table th { font: 500 .77rem/1.3 var(--font-spec); }
.footer-lead { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 9px 20px; padding-bottom: 20px; margin-bottom: 27px; border-bottom: 1px solid var(--dark-line); }
.footer-lead h2 { margin-bottom: 0; font-size: clamp(2.45rem, 6vw, 6rem); }
.footer-lead > a { font: 500 clamp(.9rem, 2.4vw, 1.35rem)/1.4 var(--font-spec); }
.footer-grid h2 { font-size: 1.33rem; }

@media (max-width: 599px) {
  .nav-quote { display: none; }
}

@media (min-width: 600px) {
  .dispatch-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .masthead-figure { height: 480px; }
  .register-photo { aspect-ratio: 1.66; }
  .register-detail { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .register-detail .action-row { grid-column: 1 / -1; }
}

@media (min-width: 960px) {
  .navbar-inner { min-height: 79px; }
  .nav-menu { flex: 1; justify-content: center; gap: clamp(9px, 1.65vw, 27px); }
  .nav-toggle-btn, .mobile-whatsapp { display: none; }
  .masthead { min-height: clamp(585px, 84svh, 880px); }
  .masthead-figure { inset: 0 0 0 auto; width: 100%; height: 100%; }
  .masthead-photo img { object-position: 50% 49%; }
  .masthead-figure::after { background: linear-gradient(90deg,#101f28fa 1%,#101f28e0 25%,#101f2842 64%,#101f2810),linear-gradient(0deg,#101f28a8 1%,#101f2800 31%); }
  .masthead-figure figcaption { position: absolute; z-index: 1; display: block; right: var(--gutter); bottom: 63px; padding: 0; color: var(--light); border-top: 1px solid #ffffff65; padding-top: 8px; font: 500 .72rem/1.4 var(--font-spec); }
  .masthead-figure figcaption::before { display: none; }
  .masthead-figure figcaption span { display: block; color: #d1dcdb; font-size: .65rem; margin-top: 4px; }
  .masthead-inner { min-height: inherit; padding-block: 60px 66px; align-items: end; }
  .masthead h1 { font-size: clamp(5.4rem, 9.9vw, 11rem); }
  .masthead-copy > p:not(.section-tag) { max-width: 42ch; margin-top: 25px; }
  .masthead-links { position: absolute; right: 0; bottom: 15px; }
  .dispatch-inner a { min-height: 55px; }
  .project-grid { grid-template-columns: minmax(0, 1.38fr) minmax(0, .82fr); grid-template-rows: auto auto; gap: 10px clamp(34px, 6vw, 95px); align-items: center; }
  .project-shot { grid-area: 1 / 1 / 2 / 2; }
  .project-main-photo { aspect-ratio: 1.19; height: auto; }
  .project-copy { grid-area: 1 / 2 / 2 / 3; align-self: center; }
  .project-copy h2 { font-size: clamp(3.2rem, 6.2vw, 6.9rem); }
  .project-thumbnails { grid-area: 2 / 1 / 3 / 2; }
  .service-register { grid-template-columns: minmax(0, .73fr) minmax(0, 1.87fr); gap: clamp(30px, 5vw, 75px); }
  .register-index { align-self: start; position: sticky; top: 104px; }
  .register-index a { padding-block: 14px; font-size: clamp(1rem, 1.5vw, 1.29rem); }
  .register-photo { aspect-ratio: 1.91; }
  .calc-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: clamp(22px, 5vw, 70px); }
  .calc-result-card { padding-inline-start: clamp(20px, 3.5vw, 42px); border-inline-start: 1px solid var(--dark-line); }
  .proof-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .gallery-grid { grid-template-columns: repeat(12, minmax(0,1fr)); gap: 36px clamp(20px, 3vw, 45px); }
  .gallery-grid .gallery-item { align-self: start; }
  .gallery-grid .gallery-item:nth-child(3n + 1 of .gallery-item:not([hidden])) { grid-column: 1 / -1; --gallery-ratio: 1.77; }
  .gallery-grid .gallery-item:nth-child(3n + 1 of .gallery-item:not([hidden])) .gallery-card-trigger { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, .9fr); align-items: end; gap: clamp(22px, 5vw, 72px); }
  .gallery-grid .gallery-item:nth-child(3n + 1 of .gallery-item:not([hidden])) .gallery-title { font-size: clamp(2rem, 4.1vw, 3.65rem); }
  .gallery-grid .gallery-item:nth-child(3n + 1 of .gallery-item:not([hidden])) .gallery-overlay { border: 0; border-top: 1px solid var(--control); }
  .gallery-grid .gallery-item:nth-child(3n + 2 of .gallery-item:not([hidden])) { grid-column: 2 / 7; }
  .gallery-grid .gallery-item:nth-child(3n + 3 of .gallery-item:not([hidden])) { grid-column: 8 / -1; margin-top: 48px; --gallery-ratio: 1.63; }
}

@media (prefers-reduced-motion: no-preference) {
  [data-float-distance] { translate: 0 var(--float-y, 0); }
  [data-service-register] .service-entry:not([hidden]) .register-photo { animation: service-photo-in 430ms cubic-bezier(.21,.64,.21,1) both; }
  html:not(.route-arrival) .masthead-photo { animation: field-opening 820ms cubic-bezier(.19,.62,.24,1) both; }
  html:not(.route-arrival) .masthead-line { animation: field-type 790ms cubic-bezier(.19,.62,.24,1) both; }
  html:not(.route-arrival) .masthead-line + .masthead-line { animation-delay: 85ms; }
  html:not(.route-arrival) .masthead-rule { animation: rule-draw 920ms cubic-bezier(.19,.62,.24,1) both; transform-origin: left; }
}
@keyframes field-opening { from { clip-path: polygon(21% 0,100% 0,100% 100%,44% 100%); } to { clip-path: polygon(0 0,100% 0,100% 100%,0 100%); } }
@keyframes field-type { from { clip-path: inset(-24% -4% 73%); translate: 0 21px; opacity: .62; } to { clip-path: inset(-28% -4% -26%); translate: 0 0; opacity: 1; } }
@keyframes rule-draw { from { transform: scaleX(.03); } to { transform: scaleX(1); } }
@keyframes service-photo-in { from { clip-path: inset(0 8% 16% 0); } to { clip-path: inset(0); } }
