:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f7f7f7;
  --ink: #222225;
  --muted: #68686d;
  --muted-dark: #4c4c51;
  --line: #e8e8e8;
  --line-strong: #dcdcdc;
  --accent: #e30613;
  --accent-dark: #bd0710;
  --shadow: 0 16px 42px rgba(0, 0, 0, 0.06);
  --radius-sm: 6px;
  --radius-md: 8px;
  --container: 1860px;
  --fs-hero-h1: 36px;
  --fs-section-title: 25px;
  --fs-secondary-title: 23px;
  --fs-card-title: 17px;
  --fs-feature-title: 15px;
  --fs-body: 15px;
  --fs-small-body: 13px;
  --fs-eyebrow: 10px;
  --fs-nav: 17px;
  --fs-button: 15px;
  --fs-input: 15px;
  --fs-footer-link: 16px;
  --site-header-height: 124px;
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Contact page */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.contact-page-hero {
  position: relative;
  height: 900px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #f6f3ef;
}

.contact-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.98) 18%,
    rgba(255, 255, 255, 0.86) 27%,
    rgba(255, 255, 255, 0.3) 47%,
    rgba(255, 255, 255, 0) 66%
  );
}

.contact-page-hero-visual,
.contact-page-hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contact-page-hero-visual img {
  object-fit: cover;
  object-position: center 56%;
  transform: scaleX(-1) scale(1.015);
  animation: contact-hero-drift 9s ease-out forwards;
}

.contact-page-hero-shell {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: 0;
}

.contact-page-hero-copy {
  width: min(510px, 39%);
}

.contact-page-hero-copy h1 {
  max-width: none;
  opacity: 0;
  transform: translateY(16px);
  animation: hero-copy-reveal 0.9s var(--ease-luxury) 0.12s forwards;
}

.contact-page-hero-copy .accent-line {
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  animation: hero-line-reveal 0.85s var(--ease-luxury) 0.36s forwards;
}

.contact-page-hero-copy > p {
  max-width: 470px;
  color: var(--muted-dark);
  font-size: var(--fs-body);
  line-height: 1.7;
  opacity: 0;
  transform: translateY(14px);
  animation: hero-copy-reveal 0.9s var(--ease-luxury) 0.48s forwards;
}

.contact-page-hero-copy .contact-success {
  display: inline-block;
  margin-top: 1.15rem;
  padding: 0.7rem 0.9rem;
  color: #0f7b4d;
  border: 1px solid rgba(15, 123, 77, 0.2);
  background: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.contact-info-section {
  padding: 36px 0 38px;
  background: #ffffff;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.035);
}

.contact-info-card {
  min-height: 190px;
  padding: 31px 34px 28px;
  border-left: 1px solid var(--line);
}

.contact-info-card:first-child {
  border-left: 0;
}

.contact-info-card svg {
  width: 32px;
  height: 32px;
  margin-bottom: 17px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info-card h2 {
  margin-bottom: 11px;
  font-size: var(--fs-card-title);
  line-height: 1.15;
}

.contact-info-card p,
.contact-info-card a {
  color: var(--muted-dark);
  font-size: var(--fs-small-body);
  line-height: 1.65;
}

.contact-info-card a {
  transition: color 0.22s ease;
}

.contact-info-card a:hover {
  color: var(--accent);
}

.contact-message-section {
  padding: 54px 0 76px;
  background: #ffffff;
}

.contact-message-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(48px, 6vw, 112px);
  align-items: center;
}

.contact-message-content {
  max-width: 680px;
}

.contact-section-heading {
  margin-bottom: 31px;
}

.contact-section-heading h2,
.contact-visit-copy h2 {
  font-size: var(--fs-section-title);
}

.contact-section-heading p {
  max-width: 450px;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.65;
}

.contact-page-form {
  margin: 0;
}

.contact-page-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-page-form input,
.contact-page-form select,
.contact-page-form textarea {
  min-height: 54px;
  padding: 0.9rem 1rem;
  border-color: var(--line-strong);
  border-radius: 0;
  color: var(--ink);
  background: #ffffff;
  font-size: var(--fs-small-body);
}

.contact-page-form input::placeholder,
.contact-page-form textarea::placeholder {
  color: #77777c;
  opacity: 1;
}

.contact-page-form select {
  color: #77777c;
}

.contact-page-form textarea {
  min-height: 146px;
}

.contact-submit-button {
  min-width: 190px;
  min-height: 52px;
  margin-top: 22px;
}

.contact-submit-button .button-icon,
.contact-visit-copy .button-icon {
  width: 18px;
  height: 18px;
}

.contact-privacy-note {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  max-width: 420px;
  margin-top: 17px;
  color: var(--muted);
  font-size: var(--fs-small-body);
  line-height: 1.5;
}

.contact-privacy-note svg {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--muted-dark);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-message-image {
  width: min(100%, 660px);
  aspect-ratio: 1 / 1;
  justify-self: end;
  overflow: hidden;
  background: #eee8e2;
}

.contact-message-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.025);
  transition: transform 1.2s var(--ease-luxury);
}

.contact-message-section.is-visible .contact-message-image img {
  transform: scale(1);
}

.contact-visit-section {
  overflow: hidden;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  background: #f8f8f7;
}

.contact-visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(380px, 0.65fr);
  align-items: stretch;
  min-height: 430px;
}

.contact-map {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #ececea;
}

.contact-map::after {
  content: none;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

.contact-visit-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 70px clamp(46px, 6vw, 116px);
  background: #fbfbfa;
}

.contact-visit-copy p {
  max-width: 440px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.65;
}

.contact-visit-copy .button {
  min-width: 184px;
  background: #ffffff;
}

@keyframes contact-hero-drift {
  to {
    transform: scaleX(-1) scale(1.002) translateX(-0.35%);
  }
}

@media (max-width: 1180px) {
  .contact-page-hero-copy {
    width: min(500px, 50%);
  }

  .contact-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-info-card:nth-child(3) {
    border-left: 0;
  }

  .contact-info-card:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .contact-message-grid {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.9fr);
    gap: 42px;
  }

  .contact-visit-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  }

  .contact-visit-copy {
    padding: 58px 42px;
  }
}

@media (max-width: 760px) {
  .contact-page-hero {
    height: calc(100svh - var(--site-header-height));
    min-height: 650px;
  }

  .contact-page-hero::after {
    background: linear-gradient(
      180deg,
      transparent 46%,
      rgba(10, 10, 10, 0.14) 63%,
      rgba(10, 10, 10, 0.66) 100%
    );
  }

  .contact-page-hero-visual img {
    object-position: 36% center;
  }

  .contact-page-hero-shell {
    align-items: flex-end;
    min-height: 100%;
    padding-top: 0;
  }

  .contact-page-hero-copy {
    width: 100%;
    padding-bottom: 3.5rem;
  }

  .contact-page-hero-copy h1 {
    color: #ffffff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.68);
  }

  .contact-page-hero-copy > p {
    max-width: 390px;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
  }

  .contact-info-section {
    padding: 28px 0 34px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-card {
    min-height: 0;
    padding: 27px 25px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .contact-info-card:first-child {
    border-top: 0;
  }

  .contact-message-section {
    padding: 42px 0 58px;
  }

  .contact-message-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-message-content {
    max-width: none;
  }

  .contact-page-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-page-form-grid .full {
    grid-column: auto;
  }

  .contact-submit-button {
    width: 100%;
  }

  .contact-message-image {
    width: 100%;
    justify-self: stretch;
  }

  .contact-visit-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .contact-map {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .contact-map iframe {
    min-height: 0;
  }

  .contact-visit-copy {
    padding: 48px 22px 54px;
  }

  .contact-visit-copy .button {
    width: 100%;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: var(--fs-body);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

.container {
  width: min(var(--container), calc(100% - 188px));
  margin: 0 auto;
}

.narrow {
  width: min(780px, calc(100% - 40px));
}

.site-header {
  position: relative;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  backdrop-filter: none;
  transition:
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    backdrop-filter 0.24s ease;
}

.site-header.is-scrolled {
  background: #ffffff;
  border-bottom-color: var(--line);
  box-shadow: none;
  backdrop-filter: none;
}

.back-to-top {
  display: none;
}

.site-header .container {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2.25rem;
  min-height: 124px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: auto;
  height: 85px;
}

@media (min-width: 761px) {
  .site-header .brand img {
    height: 40px;
  }
}

.nav-toggle,
.nav-toggle-button,
.nav-backdrop,
.mobile-menu-brand,
.mobile-menu-rule,
.mobile-menu-cta {
  display: none;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 3.15rem;
  flex-wrap: wrap;
}

.site-nav a {
  position: relative;
  padding: 0.35rem 0;
  color: #36363b;
  font-size: var(--fs-nav);
  font-weight: 500;
}

.site-nav a.is-active,
.site-nav a:hover {
  color: var(--accent);
}

.site-nav a.is-active::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  background: var(--accent);
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 54px;
  padding: 0 1.8rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: var(--fs-button);
  font-weight: 700;
  line-height: 1;
  transition:
    transform 0.28s var(--ease-luxury),
    box-shadow 0.28s var(--ease-luxury),
    background-color 0.28s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button::after {
  content: "";
  position: absolute;
  inset: -45% -85%;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(255, 255, 255, 0.34) 50%,
    transparent 62%
  );
  transform: translateX(-70%);
  transition: transform 0.72s var(--ease-luxury);
}

.button:hover::after {
  transform: translateX(70%);
}

.button.primary {
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 12px 26px rgba(227, 6, 19, 0.16);
}

.button.primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 18px 32px rgba(227, 6, 19, 0.2);
}

.button.ghost,
.button.secondary {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.84);
  border-color: var(--accent);
}

.mobile-menu-cta {
  display: none;
}

.button-icon,
.lock-icon,
.mini-icon,
.header-social-links svg,
.social-links svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-icon {
  width: 20px;
  height: 20px;
}

.header-cta {
  min-width: 182px;
}

.header-social-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.site-nav .header-social-links a {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--accent);
  border: 1px solid rgba(227, 6, 19, 0.38);
  border-radius: 50%;
  background: #ffffff;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.site-nav .header-social-links a:hover,
.site-nav .header-social-links a:focus-visible {
  color: #ffffff;
  border-color: rgba(227, 6, 19, 0.5);
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.09);
  transform: translateY(-1px);
  outline: 0;
}

.site-nav .header-social-links a::after {
  display: none;
}

.header-social-links svg {
  width: 18px;
  height: 18px;
}

.page-hero,
.section {
  padding: 5rem 0;
}

main > .page-hero:first-child {
  padding-top: 5rem;
}

.home-section {
  padding: 72px 0;
}

.section-kicker,
.eyebrow {
  margin-bottom: 1rem;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: var(--fs-eyebrow);
  font-weight: 800;
}

.accent-line {
  width: 44px;
  height: 2px;
  margin: 1.1rem 0 1.05rem;
  background: var(--accent);
}

.home-hero .accent-line {
  transform: scaleX(0);
  transform-origin: left;
  animation: hero-line-reveal 0.9s var(--ease-luxury) 0.34s forwards;
}

h1,
h2,
h3 {
  font-family: "Times New Roman", Times, Georgia, serif;
  font-weight: 500;
  color: var(--ink);
}

h1 {
  max-width: 650px;
  font-size: var(--fs-hero-h1);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h2 {
  font-size: var(--fs-section-title);
  line-height: 1.13;
  letter-spacing: -0.03em;
}

h3 {
  font-size: var(--fs-card-title);
  line-height: 1.14;
  letter-spacing: -0.015em;
}

.lead,
.section-intro p,
.feature-card p,
.benefit-item p,
.approach-item p,
.footer-brand-block p,
.footer-contact,
.privacy-note,
.contact-copy p,
.page-hero p,
.info-card p,
.list-item p,
.principle-item p {
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.58;
}

.actions {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-top: 1.55rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.35rem;
  color: var(--accent);
  font-size: var(--fs-button);
  font-weight: 700;
}

.text-link::after {
  content: "->";
  font-size: 1.05rem;
}

.home-hero {
  position: relative;
  height: 900px;
  overflow: hidden;
  border-bottom: 1px solid #eeeeee;
}

.home-hero-copy h1 {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-copy-reveal 1s var(--ease-luxury) 0.12s forwards;
}

.home-hero-copy .lead {
  opacity: 0;
  transform: translateY(16px);
  animation: hero-copy-reveal 0.95s var(--ease-luxury) 0.48s forwards;
}

.home-hero-copy .actions {
  opacity: 0;
  transform: translateY(16px);
  animation: hero-copy-reveal 0.95s var(--ease-luxury) 0.66s forwards;
}

.home-hero-shell {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.home-hero-copy {
  width: min(660px, 48%);
  padding: 2.2rem 0 2.6rem;
}

.home-hero-copy .lead {
  max-width: 510px;
}

.home-hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.home-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scaleX(-1);
  animation: none;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.73fr 1.27fr;
  gap: 64px;
  align-items: start;
}

.section-intro {
  max-width: 430px;
}

.why-section .section-intro {
  max-width: 560px;
}

.section-intro h2 {
  margin-bottom: 1rem;
}

.section-intro p {
  font-size: var(--fs-body);
}

.vision-section {
  position: relative;
  padding-top: 26px;
  background: none;
}

.vision-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: min(46vw, 760px);
  height: min(70%, 560px);
  pointer-events: none;
  background: url("/image/sketch-bg.webp") right top / contain no-repeat;
  opacity: 0;
  transform: translateX(18px);
  transition:
    opacity 1.3s ease,
    transform 1.3s var(--ease-luxury);
}

.vision-section.is-visible::before {
  opacity: 0.16;
  transform: translateX(0);
}

.vision-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(440px, 0.95fr);
  gap: 44px;
  align-items: stretch;
}

