:root {
  color-scheme: light;
  --paper: #fff;
  --surface: #fff;
  --tint: #f6f7f8;
  --ink: #17181b;
  --muted: #505661;
  --line: #e7e8ec;
  --line-hover: #c7cad1;
  --red: #ed1c24;
  --accent: #c7192c;
  --accent-dark: #9f1223;
  --rose: #fff0f1;
  --shell: min(calc(100% - clamp(36px, 9vw, 128px)), 1240px);
  --radius: 22px;
  --card-radius: 14px;
  --section-gap: clamp(55px, 7.4vw, 108px);
  --section-heading: clamp(1.85rem, 3.1vw, 2.85rem);
  --panel-bg: radial-gradient(ellipse at 87% 17%, #fbeef0 0%, transparent 67%), linear-gradient(120deg, #f5f6f8, #faf9f9);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 94px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.58 var(--font, system-ui, sans-serif);
  -webkit-font-smoothing: antialiased;
}
.home {
  --ice-line: #d7e5ee;
  --ice-ink: #243b52;
  --panel-bg: radial-gradient(ellipse at 92% 10%, #e8f2f9, transparent 69%), linear-gradient(125deg, #f2f6fa, #fafbfd);
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 660; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: #ffd9df; color: var(--ink); }
.shell { width: var(--shell); margin-inline: auto; }
.skip {
  position: fixed;
  top: 9px;
  left: 12px;
  z-index: 10;
  padding: 9px 14px;
  transform: translateY(-150%);
  border-radius: 7px;
  background: var(--surface);
}
.skip:focus { transform: none; }
.arrow {
  display: inline-block;
  flex: none;
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
}
.arrow.forward { transform: rotate(45deg); }
.arrow.up { transform: rotate(-45deg); }
.arrow.back { transform: rotate(-135deg); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
}
.text-link:hover { color: var(--accent); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  font-size: .87rem;
  font-weight: 620;
  line-height: 1.22;
  text-align: center;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}
.button:hover { border-color: var(--line-hover); background: var(--tint); }
.button-primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.button-primary:hover { border-color: var(--accent-dark); background: var(--accent-dark); }

.site-top {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid #ededf0;
  background: #fffffff2;
  backdrop-filter: blur(12px);
}
.site-header-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; width: fit-content; }
.brand img { width: 88px; height: 44px; object-fit: contain; }
.site-brand { gap: 10px; }
.site-brand span { color: var(--muted); font-size: .78rem; font-weight: 550; white-space: nowrap; }
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(17px, 2.45vw, 38px);
  font-size: .86rem;
  font-weight: 550;
}
.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}
.desktop-contact {
  position: absolute;
  inset-inline-end: 0;
  top: 50%;
  transform: translateY(-50%);
}
.desktop-contact a {
  justify-content: center;
  min-height: 42px;
  padding-inline: 19px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  font-weight: 620;
}
.desktop-contact a:hover { background: var(--tint); }
.site-top a:is(:hover, [aria-current="page"], .is-active) { color: var(--accent); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-size: .875rem;
  font-weight: 630;
  list-style: none;
  cursor: pointer;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.menu-lines { width: 15px; height: 7px; border-block: 1.5px solid; }
.mobile-menu nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  width: min(238px, calc(100vw - 36px));
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 14px 32px #181b2817;
}
.mobile-menu nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 12px;
  border-radius: 6px;
  font-size: .94rem;
  font-weight: 580;
}
.mobile-menu nav a:is(:hover, [aria-current], .is-active) { background: var(--rose); }

