:root {
  --ink: #17232c;
  --ink-2: #20313b;
  --teal: #55c7bf;
  --teal-soft: #b9eeea;
  --white: #f7fbfb;
  --muted: #c9d6d8;
  --line: rgba(85, 199, 191, 0.42);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 88% 2%, rgba(85, 199, 191, 0.2), transparent 19rem),
    linear-gradient(135deg, #101a22 0%, #1b2932 52%, #132029 100%);
  color: var(--white);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}

body::before {
  width: 24rem;
  height: 24rem;
  left: -9rem;
  bottom: -10rem;
}

body::after {
  width: 18rem;
  height: 18rem;
  right: -8rem;
  top: -7rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(11rem, 22vw, 18rem);
  height: auto;
  max-height: 4.2rem;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--teal);
  border-radius: 50%;
  color: var(--teal);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.brand small,
.eyebrow,
.role {
  display: block;
  color: var(--teal-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.2rem, 4vw, 2rem);
  font-weight: 600;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  padding: 0.55rem 0.2rem;
}

.site-nav a:hover {
  color: var(--teal-soft);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.25rem auto;
  background: currentColor;
}

.hero,
.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(2rem, 7vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 5rem);
  padding: clamp(2rem, 6vw, 5rem) 0 4rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.05;
}

h1,
h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
}

h1 {
  max-width: 14ch;
  margin-bottom: 1.3rem;
  font-size: clamp(3.3rem, 7.5vw, 6.2rem);
}

h2 {
  max-width: 13ch;
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 6vw, 4.7rem);
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
}

.hero-text {
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
}

.button.primary {
  background: var(--teal);
  color: #0c1b20;
  border-color: var(--teal);
}

.button.secondary {
  color: var(--teal-soft);
}

.hero-panel {
  position: relative;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.founders-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 0.45rem;
  background: #10222a;
  aspect-ratio: 1 / 1.05;
}

.founders-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13, 28, 34, 0.3));
  pointer-events: none;
}

.founders-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.care-note {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  color: var(--muted);
}

.care-note p {
  margin: 0;
}

.icon-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--teal);
  border-radius: 50%;
  color: var(--teal);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
}

.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 6vw, 4rem);
  align-items: start;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.intro-section {
  display: block;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-heading.wide-heading {
  max-width: 100%;
  margin-bottom: 1.4rem;
}

.section-heading.wide-heading h2 {
  max-width: 100%;
  font-size: clamp(2.3rem, 4.2vw, 4.2rem);
  text-wrap: balance;
}

.specialists-heading h2 {
  max-width: 100%;
  white-space: nowrap;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.intro-section > p {
  max-width: 78rem;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.intro-section > p,
.contact-section p,
.specialist-card p,
.service-card li {
  color: var(--muted);
}

.specialist-grid,
.services-grid {
  display: grid;
  gap: 1rem;
}

.specialist-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.services-grid {
  margin-top: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.contact-box {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
}

.specialist-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(85, 199, 191, 0.28);
  border-radius: 0.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    #17252e;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  aspect-ratio: 9 / 16;
}

.specialist-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.specialist-card:hover img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.018);
}

.photo-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px dashed var(--line);
  border-radius: 0.45rem;
  background:
    linear-gradient(135deg, rgba(85, 199, 191, 0.18), rgba(255, 255, 255, 0.05)),
    #1d2b35;
  color: var(--teal-soft);
  text-align: center;
}

.photo-placeholder::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: inherit;
}

.photo-placeholder span {
  position: relative;
  z-index: 1;
  max-width: 10rem;
  font-weight: 700;
}

.service-card {
  padding: 1.4rem;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.3rem;
  border: 1px solid var(--teal);
  border-radius: 50%;
}

.service-icon svg {
  width: 2.2rem;
  height: 2.2rem;
  fill: none;
  stroke: var(--teal-soft);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding: 0.65rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

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

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #1d2b35;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-item:hover img {
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.035);
}

.gallery-item.facade {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 6;
}

.gallery-item.vertical {
  aspect-ratio: 3 / 4;
}

.gallery-item.vertical img {
  object-fit: contain;
}

.contact-section {
  align-items: center;
}

.contact-title {
  max-width: 100%;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  text-wrap: balance;
}

.contact-box {
  display: grid;
  gap: 0.85rem;
  padding: 1.4rem;
}

.contact-box a,
.contact-box address {
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.4rem;
  color: var(--muted);
  font-style: normal;
}

.contact-box a:hover {
  color: var(--teal-soft);
  border-color: var(--line);
}

.site-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  color: var(--teal-soft);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
}

.footer-logo {
  display: block;
  width: min(17rem, 70vw);
  height: auto;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: 4.4rem 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: rgba(16, 26, 34, 0.96);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 10ch;
  }

  .specialists-heading h2 {
    white-space: normal;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

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

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

  .gallery-item.facade {
    aspect-ratio: 16 / 8;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    width: min(100% - 1rem, 1180px);
  }

  .brand-mark {
    width: 2.65rem;
    height: 2.65rem;
  }

  .brand-logo {
    width: min(13rem, 62vw);
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .specialist-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .gallery-item.facade {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
  }
}