.vision-layout::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: 32px;
  z-index: 1;
  width: min(30%, 440px);
  aspect-ratio: 760 / 360;
  background: url("/image/sketch-bg-png.webp") center / contain no-repeat;
  opacity: 0.16;
  pointer-events: none;
}

.vision-image {
  min-height: 560px;
  overflow: hidden;
  border: 1px solid #efeae4;
  border-radius: 0;
  background: #efe6dc;
  border-radius: 10px;
}

.vision-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.4s var(--ease-luxury);
}

.vision-section.is-visible .vision-image img {
  transform: scale(1);
}

.vision-content {
  position: relative;
  z-index: 2;
  min-height: 560px;
  padding: 44px 54px 40px 58px;
  overflow: hidden;
  background: transparent;
}

.vision-copy {
  position: relative;
  z-index: 2;
  max-width: 460px;
}

.vision-copy .section-kicker {
  margin-bottom: 1.4rem;
}

.vision-copy h2 {
  max-width: 420px;
  margin-bottom: 1.35rem;
  font-size: clamp(2.3rem, 3vw, 4rem);
  line-height: 1.02;
}

.vision-copy > p {
  max-width: 470px;
  margin-bottom: 2rem;
  color: var(--muted);
  line-height: 1.62;
}

.vision-points {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.vision-point {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.95rem;
}

.motion-section .stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.75s var(--ease-luxury),
    transform 0.75s var(--ease-luxury);
  transition-delay: var(--reveal-delay, 0s);
}

.motion-section.is-visible .stagger-item {
  opacity: 1;
  transform: translateY(0);
}

.motion-section .stagger-item:nth-child(1) {
  --reveal-delay: 0.08s;
}

.motion-section .stagger-item:nth-child(2) {
  --reveal-delay: 0.18s;
}

.motion-section .stagger-item:nth-child(3) {
  --reveal-delay: 0.28s;
}

.motion-section .stagger-item:nth-child(4) {
  --reveal-delay: 0.38s;
}

.motion-section .stagger-item:nth-child(5) {
  --reveal-delay: 0.48s;
}

.vision-point-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: #ef8c8c;
}

.vision-point-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vision-point p {
  max-width: 320px;
  color: #57575d;
  font-size: var(--fs-body);
  line-height: 1.5;
}

.vision-button {
  min-width: 224px;
}

.feature-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.feature-card,
.contact-form,
.map-card,
.info-card,
.list-item,
.principle-item {
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
}

.feature-card {
  min-height: 200px;
  padding: 30px 24px 24px;
  text-align: center;
}

.line-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 1.15rem;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.motion-section .line-icon path,
.motion-section .line-icon circle,
.motion-section .mini-icon path,
.motion-section .mini-icon circle,
.motion-section .lock-icon path,
.motion-section .lock-icon rect {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  transition: stroke-dashoffset 1.15s var(--ease-luxury);
  transition-delay: calc(var(--reveal-delay, 0s) + 0.12s);
}

.motion-section.is-visible .line-icon path,
.motion-section.is-visible .line-icon circle,
.motion-section.is-visible .mini-icon path,
.motion-section.is-visible .mini-icon circle,
.motion-section.is-visible .lock-icon path,
.motion-section.is-visible .lock-icon rect {
  stroke-dashoffset: 0;
}

.line-icon-lg {
  width: 54px;
  height: 54px;
}

.line-icon-xl {
  width: 52px;
  height: 52px;
  margin: 0;
  flex: 0 0 auto;
}

.feature-card h3 {
  max-width: 155px;
  margin: 0 auto 0.82rem;
  font-size: var(--fs-card-title);
}

.feature-card p,
.benefit-item p {
  font-size: var(--fs-small-body);
}

.why-section {
  padding: 68px 0 72px;
  background: var(--accent);
}

.why-section .section-kicker,
.why-section h2,
.why-section h3,
.why-section .line-icon {
  color: #ffffff;
}

.why-section .section-kicker {
  opacity: 0.82;
}

.why-section .section-intro p,
.why-section .benefit-item p {
  color: rgba(255, 255, 255, 0.78);
}

.secondary-grid {
  align-items: center;
}

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.benefit-item {
  position: relative;
  min-height: 132px;
  padding: 0 28px;
  text-align: center;
  background: transparent;
  border-left: 1px solid transparent;
}

.benefit-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 72%;
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scaleY(0);
  transform-origin: top;
  transition: transform 0.95s var(--ease-luxury);
  transition-delay: var(--reveal-delay, 0s);
}

.benefit-item:first-child::before {
  display: none;
}

.why-section.is-visible .benefit-item::before {
  transform: translateY(-50%) scaleY(1);
}

.benefit-item:first-child {
  border-left: 0;
}

.benefit-item .line-icon {
  margin-bottom: 0.85rem;
}

.benefit-item h3 {
  margin-bottom: 0.6rem;
  font-size: var(--fs-feature-title);
}

.gallery-section {
  padding-top: 68px;
}

.gallery-link {
  margin: 1.6rem 0 0;
}

.gallery-slider-dots {
  display: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery-tile {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  width: 100%;
  padding: 0;
  color: inherit;
  text-align: inherit;
  border: 0;
  border-radius: var(--radius-md);
  background: #f3f3f3;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0);
  font: inherit;
  cursor: pointer;
  transform-style: preserve-3d;
  transition:
    box-shadow 0.38s var(--ease-luxury),
    transform 0.38s var(--ease-luxury);
}

.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 34%,
    rgba(0, 0, 0, 0.52) 100%
  );
  opacity: 0;
  transition: opacity 0.38s ease;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.65s var(--ease-luxury);
}

.gallery-tile .gallery-tile-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 17px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #ffffff;
  font-size: var(--fs-small-body);
  font-weight: 800;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.34s ease,
    transform 0.34s var(--ease-luxury);
}

.gallery-tile .gallery-tile-caption span:last-child {
  transition: transform 0.34s var(--ease-luxury);
}

.gallery-tile:hover,
.gallery-tile:focus-visible {
  transform: translateY(-6px) perspective(900px) rotateX(1.4deg)
    rotateY(-1.8deg);
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.14);
}

.gallery-tile:hover::after,
.gallery-tile:focus-visible::after,
.gallery-tile:hover .gallery-tile-caption,
.gallery-tile:focus-visible .gallery-tile-caption {
  opacity: 1;
}

.gallery-tile:hover img,
.gallery-tile:focus-visible img {
  transform: scale(1.06);
}

.gallery-tile:hover .gallery-tile-caption,
.gallery-tile:focus-visible .gallery-tile-caption {
  transform: translateY(0);
}

.gallery-tile:hover .gallery-tile-caption span:last-child,
.gallery-tile:focus-visible .gallery-tile-caption span:last-child {
  transform: translateX(5px);
}

.gallery-tile:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.gallery-tile:nth-child(1) {
  --reveal-delay: 0.04s;
}

.gallery-tile:nth-child(2) {
  --reveal-delay: 0.12s;
}

.gallery-tile:nth-child(3) {
  --reveal-delay: 0.2s;
}

.gallery-tile:nth-child(4) {
  --reveal-delay: 0.28s;
}

.gallery-tile:nth-child(1) img {
  object-position: 68% 50%;
}

.gallery-tile:nth-child(2) img {
  object-position: 20% 52%;
}

.gallery-tile:nth-child(3) img {
  object-position: 49% 58%;
}

.gallery-tile:nth-child(4) img {
  object-position: 80% 42%;
}

.approach-section {
  margin-top: 0;
  padding: 68px 0 66px;
  background: #ffffff;
}

.approach-header {
  margin-bottom: 22px;
}

.approach-section .section-kicker,
.approach-section h2,
.approach-section h3,
.approach-section .line-icon {
  color: var(--accent);
}

.approach-section h2,
.approach-section h3 {
  color: var(--ink);
}

.approach-section .section-kicker {
  opacity: 1;
}

.approach-section .approach-item p {
  color: var(--muted);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.approach-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  min-height: 78px;
  padding: 0 24px;
  border-left: 1px solid var(--line);
}

.approach-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.approach-item h3 {
  margin-bottom: 0.4rem;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: var(--fs-feature-title);
  font-weight: 700;
  line-height: 1.25;
}

.approach-item p {
  font-size: var(--fs-small-body);
  line-height: 1.5;
}

.location-panel {
  padding: 76px 0 92px;
  background: var(--accent);
}

.location-panel .section-kicker,
.location-panel h2,
.location-panel .section-intro p,
.location-stats strong,
.location-stats span,
.location-panel .mini-icon {
  color: #ffffff;
}

.location-panel .section-kicker {
  opacity: 0.82;
}

.location-grid {
  display: grid;
  grid-template-columns: 0.56fr 1.44fr;
  align-items: stretch;
  min-height: 260px;
}

.location-panel .section-intro {
  display: grid;
  align-content: center;
  max-width: none;
  padding-right: 34px;
}

.location-panel h2 {
  max-width: 430px;
  font-size: var(--fs-secondary-title);
}

.location-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.location-stats div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
  min-width: 0;
}

.location-stats strong {
  font-size: var(--fs-feature-title);
  line-height: 1.1;
}

.location-stats span {
  grid-column: 2;
  font-size: var(--fs-small-body);
  line-height: 1.25;
  min-width: 0;
}

.mini-icon {
  grid-row: span 2;
  width: 30px;
  height: 30px;
}

.map-card {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 15px;
  min-height: 500px;
  background: url("/image/map.webp") center / cover no-repeat;
  clip-path: inset(0 100% 0 0 round 15px);
  transition: clip-path 1.15s var(--ease-luxury);
}

.location-panel.is-visible .map-card {
  clip-path: inset(0 0 0 0 round 15px);
}

.map-card::before {
  content: "";
  position: absolute;
  inset: -30px;
  opacity: 0.72;
  background-image:
    linear-gradient(
      31deg,
      transparent 0 47%,
      rgba(205, 205, 198, 0.9) 48%,
      transparent 49%
    ),
    linear-gradient(
      151deg,
      transparent 0 46%,
      rgba(205, 205, 198, 0.9) 47%,
      transparent 48%
    ),
    linear-gradient(
      78deg,
      transparent 0 49%,
      rgba(205, 205, 198, 0.8) 50%,
      transparent 51%
    ),
    linear-gradient(
      8deg,
      transparent 0 48%,
      rgba(205, 205, 198, 0.75) 49%,
      transparent 50%
    );
  background-size:
    190px 88px,
    240px 110px,
    300px 130px,
    260px 96px;
  display: none;
}

.map-card::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -8%;
  bottom: -30%;
  height: 58%;
  border-radius: 50%;
  background: rgba(184, 210, 224, 0.82);
  display: none;
}

.map-pin {
  position: absolute;
  z-index: 3;
  top: 32px;
  left: 45%;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.7s ease 0.7s,
    transform 0.7s var(--ease-luxury) 0.7s;
}

.location-panel.is-visible .map-pin {
  opacity: 1;
  transform: translateY(0);
}

.map-pin strong,
.map-pin span {
  display: block;
  font-size: var(--fs-feature-title);
  line-height: 1.08;
}

.map-pin-dot {
  position: relative;
  width: 31px;
  height: 31px;
  border-radius: 50% 50% 50% 0;
  background: var(--accent);
  transform: rotate(-45deg);
  box-shadow: 0 8px 20px rgba(227, 6, 19, 0.22);
}

.map-pin-dot::before {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(227, 6, 19, 0.36);
  border-radius: inherit;
  animation: map-pin-pulse 2.4s ease-out infinite;
}

.map-pin-dot::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 9px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ffffff;
}

.map-label {
  position: absolute;
  z-index: 3;
  display: block;
  color: rgba(34, 34, 37, 0.45);
  font-size: var(--fs-small-body);
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0;
  transition: opacity 0.7s ease 0.85s;
}

.location-panel.is-visible .map-label {
  opacity: 1;
}

.map-label-one {
  top: 44px;
  right: 78px;
}

.map-label-two {
  bottom: 48px;
  left: 43%;
}

.map-label-three {
  bottom: 57px;
  right: 28%;
}

.contact-panel {
  padding: 86px 0 90px;
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.52fr 0.7fr 0.95fr 0.52fr;
  align-items: stretch;
  gap: 0;
}

.contact-copy {
  padding: 24px 24px 22px 0;
}

