:root {
  color-scheme: light;
  --paper: #f5f0e7;
  --paper-light: #fbf7ef;
  --paper-deep: #e9dfd0;
  --ink: #202421;
  --muted: #666a66;
  --line: #d1c5b4;
  --signal: #ad4434;
  --signal-dark: #853226;
  --white: #fffaf2;
  --sans: "Aptos", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --shadow: 0 24px 64px rgba(55, 47, 36, 0.16);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.lightbox-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
button, input, select, textarea { font: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.page-width {
  width: min(100% - 64px, 1600px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 76px;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 240, 231, 0.97);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-copy strong,
.brand-copy span { display: block; }

.brand-copy strong {
  font-size: 0.93rem;
  letter-spacing: -0.01em;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}

.brand-copy span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.68rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  color: #515652;
  font-size: 0.84rem;
}

.primary-nav a {
  padding-block: 10px;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus-visible { color: var(--signal); }
.primary-nav a[aria-current="page"] { color: var(--signal-dark); font-weight: 800; }

.primary-nav .nav-contact {
  padding: 10px 16px;
  border: 1px solid var(--signal);
  color: var(--signal-dark);
  font-weight: 700;
}

.primary-nav .nav-contact:hover,
.primary-nav .nav-contact:focus-visible { background: var(--signal); color: var(--white); }

.language-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.language-switcher button,
.language-switcher a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 7px 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-decoration: none;
}

.language-switcher button[aria-pressed="true"],
.language-switcher a[aria-current="page"] {
  background: var(--ink);
  color: var(--white);
}

.language-switcher button:focus-visible,
.language-switcher a:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.language-flag { width: 17px; height: 12px; border-radius: 1px; box-shadow: 0 0 0 1px rgba(23, 28, 25, 0.16); }

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle i,
.menu-toggle i::before,
.menu-toggle i::after {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
}

.menu-toggle i { position: relative; }
.menu-toggle i::before,
.menu-toggle i::after { content: ""; position: absolute; left: 0; }
.menu-toggle i::before { top: -6px; }
.menu-toggle i::after { top: 6px; }

.hero {
  min-height: min(650px, calc(100svh - 76px));
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(0, 42%);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(58px, 7vw, 92px) clamp(32px, 5vw, 70px) clamp(42px, 5vw, 66px) max(32px, calc((100vw - 1600px) / 2));
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: #555b56;
  font-size: 0.77rem;
  text-transform: uppercase;
}

.hero-kicker span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-kicker span::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--signal);
}

.hero h1 {
  max-width: 740px;
  margin-top: 28px;
  font-size: clamp(3.35rem, 5.5vw, 5.6rem);
  line-height: 0.98;
  text-wrap: balance;
}

.hero-lead {
  max-width: 680px;
  margin-top: 30px;
  color: #414641;
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-size: 0.87rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--signal); color: var(--white); }
.button-primary:hover, .button-primary:focus-visible { background: var(--signal-dark); }

.text-link {
  padding: 11px 0 8px;
  border-bottom: 1px solid var(--line);
  font-size: 0.87rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link span { margin-left: 18px; color: var(--signal); }

.hero-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 4vw, 54px);
  border-left: 1px solid var(--line);
  background:
    repeating-linear-gradient(0deg, transparent 0 25px, rgba(44, 48, 45, 0.045) 25px 26px),
    var(--paper-light);
}

.hero-visual img {
  width: auto;
  max-width: 100%;
  height: min(560px, calc(100svh - 175px));
  object-fit: contain;
  box-shadow: var(--shadow);
}

