:root {
  --ink: #18201d;
  --muted: #6b756e;
  --paper: #f8f4ec;
  --cream: #fffaf2;
  --green: #173d32;
  --red: #b83f32;
  --terracotta: #b83f32;
  --sky: #19a7bd;
  --cobalt: #176c83;
  --line: rgba(24, 32, 29, 0.14);
  --shadow: 0 24px 70px rgba(24, 32, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 20px;
  padding: 18px clamp(18px, 3.2vw, 48px);
  color: var(--cream);
  background: rgba(24, 32, 29, 0.12);
  box-shadow: 0 1px 0 rgba(255, 250, 242, 0.08);
  backdrop-filter: blur(10px) saturate(108%);
  -webkit-backdrop-filter: blur(10px) saturate(108%);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 250, 242, 0.92);
  box-shadow: 0 8px 30px rgba(24, 32, 29, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand,
.nav,
.language-switch,
.header-cta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
}

.brand span:last-child {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 2.4vw, 2.7rem);
  font-weight: 700;
  line-height: 0.9;
}

.brand-mark {
  display: block;
  width: clamp(50px, 5.2vw, 82px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.18));
}

.nav {
  gap: clamp(12px, 1.55vw, 26px);
  font-size: clamp(0.82rem, 0.95vw, 0.92rem);
  font-weight: 700;
}

.header-cta {
  justify-self: end;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 800;
}

.menu-toggle {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  padding: 0;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.menu-toggle span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 6px));
}

.menu-toggle span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 6px));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mobile-menu {
  display: none;
}

.mobile-menu[hidden] {
  display: none !important;
}

.language-switch {
  justify-self: end;
  gap: 8px;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 900;
}

.language-switch a {
  opacity: 0.62;
}

.language-switch a[aria-current="page"] {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 140px clamp(20px, 7vw, 96px) 88px;
  color: var(--cream);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 24, 20, 0.74) 0%, rgba(15, 24, 20, 0.42) 43%, rgba(15, 24, 20, 0.05) 100%),
    linear-gradient(0deg, rgba(15, 24, 20, 0.26), rgba(15, 24, 20, 0.02));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffc7a3;
}

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

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.5rem, 8vw, 7.6rem);
}

h1 span {
  display: block;
  white-space: nowrap;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.24rem;
}