.contact-panel .section-kicker,
.contact-panel .lock-icon {
  color: var(--accent);
}

.contact-panel h2 {
  color: var(--ink);
}

.contact-panel .contact-copy p,
.contact-panel .privacy-note {
  color: var(--muted);
}

.contact-copy h2 {
  margin-bottom: 0.9rem;
  font-size: var(--fs-secondary-title);
}

.contact-copy p:last-child {
  font-size: var(--fs-body);
}

.interior-accent {
  min-height: 166px;
  background:
    linear-gradient(rgba(227, 6, 19, 0.12), rgba(227, 6, 19, 0.12)),
    url("/image/projects/beykoz-karlitepe/interior-kitchen-dining.webp")
      center / cover no-repeat;
  overflow: hidden;
}

.interior-accent::before {
  content: none;
}

.interior-accent::after {
  content: none;
}

.contact-form {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 24px 32px 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

label {
  display: grid;
  gap: 0.35rem;
}

label span {
  color: var(--muted-dark);
  font-size: 0;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.82rem 0.95rem;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  font-size: var(--fs-input);
  outline: none;
  transition:
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s var(--ease-luxury);
}

.contact-panel input,
.contact-panel textarea,
.contact-panel select {
  border-color: var(--line);
  color: var(--ink);
  background: #ffffff;
}

.contact-panel input::placeholder,
.contact-panel textarea::placeholder {
  color: var(--muted);
}

.contact-panel select {
  color: var(--ink);
}

.contact-panel select option {
  color: var(--ink);
  background: #ffffff;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(227, 6, 19, 0.48);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.07);
  transform: translateY(-2px);
}

.contact-panel input:focus,
.contact-panel textarea:focus,
.contact-panel select:focus {
  border-color: rgba(227, 6, 19, 0.48);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.07);
}

textarea {
  min-height: 64px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.contact-action {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1rem;
  padding: 24px 0 20px 0;
}

.contact-action .button {
  min-width: 176px;
  min-height: 50px;
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 12px 26px rgba(227, 6, 19, 0.16);
}

.privacy-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  max-width: 210px;
  font-size: var(--fs-small-body);
  line-height: 1.45;
}

.lock-icon {
  width: 17px;
  height: 17px;
  margin-top: 0.1rem;
  color: var(--accent);
}

.reveal-up,
.reveal-left,
.reveal-right,
.reveal-mask {
  opacity: 0;
  transition:
    opacity 0.9s var(--ease-luxury),
    transform 0.9s var(--ease-luxury),
    clip-path 1.15s var(--ease-luxury);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-up {
  transform: translateY(28px) scale(0.985);
}

.reveal-left {
  transform: translateX(-28px);
}

.reveal-right {
  transform: translateX(28px);
}

.motion-section.is-visible .reveal-up,
.motion-section.is-visible .reveal-left,
.motion-section.is-visible .reveal-right,
.motion-section.is-visible .reveal-mask {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

@keyframes hero-copy-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-line-reveal {
  to {
    transform: scaleX(1);
  }
}

@keyframes hero-image-drift {
  to {
    transform: scaleX(-1) scale(1.005) translateX(-0.7%);
  }
}

@keyframes hero-image-drift-mobile {
  to {
    transform: scale(1.005) translateY(-0.5%);
  }
}

@keyframes map-pin-pulse {
  0% {
    opacity: 0.62;
    transform: scale(0.8);
  }

  70%,
  100% {
    opacity: 0;
    transform: scale(1.85);
  }
}

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

  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-mask,
  .motion-section .stagger-item,
  .home-hero-copy h1,
  .home-hero-copy .lead,
  .home-hero-copy .actions {
    opacity: 1;
    transform: none;
  }

  .map-card {
    clip-path: inset(0 0 0 0 round 15px);
  }
}

.page-hero h1 {
  font-size: var(--fs-hero-h1);
}

.section-heading,
.card-grid,
.list-grid,
.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid,
.list-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.list-item,
.principle-item {
  padding: 1.5rem;
}

.principle-item + .principle-item {
  margin-top: 1rem;
}

.success-message {
  margin-top: 1rem;
  color: #0f7b4d;
  font-weight: 700;
}

.about-hero {
  position: relative;
  height: 900px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #f8f6f1;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.98) 20%,
    rgba(255, 255, 255, 0.72) 36%,
    rgba(255, 255, 255, 0.16) 58%,
    rgba(255, 255, 255, 0) 100%
  );
}

.about-hero-visual,
.about-hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-hero-visual img {
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.01);
  animation: about-hero-drift 9s ease-out forwards;
}

.about-hero-shell {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
}

.about-hero-copy {
  width: min(650px, 48%);
  padding-bottom: 18px;
}

.about-hero-copy h1 {
  max-width: 600px;
}

.about-hero-copy .lead {
  max-width: 570px;
  margin-top: 1.35rem;
}

.about-section {
  padding: 58px 0;
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  gap: 72px;
  align-items: center;
}

.about-story-image {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #ece7df;
}

.about-story-image img {
  width: 100%;
  aspect-ratio: 1 / 0.92;
  object-fit: cover;
}

.about-story-copy {
  position: relative;
  min-height: 440px;
  padding: 24px 0 30px;
}

.about-story-copy::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: 0;
  z-index: -1;
  width: min(55%, 520px);
  aspect-ratio: 1.6;
  background: url("/image/sketch-bg-png.webp") right bottom / contain no-repeat;
  opacity: 0.13;
}

.about-story-copy h2 {
  margin-bottom: 1.25rem;
}

.about-story-copy p,
.about-pillar p,
.about-principle-intro p,
.about-principle-card p,
.about-team-card p,
.about-cta p {
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.62;
}

.about-story-copy p + p {
  margin-top: 1.1rem;
}

.about-signature {
  display: grid;
  gap: 0.35rem;
  margin-top: 2rem;
}

.about-signature span {
  color: #57575d;
  font-family: "DM Sans", "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 20px;
  /* font-style: italic; */
  line-height: 1;
}

.about-signature small {
  color: var(--muted-dark);
  font-size: var(--fs-small-body);
}

.about-pillars {
  padding-top: 0;
}

.about-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.045);
}

.about-pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  min-height: 178px;
  padding: 42px 44px 36px;
  border-left: 1px solid var(--line);
}

.about-pillar:first-child {
  border-left: 0;
}

.about-pillar .line-icon {
  width: 58px;
  height: 58px;
  margin: 0;
}

.about-pillar h3,
.about-principle-card h3,
.about-team-card h3 {
  font-family: "Times New Roman", Times, Georgia, serif;
  font-weight: 700;
}

.about-pillar h3 {
  margin-bottom: 0.9rem;
  font-size: var(--fs-card-title);
}

.about-pillar p,
.about-principle-card p {
  font-size: var(--fs-small-body);
}

.about-metrics {
  padding: 44px 0;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.about-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-metric {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  min-height: 132px;
  padding: 8px 24px 0;
  text-align: center;
  border-left: 1px solid var(--line);
}

.about-metric:first-child {
  border-left: 0;
}

.about-metric .mini-icon {
  width: 42px;
  height: 42px;
  color: var(--accent);
}

.about-metric strong {
  color: var(--ink);
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: var(--fs-section-title);
  font-weight: 500;
  line-height: 1;
}

.about-metric span {
  color: var(--muted-dark);
  font-size: var(--fs-small-body);
}

.about-section-head {
  margin-bottom: 30px;
}

.about-timeline {
  padding-bottom: 66px;
}

.about-timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
}

.about-timeline-track::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 4%;
  right: 4%;
  height: 2px;
  background: var(--accent);
}

.about-timeline-track article {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.95rem;
  min-width: 0;
  padding: 0 10px;
  text-align: center;
}

.about-timeline-track span {
  position: relative;
  z-index: 1;
  display: block;
  width: 15px;
  height: 15px;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(227, 6, 19, 0.15);
}

.about-timeline-track strong {
  color: var(--ink);
  font-size: var(--fs-feature-title);
  line-height: 1;
}

.about-timeline-track p {
  max-width: 150px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.48;
}

.about-principles {
  padding-top: 42px;
}

.about-principle-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.52fr) minmax(0, 1.48fr);
  gap: 58px;
  align-items: start;
}

.about-principle-intro {
  padding-top: 8px;
}

.about-principle-intro h2 {
  max-width: 320px;
  margin-bottom: 1.1rem;
}

.about-principle-intro p {
  max-width: 330px;
  margin-bottom: 1.8rem;
}

.about-principle-grid,
.about-team-grid {
  display: grid;
  gap: 28px;
}

.about-principle-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.about-principle-card,
.about-team-card {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.about-principle-card {
  display: flex;
  flex-direction: column;
}

.about-principle-body {
  flex: 1;
  min-height: 224px;
  padding: 28px 28px 24px;
}

.about-principle-card .line-icon {
  width: 44px;
  height: 44px;
  margin: 0 0 1.1rem;
}

.about-principle-card h3 {
  margin-bottom: 0.85rem;
}

.about-principle-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.2;
  object-fit: cover;
}

.about-team {
  padding-top: 38px;
}

.about-team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 312px;
  margin: 0 auto;
  padding: 0 0 12px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.about-team-photo {
  position: relative;
  z-index: 2;
  aspect-ratio: 1 / 1.03;
  width: calc(100% - 56px);
  margin: 0 auto -72px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.13);
  background: linear-gradient(145deg, #d8dee9, #edf2f7);
}

.about-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.08);
  transition: transform 0.45s ease;
}

.about-team-card:hover .about-team-photo img {
  transform: scale(1.12);
}

.about-team-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 146px;
  margin: 0 auto;
  padding: 92px 18px 18px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
  text-align: center;
}

.about-team-card h3 {
  margin-bottom: 0.3rem;
  font-size: var(--fs-feature-title);
}

.about-team-card p {
  font-size: var(--fs-small-body);
  line-height: 1.35;
}

.about-cta {
  position: relative;
  overflow: hidden;
  padding: 44px 0;
  color: #ffffff;
  background: var(--accent);
}

.about-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.about-cta h2 {
  max-width: 760px;
  margin-bottom: 0.7rem;
  color: #ffffff;
}

.about-cta p {
  color: rgba(255, 255, 255, 0.86);
}

.about-cta .button.secondary {
  flex: 0 0 auto;
  color: var(--accent);
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: none;
}

@keyframes about-hero-drift {
  to {
    transform: scale(1.035) translateX(0.5%);
  }
}

.projects-hero {
  position: relative;
  height: 900px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #f8f6f1;
}

.projects-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.98) 24%,
    rgba(255, 255, 255, 0.74) 42%,
    rgba(255, 255, 255, 0.18) 64%,
    rgba(255, 255, 255, 0) 100%
  );
}

.projects-hero-visual,
.projects-hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.projects-hero-visual img {
  object-fit: cover;
  object-position: center 48%;
  transform: scaleX(-1) scale(1.035);
  animation: hero-image-drift 9s ease-out forwards;
}

.projects-hero-shell {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
}

.projects-hero-copy {
  width: min(620px, 47%);
  padding-bottom: 12px;
}

.projects-hero-copy h1 {
  margin-bottom: 1.35rem;
}

.projects-hero-copy .lead {
  max-width: 520px;
}

.projects-hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 640px;
  margin-top: 2.1rem;
}

.projects-hero-points article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.projects-hero-points .line-icon {
  width: 34px;
  height: 34px;
  margin: 0;
}

.projects-hero-points strong,
.project-detail-list strong,
.project-benefit h3,
.project-approach h3 {
  color: var(--surface-soft);
  font-weight: 800;
}
.project-detail-list strong,
.project-benefit h3,
.project-approach h3 {
  color: var(--ink);
  font-weight: 800;
}
.projects-hero-points strong,
.project-detail-list strong {
  display: block;
  margin-bottom: 0.18rem;
  font-size: var(--fs-small-body);
  line-height: 1.25;
}

.projects-hero-points span,
.project-detail-list span {
  display: block;
  color: var(--surface-soft);
  font-size: 12px;
  line-height: 1.35;
}
.project-detail-list span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.projects-section {
  padding: 74px 0;
}

.projects-section-head {
  margin-bottom: 36px;
}

.projects-section-head h2 {
  max-width: 720px;
}

.projects-section-head-narrow {
  max-width: 560px;
}

.projects-section-head-narrow p:not(.section-kicker) {
  max-width: 500px;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.6;
}

.project-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(420px, 0.82fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.045);
}

.project-showcase-image {
  min-height: 560px;
  overflow: hidden;
  background: #efe6dc;
}

.project-showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.015);
  transition: transform 1.2s var(--ease-luxury);
}

.project-showcase:hover .project-showcase-image img {
  transform: scale(1.045);
}

.project-showcase-card {
  display: grid;
  align-content: center;
  padding: 54px 58px;
}

.project-status {
  justify-self: start;
  margin-bottom: 1.25rem;
  padding: 0.55rem 0.9rem;
  color: var(--accent);
  border: 1px solid rgba(227, 6, 19, 0.55);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 800;
}

.project-showcase-card h2 {
  margin-bottom: 1.15rem;
}