.editorial-section {
  padding-block: clamp(68px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
}

.section-rail {
  padding-top: 8px;
  color: #525753;
  font-size: 0.73rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-rail i {
  display: block;
  width: 62px;
  height: 3px;
  margin-bottom: 17px;
  background: var(--signal);
}

.section-content > h2,
.portfolio-intro h2,
.contact-content > h2 {
  max-width: 820px;
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  line-height: 1;
}

.services { background: var(--paper-light); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-grid article {
  min-height: 225px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-grid article > span {
  color: var(--signal);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-grid h3 {
  margin-top: 28px;
  font-size: clamp(1.2rem, 1.55vw, 1.45rem);
  line-height: 1.06;
}

.service-grid p {
  margin-top: 15px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.58;
}

.industry-experience { --signal: #ee7a67; background: var(--ink); color: var(--white); }

.industry-shell { max-width: 1360px; }

.industry-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  gap: 28px 72px;
  align-items: end;
  padding-bottom: 44px;
}

.industry-heading .section-label { grid-column: 1 / -1; }
.industry-heading h2 { max-width: 800px; font-size: clamp(2.7rem, 4.4vw, 4.35rem); line-height: 0.98; }
.industry-heading > p:last-child { color: #bdc4bf; font-size: 0.9rem; line-height: 1.62; }

.experience-list { display: grid; gap: 18px; }

.project-profile {
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid #424944;
  background: #232925;
}

.project-profile-head > p {
  color: #9da69f;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-profile-head > p span { margin-right: 12px; color: var(--signal); }
.project-profile-head h3 { margin-top: 15px; font-size: clamp(2.45rem, 3.7vw, 3.9rem); line-height: 0.98; }
.project-profile-head > strong { display: block; margin-top: 14px; color: #d8ddd9; font-size: 0.92rem; font-weight: 500; line-height: 1.45; }

.project-profile-intro {
  max-width: 720px;
  margin-top: 16px;
  color: #c3cac5;
  font-size: 0.86rem;
  line-height: 1.56;
}

.content-disclosure {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.disclosure-summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 2px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.disclosure-summary::-webkit-details-marker { display: none; }
.disclosure-summary::marker { content: ""; }

.disclosure-summary b {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.disclosure-summary i {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.72;
}

.disclosure-summary i::before,
.disclosure-summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.disclosure-summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.content-disclosure[open] > .disclosure-summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.disclosure-open { display: none; }
.content-disclosure[open] > .disclosure-summary .disclosure-closed { display: none; }
.content-disclosure[open] > .disclosure-summary .disclosure-open { display: inline; }
.content-disclosure[open] > .disclosure-summary { border-bottom: 1px solid var(--line); }

.content-disclosure-dark {
  border-color: #49504b;
  color: var(--white);
}

.content-disclosure-dark > .disclosure-summary { color: #f2f0e9; }
.content-disclosure-dark[open] > .disclosure-summary { border-bottom-color: #49504b; }
.project-profile .disclosure-panel { padding-top: 18px; }
.content-disclosure .project-capabilities { margin-top: 0; }

.project-capabilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
  border-top: 1px solid #49504b;
  border-left: 1px solid #49504b;
}

.project-capabilities-five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.project-capabilities-five section:nth-child(n) { grid-column: auto; }

.project-capabilities section {
  min-height: 188px;
  padding: 21px 19px;
  border-right: 1px solid #49504b;
  border-bottom: 1px solid #49504b;
}

.project-capabilities section > span {
  color: var(--signal);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.project-capabilities h4 { margin-top: 21px; font-family: var(--serif); font-size: 1.22rem; font-weight: 500; line-height: 1.08; }
.project-capabilities p { margin-top: 11px; color: #c3cac5; font-size: 0.8rem; line-height: 1.5; }

.project-profile-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.project-profile-compact { min-height: 300px; }
.project-profile-compact .project-profile-head h3 { font-size: clamp(2.45rem, 3.3vw, 3.5rem); }

.project-profile-summary {
  max-width: 560px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #49504b;
  color: #b8c0ba;
  font-size: 0.83rem;
  line-height: 1.6;
}

.project-profile-munin { background: #292f2b; }

.engineering-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  padding: 0;
  background: #49504b;
  list-style: none;
}

.engineering-flow li { min-height: 92px; padding: 16px; background: #252b27; }
.engineering-flow b { display: block; color: var(--signal); font-size: 0.62rem; letter-spacing: 0.1em; }
.engineering-flow span { display: block; margin-top: 13px; color: #d0d5d1; font-size: 0.75rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; text-transform: none; }

.engineering-disclosure { margin-top: 30px; }
.engineering-disclosure .disclosure-panel { padding-top: 28px; }
.engineering-disclosure .engineering-capability-grid { margin-top: 0; }

.engineering-tool-showcase {
  display: grid;
  grid-template-columns: minmax(210px, 0.34fr) minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid #49504b;
  background: #1d231f;
}

.engineering-tool-tabs {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-right: 1px solid #49504b;
  background: #252b27;
}

.engineering-tool-tabs button {
  width: 100%;
  min-height: 88px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 4px 10px;
  align-content: center;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid #424944;
  background: transparent;
  color: #c3cac5;
  text-align: left;
  cursor: pointer;
}

.engineering-tool-tabs button:last-child { border-bottom: 0; }
.engineering-tool-tabs button > span { grid-row: 1 / 3; color: var(--signal); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.1em; }
.engineering-tool-tabs button > b { color: #f2f0e9; font-family: var(--serif); font-size: 1.08rem; font-weight: 500; line-height: 1.08; }
.engineering-tool-tabs button > small { color: #9da69f; font-size: 0.69rem; line-height: 1.35; }

.engineering-tool-tabs button:hover,
.engineering-tool-tabs button:focus-visible { background: #2b322d; }

.engineering-tool-tabs button[aria-selected="true"] {
  box-shadow: inset 3px 0 0 var(--signal);
  background: #303731;
}

.engineering-tool-stage { min-width: 0; }
.engineering-tool-stage article[hidden] { display: none; }
.engineering-tool-stage picture { display: block; overflow: hidden; background: #151a17; }
.engineering-tool-stage img { width: 100%; height: auto; aspect-ratio: 1400 / 788; object-fit: cover; }
.engineering-tool-image { position: relative; display: block; color: inherit; cursor: zoom-in; }
.engineering-tool-image::after {
  content: "↗";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 240, 233, 0.54);
  background: rgba(18, 23, 20, 0.82);
  color: #f2f0e9;
  font-size: 1rem;
}
.engineering-tool-image:hover::after { border-color: var(--signal); background: #242b27; }
.engineering-tool-image:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

.engineering-tool-stage article > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.58fr) minmax(0, 1.42fr);
  gap: 8px 24px;
  padding: 24px;
  border-top: 1px solid #49504b;
  background: #292f2b;
}

.engineering-tool-stage article > div > p {
  grid-column: 1 / -1;
  color: var(--signal);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.engineering-tool-stage article > div > em {
  grid-column: 1 / -1;
  color: #9da69f;
  font-size: 0.61rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.engineering-tool-stage h4 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 500;
  line-height: 1.08;
}

.engineering-tool-stage article > div > span {
  color: #c3cac5;
  font-size: 0.84rem;
  line-height: 1.62;
}

.engineering-tool-stage article > div > small {
  grid-column: 1 / -1;
  color: var(--signal);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.engineering-flow-note {
  margin-top: 14px;
  color: #aeb6b0;
  font-size: 0.75rem;
  line-height: 1.55;
}

.portfolio { background: var(--paper-light); }
.portfolio-grid { align-items: start; }

.portfolio-intro {
  max-width: 840px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.portfolio-intro p {
  max-width: 730px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.industrial-tools { padding-block: 48px 56px; border-bottom: 1px solid var(--line); }
.portfolio-section-heading { max-width: 760px; margin-bottom: 28px; }
.portfolio-section-heading > p { color: var(--signal); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.portfolio-section-heading h3 { margin-top: 12px; font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 1; }
.portfolio-section-heading-products { margin: 54px 0 0; }

.engineering-platform {
  padding: clamp(28px, 4vw, 52px);
  background: var(--ink);
  color: var(--white);
}

.engineering-platform-lead {
  max-width: 900px;
  color: #d0d5d1;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.35;
}

.engineering-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
  border-top: 1px solid #49504b;
  border-left: 1px solid #49504b;
}

.engineering-capability-grid article {
  min-height: 230px;
  padding: 24px;
  border-right: 1px solid #49504b;
  border-bottom: 1px solid #49504b;
}

.engineering-capability-grid article > p { color: var(--signal); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.engineering-capability-grid h4 { margin: 22px 0 0; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.08; }
.engineering-capability-grid article > span { display: block; margin-top: 15px; color: #c3cac5; font-size: 0.84rem; line-height: 1.6; }

.engineering-impact {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 36px;
  margin-top: 34px;
  padding: 30px;
  border-left: 3px solid var(--signal);
  background: #292f2b;
}

.engineering-impact strong { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 500; line-height: 1.15; }
.engineering-impact p { color: #d0d5d1; font-size: 0.9rem; line-height: 1.7; }

.engineering-teaser {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.engineering-teaser-copy { padding: clamp(28px, 4vw, 52px); }
.engineering-teaser-copy > p { max-width: 690px; color: #d0d5d1; font-size: 0.95rem; line-height: 1.7; }
.button-dark { margin-top: 25px; border: 1px solid #59615c; background: #2c332f; color: var(--white); }
.button-dark:hover, .button-dark:focus-visible { border-color: var(--signal); background: #343c37; }

.engineering-teaser-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-left: 1px solid #49504b;
  color: var(--white);
  text-decoration: none;
}

.engineering-teaser-visual picture,
.engineering-teaser-visual img { width: 100%; height: 100%; }
.engineering-teaser-visual img { object-fit: cover; }
.engineering-teaser-visual span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 9px 12px;
  background: rgba(24, 29, 26, 0.88);
  color: #e2e6e3;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.method-page { background: var(--paper-light); }
.profile-page { background: var(--paper-light); }
.profile-hero { padding-block: clamp(72px, 9vw, 128px); background: var(--paper); }
.profile-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.62fr);
  gap: clamp(48px, 9vw, 132px);
  align-items: end;
}
.profile-hero-copy { max-width: 820px; }
.profile-hero-copy h1 { margin-top: 24px; font-size: clamp(3.25rem, 5.5vw, 5.8rem); line-height: 0.96; }
.profile-hero-copy > p:not(.section-label) { max-width: 720px; margin-top: 28px; color: var(--muted); font-size: 1.02rem; line-height: 1.72; }
.profile-summary {
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  background: var(--paper-light);
}
.profile-summary > p { color: var(--signal); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.profile-summary h2 { margin-top: 13px; font-size: clamp(1.75rem, 2.4vw, 2.55rem); line-height: 1.04; }
.profile-summary dl { margin-top: 30px; border-top: 1px solid var(--line); }
.profile-summary dl div { padding-block: 15px; border-bottom: 1px solid var(--line); }
.profile-summary dt { color: var(--signal-dark); font-size: 0.61rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.profile-summary dd { margin-top: 7px; color: #4d524e; font-size: 0.82rem; line-height: 1.48; }

.profile-story { padding-block: clamp(72px, 8vw, 112px); }
.profile-story-grid {
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(0, 820px);
  gap: clamp(42px, 7vw, 96px);
}
.profile-story-copy h2 { font-size: clamp(2.65rem, 4.2vw, 4.45rem); line-height: 1; }
.profile-story-copy p { max-width: 760px; margin-top: 24px; color: var(--muted); font-size: 0.96rem; line-height: 1.74; }
.profile-story-copy p:first-of-type { color: var(--ink); font-weight: 700; }

.profile-principles { padding-block: clamp(72px, 8vw, 112px); background: var(--ink); color: var(--white); }
.profile-principles-heading { max-width: 820px; }
.profile-principles-heading h2 { margin-top: 18px; font-size: clamp(2.65rem, 4.4vw, 4.6rem); line-height: 0.98; }
.profile-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 44px;
  border-top: 1px solid #49504b;
  border-left: 1px solid #49504b;
}
.profile-principles-grid article { min-height: 220px; padding: clamp(24px, 3vw, 34px); border-right: 1px solid #49504b; border-bottom: 1px solid #49504b; }
.profile-principles-grid span { color: var(--signal); font-size: 0.63rem; font-weight: 800; letter-spacing: 0.1em; }
.profile-principles-grid h3 { margin-top: 30px; font-size: clamp(1.45rem, 2.1vw, 2.1rem); }
.profile-principles-grid p { margin-top: 15px; color: #c3cac5; font-size: 0.86rem; line-height: 1.62; }

.method-hero { padding-block: clamp(64px, 8vw, 116px); background: var(--paper); }
.method-hero-grid { display: grid; grid-template-columns: minmax(0, 0.84fr) minmax(460px, 1.16fr); gap: clamp(42px, 7vw, 100px); align-items: center; }
.method-hero-copy { max-width: 760px; }
.method-hero-copy h1 { margin-top: 25px; font-size: clamp(3.2rem, 5.7vw, 6rem); line-height: 0.95; }
.method-hero-copy > p:not(.section-label) { max-width: 690px; margin-top: 30px; color: var(--muted); font-size: 1.04rem; line-height: 1.75; }
.method-hero-visual { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--ink); box-shadow: var(--shadow); text-decoration: none; }
.method-hero-visual picture { display: block; }
.method-hero-visual img { width: 100%; height: auto; aspect-ratio: 1400 / 788; object-fit: cover; }
.method-hero-visual > span { position: absolute; left: 18px; bottom: 18px; padding: 9px 12px; background: rgba(24, 29, 26, 0.9); color: var(--white); font-size: 0.67rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.method-process,
.method-continuity,
.method-tools,
.method-cta { padding-block: clamp(68px, 8vw, 112px); }

.method-section-heading { max-width: 900px; }
.method-section-heading h2 { margin-top: 18px; font-size: clamp(2.8rem, 5vw, 5.2rem); line-height: 0.98; }
.method-section-heading > p:last-child { max-width: 720px; margin-top: 22px; color: var(--muted); line-height: 1.7; }

.method-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 48px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.method-flow li { position: relative; min-width: 0; min-height: 208px; padding: 22px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method-flow li:not(:last-child)::after {
  content: "›";
  position: absolute;
  z-index: 1;
  top: 17px;
  right: -13px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-light);
  color: var(--signal);
  font-family: Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
}
.method-flow span { color: var(--signal); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; }
.method-flow b { display: block; margin-top: 30px; font-family: var(--serif); font-size: clamp(1.16rem, 1.45vw, 1.42rem); font-weight: 500; line-height: 1.08; overflow-wrap: break-word; }
.method-flow p { margin-top: 13px; color: var(--muted); font-size: 0.76rem; line-height: 1.52; }

.method-continuity { padding-block: clamp(50px, 6vw, 80px); background: var(--paper-deep); }
.method-continuity-compact {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(38px, 8vw, 120px);
  align-items: end;
}
.method-continuity-compact h2 { margin-top: 15px; max-width: 650px; font-size: clamp(2.35rem, 4.1vw, 4.25rem); line-height: 0.98; }
.method-continuity-compact > p { max-width: 720px; color: var(--muted); font-size: 0.98rem; line-height: 1.72; }

.method-tools { background: var(--ink); color: var(--white); }
.method-section-heading-light > p:last-child { color: #c3cac5; }
.method-tools .engineering-tool-showcase { margin-top: 48px; }
.method-tools .engineering-impact { margin-top: 32px; }

.method-cta { background: var(--paper); }
.method-cta-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); gap: clamp(45px, 9vw, 130px); align-items: end; }
.method-cta h2 { margin-top: 18px; max-width: 850px; font-size: clamp(2.8rem, 5vw, 5.2rem); line-height: 0.98; }
.method-cta-inner > div:last-child p { color: var(--muted); line-height: 1.72; }
.method-cta-inner > div:last-child .button { margin-top: 26px; }

.product-case {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(360px, 1.22fr);
  gap: clamp(38px, 7vw, 78px);
  align-items: center;
  padding-block: 46px;
  border-bottom: 1px solid var(--line);
}

.product-media-disclosure {
  min-width: 0;
  align-self: center;
  margin-top: 0;
}

.product-media-disclosure .disclosure-panel { padding-top: 16px; }
.product-media-disclosure > .disclosure-summary { padding-inline: 3px; }

.product-copy { min-width: 0; }

.product-type {
  color: var(--signal);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.product-copy h3 {
  margin-top: 13px;
  font-size: clamp(2.8rem, 4.6vw, 4.7rem);
  line-height: 0.98;
}

.product-copy > p:not(.product-type) {
  margin-top: 22px;
  color: #555a56;
  font-size: 0.94rem;
  line-height: 1.65;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
}

.product-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  margin-top: 24px;
}

.product-links a,
.product-main-link {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--signal);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.product-main-link { margin-top: 25px; }

.product-gallery {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.72);
}

.gallery-image {
  display: block;
  overflow: hidden;
  border: 1px solid #cbd3d5;
  background: #e9eef0;
}

.gallery-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.78;
  object-fit: cover;
  object-position: 18% center;
}

.product-gallery > p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.73rem;
}

.gallery-controls {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.gallery-controls > button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--signal);
  cursor: pointer;
}

.gallery-controls > button:hover { background: var(--paper); }

.gallery-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.gallery-dots::-webkit-scrollbar { display: none; }

.gallery-dots button {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.gallery-dots button::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #d0cbc1;
}

.gallery-dots button.is-active {
  border-radius: 14px;
  background: transparent;
}

.gallery-dots button.is-active::before { inset: 10px 4px; border-radius: 8px; background: var(--signal); }
.gallery-dots button:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

.turklar-media {
  min-width: 0;
  overflow: hidden;
  padding: 22px 18px 18px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.72);
}

.screenshot-scroll {
  display: flex;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.screenshot-scroll::-webkit-scrollbar { display: none; }

.screenshot-card {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
}

.screenshot-card a {
  display: block;
  overflow: hidden;
  border: 1px solid #d5d0c6;
  box-shadow: 0 13px 28px rgba(55, 47, 36, 0.11);
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--paper);
}

.screenshot-card figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.phone-scroll {
  gap: 14px;
  scroll-padding-inline: 1px;
}

.phone-card { flex: 0 0 clamp(138px, 29%, 188px); }

.media-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.media-nav {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--signal);
  cursor: pointer;
}

.media-nav:hover { background: var(--paper); }
.media-nav:disabled { opacity: 0.34; cursor: default; }

.media-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.media-dots::-webkit-scrollbar { display: none; }

.media-dot {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.media-dot::before {
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: #d0cbc1;
}

.media-dot.is-active::before {
  width: 22px;
  border-radius: 8px;
  background: var(--signal);
}

.closing {
  min-height: 72svh;
  display: flex;
  align-items: center;
  padding: clamp(64px, 10vw, 140px) clamp(22px, 5vw, 72px);
  background:
    linear-gradient(110deg, rgba(177, 62, 47, 0.12), transparent 38%),
    var(--paper-deep);
}

.closing-inner {
  width: min(100%, 1360px);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(34px, 7vw, 92px);
  margin-inline: auto;
}

.closing-copy { flex: 1 1 auto; }

.closing .section-label {
  margin-bottom: 22px;
  color: var(--signal);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.closing h2 {
  max-width: 760px;
  font-size: clamp(2.8rem, 5.5vw, 5.4rem);
  line-height: 0.98;
}

.closing-copy p:not(.section-label) {
  max-width: 650px;
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.6;
}

.contact {
  flex: 0 0 min(100%, 420px);
  padding-left: 24px;
  border-left: 2px solid var(--signal);
}

.contact-direct {
  display: grid;
  gap: 12px;
}

.contact-direct a {
  display: grid;
  gap: 3px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(32, 35, 34, 0.18);
  color: var(--ink);
  text-decoration: none;
}

.contact-direct span,
.contact-form label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-direct strong { font-size: clamp(1rem, 1.3vw, 1.15rem); }

.contact-form {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-form-intro { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.contact-form-intro strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.contact-form-intro span { color: var(--muted); font-size: 0.72rem; }

.contact-form select,
.contact-form textarea,
.contact-fallback {
  width: 100%;
  border: 1px solid rgba(32, 35, 34, 0.2);
  background: rgba(255, 250, 240, 0.62);
  color: var(--ink);
}

.contact-form select {
  min-height: 44px;
  padding: 10px 12px;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
  padding: 12px;
  line-height: 1.5;
}

.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.contact-action,
.contact-copy-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  font-weight: 800;
  cursor: pointer;
}

.contact-action {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
}

.contact-copy-button {
  border: 1px solid rgba(32, 35, 34, 0.24);
  background: rgba(255, 250, 240, 0.5);
  color: var(--ink);
}

.contact-action:hover,
.contact-copy-button:hover { filter: brightness(0.96); }

.contact-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.contact-status {
  min-height: 1.25em;
  color: var(--signal);
  font-size: 0.84rem;
  font-weight: 700;
}

.contact-fallback[hidden] { display: none; }

.contact-fallback {
  margin-top: -2px;
  padding: 10px 12px;
  border-color: rgba(177, 62, 47, 0.38);
  background: rgba(255, 250, 240, 0.82);
}

.site-footer {
  padding-block: 28px;
  border-top: 1px solid var(--line);
  background: var(--paper-light);
}

.legal-page {
  min-height: calc(100vh - 92px);
  padding-block: clamp(64px, 9vw, 130px);
  background: var(--paper-light);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.3fr) minmax(0, 1fr);
  gap: clamp(42px, 8vw, 130px);
}

.legal-content { max-width: 820px; }
.legal-content h1 { max-width: 760px; font-family: var(--serif); font-size: clamp(3.4rem, 7vw, 6.8rem); font-weight: 400; line-height: 0.94; letter-spacing: -0.055em; }
.legal-lead { max-width: 720px; margin-top: 28px; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.28rem); line-height: 1.7; }
.legal-content > h2 { margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.legal-content > h2 + p { margin-top: 12px; color: var(--muted); line-height: 1.75; }
.legal-sections { margin-top: clamp(50px, 7vw, 82px); border-top: 1px solid var(--line); }
.legal-sections section { display: grid; grid-template-columns: minmax(170px, 0.32fr) minmax(0, 1fr); gap: 28px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.legal-sections h2 { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.legal-sections p { color: var(--muted); line-height: 1.75; }
.legal-sections p + p { margin-top: 12px; }
.legal-content a { color: var(--signal); text-decoration: underline; text-underline-offset: 3px; }
.legal-related { margin-top: 34px; font-size: 0.86rem; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner > div {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.73rem;
}

.anchor-alias {
  position: absolute;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.lightbox {
  width: min(98vw, 1800px);
  max-width: none;
  height: min(96dvh, 1200px);
  max-height: none;
  padding: 0;
  border: 1px solid #4b4f4c;
  background: #111513;
  color: var(--white);
}

.contact-disclosure { margin-top: 18px; }
.contact-disclosure .disclosure-panel { padding-bottom: 2px; }

.lightbox::backdrop { background: rgba(12, 15, 14, 0.86); backdrop-filter: blur(5px); }
.lightbox-head { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-inline: 18px; border-bottom: 1px solid #353a37; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; }
.lightbox-head button { min-width: 42px; min-height: 42px; border: 1px solid transparent; background: transparent; color: var(--white); cursor: pointer; }
.lightbox-head button:hover { border-color: #505652; background: #1b211e; }
.lightbox-head button:disabled { cursor: not-allowed; opacity: 0.36; }
.lightbox-head i { margin-left: 8px; font-size: 1.2rem; font-style: normal; }
.lightbox-zoom-controls { display: flex; align-items: center; justify-content: center; gap: 5px; margin-left: auto; }
.lightbox-zoom-controls output { min-width: 52px; color: #d6dbd7; font-variant-numeric: tabular-nums; text-align: center; }
.lightbox-zoom-controls .lightbox-fit { width: auto; padding-inline: 13px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.lightbox-body {
  position: relative;
  height: calc(100% - 64px);
  overflow: hidden;
  padding: 8px;
}

.lightbox-media {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
}

.lightbox-viewport {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: #59615c #171c19;
  scrollbar-width: thin;
  touch-action: pan-x pan-y;
}

.lightbox-canvas {
  width: max-content;
  min-width: 100%;
  height: max-content;
  min-height: 100%;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: 12px;
}

.lightbox-media img {
  flex: none;
  max-width: none;
  max-height: none;
  object-fit: fill;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-viewport.is-zoomed { cursor: grab; }
.lightbox-viewport.is-dragging { cursor: grabbing; }
.lightbox-viewport.is-dragging img { pointer-events: none; }

.lightbox-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 50px;
  height: 66px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #505652;
  background: rgba(27, 33, 30, 0.9);
  color: var(--white);
  cursor: pointer;
}

.lightbox-nav[data-lightbox-dir="-1"] { left: 14px; }
.lightbox-nav[data-lightbox-dir="1"] { right: 14px; }

.lightbox-nav:hover { border-color: var(--signal); background: #242b27; }
.lightbox-nav span { font-size: 1.45rem; line-height: 1; }

.lightbox-caption {
  min-height: 1.5em;
  margin-top: 7px;
  color: #c8ccc9;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-align: center;
}

:focus-visible { outline: 3px solid #d35b49; outline-offset: 3px; }

@media (max-width: 1040px) {
  .hero { grid-template-columns: minmax(0, 56%) minmax(0, 44%); }
  .hero-copy { padding-left: 32px; }
  .editorial-grid { grid-template-columns: 150px minmax(0, 1fr); gap: 42px; }
  .product-case { grid-template-columns: minmax(220px, 0.7fr) minmax(340px, 1.3fr); gap: 36px; }
  .engineering-capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .method-flow li:nth-child(3)::after { display: none; }
}

@media (min-width: 901px) and (max-width: 1140px) {
  .header-inner { gap: 13px; }
  .brand-copy span { display: none; }
  .primary-nav { gap: 11px; font-size: 0.76rem; }
  .primary-nav .nav-contact { padding-inline: 11px; }
  .language-switcher button,
  .language-switcher a { padding-inline: 7px; }
}

@media (max-width: 900px) {
  .page-width { width: min(100% - 36px, 720px); }
  html { scroll-padding-top: 70px; }
  .site-header { height: auto; min-height: 70px; }
  .js-ready .site-header { height: 70px; }
  .header-inner { min-height: 70px; flex-wrap: wrap; }
  .js-ready .header-inner { flex-wrap: nowrap; }
  .brand img { width: 42px; height: 42px; }
  .js-ready .menu-toggle { display: inline-flex; align-items: center; gap: 12px; padding: 10px 0; }
  .primary-nav { width: 100%; display: flex; flex-wrap: wrap; gap: 0 22px; padding-bottom: 14px; }
  .js-ready .primary-nav { position: absolute; top: 70px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 18px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .js-ready .nav-open .primary-nav { display: flex; }
  .js-ready .primary-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .js-ready .primary-nav a:last-child { border-bottom: 0; }
  .language-switcher { margin-left: auto; }
  .js-ready .nav-open .menu-toggle i { background: transparent; }
  .js-ready .nav-open .menu-toggle i::before { top: 0; transform: rotate(45deg); }
  .js-ready .nav-open .menu-toggle i::after { top: 0; transform: rotate(-45deg); }

  .hero { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { min-height: auto; padding: 50px 18px 36px; }
  .hero h1 { max-width: 720px; font-size: clamp(3.35rem, 10vw, 5.2rem); }
  .hero-visual { min-height: 500px; border-top: 1px solid var(--line); border-left: 0; }
  .hero-visual img { height: 450px; }

  .editorial-grid { grid-template-columns: 1fr; gap: 30px; }
  .section-rail { display: flex; align-items: center; gap: 14px; }
  .section-rail i { width: 44px; margin: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: auto; padding: 21px 22px; }
  .service-grid h3 { margin-top: 14px; }
  .service-grid p { margin-top: 10px; }
  .industry-heading { grid-template-columns: 1fr; }
  .industry-heading .section-label { grid-column: auto; }
  .project-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-capabilities-five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-capabilities-five section { grid-column: auto; }
  .engineering-tool-showcase { grid-template-columns: 1fr; }
  .engineering-tool-tabs {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid #49504b;
    scrollbar-width: none;
  }
  .engineering-tool-tabs::-webkit-scrollbar { display: none; }
  .engineering-tool-tabs button {
    min-width: 205px;
    flex: 0 0 205px;
    border-right: 1px solid #424944;
    border-bottom: 0;
  }
  .engineering-tool-tabs button[aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--signal); }
  .engineering-teaser { grid-template-columns: 1fr; }
  .engineering-teaser-visual { min-height: 360px; border-top: 1px solid #49504b; border-left: 0; }
  .profile-hero-grid,
  .profile-story-grid { grid-template-columns: 1fr; }
  .profile-summary { max-width: 720px; }
  .profile-principles-grid { grid-template-columns: 1fr; }
  .profile-principles-grid article { min-height: auto; }
  .method-hero-grid { grid-template-columns: 1fr; }
  .method-hero-copy { max-width: 760px; }
  .method-hero-visual { max-width: 760px; }
  .method-continuity-compact { grid-template-columns: 1fr; }
  .method-cta-inner { grid-template-columns: 1fr; }

  .closing { min-height: 0; padding-block: 78px; }
  .closing-inner { flex-direction: column; align-items: flex-start; }
  .contact { width: min(100%, 620px); flex-basis: auto; }

  .product-case { grid-template-columns: 1fr; gap: 30px; }
  .product-copy { max-width: 620px; }
  .product-gallery, .turklar-media { max-width: 680px; }
  .legal-layout { grid-template-columns: 1fr; gap: 30px; }
  .legal-sections section { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 540px) {
  .page-width { width: min(100% - 28px, 520px); }
  .brand-copy { display: none; }
  .hero-copy { padding-top: 42px; }
  .hero-kicker { gap: 8px 14px; font-size: 0.68rem; }
  .hero-kicker span::before { width: 18px; }
  .hero h1 { margin-top: 21px; font-size: clamp(2.5rem, 11vw, 3.4rem); overflow-wrap: anywhere; }
  .hero-lead { margin-top: 22px; font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; margin-top: 26px; }
  .hero-visual { min-height: 255px; padding: 18px 24px; }
  .hero-visual img { height: 225px; }
  .editorial-section { padding-block: 50px; }
  .section-content > h2, .portfolio-intro h2 { font-size: 2.75rem; }
  .industry-heading { padding-bottom: 34px; }
  .industry-heading h2 { font-size: 2.65rem; }
  .project-profile { padding: 24px; }
  .project-profile-head h3 { margin-top: 15px; }
  .project-profile-intro { margin-top: 18px; }
  .project-profile .content-disclosure { margin-top: 18px; }
  .project-profile-row { grid-template-columns: 1fr; }
  .project-profile-compact { min-height: auto; }
  .project-capabilities,
  .project-capabilities-five { grid-template-columns: 1fr; }
  .project-capabilities section { min-height: auto; }
  .engineering-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .engineering-flow li { min-height: 82px; padding: 13px; }
  .engineering-flow li:last-child { grid-column: 1 / -1; }
  .engineering-flow span { margin-top: 8px; }
  .engineering-platform { padding: 24px; }
  .engineering-capability-grid { grid-template-columns: 1fr; }
  .engineering-capability-grid article { min-height: auto; }
  .engineering-tool-stage article > div { grid-template-columns: 1fr; gap: 10px; padding: 20px; }
  .engineering-tool-stage h4 { font-size: 1.55rem; }
  .engineering-impact { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .engineering-teaser-visual { min-height: 250px; }
  .profile-hero { padding-block: 52px 64px; }
  .profile-hero-copy h1 { font-size: clamp(2.75rem, 12vw, 4rem); }
  .profile-hero-copy > p:not(.section-label) { margin-top: 22px; font-size: 0.96rem; }
  .profile-story,
  .profile-principles { padding-block: 58px; }
  .profile-story-grid { gap: 28px; }
  .profile-story-copy h2,
  .profile-principles-heading h2 { font-size: 2.75rem; }
  .profile-principles-grid { margin-top: 32px; }
  .method-hero { padding-block: 50px 64px; }
  .method-hero-copy h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .method-hero-copy > p:not(.section-label) { margin-top: 22px; font-size: 0.96rem; }
  .method-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 34px; }
  .method-flow li { min-height: 176px; padding: 18px 15px; }
  .method-flow li:nth-child(3)::after { display: grid; }
  .method-flow li:nth-child(even)::after { display: none; }
  .method-section-heading h2,
  .method-cta h2 { font-size: 2.75rem; }
  .portfolio-intro { padding-bottom: 36px; }
  .product-case { padding-block: 36px; }
  .product-copy h3 { font-size: 3rem; }
  .product-media-disclosure { width: 100%; }
  .product-gallery { padding: 14px; }
  .gallery-controls { margin-top: 14px; }
  .turklar-media { padding: 14px 10px 12px; }
  .phone-card { flex-basis: clamp(138px, 44vw, 164px); }
  .closing { padding: 58px 18px; }
  .closing h2 { font-size: 2.9rem; }
  .contact { padding-left: 16px; }
  .contact-form-intro { align-items: flex-start; flex-direction: column; gap: 5px; }
  .lightbox { width: 100vw; height: 100dvh; border: 0; }
  .lightbox-head { height: 58px; gap: 6px; padding-inline: 8px; }
  .lightbox-head > span { display: none; }
  .lightbox-head button { min-width: 40px; min-height: 40px; }
  .lightbox-zoom-controls { margin-left: 0; }
  .lightbox-zoom-controls output { min-width: 44px; }
  .lightbox-zoom-controls .lightbox-fit { padding-inline: 9px; }
  .lightbox-body { height: calc(100% - 58px); padding: 4px; }
  .lightbox-canvas { padding: 8px; }
  .lightbox-nav { width: 40px; height: 54px; }
  .lightbox-nav[data-lightbox-dir="-1"] { left: 8px; }
  .lightbox-nav[data-lightbox-dir="1"] { right: 8px; }
  .lightbox-caption { font-size: 0.68rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