.hero-copy {
  width: min(620px, 100%);
  margin-bottom: 34px;
  color: rgba(255, 250, 242, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 760px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  color: var(--cream);
  background: var(--red);
}

.button.secondary {
  color: var(--cream);
  border: 1px solid rgba(255, 250, 242, 0.72);
}

@media (min-width: 901px) {
  .hero {
    min-height: 100svh;
    padding-top: clamp(104px, 12vh, 132px);
    padding-bottom: clamp(28px, 5vh, 64px);
  }

  .hero-content {
    width: min(980px, 100%);
  }

  .hero h1 {
    margin-bottom: clamp(14px, 2.6vh, 24px);
    font-size: clamp(4.1rem, min(7vw, 11.2vh), 7.1rem);
  }

  .hero-copy {
    margin-bottom: clamp(18px, 3.2vh, 34px);
    font-size: clamp(1rem, min(1.5vw, 2.4vh), 1.22rem);
  }

  .hero .button {
    min-height: clamp(46px, 6vh, 52px);
  }
}

.intro,
.section,
.feature,
.about,
.contact,
.metrics {
  padding-inline: clamp(20px, 6vw, 88px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: end;
  padding-top: 92px;
  padding-bottom: 72px;
}

.intro > p,
.feature-copy p,
.about-text p,
.contact h2 + .button {
  font-size: 1.08rem;
}

.intro > p,
.feature-copy p,
.about-text p {
  color: var(--muted);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}

.metrics article {
  min-height: 170px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.metrics article:last-child {
  border-right: 0;
}

.metrics strong {
  display: block;
  margin-bottom: 32px;
  color: var(--sky);
  font-size: 0.9rem;
}

.metrics span {
  display: block;
  max-width: 330px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.18;
}

.gallery-section {
  display: block;
  padding: 96px clamp(20px, 6vw, 88px);
  background: var(--cream);
}

.gallery-copy {
  margin-bottom: 30px;
}

.gallery-copy p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.gallery-copy h2 {
  font-size: clamp(3.4rem, 7vw, 7.8rem);
}

.carousel {
  width: 100%;
}

.carousel-main {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
}

.carousel-main img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.carousel-main figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-weight: 800;
}

.carousel-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.carousel-thumbs button {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 clamp(72px, 8vw, 116px);
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.carousel-thumbs button.is-active {
  border-color: var(--red);
}

.carousel-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
}

.carousel-arrow {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 250, 242, 0.72);
  border-radius: 50%;
  color: var(--cream);
  background: rgba(24, 32, 29, 0.54);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  padding: 0;
  transform: translateY(-50%);
  cursor: pointer;
}

.carousel-arrow.previous {
  left: 18px;
}

.carousel-arrow.next {
  right: 18px;
}

.section {
  padding-top: 92px;
  padding-bottom: 98px;
}

.section-heading {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 18px;
  margin-bottom: 58px;
  min-height: 280px;
}

.section-heading h2 {
  grid-column: 2 / 4;
  justify-self: end;
  width: min(1120px, 100%);
  text-align: right;
  font-size: clamp(5.1rem, 7.2vw, 8.7rem);
  line-height: 0.9;
  transform: none;
}

.section-heading h2 span {
  display: block;
  white-space: nowrap;
}

.section-heading .emphasis-line {
  font-size: 1.14em;
}

.section-question {
  position: relative;
  z-index: 2;
  grid-column: 1;
  align-self: end;
  justify-self: center;
  margin: 0 0 14px;
  color: var(--red);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(5rem, 7.3vw, 9.2rem);
  font-weight: 700;
  line-height: 0.86;
  text-transform: none;
  transform: none;
}

.section-question span {
  display: block;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.service-card span,
.case-list span {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card p,
.case-list p,
.quote p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--red);
  font-weight: 800;
}

.text-link::after {
  content: ">";
  margin-left: 8px;
}

.text-link.inverted {
  color: #ffb179;
}

.placeholder-link {
  cursor: default;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: start;
  padding-top: 88px;
  padding-bottom: 92px;
  color: var(--cream);
  background: var(--green);
}

.feature .section-kicker,
.feature .case-list span {
  color: #ffb179;
}

.feature-copy {
  position: sticky;
  top: 110px;
}

.feature-copy p,
.case-list p {
  color: rgba(255, 250, 242, 0.74);
}

.feature-copy h2 {
  margin-bottom: 30px;
}

.case-list {
  display: grid;
  gap: 12px;
}

.case-list article {
  padding: 26px 0;
  border-top: 1px solid rgba(255, 250, 242, 0.18);
}

.case-list h3 {
  font-size: clamp(1.5rem, 3vw, 2.45rem);
}

.project-hero {
  min-height: 72vh;
  display: grid;
  align-content: center;
  padding: 170px clamp(20px, 7vw, 96px) 92px;
  color: var(--cream);
  background:
    linear-gradient(90deg, rgba(23, 61, 50, 0.96), rgba(23, 61, 50, 0.72)),
    var(--green);
}

.project-hero.hospitality-hero {
  background:
    linear-gradient(90deg, rgba(184, 63, 50, 0.96), rgba(184, 63, 50, 0.74)),
    var(--red);
}

.project-hero.hospitality-hero .button.primary {
  background: var(--green);
}

.project-hero h1 {
  width: min(920px, 100%);
  font-size: clamp(3.2rem, 7vw, 7rem);
}

.project-hero p {
  width: min(720px, 100%);
  color: rgba(255, 250, 242, 0.8);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.project-hero .button {
  width: fit-content;
  margin-top: 14px;
}

.project-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 1fr);
  gap: clamp(30px, 6vw, 88px);
  padding: 96px clamp(20px, 6vw, 88px);
  background: var(--paper);
}

.project-detail p,
.plain-list {
  color: var(--muted);
  font-size: 1.08rem;
}