.project-showcase-card > p,
.project-benefit p,
.project-approach p,
.projects-contact-strip p {
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.6;
}

.project-detail-list {
  display: grid;
  gap: 1.2rem;
  margin: 1.1rem 0 1.8rem;
}

.project-detail-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 14px;
}

.project-detail-list .mini-icon {
  width: 30px;
  height: 30px;
  color: var(--accent);
}

.project-button {
  justify-self: start;
  min-width: 178px;
}

.projects-location {
  padding-top: 58px;
}

.project-benefit-grid,
.project-approach-grid {
  display: grid;
  gap: 0;
}

.project-benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-benefit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  min-height: 128px;
  padding: 0 28px;
  border-left: 1px solid var(--line);
}

.project-benefit:first-child {
  padding-left: 0;
  border-left: 0;
}

.project-benefit .line-icon {
  color: var(--accent);
}

.project-benefit h3 {
  margin-bottom: 0.58rem;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: var(--fs-feature-title);
}

.project-benefit p {
  font-size: var(--fs-small-body);
}

.projects-approach {
  padding-top: 54px;
  padding-bottom: 86px;
}

.project-approach-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.project-approach {
  min-height: 190px;
  padding: 0 30px;
  text-align: center;
  border-left: 1px solid var(--line);
}

.project-approach:first-child {
  padding-left: 0;
  border-left: 0;
}

.project-approach .line-icon {
  margin-bottom: 1rem;
}

.project-approach h3 {
  margin-bottom: 0.72rem;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: var(--fs-feature-title);
}

.project-approach p {
  max-width: 190px;
  margin: 0 auto;
  font-size: var(--fs-small-body);
}

.projects-contact-strip {
  position: relative;
  overflow: hidden;
  min-height: 216px;
  padding: 52px 0;
  background: #f5f1ed;
  border-top: 1px solid #ece7e2;
}

.projects-contact-image {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(28vw, 430px);
  background:
    linear-gradient(90deg, rgba(245, 241, 237, 0) 0%, #f5f1ed 100%),
    url("/image/projects/beykoz-karlitepe/landscape-terrace-lounge.webp") left
      center / cover no-repeat;
}

.projects-contact-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-left: min(31vw, 500px);
}

.projects-contact-inner h2 {
  margin-bottom: 0.7rem;
}

.projects-contact-actions {
  display: grid;
  justify-items: start;
  gap: 1rem;
  flex: 0 0 auto;
}

.projects-contact-actions .button {
  min-width: 220px;
}

.projects-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-size: var(--fs-body);
  font-weight: 700;
}

.projects-phone .mini-icon {
  width: 21px;
  height: 21px;
  color: var(--accent);
}

.project-detail-hero {
  overflow: hidden;
  padding: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.page-project-detail {
  overflow-x: hidden;
}

.project-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.28fr);
  align-items: stretch;
  min-height: 640px;
}

.project-detail-hero-copy {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 58px 42px 58px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 4.2rem;
  color: var(--muted);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
}

.breadcrumb a:first-child,
.breadcrumb a:hover {
  color: var(--accent);
}

.project-detail-hero-copy h1 {
  max-width: 430px;
  margin-bottom: 1.55rem;
}

.project-detail-hero-copy .lead {
  max-width: 560px;
  overflow-wrap: break-word;
}

.project-hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 44px;
  max-width: 540px;
  margin-top: 2rem;
}

.project-hero-facts article,
.project-about-features article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 14px;
}

.project-hero-facts .mini-icon,
.project-about-features .mini-icon {
  width: 31px;
  height: 31px;
  color: var(--accent);
}

.project-hero-facts strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--ink);
  font-size: var(--fs-small-body);
  font-weight: 800;
}

.project-hero-facts span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.project-detail-hero-image {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border-radius: 0 0 0 var(--radius-md);
  background: #f3eee9;
}

.project-detail-hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.82) 16%,
    rgba(255, 255, 255, 0.06) 48%,
    rgba(255, 255, 255, 0) 100%
  );
}

.project-detail-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  transform: scaleX(-1) scale(1.035);
  animation: hero-image-drift 9s ease-out forwards;
}

@media (min-width: 1181px) {
  .project-detail-hero-grid {
    width: 100%;
    grid-template-columns: minmax(360px, 40%) minmax(0, 60%);
  }

  .project-detail-hero-copy {
    padding-left: max(94px, calc((100vw - var(--container)) / 2));
  }
}

.project-detail-section {
  padding: 78px 0;
}

.project-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 78px;
  align-items: start;
}

.project-about-copy h2,
.project-values-title {
  max-width: 560px;
  margin-bottom: 1.5rem;
  overflow-wrap: break-word;
}

.project-about-copy p:not(.section-kicker),
.project-about-features p,
.project-value-card p,
.project-detail-cta p {
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.62;
  overflow-wrap: break-word;
}

.project-about-copy p + p {
  margin-top: 1.15rem;
}

.project-about-features {
  display: grid;
  gap: 32px;
  min-width: 0;
  padding-left: 64px;
  border-left: 1px solid var(--line);
}

.project-about-features h3 {
  margin-bottom: 0.5rem;
  font-family: "DM Sans", "Inter", "Segoe UI", Arial, sans-serif;
  font-size: var(--fs-feature-title);
  font-weight: 800;
  letter-spacing: 0;
}

.project-gallery-section {
  padding-top: 32px;
  padding-bottom: 44px;
}

.project-gallery-grid {
  display: grid;
  gap: 10px;
}

.project-gallery-grid-featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-gallery-grid-even {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-gallery-item {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  border: 0;
  border-radius: var(--radius-md);
  background: #f3f3f3;
  aspect-ratio: 4 / 3;
}

.project-gallery-item-large {
  grid-row: auto;
  aspect-ratio: 4 / 3;
}

.project-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background-color 0.34s ease;
}

.project-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.58s var(--ease-luxury);
}

.project-gallery-item:hover::after,
.project-gallery-item:focus-visible::after {
  background: rgba(0, 0, 0, 0.16);
}

.project-gallery-item:hover img,
.project-gallery-item:focus-visible img {
  transform: scale(1.055);
}

.project-gallery-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.project-values-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.project-value-card {
  min-height: 190px;
  padding: 28px 26px;
  text-align: center;
  border-left: 1px solid var(--line);
}

.project-value-card:first-child {
  border-left: 0;
}

.project-value-card .line-icon {
  margin-bottom: 1rem;
  color: var(--accent);
}

.project-value-card h3 {
  margin-bottom: 0.65rem;
  font-family: "DM Sans", "Inter", "Segoe UI", Arial, sans-serif;
  font-size: var(--fs-feature-title);
  font-weight: 800;
  letter-spacing: 0;
}

.project-value-card p {
  font-size: var(--fs-small-body);
}

.project-detail-cta {
  padding: 44px 0;
  background: var(--accent);
}

.project-detail-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  min-height: 0;
  padding: 0;
}

.project-detail-cta h2 {
  margin-bottom: 0.8rem;
  color: #ffffff;
}

.project-detail-cta p {
  color: #ffffff;
}

.project-detail-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 1.45rem;
  color: #ffffff;
  font-size: var(--fs-small-body);
  font-weight: 700;
}

.project-detail-cta-action {
  display: grid;
  justify-items: start;
  gap: 0.9rem;
  max-width: 230px;
}

.project-detail-cta-action .button {
  min-width: 180px;
  color: var(--accent);
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 12px 26px rgba(112, 0, 7, 0.2);
}

.project-detail-cta-action .button:hover {
  color: var(--accent-dark);
  background: #f7f7f7;
  box-shadow: 0 18px 32px rgba(112, 0, 7, 0.26);
}

.project-detail-cta-action .button::after {
  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(227, 6, 19, 0.12) 50%,
    transparent 62%
  );
}

.has-gallery-modal {
  overflow: hidden;
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: grid;
  place-items: center;
  padding: 28px;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 15, 0.78);
  backdrop-filter: blur(12px);
}

.gallery-modal-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  width: min(1180px, 100%);
  max-height: min(82vh, 760px);
}

.gallery-modal-dialog figure {
  display: grid;
  gap: 14px;
  margin: 0;
}

.gallery-modal-dialog img {
  width: 100%;
  max-height: min(74vh, 690px);
  object-fit: contain;
  border-radius: var(--radius-md);
  background: #171719;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.36);
}

.gallery-modal-dialog figcaption {
  color: #ffffff;
  font-size: var(--fs-small-body);
  font-weight: 800;
  text-align: center;
}

.gallery-modal-close,
.gallery-modal-nav {
  position: absolute;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition:
    transform 0.24s var(--ease-luxury),
    background-color 0.24s ease;
}

.gallery-modal-close:hover,
.gallery-modal-nav:hover,
.gallery-modal-close:focus-visible,
.gallery-modal-nav:focus-visible {
  background: rgba(227, 6, 19, 0.82);
  transform: translateY(-2px);
  outline: 0;
}

.gallery-modal-close {
  top: -18px;
  right: -18px;
  width: 44px;
  height: 44px;
}

.gallery-modal-close span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.gallery-modal-close span:first-child {
  transform: rotate(45deg);
}

.gallery-modal-close span:last-child {
  transform: rotate(-45deg);
}

.gallery-modal-nav {
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
}

.gallery-modal-nav:hover,
.gallery-modal-nav:focus-visible {
  transform: translateY(calc(-50% - 2px));
}

.gallery-modal-nav svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-modal-prev {
  left: -70px;
}

.gallery-modal-next {
  right: -70px;
}

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(72px, 11vw, 180px);
  max-width: 1120px;
  padding: 64px 0 58px;
  align-items: start;
}

.footer-social-block,
.footer-contact-block {
  position: relative;
  z-index: 1;
}

.footer-copy {
  max-width: 430px;
  margin-bottom: 1.5rem;
  color: var(--muted-dark);
  font-size: 16px;
  line-height: 1.6;
}

.footer-contact-block > strong {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--ink);
  font-size: 17px;
}

.footer-contact {
  display: grid;
  gap: 0.65rem;
  color: var(--muted-dark);
  font-size: 16px;
  line-height: 1.55;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 26px 0 30px;
  border-top: 1px solid var(--line);
}

.footer-meta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.6rem;
}

.footer-meta-links a {
  color: var(--muted-dark);
  font-size: 13px;
}

.footer-meta-links a:hover,
.footer-contact a:hover {
  color: var(--accent);
}

.footer-copyright {
  color: var(--muted-dark);
  font-size: 13px;
  white-space: nowrap;
}

.footer-title {
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--accent);
  border: 1px solid rgba(227, 6, 19, 0.45);
  border-radius: 50%;
}

.social-links svg {
  width: 19px;
  height: 19px;
}

@media (max-width: 760px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 46px 0 40px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.15rem;
    padding: 22px 0 26px;
  }

  .footer-meta-links {
    gap: 0.7rem 1.25rem;
  }

  .footer-copyright {
    white-space: normal;
  }
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
}

.newsletter-form input {
  min-width: 220px;
}

.newsletter-form button {
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0 1rem;
  color: #ffffff;
  background: var(--accent);
  font: inherit;
  font-size: var(--fs-button);
  font-weight: 700;
}

@media (min-width: 480px) {
  :root {
    --fs-hero-h1: 40px;
    --fs-section-title: 27px;
    --fs-secondary-title: 25px;
    --fs-feature-title: 16px;
    --fs-small-body: 14px;
  }
}

@media (min-width: 768px) {
  :root {
    --fs-hero-h1: 46px;
    --fs-section-title: 30px;
    --fs-secondary-title: 27px;
    --fs-card-title: 18px;
    --fs-nav: 15px;
    --fs-eyebrow: 11px;
  }
}

@media (min-width: 1024px) {
  :root {
    --fs-hero-h1: 50px;
    --fs-section-title: 32px;
    --fs-secondary-title: 28px;
    --fs-card-title: 19px;
    --fs-feature-title: 17px;
  }
}

@media (min-width: 1280px) {
  :root {
    --fs-hero-h1: 54px;
    --fs-section-title: 34px;
    --fs-secondary-title: 30px;
    --fs-body: 16px;
    --fs-nav: 16px;
  }
}

@media (min-width: 1181px) and (max-width: 1400px) {
  .location-stats {
    grid-template-columns: 1fr;
    gap: 13px;
  }
}

@media (max-width: 1180px) {
  .site-header .container,
  .intro-grid,
  .vision-layout,
  .location-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-header .container {
    gap: 1rem;
    padding: 1rem 0;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .about-hero-copy {
    width: min(560px, 62%);
  }

  .about-story-grid,
  .about-principle-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-story-copy {
    min-height: auto;
  }

  .about-pillar-grid,
  .about-principle-grid {
    grid-template-columns: 1fr;
  }

  .about-pillar {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .about-pillar:first-child {
    border-top: 0;
  }

  .about-metric-grid,
  .about-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-metric:nth-child(odd) {
    border-left: 0;
  }

  .about-timeline-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 0;
  }

  .about-timeline-track::before {
    display: none;
  }

  .about-timeline-track article::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
  }

  .home-hero-copy {
    width: min(540px, 72%);
  }

  .vision-image,
  .vision-content {
    min-height: auto;
  }

  .vision-content {
    padding: 38px 34px 36px;
  }

  .vision-layout::after {
    width: min(34%, 360px);
    right: -12px;
    bottom: 16px;
  }

  .feature-card-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-strip,
  .approach-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 0;
  }

  .benefit-item:nth-child(odd),
  .approach-item:nth-child(odd) {
    border-left: 0;
  }

  .location-panel .section-intro,
  .contact-copy,
  .contact-form,
  .contact-action {
    padding-left: 0;
    padding-right: 0;
  }

  .map-card {
    border-radius: var(--radius-md);
  }

  .interior-accent {
    border-radius: var(--radius-md);
  }
}