.hero-section { position: relative; isolation: isolate; }
.hero-section::before,
.hero-section::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: var(--shell);
  margin-inline: auto;
  pointer-events: none;
  content: "";
}
.hero-section::before {
  background: repeating-linear-gradient(to right, #ececef 0 1px, transparent 1px 12.5%);
  border-inline-end: 1px solid #ececef;
  mask-image: linear-gradient(#000b, #000 33%, #0007 77%, transparent);
}
.hero-section::after {
  background:
    linear-gradient(#f3f3f5, #fff0) 0 25% / 6.25% 14%,
    linear-gradient(#f5f5f7, #fff0) 20% 10% / 6.25% 17%,
    linear-gradient(#f3f3f5, #fff0) 6.67% 52% / 6.25% 13%,
    linear-gradient(#f4f4f6, #fff0) 80% 10% / 6.25% 17%,
    linear-gradient(#f4f4f6, #fff0) 100% 49% / 6.25% 14%,
    linear-gradient(#f5f5f7, #fff0) 86.67% 63% / 6.25% 13%;
  background-repeat: no-repeat;
}
.home-hero-copy {
  display: grid;
  justify-items: center;
  gap: 15px;
  padding-block: clamp(34px, 5vw, 67px) clamp(25px, 3.15vw, 45px);
  text-align: center;
}
.hero-label { color: var(--muted); font-size: .88rem; font-weight: 600; letter-spacing: .015em; }
.home-hero-copy h1 {
  font-size: clamp(2.65rem, 6.05vw, 4.75rem);
  font-weight: 730;
  line-height: .99;
  letter-spacing: -.077em;
  text-wrap: balance;
}
.home-hero-copy h1 span { display: inline-block; color: #55565e; }
.home-hero-copy h1 b { color: var(--red); font-weight: inherit; }
.hero-description {
  max-width: 50ch;
  margin-top: 4px;
  color: var(--muted);
  font-size: clamp(.99rem, 1.46vw, 1.15rem);
  line-height: 1.55;
  text-wrap: pretty;
}
.hero-actions, .page-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.hero-actions { justify-content: center; margin-top: 7px; }
.hero-experience {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  width: min(100%, 430px);
  margin: 4px 0 0;
  padding: clamp(9px, 1.25vw, 15px) 0;
  border: 1px solid var(--ice-line);
  border-radius: 14px;
  background: linear-gradient(135deg, #f8fbff, #fff);
  box-shadow: 0 5px 16px #2c557305;
}
.hero-experience > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  padding-inline: 5px;
}
.hero-experience > div + div { border-inline-start: 1px solid var(--ice-line); }
.hero-experience dt { color: var(--muted); font-size: clamp(.71rem, 1.2vw, .85rem); font-weight: 570; line-height: 1.24; }
.hero-experience dd {
  margin: 0;
  color: var(--ice-ink);
  font-size: clamp(1.25rem, 3.05vw, 2rem);
  font-weight: 720;
  line-height: 1.06;
  letter-spacing: -.05em;
  white-space: nowrap;
}
.hero-experience dd span { color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .home [data-reveal].entered { animation: section-in .5s ease-out both; }
}
@keyframes section-in {
  from { opacity: .78; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.reference-strip {
  display: grid;
  gap: clamp(13px, 2vw, 24px);
  justify-items: center;
  margin-top: clamp(15px, 3vw, 42px);
  padding-block: 4px;
  text-align: center;
}
.reference-strip h2 { font-size: 1.1rem; font-weight: 680; letter-spacing: -.025em; }
.reference-strip > .text-link { min-height: 38px; color: var(--muted); font-size: .8rem; }
.reference-strip > .text-link:hover { color: var(--accent); }
.reference-rows { display: none; }
.home-logos {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.reference-strip .home-logos {
  --reference-gap: clamp(8px, 1.55vw, 20px);
  display: flex;
  justify-content: center;
  gap: var(--reference-gap);
}
.reference-strip .home-logos li { flex: 1 1 0; }
:is(.home-logos, .reference-run) li { display: grid; place-items: center; min-width: 0; min-height: 60px; padding: 6px 4px; }
:is(.home-logos, .reference-run) img { width: auto; height: auto; max-width: min(100%, 150px); max-height: 39px; object-fit: contain; }
.reference-strip img[src$="grand-millennium.png"] { max-height: 48px; }
.reference-strip img { filter: grayscale(1) opacity(.8); }
.reference-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(10px, 1.5vw, 18px);
}
.reference-grid li {
  min-height: clamp(88px, 12vw, 150px);
  padding: clamp(12px, 2.3vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--tint);
}
.reference-grid img {
  max-width: min(100%, clamp(112px, 12vw, 136px));
  max-height: clamp(38px, 4.2vw, 46px);
}
.reference-grid img:is([src$="pilot-garage.png"], [src$="faras-insaat.png"]) {
  max-width: min(100%, clamp(124px, 13vw, 150px));
}
.reference-grid img:is([src$="sabanci.png"], [src$="kerem-nukte.png"]) {
  max-width: min(100%, clamp(96px, 10.3vw, 115px));
}
.reference-grid img:is([src$="bzd-casting.png"], [src$="qnb-invest.png"]) {
  max-height: clamp(35px, 3.5vw, 42px);
}
.reference-grid img[src$="grand-millennium.png"] { max-height: clamp(55px, 4.45vw, 61px); }

.home-section { margin-top: var(--section-gap); }
.section-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 9px 20px;
  margin-bottom: clamp(15px, 2.1vw, 25px);
}
.section-bar h2, .services-lead h2, .approach h2, .platform-lead h2, .app h2 {
  font-size: var(--section-heading);
  font-weight: 695;
  line-height: 1.08;
  letter-spacing: -.056em;
  text-wrap: balance;
}
.section-bar .text-link { min-height: 30px; font-size: .9rem; }
.specialty-actions { display: flex; align-items: center; gap: 12px; }
.specialty-controls { display: none; }
.specialty-features {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
  gap: clamp(13px, 1.6vw, 22px);
  margin-bottom: clamp(14px, 1.9vw, 23px);
}
.specialty-feature {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7f7f9;
}
.specialty-feature:first-child { background: radial-gradient(ellipse at 0 90%, #eaf4fb, transparent 86%), #f8fafc; }
.specialty-feature-art {
  width: 100%;
  height: clamp(165px, 19vw, 254px);
  object-fit: cover;
  object-position: center 53%;
  background: #e5e6eb;
}
.specialty-feature-copy { display: grid; align-content: start; justify-items: start; gap: 8px; padding: clamp(18px, 2.75vw, 34px); }
.eyebrow { color: var(--accent-dark); font-size: .81rem; font-weight: 650; line-height: 1.35; }
.specialty-feature-copy :is(h2, h3) { max-width: 25ch; font-size: clamp(1.45rem, 2.55vw, 2rem); line-height: 1.12; letter-spacing: -.048em; }
.specialty-feature-copy > p:not(.eyebrow) { max-width: 54ch; color: var(--muted); font-size: .95rem; }
.specialty-feature-copy > .text-link { margin-top: 5px; font-size: .89rem; }
.specialty-grid, .page-grid {
  display: grid;
  gap: clamp(11px, 1.45vw, 19px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.specialty-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.specialty-grid > li { grid-column: span 3; }
.specialty-grid > li:nth-child(n + 5) { grid-column: span 4; }
.specialty-grid > li, .page-grid > li { min-width: 0; }
.specialty-card, .page-card, .home-guide-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--surface);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.specialty-card:is(:hover, :focus-visible),
.page-card:is(:hover, :focus-visible),
.home-guide-card:is(:hover, :focus-visible) {
  transform: translateY(-3px);
  border-color: var(--line-hover);
  box-shadow: 0 10px 28px #22243a0c;
}
.specialty-card-art, .guide-thumbnail {
  width: 100%;
  height: auto;
  aspect-ratio: 1.88;
  object-fit: cover;
  background: #e7e8ec;
}
.specialty-card-body, .page-card-body, .home-guide-body { position: relative; flex: 1; padding: clamp(15px, 2vw, 23px); }
.specialty-card-body :is(h2, h3), .page-card-title, .home-guide-body h3 {
  padding-inline-end: 14px;
  font-size: clamp(1.06rem, 1.58vw, 1.29rem);
  font-weight: 655;
  line-height: 1.23;
  letter-spacing: -.032em;
}
.specialty-card-body p, .page-card-copy, .home-guide-body > p:not(.guide-preview-category) {
  margin-top: 7px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}
.specialty-card-body .arrow, .page-card .arrow, .home-guide-card .arrow {
  position: absolute;
  top: clamp(20px, 2.4vw, 30px);
  right: clamp(12px, 1.45vw, 19px);
  color: var(--accent);
}

.home-services, .approach {
  padding: clamp(20px, 4vw, 52px);
  border: 1px solid #f0edf0;
  border-radius: var(--radius);
  background: var(--panel-bg);
}
.home-services {
  display: grid;
  grid-template-columns: minmax(0, .81fr) minmax(0, 1.19fr);
  align-items: start;
  gap: clamp(14px, 3.15vw, 41px);
}
.services-lead { display: flex; flex-direction: column; align-items: start; justify-content: space-between; align-self: stretch; }
.services-lead h2 { max-width: 19ch; }
.services-lead p, .platform-lead > p { max-width: 39ch; margin-top: 13px; color: var(--muted); }
.services-lead .button { margin-top: 22px; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.28vw, 17px); }
.service-grid-extended { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card, .contact-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  min-width: 0;
  padding: clamp(15px, 2vw, 27px);
  border: 1px solid #eeedf0;
  border-radius: var(--card-radius);
  background: var(--surface);
}
.service-symbol {
  flex: none;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--ice-ink);
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.service-card-heading:hover, .service-card-heading:hover .service-symbol { color: var(--accent); stroke: var(--accent); }
.service-card-heading > .arrow { color: var(--accent); }
.service-card h3, .approach-list h3, .contact-card h2 {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 655;
  line-height: 1.19;
  letter-spacing: -.032em;
}
.service-card h3 { width: 100%; }
.service-card p { margin-block: 8px 13px; color: var(--muted); font-size: .91rem; line-height: 1.47; }
.service-card ul {
  display: grid;
  gap: 5px;
  width: 100%;
  margin: auto 0 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.service-card li a { min-height: 27px; font-size: .81rem; }

.approach {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(23px, 4.25vw, 58px);
  background: radial-gradient(ellipse at 24% 45%, #dfeef8, transparent 68%), #f4f8fb;
}
.approach-visual { position: relative; overflow: hidden; border-radius: 17px; }
.approach-visual img { width: 100%; height: auto; aspect-ratio: 1.25; object-fit: cover; }
.approach-flow {
  position: absolute;
  right: clamp(7px, 2vw, 22px);
  bottom: clamp(7px, 2vw, 22px);
  padding: 10px 12px;
  border: 1px solid #fff;
  border-radius: 10px;
  background: #fffffff5;
  box-shadow: 0 6px 24px #1516261f;
}
.approach-flow > p { margin-bottom: 7px; font-size: .82rem; font-weight: 670; }
.approach-flow ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.approach-flow li { padding: 3px 7px; border-radius: 4px; background: var(--tint); color: var(--ink); font-size: .71rem; font-weight: 550; }
.approach-flow li:last-child { background: var(--rose); color: var(--accent-dark); }
.approach-list { display: grid; gap: 15px; margin: clamp(17px, 2.2vw, 27px) 0; padding: 0; list-style: none; }
.approach-list li { position: relative; min-width: 0; padding-inline-start: 29px; }
.approach-list li::before {
  position: absolute;
  top: .12em;
  left: 0;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffe1e6;
  color: var(--accent-dark);
  font-size: .72rem;
  font-weight: 760;
  content: "✓";
}
.approach-list p { margin-top: 3px; color: var(--muted); font-size: .91rem; }
.approach-content > .text-link { font-size: .89rem; }

.platform-section {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(20px, 4.8vw, 65px);
}
.platform-lead > h2 { max-width: 13ch; }
.platform-strip { margin-top: 23px; }
.platform-strip h3 { margin-bottom: 9px; color: var(--muted); font-size: .81rem; font-weight: 570; }
.platform-strip ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.platform-strip li {
  display: grid;
  place-items: center;
  min-height: 49px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}
.platform-strip img { width: clamp(52px, 5.55vw, 78px); height: 25px; object-fit: contain; }
.platform-grid {
  display: grid;
  gap: 7px;
  padding: clamp(8px, 1.45vw, 19px);
  border: 1px solid #f0edf0;
  border-radius: var(--radius);
  background: var(--panel-bg);
}
.platform-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.platform-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 11px 16px;
  border-radius: inherit;
  font-size: .98rem;
  font-weight: 640;
  line-height: 1.25;
  list-style: none;
  cursor: pointer;
}
.platform-panel summary::-webkit-details-marker { display: none; }
.platform-panel summary:hover { color: var(--accent); }
.platform-panel summary > .arrow { margin-inline-end: 2px; transform: rotate(135deg); color: var(--accent); }
.platform-panel[open] > summary > .arrow { transform: rotate(-45deg); }
.platform-panel[open] > summary { border-bottom: 1px solid var(--line); border-end-start-radius: 0; border-end-end-radius: 0; }
.platform-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 8px;
  list-style: none;
}
.platform-panel li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.tool-link {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  height: 100%;
  min-height: 68px;
  padding: 8px 23px 8px 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--tint);
  transition: border-color .18s ease, background-color .18s ease;
}
.tool-link:hover { border-color: var(--line-hover); background: var(--surface); }
.tool-link > .arrow { position: absolute; top: 15px; right: 10px; color: var(--accent); }
.tool-name { display: flex; align-items: center; gap: 7px; font-size: .83rem; line-height: 1.2; }
.tool-name strong { min-width: 0; overflow-wrap: anywhere; font-weight: 630; }
.tool-name img { flex: none; width: 22px; height: 22px; object-fit: contain; }
.tool-copy { color: var(--muted); font-size: .77rem; line-height: 1.36; }

.guide-previews { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(11px, 1.45vw, 19px); }
.guide-previews article { min-width: 0; }
.home-guide-body .guide-preview-category, .page-card-category {
  margin-bottom: 8px;
  padding-inline-end: 12px;
  color: var(--accent-dark);
  font-size: .73rem;
  font-weight: 620;
  line-height: 1.35;
}
.app {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(270px, 33vw, 398px);
  isolation: isolate;
  overflow: hidden;
  margin-block: var(--section-gap) clamp(34px, 5.4vw, 75px);
  padding: clamp(26px, 5.5vw, 66px);
  border-radius: var(--radius);
  background: radial-gradient(ellipse at 93% 12%, #67263080, transparent 50%), radial-gradient(ellipse at 5% 100%, #7c2a3680, transparent 57%), #18181c;
  color: #fff;
  text-align: center;
}
.app::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-linear-gradient(to right, #ffffff10 0 1px, transparent 1px 12.5%);
  mask-image: linear-gradient(transparent, #000 65%);
  pointer-events: none;
  content: "";
}
.app-status { color: #ffc2ca; font-size: .84rem; font-weight: 630; }
.app h2 { margin-block: 8px 12px; }
.app-content > p:not(.app-status) { max-width: 49ch; color: #e9e0e3; text-wrap: pretty; }
.app-content .button { margin-top: 23px; border-color: #f8ccd3; background: #f8ccd3; color: #51131b; }
.app-content .button:hover { border-color: #fff; background: #fff; }

.site-foot { border-top: 1px solid var(--line); background: var(--paper); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: clamp(17px, 2.6vw, 36px);
  padding-block: clamp(28px, 4.3vw, 55px);
}
.footer-brand .brand img { width: 93px; height: 47px; }
.footer-brand > p:first-of-type { font-size: .97rem; font-weight: 650; }
.footer-copy { max-width: 26ch; margin-top: 4px; color: var(--muted); font-size: .86rem; }
.footer-contact { display: grid; justify-items: start; margin-top: 8px; font-style: normal; }
.footer-contact span, .footer-group a { padding: 5px 0; font-size: .84rem; line-height: 1.35; }
.footer-contact span { color: var(--ink); font-weight: 580; }
.footer-group h2 { margin-bottom: 9px; font-size: .94rem; font-weight: 660; }
.footer-group ul { margin: 0; padding: 0; list-style: none; }
.footer-group a { display: inline-block; color: var(--muted); }
.footer-app {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 39px;
  margin-top: 10px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  font-size: .83rem;
}
.footer-app span:not(.arrow) { color: var(--muted); font-size: .73rem; }
.footer-base {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 9px 16px;
  padding-block: 16px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
}
.footer-base > span { grid-column: 2; text-align: center; }
.footer-base > a { justify-self: end; }
.footer-base > a .arrow { margin-left: 3px; }
.site-foot a:hover { color: var(--accent); }

.interior main { min-height: 57vh; }
.breadcrumbs { padding-block: 15px 12px; color: var(--muted); font-size: .79rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 2px 7px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { min-width: 0; overflow-wrap: anywhere; }
.breadcrumbs li:not(:first-child)::before { margin-inline-end: 7px; color: #666d77; content: "/"; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }
.page-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #eeeef0;
  border-radius: var(--radius);
  background: var(--panel-bg);
}
.page-intro::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-linear-gradient(to right, #e6e3e9 0 1px, transparent 1px 12.5%);
  mask-image: linear-gradient(#0008, transparent 96%);
  pointer-events: none;
  content: "";
}
.page-intro > div { align-self: center; padding: clamp(22px, 4.1vw, 55px); }
.page-intro:not(.page-intro-image) > div { text-align: center; }
.page-intro h1 {
  max-width: 33ch;
  font-size: clamp(1.86rem, 3.6vw, 3.2rem);
  font-weight: 690;
  line-height: 1.08;
  letter-spacing: -.058em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.page-intro p { max-width: 64ch; margin-top: 12px; color: var(--muted); font-size: clamp(.97rem, 1.35vw, 1.07rem); text-wrap: pretty; }
.page-intro:not(.page-intro-image) :is(h1, p) { margin-inline: auto; }
.page-intro-label { display: block; margin-bottom: 9px; color: var(--accent-dark); font-size: .8rem; font-weight: 625; }
.page-intro-image {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(0, .83fr);
  align-items: center;
  padding-inline-end: clamp(15px, 3vw, 34px);
}
.intro-art {
  width: 100%;
  height: clamp(155px, 21vw, 272px);
  margin-block: clamp(13px, 2.8vw, 31px);
  border-radius: var(--card-radius);
  object-fit: cover;
  background: #e7e8ec;
}
.page-body, .detail-layout { padding-block: clamp(17px, 3vw, 36px) clamp(36px, 5.2vw, 68px); }
.page-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.page-grid-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.page-grid-wide > li:first-child:nth-last-child(7) { grid-column: span 2; }
.page-card { min-height: 138px; }
.page-card-body { display: flex; flex-direction: column; align-items: start; }
.page-card-guide .guide-thumbnail { aspect-ratio: 1.96; }
.page-card-guide .page-card-body { background: linear-gradient(#fff, #f9f9fa); }
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.83fr) minmax(0, .77fr);
  align-items: start;
  gap: clamp(19px, 4.5vw, 59px);
}
.detail-prose { min-width: 0; }
.detail-prose section { padding-block: 22px 25px; border-bottom: 1px solid var(--line); }
.detail-prose section:first-of-type { padding-top: 5px; }
.detail-prose section:target { border-color: #e2a1a9; }
.detail-prose h2 { font-size: clamp(1.25rem, 2vw, 1.67rem); font-weight: 665; line-height: 1.2; letter-spacing: -.036em; }
.detail-prose p { max-width: 73ch; margin-top: 10px; color: var(--muted); font-size: 1rem; line-height: 1.7; overflow-wrap: anywhere; }
.detail-prose p a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: .15em; }
.detail-prose p a:hover { color: var(--accent); }
.guide-detail { grid-template-areas: "body contents" "body related"; grid-template-rows: min-content 1fr; row-gap: 12px; }
.guide-detail > .detail-prose { grid-area: body; }
.guide-detail > .related-pages { grid-area: related; }
.guide-contents { grid-area: contents; }
.guide-cover { overflow: hidden; margin: 0 0 18px; border-radius: var(--radius); }
.guide-cover img { width: 100%; height: auto; }
.guide-diagram {
  margin: 24px 0 4px;
  padding: clamp(13px, 2vw, 23px);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--panel-bg);
}
.guide-diagram figcaption { margin-bottom: 12px; font-size: .96rem; font-weight: 670; }
.guide-diagram :is(ol, ul) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.guide-diagram-flow ol { counter-reset: guide-step; }
.guide-diagram li {
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow-wrap: anywhere;
}
.guide-diagram-flow li::before {
  counter-increment: guide-step;
  content: counter(guide-step, decimal-leading-zero);
  color: var(--accent-dark);
  font-size: .73rem;
  font-weight: 660;
}
.guide-diagram strong { color: var(--ink); font-size: .86rem; }
.guide-diagram li span { color: var(--muted); font-size: .83rem; line-height: 1.45; }
@media (prefers-reduced-motion: no-preference) {
  html:has(.guide-detail) { scroll-behavior: smooth; }
}
.related-pages { display: grid; gap: 11px; }
.link-panel {
  min-width: 0;
  padding: clamp(14px, 1.8vw, 22px);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--tint);
}
.page-body > .link-panel { margin-top: 16px; }
.link-panel h2 { margin-bottom: 7px; font-size: 1.04rem; font-weight: 670; letter-spacing: -.02em; }
.link-panel :is(ul, ol) { margin: 0; padding: 0; list-style: none; }
.link-panel li + li { border-top: 1px solid var(--line); }
.link-panel a, .panel-label { justify-content: space-between; width: 100%; min-height: 43px; padding-block: 8px; font-size: .86rem; }
.link-panel a > .arrow { color: var(--accent); }
.panel-label { display: flex; align-items: center; color: var(--muted); font-weight: 600; line-height: 1.35; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact-card { background: var(--tint); }
.contact-card .text-link { margin-top: 9px; overflow-wrap: anywhere; }
.contact-map { grid-column: 1 / -1; min-width: 0; }
.contact-map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 16px;
}
.contact-map address { margin-top: 6px; color: var(--muted); font-size: .9rem; font-style: normal; }
.contact-map iframe {
  display: block;
  width: 100%;
  height: clamp(270px, 41vw, 420px);
  border: 0;
  border-radius: calc(var(--card-radius) - 2px);
  background: var(--surface);
}

.guide-archive { display: grid; gap: 16px; }
.guide-categories, .pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.guide-categories a, .page-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: .84rem;
  font-weight: 580;
}
.guide-categories a:is(:hover, [aria-current]), .page-number:is(:hover, [aria-current]) {
  border-color: #efd2d6;
  background: var(--rose);
  color: var(--accent-dark);
}
.guide-search {
  display: grid;
  gap: 6px;
  width: min(100%, 482px);
  color: var(--muted);
  font-size: .86rem;
  font-weight: 620;
}
.guide-search input {
  width: 100%;
  min-height: 47px;
  padding: 8px 13px;
  border: 1px solid var(--line-hover);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: 400 1rem/1.4 var(--font);
}
.guide-search input::placeholder { color: #656a74; }
.guide-status { color: var(--muted); font-size: .89rem; }
.pagination { padding-top: 7px; font-size: .87rem; }
.page-number { min-width: 40px; }
.pagination .text-link { min-height: 40px; padding-inline: 4px; }

@media (max-width: 1120px) {
  .reference-strip .home-logos { flex-wrap: wrap; }
  .reference-strip .home-logos li { flex: 0 0 calc((100% - 5 * var(--reference-gap)) / 6); }
}
@media (max-width: 940px) {
  .site-header-inner { display: flex; justify-content: space-between; gap: 12px; min-height: 65px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .specialty-grid, .guide-previews, .page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specialty-grid > li, .specialty-grid > li:nth-child(n + 5) { grid-column: auto; }
  .home-specialties .section-bar { align-items: center; }
  .specialty-controls { display: flex; gap: 5px; }
  .specialty-controls button {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    padding: 0;
    border: 1px solid var(--ice-line);
    border-radius: 8px;
    background: #f7fbfe;
    color: var(--ice-ink);
    cursor: pointer;
  }
  .specialty-controls button:disabled { opacity: .48; cursor: default; }
  .home-specialty-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(84%, 330px);
    gap: 11px;
    min-width: 0;
    padding: 4px 4px 9px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #a8bdce #edf3f7;
  }
  .home-specialty-track :is(.specialty-features, .specialty-grid) { display: contents; }
  .home-specialty-track :is(.specialty-feature, .specialty-grid > li) { scroll-snap-align: start; }
  .home-specialty-track :is(.specialty-card, .specialty-feature) { border-radius: var(--card-radius); }
  .home-specialty-track .specialty-card { display: flex; flex-direction: column; }
  .home-specialty-track :is(.specialty-feature-art, .specialty-card-art) { height: clamp(110px, 32vw, 145px); min-height: 0; aspect-ratio: 1.88; }
  .home-specialty-track :is(.specialty-feature-copy, .specialty-card-body) { padding: 12px 13px; }
  .home-specialty-track :is(.specialty-feature-copy, .specialty-card-body) h3 {
    font-size: clamp(1.04rem, 2.9vw, 1.16rem);
    line-height: 1.2;
  }
  .home-specialty-track :is(.specialty-feature-copy, .specialty-card-body) p:not(.eyebrow) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: .85rem;
  }
  .home-specialty-track .specialty-feature-copy { gap: 6px; }
  .home-specialty-track .specialty-card:hover { transform: none; }
  .home-services { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 16px; }
  .home-services .services-lead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px 9px;
    margin-bottom: 7px;
  }
  .services-lead > div { display: contents; }
  .services-lead p { grid-column: 1 / -1; }
  .services-lead p { margin-top: 6px; font-size: .9rem; }
  .services-lead .services-context { display: none; }
  .services-lead .button {
    grid-column: 2;
    grid-row: 1;
    min-height: 42px;
    margin-top: 0;
    padding-inline: 10px;
    font-size: .79rem;
  }
  .home-services .service-grid { display: contents; }
  .home-services .service-card { padding: 0; }
  .home-services .service-card > :is(p, ul) { display: none; }
  .service-card-heading { min-height: 49px; padding: 8px 12px; font-size: .94rem; }
  .service-symbol { width: 18px; height: 18px; }
  .footer-grid { grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-row: span 2; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .site-header-inner { min-height: 59px; }
  .home-hero-copy { gap: 12px; }
  .reference-strip .home-logos { display: none; }
  .reference-rows { display: grid; gap: 4px; width: 100%; min-width: 0; }
  .reference-rail { min-width: 0; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
  .reference-track { display: flex; width: max-content; }
  .reference-run { display: flex; flex: none; margin: 0; padding: 0; list-style: none; }
  .reference-run[aria-hidden="true"] { display: none; }
  .reference-run li { flex: none; width: clamp(104px, 30vw, 156px); min-height: 54px; padding: 5px 9px; }
  .reference-strip img { max-height: 34px; }
  .reference-strip img[src$="grand-millennium.png"] { max-height: 44px; }
  .approach, .platform-section, .page-intro-image, .detail-layout { grid-template-columns: minmax(0, 1fr); }
  .approach-visual img { aspect-ratio: 1.45; }
  .approach h2 { text-wrap: initial; }
  .platform-lead > h2 { max-width: none; }
  .page-intro-image { padding-inline: 0; }
  .intro-art { width: calc(100% - 36px); height: auto; max-height: 285px; aspect-ratio: 1.9; margin: 0 18px 18px; }
  .guide-detail { grid-template-areas: "contents" "body" "related"; grid-template-rows: auto; row-gap: 19px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .reference-strip .reference-rail {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 16px, #000 calc(100% - 16px), transparent);
  }
  .reference-strip .reference-run[aria-hidden="true"] { display: flex; }
  .reference-strip .reference-track {
    animation: reference-loop calc(var(--reference-count) * 8s) linear infinite;
  }
  .reference-strip .reference-rail:first-child .reference-track { animation-direction: reverse; }
}
@keyframes reference-loop {
  to { transform: translateX(-50%); }
}
@media (max-width: 560px) {
  .reference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-map-head .button { min-height: 42px; }
  .specialty-features, .specialty-grid, .guide-previews, .page-grid, .contact-grid,
  .guide-diagram :is(ol, ul) { grid-template-columns: minmax(0, 1fr); }
  .page-grid-wide > li:first-child:nth-last-child(7) { grid-column: auto; }
  .home-specialties .specialty-actions { width: 100%; justify-content: space-between; }
  .specialty-card { display: grid; grid-template-columns: minmax(88px, .36fr) minmax(0, .64fr); }
  .specialty-card-art { height: 100%; min-height: 110px; aspect-ratio: auto; }
  .specialty-card-body { padding: 12px 13px; }
  .specialty-card-body p { font-size: .86rem; }
  .specialty-card-body .arrow { top: 17px; right: 10px; }
  .home-guide-body, .page-card-body { padding: 15px; }
  .page-card-guide { display: grid; grid-template-columns: minmax(0, 1fr); }
  .page-card { min-height: 0; }
  .footer-base { grid-template-columns: minmax(0, 1fr) auto; }
  .footer-base > span { grid-column: 1; text-align: start; }
}
@media (max-width: 390px) {
  .site-brand img { width: 75px; height: 38px; }
  .site-brand { gap: 7px; }
  .site-brand span { font-size: .73rem; }
  .platform-panel ul { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 350px) {
  .hero-actions .button { padding-inline: 12px; font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