.plain-list {
  margin: 28px 0 0;
  padding-left: 20px;
}

.plain-list li {
  margin-bottom: 10px;
}

.contact-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px clamp(20px, 6vw, 88px) 28px;
  background:
    linear-gradient(90deg, rgba(24, 32, 29, 0.48), rgba(24, 32, 29, 0.14)),
    url("../assets/hero-personal-brand.png") center center / cover no-repeat;
}

.contact-card {
  position: relative;
  width: min(520px, 100%);
  padding: clamp(20px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-card h1 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(2.9rem, 4.5vw, 4.25rem);
}

.contact-card p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.35;
}

.contact-form {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.form-field {
  display: grid;
  gap: 4px;
}

.form-field label {
  font-size: 0.86rem;
  font-weight: 800;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(24, 32, 29, 0.2);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
}

.form-field input {
  min-height: 36px;
  padding: 0 12px;
}

.form-field textarea {
  min-height: 92px;
  padding: 10px 12px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--red);
  outline: 3px solid rgba(184, 63, 50, 0.16);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--red);
}

.form-error,
.form-status {
  min-height: 0;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.1;
}

.form-status {
  color: var(--muted);
}

.bio-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
  min-height: 74vh;
  padding: 168px clamp(20px, 7vw, 96px) 88px;
  color: var(--cream);
  background:
    linear-gradient(120deg, rgba(23, 61, 50, 0.96), rgba(184, 63, 50, 0.74)),
    var(--green);
}

.bio-hero h1 {
  font-size: clamp(4rem, 8vw, 8.6rem);
}

.bio-hero > p {
  color: rgba(255, 250, 242, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.bio-story {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: center;
  padding: 96px clamp(20px, 6vw, 88px);
}

.bio-story.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  background: var(--cream);
}

.bio-story p,
.bio-note p {
  color: var(--muted);
  font-size: 1.08rem;
}

.bio-photo {
  margin: 0;
}

.bio-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.bio-photo.wide img {
  aspect-ratio: 4 / 3;
}

.bio-photo.tall img {
  aspect-ratio: 3 / 4;
}

.bio-photo figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.bio-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.7fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 0 clamp(20px, 6vw, 88px) 96px;
}

.bio-note {
  display: grid;
  align-content: end;
  min-height: 300px;
  padding: 30px;
  border-radius: 8px;
  color: var(--cream);
  background: var(--green);
}

.bio-note.accent {
  background: var(--red);
}

.bio-note span {
  display: block;
  margin-bottom: 40px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.bio-note p {
  margin: 0;
  color: rgba(255, 250, 242, 0.84);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 800;
  line-height: 1.15;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  padding-top: 98px;
  padding-bottom: 98px;
}

.quote {
  padding: 34px;
  border-left: 5px solid var(--sky);
  background: var(--cream);
}

.quote p {
  margin: 0;
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1.3;
}

.beep {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding: 96px clamp(20px, 6vw, 88px);
  background: var(--cream);
}

.hospitality {
  background: var(--paper);
}

.beep-copy p,
.beep-panel p {
  color: var(--muted);
  font-size: 1.08rem;
}

.beep-panel {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.beep-panel h3 {
  margin-bottom: 24px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1;
}

.beep-copy h2 {
  margin-bottom: 28px;
}

.beep-panel .button {
  margin-top: 10px;
}

.section-ribbon {
  height: 36px;
  background: var(--green);
}

@media (min-width: 901px) {
  .section-ribbon[id] {
    scroll-margin-top: 0;
  }
}

.contact {
  padding-top: 86px;
  padding-bottom: 92px;
  text-align: center;
  background: var(--ink);
  color: var(--cream);
}

.contact h2 {
  width: min(860px, 100%);
  margin: 0 auto 30px;
  font-size: clamp(2rem, 4vw, 4rem);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(760px, 100%);
  margin: 28px auto 0;
}

.social-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 250, 242, 0.24);
  border-radius: 999px;
  color: rgba(255, 250, 242, 0.78);
  font-size: 0.9rem;
  font-weight: 800;
}