/* Keep the tablet header compact. The general 1180px layout stacks grids, but
   stacking the navigation here creates a tall, full-width CTA above the hero. */
@media (min-width: 761px) and (max-width: 1180px) {
  .site-header .container {
    position: relative;
    grid-template-columns: minmax(0, 1fr) 48px;
    min-height: 96px;
    gap: 1rem;
    padding: 0;
  }

  .site-header .brand {
    position: relative;
    z-index: 43;
  }

  .site-header .brand img {
    height: 40px;
  }

  .nav-toggle-button {
    position: relative;
    z-index: 45;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(227, 6, 19, 0.38);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.86);
    cursor: pointer;
  }

  .nav-toggle-button span {
    width: 22px;
    height: 2px;
    margin: 0 auto;
    border-radius: 999px;
    background: var(--accent);
    transition:
      transform 0.24s ease,
      opacity 0.2s ease;
  }

  .nav-toggle:checked + .nav-toggle-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-button span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .nav-toggle-button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 8px);
    right: 0;
    z-index: 44;
    display: grid;
    justify-content: stretch;
    gap: 0;
    width: min(360px, calc(100vw - 48px));
    padding: 1rem;
    border: 1px solid rgba(227, 6, 19, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease,
      transform 0.2s ease;
  }

  .nav-toggle:checked ~ .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a:not(.mobile-menu-cta) {
    padding: 0.8rem 1rem;
  }

  .site-nav .header-social-links {
    justify-self: stretch;
    width: 100%;
    margin-top: 0.65rem;
  }

  .site-nav .header-social-links a {
    width: 42px;
    height: 42px;
    padding: 0;
  }

  .site-nav a.is-active::after,
  .site-nav a:hover::after {
    display: none;
  }

  .header-cta,
  .mobile-menu-brand,
  .mobile-menu-rule {
    display: none;
  }

  .mobile-menu-cta {
    display: inline-flex;
    width: 100%;
    margin-top: 0.65rem;
  }
}

@media (max-width: 760px) {
  :root {
    --site-header-height: 90px;
  }

  .container,
  .narrow {
    width: min(100% - 30px, var(--container));
  }

  .home-section,
  .why-section,
  .gallery-section,
  .location-panel,
  .contact-panel,
  .about-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .about-hero {
    height: calc(100svh - var(--site-header-height));
    min-height: 650px;
  }

  .about-hero::after {
    background: linear-gradient(
      180deg,
      transparent 46%,
      rgba(10, 10, 10, 0.14) 63%,
      rgba(10, 10, 10, 0.66) 100%
    );
  }

  .about-hero-shell {
    align-items: flex-end;
    min-height: 100%;
  }

  .about-hero-copy {
    width: 100%;
    padding: 0 0 3.5rem;
  }

  .about-hero-copy h1 {
    max-width: 360px;
    color: #ffffff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.68);
  }

  .about-hero-copy .lead {
    max-width: 370px;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
  }

  .about-hero-copy .button.ghost {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.94);
  }

  .about-hero-visual img {
    object-position: 63% center;
  }

  .about-story-grid,
  .about-principle-layout {
    gap: 28px;
  }

  .about-section .reveal-left,
  .about-section .reveal-right {
    transform: translateY(24px) scale(0.985);
  }

  .about-story-image img {
    aspect-ratio: 1 / 0.9;
  }

  .about-story-copy::after {
    width: min(86%, 380px);
    right: -28px;
    opacity: 0.09;
  }

  .about-pillar-grid {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
  }

  .about-pillar {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    padding: 28px 24px;
  }

  .about-metrics {
    padding: 26px 0;
  }

  .about-metric-grid,
  .about-team-grid {
    grid-template-columns: 1fr;
  }

  .about-metric {
    min-height: 120px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .about-metric:first-child {
    border-top: 0;
  }

  .about-timeline-track {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-timeline-track article {
    grid-template-columns: 18px minmax(58px, auto) 1fr;
    justify-items: start;
    align-items: start;
    gap: 0.8rem;
    padding: 0;
    text-align: left;
  }

  .about-timeline-track article::before {
    display: none;
  }

  .about-timeline-track p {
    max-width: none;
  }

  .about-principle-intro h2,
  .about-principle-intro p {
    max-width: none;
  }

  .about-principle-body {
    min-height: 0;
  }

  .about-team-photo {
    min-height: 0;
  }

  .about-cta-inner {
    display: grid;
    align-items: start;
  }

  .about-cta .button.secondary {
    width: 100%;
  }

  .approach-section {
    padding: 56px 0;
  }

  .location-panel,
  .contact-panel {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .site-header {
    position: relative;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    backdrop-filter: none;
  }

  .site-header .container {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    grid-template-areas:
      "brand toggle"
      "nav nav";
    min-height: auto;
    gap: 0;
    width: calc(100% - 44px);
    padding: 1.55rem 0 1.1rem;
    align-items: center;
  }

  .site-header.is-scrolled {
    background: #ffffff;
    border-bottom-color: var(--line);
    box-shadow: none;
    backdrop-filter: none;
  }

  .back-to-top {
    position: fixed;
    right: 16px;
    bottom: 18px;
    z-index: 900;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(227, 6, 19, 0.32);
    border-radius: 50%;
    color: #ffffff;
    font-size: 23px;
    line-height: 1;
    background: rgba(227, 6, 19, 0.72);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease,
      color 0.2s ease,
      background-color 0.2s ease,
      border-color 0.2s ease;
  }

  .back-to-top.is-visible {
    opacity: 0.46;
    visibility: visible;
  }

  .back-to-top.is-on-red {
    color: var(--accent);
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.9);
  }

  .back-to-top:focus-visible {
    opacity: 0.9;
    outline: 2px solid #ffffff;
    outline-offset: 2px;
  }

  .brand {
    grid-area: brand;
    position: relative;
    z-index: 1020;
  }

  .brand img {
    width: min(238px, 54vw);
    height: auto;
    max-height: 54px;
  }

  .footer-brand img {
    max-height: none;
  }

  .nav-toggle-button {
    grid-area: toggle;
    justify-self: end;
    position: relative;
    z-index: 1040;
    display: inline-flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 50px;
    height: 46px;
    padding: 0;
    border: 2px solid rgba(227, 6, 19, 0.68);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 40px rgba(227, 6, 19, 0.16);
    backdrop-filter: blur(12px);
    cursor: pointer;
    transition:
      border-color 0.24s ease,
      box-shadow 0.24s ease,
      background-color 0.24s ease;
  }

  .site-header .nav-toggle-button {
    background: rgba(255, 255, 255, 0.58);
    border-color: rgba(227, 6, 19, 0.78);
  }

  .page-home .site-header .nav-toggle-button {
    right: 10px;
  }

  .nav-toggle-button span {
    width: 22px;
    height: 2px;
    margin: 0 auto;
    background: var(--accent);
    border-radius: 999px;
    transform-origin: center;
    transition:
      transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-toggle:checked + .nav-toggle-button {
    animation: menu-button-press 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    border-color: rgba(227, 6, 19, 0.28);
    box-shadow: 0 16px 36px rgba(227, 6, 19, 0.18);
  }

  .nav-toggle:checked + .nav-toggle-button span {
    background: var(--accent);
  }

  .nav-toggle:checked + .nav-toggle-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-button span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .nav-toggle-button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  @keyframes menu-button-press {
    0% {
      transform: scale(1);
    }

    44% {
      transform: scale(0.94);
    }

    100% {
      transform: scale(1);
    }
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 990;
    display: block;
    opacity: 0;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(0);
    transition:
      opacity 0.24s ease-out,
      backdrop-filter 0.24s ease-out;
  }

  .nav-toggle:checked ~ .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
    backdrop-filter: blur(10px);
    transition-duration: 0.82s;
  }

  .site-nav {
    grid-area: nav;
    position: fixed;
    inset: 0;
    z-index: 1030;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto repeat(5, auto) auto auto auto;
    align-content: start;
    justify-content: stretch;
    justify-items: center;
    gap: 0;
    width: auto;
    max-width: none;
    min-height: 100svh;
    margin: 0;
    box-sizing: border-box;
    padding: 110px 28px 34px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    background:
      radial-gradient(
        circle at 50% 18%,
        rgba(227, 6, 19, 0.065),
        rgba(227, 6, 19, 0) 38%
      ),
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.992) 0%,
        rgba(255, 255, 255, 0.982) 100%
      );
    border: 1px solid rgba(227, 6, 19, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.14);
    clip-path: circle(0 at calc(100% - 42px) 42px);
    transform: scale(0.98);
    transform-origin: top right;
    backdrop-filter: blur(12px);
    transition:
      opacity 0.3s ease-out,
      transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
      clip-path 0.42s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-toggle:checked ~ .site-nav {
    opacity: 1;
    pointer-events: auto;
    clip-path: circle(150% at calc(100% - 42px) 42px);
    transform: scale(1);
    transition:
      opacity 0.82s ease-out,
      transform 1.65s cubic-bezier(0.16, 1, 0.3, 1),
      clip-path 1.65s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-menu-brand {
    display: grid;
    justify-items: center;
    min-height: 124px;
    margin-bottom: 1.25rem;
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    transition:
      opacity 0.88s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.88s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobile-menu-brand img {
    width: min(286px, 72vw);
    height: 124px;
    object-fit: contain;
    filter: drop-shadow(0 12px 22px rgba(227, 6, 19, 0.1));
  }

  .mobile-menu-rule {
    display: block;
    width: min(58vw, 280px);
    height: 1px;
    margin: 0 0 1.65rem;
    background: rgba(227, 6, 19, 0.26);
    opacity: 0;
    transform: scaleX(0.72);
    transform-origin: center;
    transition:
      opacity 0.84s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.84s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobile-menu-rule-bottom {
    margin: 2rem 0 1.4rem;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 0.26rem 0;
    border: 0;
    border-radius: 0;
    color: var(--accent);
    font-family: "Times New Roman", Times, Georgia, serif;
    font-size: clamp(1.25rem, 5.6vw, 1.7rem);
    font-weight: 700;
    letter-spacing: 0.09em;
    line-height: 1.22;
    text-align: center;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(18px);
    transition:
      color 0.22s ease,
      background-color 0.22s ease,
      letter-spacing 0.96s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .site-nav .header-social-links {
    justify-self: center;
    width: min(250px, 78vw);
    max-width: none;
    margin: 0 auto;
    gap: 12px;
    justify-content: center;
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .site-nav .header-social-links a {
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--accent);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    font-family: inherit;
    letter-spacing: 0;
    opacity: 1;
    transform: none;
  }

  .site-nav .header-social-links a:hover,
  .site-nav .header-social-links a:focus-visible {
    color: #ffffff;
    background: var(--accent);
    transform: translateY(-1px);
  }

  .site-nav a.is-active::after,
  .site-nav a:hover::after {
    display: none;
  }

  .site-nav a.is-active {
    color: var(--accent);
    background: transparent;
  }

  .site-nav a:hover {
    color: var(--accent-dark);
    background: transparent;
  }

  .nav-toggle:checked ~ .site-nav .mobile-menu-brand,
  .nav-toggle:checked ~ .site-nav .mobile-menu-rule,
  .nav-toggle:checked ~ .site-nav a {
    opacity: 1;
    letter-spacing: 0.045em;
    transform: translateY(0);
  }

  .nav-toggle:checked ~ .site-nav .header-social-links {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-toggle:checked ~ .site-nav .mobile-menu-brand {
    transition-delay: 0.38s;
  }

  .nav-toggle:checked ~ .site-nav .mobile-menu-rule:first-of-type {
    transform: scaleX(1);
    transition-delay: 0.62s;
  }

  .nav-toggle:checked ~ .site-nav a:nth-of-type(1) {
    transition-delay: 0.72s;
  }

  .nav-toggle:checked ~ .site-nav a:nth-of-type(2) {
    transition-delay: 0.88s;
  }

  .nav-toggle:checked ~ .site-nav a:nth-of-type(3) {
    transition-delay: 1.04s;
  }

  .nav-toggle:checked ~ .site-nav a:nth-of-type(4) {
    transition-delay: 1.2s;
  }

  .nav-toggle:checked ~ .site-nav a:nth-of-type(5) {
    transition-delay: 1.36s;
  }

  .nav-toggle:checked ~ .site-nav .mobile-menu-rule-bottom {
    transform: scaleX(1);
    transition-delay: 1.52s;
  }

  .nav-toggle:checked ~ .site-nav .header-social-links {
    transition-delay: 1.6s;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle:checked ~ .header-cta {
    display: none;
  }

  .mobile-menu-cta {
    display: inline-flex;
    justify-self: center;
    width: min(250px, 78vw);
    max-width: none;
    margin: 0 auto;
    min-height: 44px;
    justify-content: center;
    color: #ffffff !important;
    font-family: "DM Sans", "Inter", "Segoe UI", Arial, sans-serif !important;
    font-size: 0.78rem !important;
    font-weight: 800;
    letter-spacing: 0.12em !important;
    background: var(--accent) !important;
    border-radius: var(--radius-sm);
    box-shadow: 0 14px 34px rgba(227, 6, 19, 0.2);
  }

  .site-nav .mobile-menu-cta {
    min-height: 44px;
    padding: 0 28px;
    line-height: 1;
  }

  .nav-toggle:checked ~ .site-nav .mobile-menu-cta {
    transition-delay: 1.58s;
  }

  .actions,
  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }

  .feature-card-grid,
  .benefit-strip,
  .approach-grid,
  .card-grid,
  .list-grid,
  .form-grid,
  .location-stats {
    grid-template-columns: 1fr;
  }

  .gallery-section {
    overflow: hidden;
  }

  .gallery-section .container {
    width: 100%;
  }

  .gallery-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 0 15px 4px;
    scroll-padding-left: 15px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-grid::-webkit-scrollbar {
    display: none;
  }

  .gallery-tile {
    flex: 0 0 min(82vw, 360px);
    scroll-snap-align: center;
    scroll-margin-left: 15px;
  }

  .gallery-slider-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 16px;
    padding: 0 15px;
  }

  .gallery-slider-dots a {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(227, 6, 19, 0.24);
  }

  .gallery-slider-dots a:focus-visible,
  .gallery-slider-dots a:hover {
    background: var(--accent);
    outline: 2px solid rgba(227, 6, 19, 0.24);
    outline-offset: 3px;
  }

  .gallery-link {
    margin-left: 15px;
    margin-right: 15px;
  }

  .map-card {
    margin-top: 34px;
    min-height: 350px;
  }

  .home-hero {
    height: 100svh;
    min-height: 620px;
    border-bottom: 0;
  }

  .home-hero-shell {
    align-items: flex-end;
  }

  .home-hero-copy {
    width: 100%;
    min-width: 0;
    align-self: auto;
    padding: 0 0 2.35rem;
  }

  .home-hero-copy h1 {
    max-width: 330px;
    color: #171717;
    font-size: clamp(2rem, 8.4vw, 2.35rem);
    overflow-wrap: normal;
    text-shadow: 0 1px 18px rgba(255, 255, 255, 0.46);
  }

  .home-hero-copy .lead {
    max-width: 340px;
    color: rgba(24, 24, 24, 0.78);
    text-shadow: 0 1px 16px rgba(255, 255, 255, 0.58);
  }

  .home-hero-visual img {
    object-position: 28% center;
    transform: none;
    animation: none;
  }

  .vision-layout {
    gap: 24px;
  }

  .vision-section {
    background: none;
  }

  .vision-image {
    min-height: 320px;
  }

  .vision-content {
    padding: 28px 22px 30px;
  }

  .vision-copy h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .vision-point p {
    max-width: none;
  }

  .vision-button {
    width: 100%;
    min-width: 0;
  }

  .vision-layout::after {
    right: -28px;
    bottom: 34px;
    width: min(76%, 380px);
    opacity: 0.11;
  }

  .intro-grid {
    gap: 28px;
  }

  .section-intro {
    max-width: none;
  }

  .benefit-item,
  .approach-item {
    padding: 0;
    border-left: 0;
  }

  .map-pin {
    left: 10%;
  }

  .footer-links-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .projects-hero-copy {
    width: min(560px, 62%);
  }

  .projects-hero-points {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 360px;
  }

  .project-showcase {
    grid-template-columns: 1fr;
  }

  .project-showcase-image {
    min-height: 430px;
  }

  .project-showcase-card {
    padding: 42px 38px;
  }

  .project-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 0;
  }

  .project-benefit:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .project-approach-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 0;
  }

  .project-approach:nth-child(3n + 1) {
    padding-left: 0;
    border-left: 0;
  }

  .projects-contact-image {
    width: 280px;
  }

  .projects-contact-inner {
    padding-left: 320px;
  }
}

@media (max-width: 760px) {
  .projects-hero {
    height: calc(100svh - var(--site-header-height));
    min-height: 650px;
    border-bottom: 0;
  }

  .projects-hero::after {
    background: linear-gradient(
      180deg,
      transparent 42%,
      rgba(10, 10, 10, 0.16) 58%,
      rgba(10, 10, 10, 0.7) 100%
    );
  }

  .projects-hero-shell {
    align-items: flex-end;
    min-height: 100%;
  }

  .projects-hero-copy {
    width: 100%;
    padding: 0 0 3.5rem;
  }

  .projects-hero-copy h1 {
    max-width: 330px;
    color: #ffffff;
    font-size: clamp(2.15rem, 9vw, 2.7rem);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.68);
  }

  .projects-hero-copy .lead {
    max-width: 360px;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
  }

  .projects-hero-points strong {
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.66);
  }

  .projects-hero-points span {
    color: rgba(255, 255, 255, 0.82);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  }

  .projects-hero-visual img {
    object-position: center center;
    transform: scaleX(-1) scale(1.035);
    animation-name: hero-image-drift;
  }

  .projects-section {
    padding: 52px 0;
  }

  .projects-section-head {
    margin-bottom: 26px;
  }

  .project-showcase-card {
    padding: 30px 24px;
  }

  .project-showcase-image {
    min-height: 320px;
  }

  .project-detail-list {
    gap: 1rem;
  }

  .project-button {
    width: 100%;
  }

  .project-benefit-grid,
  .project-approach-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .project-benefit,
  .project-approach,
  .project-approach:nth-child(3n + 1) {
    padding: 0;
    border-left: 0;
  }

  .project-approach {
    min-height: 0;
    text-align: left;
  }

  .project-approach .line-icon {
    margin: 0 0 0.8rem;
  }

  .project-approach p {
    max-width: none;
    margin: 0;
  }

  .projects-contact-strip {
    padding: 42px 0;
  }

  .projects-contact-image {
    display: none;
  }

  .projects-contact-inner {
    display: grid;
    align-items: start;
    padding-left: 0;
  }

  .projects-contact-actions,
  .projects-contact-actions .button {
    width: 100%;
  }
}

@media (max-width: 1180px) {
  .project-detail-hero {
    padding-top: 34px;
  }

  .project-detail-hero-grid,
  .project-about-grid {
    grid-template-columns: 1fr;
  }

  .project-detail-hero-grid {
    min-height: auto;
  }

  .project-detail-hero-copy {
    padding-right: 0;
  }

  .project-detail-hero-image {
    min-height: 460px;
    border-radius: var(--radius-md);
  }

  .project-about-grid {
    gap: 42px;
  }

  .project-about-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: 0;
    border-left: 0;
  }

  .project-gallery-grid-featured,
  .project-gallery-grid-even {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-gallery-item-large {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .project-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-value-card:nth-child(odd) {
    border-left: 0;
  }

  .project-detail-cta-inner {
    grid-template-columns: 1fr;
  }

  .gallery-modal-prev {
    left: 12px;
  }

  .gallery-modal-next {
    right: 12px;
  }
}

@media (max-width: 760px) {
  .project-detail-hero {
    padding-top: 18px;
  }

  .project-detail-hero-copy {
    padding: 20px 0 24px;
  }

  .breadcrumb {
    margin-bottom: 1.45rem;
  }

  .project-detail-hero-copy h1 {
    max-width: 300px;
  }

  .project-hero-facts,
  .project-about-features,
  .project-values-grid {
    grid-template-columns: 1fr;
  }

  .project-hero-facts {
    gap: 22px;
    margin-top: 1.55rem;
  }

  .project-detail-hero-image {
    min-height: 330px;
  }

  .project-detail-hero-image::before {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .project-detail-section {
    padding: 52px 0;
  }

  .project-gallery-section {
    padding-top: 18px;
    padding-bottom: 30px;
  }

  .project-gallery-grid {
    gap: 8px;
  }

  .project-gallery-grid-featured,
  .project-gallery-grid-even {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-gallery-item-large {
    grid-column: auto;
  }

  .project-value-card,
  .project-value-card:nth-child(odd) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .project-value-card:first-child {
    border-top: 0;
  }

  .project-detail-cta-inner {
    padding: 0;
  }

  .project-detail-cta {
    padding: 40px 0;
  }

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

  .project-detail-cta-action,
  .project-detail-cta-action .button {
    width: 100%;
    max-width: none;
  }

  .gallery-modal {
    padding: 15px;
  }

  .gallery-modal-close {
    top: 10px;
    right: 10px;
  }

  .gallery-modal-nav {
    width: 42px;
    height: 42px;
  }

  .gallery-modal-dialog img {
    max-height: 72vh;
  }
}

/* English reference-led home page */
.page-home {
  --site-header-height: 92px;
}

.page-home .home-hero {
  height: clamp(570px, 63vh, 690px);
}

.page-home .home-hero-copy {
  width: min(560px, 44%);
}

.page-home .home-hero-copy h1 {
  font-size: clamp(2.7rem, 3.25vw, 4.25rem);
}

.page-home .home-hero-copy .lead {
  max-width: 400px;
}

.page-home .home-hero-copy .actions {
  width: min(100%, 430px);
  flex-wrap: nowrap;
  gap: 0.75rem;
}

.page-home .home-hero-copy .actions .button {
  flex: 1 1 0;
  min-width: 0;
  padding-right: 1rem;
  padding-left: 1rem;
  font-size: 14px;
  white-space: nowrap;
}

@media (min-width: 761px) {
  .page-home .home-hero {
    background: #ffffff;
  }

  .page-home .home-hero-visual {
    inset: 0 0 0 46%;
  }

  .page-home .home-hero-visual img {
    object-position: center;
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .page-home .home-hero-copy h1 {
    font-size: clamp(2.2rem, 4.2vw, 2.8rem);
  }
}

@media (min-width: 1181px) {
  .page-home .home-hero {
    height: auto;
    min-height: 0;
  }

  .page-home .home-hero-visual {
    position: relative;
    inset: auto;
    margin-left: clamp(520px, 32vw, 660px);
  }

  .page-home .home-hero-visual picture {
    height: auto;
  }

  .page-home .home-hero-visual img {
    height: auto;
    object-fit: contain;
  }

  .page-home .home-hero-shell {
    position: absolute;
    inset: 0;
  }

  .page-home .home-hero-copy {
    width: calc(
      clamp(520px, 32vw, 660px) -
        max(94px, calc((100vw - var(--container)) / 2)) - 40px
    );
  }

  .page-home .home-hero-copy h1 {
    font-size: clamp(2.7rem, 2.8vw, 3.25rem);
  }
}

@media (min-width: 1181px) and (max-width: 1400px) {
  .page-home .home-hero-copy {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .page-home .home-hero-copy h1 {
    font-size: clamp(2.25rem, 3vw, 2.65rem);
  }

  .page-home .home-hero-copy .actions {
    margin-top: 1rem;
  }
}

.page-home .vision-section {
  padding: 36px 0 34px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.page-home .vision-section::before,
.page-home .vision-reference-layout::after {
  content: none;
}

.page-home .vision-reference-layout {
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.78fr);
  gap: 46px;
  align-items: stretch;
}

.page-home .vision-reference-layout .section-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 390px;
}

.page-home .feature-card-grid {
  gap: 20px;
}

.page-home .feature-card {
  min-height: 250px;
  padding: 34px 22px 28px;
  border-color: #e3e0dc;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.025);
}

.page-home .why-section {
  padding: 36px 0 32px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.page-home .why-section .section-kicker,
.page-home .why-section .line-icon,
.page-home .why-section .text-link {
  color: var(--accent);
}

.page-home .why-section h2,
.page-home .why-section h3 {
  color: var(--ink);
}

.page-home .why-section .section-intro p,
.page-home .why-section .benefit-item p {
  color: var(--muted);
}

.page-home .why-section .section-kicker {
  opacity: 1;
}

.page-home .benefit-item::before {
  background: var(--line);
}

.page-home .gallery-section {
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--line);
}

.page-home .gallery-tile {
  aspect-ratio: 2 / 1;
}

.page-home .approach-section {
  padding: 38px 0 40px;
  border-bottom: 1px solid var(--line);
}

.page-home .location-panel {
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: #f8f7f5;
}

.page-home .location-grid {
  grid-template-columns: minmax(360px, 0.65fr) minmax(0, 1.35fr);
  min-height: 300px;
}

.page-home .location-panel .section-intro {
  padding: 32px 42px 32px 0;
}

.page-home .location-panel .section-kicker,
.page-home .location-panel .mini-icon {
  color: var(--accent);
  opacity: 1;
}

.page-home .location-panel h2,
.page-home .location-panel .section-intro p,
.page-home .location-stats strong,
.page-home .location-stats span {
  color: var(--ink);
}

.page-home .location-panel .section-intro p,
.page-home .location-stats span {
  color: var(--muted);
}

.page-home .map-card {
  min-height: 300px;
  margin-right: min(-94px, calc((var(--container) - 100vw) / 2));
  border-radius: 0;
}

.page-home .location-panel.is-visible .map-card {
  clip-path: inset(0 0 0 0);
}

.page-home .contact-panel {
  padding: 40px 0 42px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.page-home .interior-accent {
  background: url("/image/projects/beykoz-karlitepe/interior-kitchen-dining.webp")
    center / cover no-repeat;
}

.page-home .site-footer {
  border-top: 0;
}

@media (min-width: 1181px) {
  .site-header .container {
    grid-template-columns: auto 1fr auto;
    min-height: 104px;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }

  .site-header .brand img {
    height: 42px;
  }

  .site-nav {
    position: absolute;
    inset: 50% 0 auto;
    justify-content: center;
    padding: 0 190px;
    gap: clamp(3.25rem, 3.75vw, 4.75rem);
    transform: translateY(-50%);
  }

  .site-nav a {
    font-size: 17px;
  }

  .site-nav .header-social-links {
    position: absolute;
    top: 50%;
    right: 0;
    gap: 8px;
    transform: translateY(-50%);
  }

  .site-nav .header-social-links a {
    width: 34px;
    height: 34px;
    padding: 0;
  }

  .header-cta {
    min-width: 154px;
    min-height: 44px;
    font-size: 14px;
  }
}

@media (min-width: 1000px) and (max-width: 1180px) {
  .page-home .vision-reference-layout,
  .page-home .secondary-grid {
    grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.78fr);
  }

  .page-home .feature-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 999px) {
  .page-home .vision-reference-layout,
  .page-home .secondary-grid,
  .page-home .location-grid {
    grid-template-columns: 1fr;
  }

  .page-home .vision-reference-layout .section-intro,
  .page-home .why-section .section-intro {
    max-width: 620px;
  }

  .page-home .location-panel .section-intro {
    padding: 48px 0 10px;
  }
}

@media (min-width: 761px) and (max-width: 999px) {
  .page-home .home-hero-copy .actions {
    flex-direction: column;
    width: min(100%, 320px);
  }

  .page-home .home-hero-copy .actions .button {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .page-home {
    --site-header-height: 90px;
  }

  .page-home .home-hero {
    height: calc(100svh - var(--site-header-height));
    min-height: 650px;
  }

  .page-home .home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      transparent 48%,
      rgba(10, 10, 10, 0.12) 64%,
      rgba(10, 10, 10, 0.62) 100%
    );
  }

  .page-home .home-hero-copy {
    width: 100%;
    padding: 0 0 3.5rem;
  }

  .page-home .home-hero-copy h1 {
    color: #ffffff;
    font-size: clamp(2rem, 8.4vw, 2.5rem);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.68);
  }

  .page-home .home-hero-copy .lead {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
  }

  .page-home .home-hero-copy .button.ghost {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.94);
  }

  .page-home .vision-section,
  .page-home .why-section,
  .page-home .gallery-section,
  .page-home .approach-section,
  .page-home .contact-panel {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .page-home .feature-card-grid {
    grid-template-columns: 1fr;
  }

  .page-home .feature-card {
    min-height: 0;
  }

  .page-home .benefit-item {
    padding: 26px 0;
    border-top: 1px solid var(--line);
  }

  .page-home .benefit-item:first-child {
    border-top: 0;
  }

  .page-home .benefit-item::before {
    display: none;
  }

  .page-home .gallery-tile {
    aspect-ratio: 16 / 10;
  }

  .page-home .location-panel .section-intro {
    padding: 34px 0 4px;
  }

  .page-home .map-card {
    min-height: 350px;
    margin-top: 28px;
    margin-right: 0;
  }

  .page-home .site-nav {
    grid-template-rows: auto auto repeat(5, auto) auto auto auto;
  }
}

@media (min-width: 1441px) {
  .site-header .brand img,
  .page-home .site-header .brand img {
    height: 45px;
  }
}

@media (min-width: 761px) and (max-width: 1440px) {
  .site-header .brand img,
  .page-home .site-header .brand img {
    height: 38px;
  }
}

@media (max-width: 760px) {
  .site-header .brand img,
  .page-home .site-header .brand img {
    width: auto;
    height: 34px;
    max-height: none;
  }
}

/* Shared inner-page hero, based on the home page's white-panel/image split */
.split-hero {
  --split-hero-panel: clamp(520px, 32vw, 660px);
  position: relative;
  height: clamp(570px, 63vh, 690px);
  min-height: 570px;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.split-hero::after {
  display: none;
}

.split-hero-visual,
.split-hero-visual img {
  position: absolute;
  inset: 0 0 0 var(--split-hero-panel);
  width: auto;
  height: 100%;
}

.split-hero-visual {
  z-index: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: #eee9e3;
}

.split-hero-visual::before {
  display: none;
}

.split-hero-visual img {
  inset: 0;
  width: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
  animation: none;
}

.split-hero-shell,
.project-detail-hero-grid.split-hero-shell {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: min(var(--container), calc(100% - 188px));
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  padding: 0;
}

.split-hero-copy,
.project-detail-hero-copy.split-hero-copy {
  display: block;
  width: calc(
    var(--split-hero-panel) - max(24px, calc((100vw - var(--container)) / 2)) -
      40px
  );
  max-width: 520px;
  padding: 2.25rem 0;
}

.split-hero-copy h1 {
  max-width: 520px;
  margin-bottom: 0;
  font-size: clamp(2.35rem, 2.8vw, 3.25rem);
}

.split-hero-copy .lead,
.contact-page-hero-copy.split-hero-copy > p {
  max-width: 470px;
  margin-top: 1.25rem;
  color: var(--muted-dark);
  font-size: var(--fs-body);
  line-height: 1.65;
}

.split-hero-copy .accent-line {
  margin-top: 1.25rem;
}

.split-hero-projects,
.split-hero-project-detail {
  height: clamp(660px, 72vh, 760px);
}

.split-hero-projects .projects-hero-points {
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 1.55rem;
}

.split-hero-projects .projects-hero-points .line-icon {
  width: 30px;
  height: 30px;
}

.split-hero-project-detail .breadcrumb {
  margin-bottom: 1.65rem;
}

.split-hero-project-detail .project-hero-facts {
  gap: 20px 28px;
  margin-top: 1.55rem;
}

.split-hero-project-detail .project-detail-hero-copy .lead {
  margin-top: 1.25rem;
}

.split-hero-services .split-hero-visual img {
  object-position: 54% center;
}

@media (min-width: 761px) and (max-width: 1180px) {
  .split-hero {
    --split-hero-panel: 46%;
  }

  .split-hero-shell,
  .project-detail-hero-grid.split-hero-shell {
    width: min(100% - 56px, var(--container));
  }

  .split-hero-copy,
  .project-detail-hero-copy.split-hero-copy {
    width: calc(46vw - 68px);
    padding-right: 0;
  }

  .split-hero-copy h1 {
    font-size: clamp(2rem, 4vw, 2.7rem);
  }

  .split-hero-copy .actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .split-hero-project-detail {
    height: 790px;
  }

  .split-hero-project-detail .project-hero-facts {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 760px) {
  .split-hero,
  .split-hero-projects,
  .split-hero-project-detail {
    display: block;
    height: calc(100svh - var(--site-header-height));
    min-height: 650px;
    padding: 0;
    overflow: hidden;
    border-bottom: 0;
  }

  .split-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      transparent 42%,
      rgba(10, 10, 10, 0.16) 60%,
      rgba(10, 10, 10, 0.68) 100%
    );
  }

  .split-hero-shell,
  .project-detail-hero-grid.split-hero-shell {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    width: min(100% - 40px, var(--container));
    height: 100%;
    margin: 0 auto;
  }

  .split-hero-copy,
  .project-detail-hero-copy.split-hero-copy {
    width: 100%;
    max-width: none;
    padding: 0 0 3.5rem;
  }

  .split-hero-copy h1 {
    max-width: 520px;
    color: #ffffff;
    font-size: clamp(2rem, 8.4vw, 2.5rem);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.68);
  }

  .split-hero-copy .lead,
  .contact-page-hero-copy.split-hero-copy > p {
    max-width: 540px;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
  }

  .split-hero-visual,
  .split-hero-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .split-hero-visual {
    z-index: 0;
  }

  .split-hero-visual img {
    object-fit: cover;
    object-position: center;
  }

  .split-hero-copy .actions {
    width: 100%;
  }

  .split-hero-copy .section-kicker,
  .split-hero-project-detail .breadcrumb,
  .split-hero-project-detail .breadcrumb a,
  .split-hero-project-detail .breadcrumb span {
    color: rgba(255, 255, 255, 0.86);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  }

  .split-hero-copy .button.ghost {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.94);
  }

  .split-hero-projects .projects-hero-points,
  .split-hero-project-detail .project-hero-facts {
    grid-template-columns: 1fr;
  }

  .split-hero-project-detail .breadcrumb {
    margin-bottom: 1.4rem;
  }
}