.social-links a:hover {
  color: var(--cream);
  border-color: rgba(255, 250, 242, 0.54);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 6vw, 88px);
  color: rgba(255, 250, 242, 0.7);
  background: var(--ink);
  border-top: 1px solid rgba(255, 250, 242, 0.12);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .mobile-menu {
    position: absolute;
    top: calc(100% - 2px);
    left: 18px;
    right: 18px;
    display: grid;
    max-height: 0;
    overflow: hidden;
    border: 1px solid rgba(24, 32, 29, 0.12);
    border-radius: 8px;
    background: rgba(255, 250, 242, 0.97);
    box-shadow: 0 18px 42px rgba(24, 32, 29, 0.16);
    opacity: 0;
    pointer-events: none;
    transition: max-height 180ms ease, opacity 180ms ease;
  }

  .site-header.is-menu-open .mobile-menu:not([hidden]) {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu a {
    padding: 15px 18px;
    color: var(--ink);
    font-weight: 800;
    border-bottom: 1px solid rgba(24, 32, 29, 0.1);
  }

  .mobile-menu a:last-child {
    border-bottom: 0;
  }

  .intro,
  .feature,
  .about,
  .beep,
  .project-detail,
  .bio-hero,
  .bio-story,
  .bio-story.reverse,
  .bio-mosaic {
    grid-template-columns: 1fr;
  }

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

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading h2 {
    grid-column: auto;
    justify-self: center;
    width: 100%;
    text-align: center;
    font-size: clamp(2.7rem, 10vw, 4.8rem);
    transform: none;
  }

  .section-heading h2 span {
    white-space: nowrap;
  }

  .section-question {
    grid-column: auto;
    margin-top: 0;
    justify-self: center;
    text-align: center;
    transform: none;
  }

  .metrics article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics article:last-child {
    border-bottom: 0;
  }

  .feature-copy {
    position: static;
  }

  .bio-hero {
    min-height: auto;
  }

  .hospitality .beep-copy {
    order: 1;
  }

  .hospitality .beep-panel {
    order: 2;
  }

  .beep {
    text-align: center;
  }

  .beep-copy p,
  .beep-panel p {
    margin-inline: auto;
  }

  .beep-panel {
    padding-inline: 24px;
  }

  .carousel-main img {
    aspect-ratio: 4 / 3;
  }

  .carousel-arrow {
    top: 46%;
    width: 40px;
    height: 40px;
  }

  .carousel-thumbs {
    gap: 6px;
  }

  .carousel-thumbs button {
    flex: 0 0 54px;
    border-width: 2px;
  }
}

@media (max-width: 620px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    padding: 12px 16px;
  }

  .brand span:last-child {
    font-size: clamp(1.35rem, 7vw, 1.62rem);
  }

  .brand-mark {
    width: 42px;
  }

  .language-switch {
    font-size: 0.74rem;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 88vh;
    padding: 112px 20px 58px;
  }

  h1 {
    font-size: clamp(2.15rem, 10vw, 3.05rem);
  }

  h2 {
    font-size: 2.28rem;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2 {
    justify-self: center;
    width: 100%;
    text-align: center;
    font-size: clamp(3rem, 9.4vw, 4.2rem);
  }

  .section-heading h2 span {
    white-space: nowrap;
  }

  .button {
    width: 100%;
  }

  .intro,
  .section,
  .feature,
  .about,
  .beep,
  .gallery-section,
  .bio-story,
  .contact {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .bio-hero {
    padding: 128px 20px 68px;
  }

  .bio-mosaic {
    padding: 0 20px 68px;
  }

  .service-card {
    min-height: 260px;
  }

  .metrics,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .project-hero {
    min-height: 64vh;
    padding: 128px 20px 68px;
  }

  .contact-page {
    padding: 104px 20px 32px;
  }

  .contact-card h1 {
    font-size: clamp(2.45rem, 11vw, 3.65rem);
  }

  .contact-card {
    padding: 20px;
  }

  .form-field textarea {
    min-height: 100px;
  }

  .project-hero .button {
    width: 100%;
  }

  footer {
    flex-direction: column;
  }
}