/* Unified full-bleed hero image with floating content card */
.home-hero,
.page-home .home-hero,
.split-hero,
.about-hero,
.projects-hero,
.contact-page-hero,
.project-detail-hero {
  position: relative;
  height: auto;
  min-height: clamp(620px, calc(100svh - var(--site-header-height)), 820px);
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #111113;
}

.split-hero-projects,
.split-hero-project-detail {
  height: auto;
  min-height: clamp(660px, calc(100svh - var(--site-header-height)), 860px);
}

.home-hero::after,
.page-home .home-hero::after,
.split-hero::after,
.about-hero::after,
.projects-hero::after,
.contact-page-hero::after,
.project-detail-hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(8, 8, 10, 0.34) 0%,
      rgba(8, 8, 10, 0.16) 43%,
      rgba(8, 8, 10, 0.02) 76%
    ),
    linear-gradient(
      180deg,
      rgba(8, 8, 10, 0.14) 0%,
      rgba(8, 8, 10, 0) 44%,
      rgba(8, 8, 10, 0.18) 100%
    );
}

.home-hero-visual,
.page-home .home-hero-visual,
.split-hero-visual,
.project-detail-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: #171719;
}

.home-hero-visual picture,
.page-home .home-hero-visual picture,
.split-hero-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.home-hero-visual img,
.page-home .home-hero-visual img,
.split-hero-visual img,
.project-detail-hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero-visual img,
.page-home .home-hero-visual img,
.projects-hero-visual img,
.project-detail-hero-image img,
.contact-page-hero-visual img {
  transform: scaleX(-1) scale(1.02);
}

.about-hero-visual img {
  transform: scale(1.02);
}

.split-hero-services .split-hero-visual img {
  object-position: 54% center;
}

.home-hero-shell,
.page-home .home-hero-shell,
.split-hero-shell,
.about-hero-shell,
.projects-hero-shell,
.contact-page-hero-shell,
.project-detail-hero-grid.split-hero-shell {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: min(var(--container), calc(100% - 96px));
  height: auto;
  min-height: inherit;
  margin: 0 auto;
  padding: clamp(4.5rem, 8vh, 7rem) 0;
  padding-top: clamp(18.5rem, 20vh, 20rem);
  padding-right: 0px;
  padding-bottom: clamp(4.5rem, 8vh, 7rem);
  padding-left: 0px;
}

.home-hero-copy,
.page-home .home-hero-copy,
.split-hero-copy,
.about-hero-copy,
.projects-hero-copy,
.contact-page-hero-copy,
.project-detail-hero-copy.split-hero-copy {
  box-sizing: border-box;
  min-width: 0;
  width: min(620px, 48vw);
  max-width: 620px;
  padding: clamp(2rem, 3vw, 3.35rem);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.home-hero-copy h1,
.page-home .home-hero-copy h1,
.split-hero-copy h1,
.about-hero-copy h1,
.projects-hero-copy h1,
.contact-page-hero-copy h1,
.project-detail-hero-copy h1 {
  max-width: 100%;
  margin-bottom: 0;
  color: var(--surface-soft);
  text-shadow: none;
}

.page-home .home-hero-copy h1,
.split-hero-copy h1 {
  font-size: clamp(2.35rem, 3.1vw, 3.65rem);
}

.home-hero-copy .lead,
.page-home .home-hero-copy .lead,
.split-hero-copy .lead,
.about-hero-copy .lead,
.projects-hero-copy .lead,
.project-detail-hero-copy .lead,
.contact-page-hero-copy.split-hero-copy > p,
.contact-page-hero-copy > p {
  max-width: 100%;
  color: var(--surface-soft);
  text-shadow: none;
}

.home-hero-copy .section-kicker,
.split-hero-copy .section-kicker,
.split-hero-copy .eyebrow,
.project-detail-hero-copy .breadcrumb,
.project-detail-hero-copy .breadcrumb a,
.project-detail-hero-copy .breadcrumb span {
  color: var(--accent);
  text-shadow: none;
}

.project-detail-hero-copy .breadcrumb {
  margin-bottom: 1.55rem;
}

.projects-hero-points strong,
.project-hero-facts strong {
  color: var(--surface-soft);
  text-shadow: none;
}

.projects-hero-points span,
.project-hero-facts span {
  color: var(--surface-soft);
  text-shadow: none;
}

.projects-hero-points,
.split-hero-projects .projects-hero-points {
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 100%;
}

.project-hero-facts,
.split-hero-project-detail .project-hero-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  max-width: 100%;
}

.page-home .home-hero-copy .actions,
.home-hero-copy .actions,
.split-hero-copy .actions {
  width: 100%;
  max-width: 100%;
}

.page-home .home-hero-copy .actions .button {
  flex: 0 1 auto;
}

.home-hero-copy .button.ghost,
.page-home .home-hero-copy .button.ghost,
.split-hero-copy .button.ghost {
  color: var(--accent);
  background: #ffffff;
  border-color: rgba(227, 6, 19, 0.48);
}

.contact-page-hero-copy .contact-success {
  background: rgba(255, 255, 255, 0.72);
}

@media (min-width: 1181px) {
  .page-home .home-hero {
    height: auto;
    min-height: clamp(620px, calc(100svh - var(--site-header-height)), 820px);
  }

  .page-home .home-hero-visual {
    position: absolute;
    inset: 0;
    margin-left: 0;
  }

  .page-home .home-hero-visual picture,
  .page-home .home-hero-visual img {
    height: 100%;
  }

  .page-home .home-hero-visual img {
    object-fit: cover;
  }

  .home-hero-shell,
  .page-home .home-hero-shell,
  .split-hero-shell,
  .about-hero-shell,
  .projects-hero-shell,
  .contact-page-hero-shell,
  .project-detail-hero-grid.split-hero-shell {
    position: relative;
    inset: auto;
    align-items: center;
    padding-top: clamp(3rem, 6vh, 5rem);
    padding-bottom: clamp(3rem, 6vh, 5rem);
  }

  .page-home .home-hero-copy {
    width: min(620px, 48vw);
    padding: clamp(2rem, 3vw, 3.35rem);
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .home-hero-shell,
  .page-home .home-hero-shell,
  .split-hero-shell,
  .about-hero-shell,
  .projects-hero-shell,
  .contact-page-hero-shell,
  .project-detail-hero-grid.split-hero-shell {
    width: min(100% - 56px, var(--container));
    padding: clamp(3.75rem, 7vh, 5rem) 0;
  }

  .home-hero-copy,
  .page-home .home-hero-copy,
  .split-hero-copy,
  .about-hero-copy,
  .projects-hero-copy,
  .contact-page-hero-copy,
  .project-detail-hero-copy.split-hero-copy {
    width: min(560px, 58vw);
  }

  .page-home .home-hero-copy h1,
  .split-hero-copy h1 {
    font-size: clamp(2.15rem, 4.1vw, 3rem);
  }
}

@media (max-width: 760px) {
  .home-hero,
  .page-home .home-hero,
  .split-hero,
  .about-hero,
  .projects-hero,
  .contact-page-hero,
  .project-detail-hero,
  .split-hero-projects,
  .split-hero-project-detail {
    height: auto;
    min-height: calc(100svh - var(--site-header-height));
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .home-hero::after,
  .page-home .home-hero::after,
  .split-hero::after,
  .about-hero::after,
  .projects-hero::after,
  .contact-page-hero::after,
  .project-detail-hero-image::before {
    background: linear-gradient(
      180deg,
      rgba(8, 8, 10, 0.24) 0%,
      rgba(8, 8, 10, 0.06) 42%,
      rgba(8, 8, 10, 0.34) 100%
    );
  }

  .home-hero-shell,
  .page-home .home-hero-shell,
  .split-hero-shell,
  .about-hero-shell,
  .projects-hero-shell,
  .contact-page-hero-shell,
  .project-detail-hero-grid.split-hero-shell {
    align-items: center;
    width: calc(100vw - 32px);
    max-width: var(--container);
    min-height: inherit;
    padding: 4rem 0;
  }

  .home-hero-copy,
  .page-home .home-hero-copy,
  .split-hero-copy,
  .about-hero-copy,
  .projects-hero-copy,
  .contact-page-hero-copy,
  .project-detail-hero-copy.split-hero-copy {
    flex: 0 1 calc(100vw - 32px);
    width: 100%;
    max-width: calc(100vw - 32px);
    min-width: 0;
    padding: clamp(1.45rem, 6vw, 2rem);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.22);
    overflow-wrap: break-word;
  }

  .home-hero-copy h1,
  .page-home .home-hero-copy h1,
  .split-hero-copy h1,
  .about-hero-copy h1,
  .projects-hero-copy h1,
  .contact-page-hero-copy h1,
  .project-detail-hero-copy h1 {
    max-width: 100%;
    color: var(--ink);
    font-size: clamp(2rem, 8vw, 2.55rem);
    text-shadow: none;
  }

  .home-hero-copy .lead,
  .page-home .home-hero-copy .lead,
  .split-hero-copy .lead,
  .about-hero-copy .lead,
  .projects-hero-copy .lead,
  .project-detail-hero-copy .lead,
  .contact-page-hero-copy.split-hero-copy > p,
  .contact-page-hero-copy > p {
    color: var(--muted-dark);
    text-shadow: none;
  }

  .project-hero-facts,
  .split-hero-project-detail .project-hero-facts {
    grid-template-columns: 1fr;
  }

  .page-home .home-hero-copy .actions,
  .home-hero-copy .actions,
  .split-hero-copy .actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .page-home .home-hero-copy .actions .button,
  .home-hero-copy .actions .button,
  .split-hero-copy .actions .button {
    width: 100%;
  }
}

/* Keep all mobile hero copy directly on the image. */
@media (max-width: 760px) {
  .home-hero,
  .page-home .home-hero,
  .split-hero,
  .about-hero,
  .projects-hero,
  .contact-page-hero,
  .project-detail-hero,
  .split-hero-projects,
  .split-hero-project-detail {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    padding: 0;
  }

  main > .page-hero.split-hero:first-child {
    padding: 0;
  }

  .home-hero::after,
  .page-home .home-hero::after,
  .split-hero::after,
  .about-hero::after,
  .projects-hero::after,
  .contact-page-hero::after,
  .project-detail-hero-image::before {
    background: linear-gradient(
      180deg,
      rgba(8, 8, 10, 0.08) 0%,
      rgba(8, 8, 10, 0.04) 38%,
      rgba(8, 8, 10, 0.48) 62%,
      rgba(8, 8, 10, 0.9) 100%
    );
  }

  .home-hero-shell,
  .page-home .home-hero-shell,
  .split-hero-shell,
  .about-hero-shell,
  .projects-hero-shell,
  .contact-page-hero-shell,
  .project-detail-hero-grid.split-hero-shell {
    align-items: flex-end;
    width: calc(100% - 40px);
    padding: 3rem 0 max(1.5rem, env(safe-area-inset-bottom));
  }

  .home-hero-copy,
  .page-home .home-hero-copy,
  .split-hero-copy,
  .about-hero-copy,
  .projects-hero-copy,
  .contact-page-hero-copy,
  .project-detail-hero-copy.split-hero-copy {
    flex: 0 1 100%;
    width: 100%;
    max-width: 100%;
    padding: 0;
    color: #ffffff;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .home-hero-copy h1,
  .page-home .home-hero-copy h1,
  .split-hero-copy h1,
  .about-hero-copy h1,
  .projects-hero-copy h1,
  .contact-page-hero-copy h1,
  .project-detail-hero-copy h1 {
    color: #ffffff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.76);
  }

  .home-hero-copy .lead,
  .page-home .home-hero-copy .lead,
  .split-hero-copy .lead,
  .about-hero-copy .lead,
  .projects-hero-copy .lead,
  .project-detail-hero-copy .lead,
  .contact-page-hero-copy > p:not(.contact-success) {
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.82);
  }

  .projects-hero-points strong,
  .projects-hero-points span,
  .project-hero-facts strong,
  .project-hero-facts span {
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  }

  .home-hero-copy .button.ghost,
  .page-home .home-hero-copy .button.ghost,
  .split-hero-copy .button.ghost {
    color: var(--accent);
    border-color: rgba(227, 6, 19, 0.48);
    background: #ffffff;
  }
}

/* Never let a hero extend below the viewport area left by the navbar. */
:root {
  --hero-available-height: max(0px, calc(100svh - var(--site-header-height)));
}

.home-hero,
.page-home .home-hero,
.split-hero,
.about-hero,
.projects-hero,
.contact-page-hero,
.project-detail-hero {
  height: min(820px, var(--hero-available-height));
  min-height: min(620px, var(--hero-available-height));
  max-height: var(--hero-available-height);
}

.split-hero-projects,
.split-hero-project-detail {
  height: min(860px, var(--hero-available-height));
  min-height: min(660px, var(--hero-available-height));
  max-height: var(--hero-available-height);
}

.home-hero-shell,
.page-home .home-hero-shell,
.split-hero-shell,
.about-hero-shell,
.projects-hero-shell,
.contact-page-hero-shell,
.project-detail-hero-grid.split-hero-shell {
  height: 100%;
  min-height: 0;
}

@media (max-width: 760px) {
  .home-hero,
  .page-home .home-hero,
  .split-hero,
  .about-hero,
  .projects-hero,
  .contact-page-hero,
  .project-detail-hero,
  .split-hero-projects,
  .split-hero-project-detail {
    height: var(--hero-available-height);
    min-height: 0;
    max-height: var(--hero-available-height);
  }
}

/* Mobile heroes: keep the photography and content as two distinct sections. */
@media (max-width: 760px) {
  .home-hero,
  .page-home .home-hero,
  .split-hero,
  .about-hero,
  .projects-hero,
  .contact-page-hero,
  .project-detail-hero,
  .split-hero-projects,
  .split-hero-project-detail {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    background: var(--surface);
  }

  .home-hero::after,
  .page-home .home-hero::after,
  .split-hero::after,
  .about-hero::after,
  .projects-hero::after,
  .contact-page-hero::after,
  .project-detail-hero-image::before {
    display: none;
  }

  .home-hero-visual,
  .page-home .home-hero-visual,
  .split-hero-visual,
  .project-detail-hero-image {
    position: relative;
    inset: auto;
    flex: 0 0 clamp(380px, 64svh, 560px);
    width: 100%;
    height: clamp(380px, 64svh, 560px);
    min-height: 0;
    order: 0;
  }

  .home-hero-visual picture,
  .page-home .home-hero-visual picture,
  .split-hero-visual picture {
    position: absolute;
    inset: 0;
  }

  .home-hero-shell,
  .page-home .home-hero-shell,
  .split-hero-shell,
  .about-hero-shell,
  .projects-hero-shell,
  .contact-page-hero-shell,
  .project-detail-hero-grid.split-hero-shell {
    position: relative;
    inset: auto;
    z-index: 2;
    display: block;
    order: 1;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: clamp(2.25rem, 9vw, 3.25rem) 20px;
    background: var(--surface);
  }

  .home-hero-copy,
  .page-home .home-hero-copy,
  .split-hero-copy,
  .about-hero-copy,
  .projects-hero-copy,
  .contact-page-hero-copy,
  .project-detail-hero-copy.split-hero-copy {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 0;
    color: var(--ink);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .home-hero-copy h1,
  .page-home .home-hero-copy h1,
  .split-hero-copy h1,
  .about-hero-copy h1,
  .projects-hero-copy h1,
  .contact-page-hero-copy h1,
  .project-detail-hero-copy h1 {
    color: var(--ink);
    text-shadow: none;
  }

  .home-hero-copy .lead,
  .page-home .home-hero-copy .lead,
  .split-hero-copy .lead,
  .about-hero-copy .lead,
  .projects-hero-copy .lead,
  .project-detail-hero-copy .lead,
  .contact-page-hero-copy.split-hero-copy > p,
  .contact-page-hero-copy > p:not(.contact-success) {
    color: var(--muted-dark);
    text-shadow: none;
  }

  .projects-hero-points strong,
  .project-hero-facts strong {
    color: var(--ink);
    text-shadow: none;
  }

  .projects-hero-points span,
  .project-hero-facts span {
    color: var(--muted-dark);
    text-shadow: none;
  }

  .project-detail-hero-image {
    margin: 0;
  }
}

/* Mobile-only hero/header refinement: place the navbar over the hero without
   making it sticky, and keep the contact hero reduced to its title. */
@media (max-width: 760px) {
  .site-header,
  .site-header.is-scrolled {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.58);
    border-bottom-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .contact-page-hero-shell {
    display: block;
  }

  .contact-page-hero-copy .accent-line,
  .contact-page-hero-copy > p:not(.contact-success) {
    display: none;
  }
}

/* Global design direction: keep all surfaces, cards, controls, and media sharp-edged. */
*,
*::before,
*::after {
  border-radius: 0 !important;
}
