:root {
  --black: #080808;
  --charcoal: #141414;
  --dark-grey: #262626;
  --silver: #b9b9b9;
  --silver-soft: #d9d9d9;
  --off-white: #f3f3f3;
  --ink: #111111;
  --line-dark: rgba(255, 255, 255, 0.18);
  --line-light: rgba(0, 0, 0, 0.22);
  --wrap: 1240px;
  --ease: 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

main [id] {
  scroll-margin-top: 96px;
}

body {
  min-height: 100vh;
  font-family: "Raleway", sans-serif;
  background: var(--black);
  color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.wrap {
  width: min(100% - 2.6rem, var(--wrap));
  margin-inline: auto;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  line-height: 1.05;
  font-weight: 500;
}

h1 {
  font-size: clamp(2.8rem, 10vw, 6.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(2rem, 6vw, 4rem);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.55rem;
}

p {
  font-size: 1rem;
}

.panel-kicker,
.blog-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(10px);
}

.header-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.35rem;
}

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

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  transform: scale(2.35);
  transform-origin: center;
}

.brand span {
  font-family: "Cormorant Garamond", serif;
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: 1.46rem;
  font-weight: 500;
  line-height: 1.05;
}

.main-nav {
  display: inline-flex;
  gap: 1.1rem;
  align-items: center;
  margin-left: auto;
}

.main-nav a {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: #dcdcdc;
  font-weight: 700;
  transition: color var(--ease);
}

.main-nav a:hover {
  color: #ffffff;
}

.main-nav a:focus-visible {
  color: #ffffff;
  outline: 1px solid rgba(255, 255, 255, 0.55);
  outline-offset: 2px;
}

.header-btn {
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.52rem 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.67rem;
  font-weight: 700;
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}

.header-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(8, 8, 8, 0.72);
  color: #f3f3f3;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform var(--ease), opacity var(--ease);
}

.panel {
  padding: clamp(4.6rem, 10vw, 8rem) 0;
}

.panel-wrap {
  position: relative;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 780ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 780ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.panel-image {
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.panel-solid {
  border-top: 1px solid var(--line-dark);
}

.panel-light {
  background: var(--silver-soft);
  color: var(--ink);
  border-top: 1px solid #c2c2c2;
}

.panel-light .panel-kicker,
.panel-light .blog-tag {
  color: #4a4a4a;
}

.panel-light p {
  color: #222222;
}

.panel-dark {
  background: var(--charcoal);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0.75rem 1.28rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.68rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f2f2f2, #c3c3c3);
  color: #111111;
  transition: transform var(--ease), background var(--ease), border-color var(--ease);
}

.button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ffffff, #d6d6d6);
}

.button-ghost {
  background: transparent;
  color: #f4f4f4;
  border-color: rgba(255, 255, 255, 0.45);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
}

.button-dark {
  background: #111111;
  color: #f4f4f4;
  border-color: #111111;
}

.button-dark:hover {
  background: #1f1f1f;
}

.panel-hero {
  --hero-logo-left: clamp(34px, 3.7vw, 62px);
  --hero-logo-size: clamp(300px, 38vw, 640px);
  --hero-logo-gap: clamp(0.75rem, 2vw, 2rem);
  --hero-logo-top: 45.5%;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background-color: #1f1f1f;
}

.panel-hero::before {
  content: "";
  position: absolute;
  inset: -18% -64%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.3;
  background:
    linear-gradient(
      112deg,
      transparent 38%,
      rgba(255, 255, 255, 0.06) 45%,
      rgba(255, 255, 255, 0.28) 50%,
      rgba(255, 255, 255, 0.06) 55%,
      transparent 62%
    ),
    radial-gradient(90% 52% at 30% 34%, rgba(255, 255, 255, 0.1), transparent 64%);
  transform: translate(-48%, -38%) skewX(-8deg);
  animation: heroMetalGleam 10s linear infinite;
  will-change: transform, opacity;
}

@keyframes heroMetalGleam {
  0% {
    transform: translate(-48%, -38%) skewX(-8deg);
    opacity: 0;
  }
  6% {
    opacity: 0.28;
  }
  18% {
    transform: translate(36%, 34%) skewX(-8deg);
    opacity: 0.3;
  }
  24% {
    opacity: 0;
  }
  100% {
    transform: translate(36%, 34%) skewX(-8deg);
    opacity: 0;
  }
}

.hero-logo-bg {
  position: absolute;
  left: var(--hero-logo-left);
  top: var(--hero-logo-top);
  width: var(--hero-logo-size);
  max-width: none;
  height: auto;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  z-index: 0;
  animation: heroLogoDrift 9s ease-in-out infinite;
}

@keyframes heroLogoDrift {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: -3px;
  }
}

.hero-wrap {
  position: relative;
  z-index: 2;
  max-width: none;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  padding-left: max(clamp(1rem, 3vw, 2.5rem), calc(var(--hero-logo-left) + var(--hero-logo-size) + var(--hero-logo-gap)));
  padding-right: clamp(1rem, 3vw, 2.8rem);
  padding-top: clamp(1.2rem, 3vh, 2.4rem);
}

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

.panel-hero h1 {
  margin-bottom: 0.6rem;
}

.panel-hero h1 span {
  white-space: nowrap;
}

.panel-hero h1 span:last-child {
  color: #cdcdcd;
}

.hero-divider {
  display: block;
  width: clamp(120px, 18vw, 190px);
  height: 1px;
  margin-bottom: 1.05rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.16));
}

.hero-intro {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: #e8e8e8;
  max-width: 48ch;
}

.hero-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  align-items: center;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  color: #f0f0f0;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.42rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: color var(--ease), border-color var(--ease);
}

.hero-link:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.9);
}

.narrow {
  max-width: 900px;
}

.panel-lead {
  font-size: clamp(1.06rem, 2vw, 1.36rem);
  line-height: 1.7;
  max-width: 60ch;
}

.panel-note {
  margin-top: 0.95rem;
  margin-bottom: 1.5rem;
}

.panel-about {
  background-image: url("background/corina-rainer-0BhtgavNYCk-unsplash.jpg");
  background-position: center;
}

.about-wrap {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: stretch;
}

.about-photo {
  border: 1px solid var(--line-dark);
  background: #0a0a0a;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 500px;
}

.about-copy {
  border: 1px solid var(--line-dark);
  background: #0f0f0f;
  padding: clamp(1.35rem, 3vw, 2.2rem);
}

.about-copy p {
  color: #ececec;
}

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

.signature {
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 0.9rem;
  display: grid;
  gap: 0.3rem;
}

.signature strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.42rem;
}

.signature span {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.69rem;
  color: #d4d4d4;
  font-weight: 700;
}

.service-grid {
  margin-top: 1.35rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
}

.service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 22%, rgba(12, 12, 12, 0.94) 68%),
    linear-gradient(180deg, #242424 0%, #121212 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 30px rgba(0, 0, 0, 0.3);
  padding: 1.35rem 1.25rem 1.42rem;
  min-height: 225px;
  display: flex;
  flex-direction: column;
  gap: 0.52rem;
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.52), transparent);
}

.service-card--feature {
  grid-column: span 2;
  min-height: 242px;
}

.service-card h3 {
  font-size: clamp(1.56rem, 2.35vw, 2.22rem);
  margin-bottom: 0.3rem;
}

.service-card p {
  margin: 0;
  max-width: 36ch;
  color: #d9d9d9;
  font-size: 0.98rem;
  line-height: 1.6;
}

.service-meta {
  display: none;
}

.service-meta span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.34rem 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.6rem;
  font-weight: 700;
  color: #f0f0f0;
}

.services-cta {
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.services-cta p {
  margin: 0;
  color: #dddddd;
  max-width: 44ch;
}

.services-cta .button-dark {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background:
    linear-gradient(150deg, #f5f5f5 0%, #d6d6d6 45%, #a8a8a8 100%);
  color: #121212;
  border-radius: 999px;
  padding: 0.74rem 1.25rem;
  letter-spacing: 0.14em;
  font-size: 0.66rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 10px 18px rgba(0, 0, 0, 0.28);
  transition: transform var(--ease), box-shadow var(--ease), filter var(--ease);
}

.services-cta .button-dark:hover {
  background:
    linear-gradient(150deg, #ffffff 0%, #e1e1e1 45%, #b3b3b3 100%);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 24px rgba(0, 0, 0, 0.32);
  filter: saturate(1.04);
}

.panel-gallery {
  background-image: url("background/taylor-smith-zz-UAKRabJs-unsplash.jpg");
}

.panel-gallery .panel-wrap {
  border: 1px solid var(--line-dark);
  background: #0e0e0e;
  padding: clamp(1.25rem, 2.8vw, 2.3rem);
}

.gallery-grid {
  margin-top: 1.3rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid figure {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #0b0b0b;
  overflow: hidden;
}

.gallery-open {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 0.9;
  object-fit: cover;
  filter: grayscale(0.2);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), filter 420ms;
}

.gallery-grid figure:hover img,
.gallery-open:focus-visible img {
  transform: scale(1.08);
  filter: grayscale(0);
}

.gallery-open:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: -2px;
}

.blog-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card {
  border: 1px solid var(--line-light);
  background: #ededed;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
}

.blog-card h3,
.blog-card p {
  color: #101010;
}

.blog-read {
  display: inline-flex;
  margin-top: auto;
  padding-top: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.66rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(16, 16, 16, 0.35);
  padding-bottom: 0.2rem;
  transition: border-color var(--ease), color var(--ease);
}

.blog-read:hover {
  border-color: rgba(16, 16, 16, 0.95);
  color: #000000;
}

.panel-contact {
  background-image: url("background/tim-mossholder-SxPISzSxJrQ-unsplash.jpg");
}

.contact-wrap {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
}

.contact-main,
.contact-note {
  border: 1px solid var(--line-dark);
  background: #0e0e0e;
  padding: clamp(1.3rem, 3vw, 2rem);
}

.contact-list {
  list-style: none;
  margin: 1.2rem 0;
  display: grid;
  gap: 0.85rem;
}

.contact-list li {
  border-bottom: none;
  padding-bottom: 0.72rem;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
}

.contact-label-icon {
  width: 52px;
  height: 52px;
  border: none;
  background: transparent;
  color: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-label-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-list a,
.contact-list p {
  color: #f2f2f2;
  margin: 0;
  overflow-wrap: anywhere;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.social-links a {
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.46rem 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.67rem;
  font-weight: 700;
  transition: background var(--ease), transform var(--ease), border-color var(--ease);
}

.social-links a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.contact-note p {
  color: #e7e7e7;
  margin-top: 1.35rem;
}

.contact-note .social-links {
  margin-top: 1.35rem;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.contact-note .social-links a {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.site-footer {
  border-top: 1px solid var(--line-dark);
  background: #070707;
  padding: 1.2rem 0 1.4rem;
}

.footer-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-credit {
  font-size: 0.84rem;
  color: #d0d0d0;
  font-weight: 500;
}

.footer-credit a {
  color: #f2f2f2;
}

.footer-credit a:hover {
  color: #ffffff;
}

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

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
}

.gallery-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 1080px);
  margin: 1.4rem auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #0f0f0f;
  padding: 1rem 1rem 0.95rem;
}

.gallery-modal__close {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #f2f2f2;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.68rem;
  padding: 0.42rem 0.74rem;
  cursor: pointer;
}

.gallery-modal__figure {
  margin-top: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #080808;
}

.gallery-modal__figure img {
  width: 100%;
  max-height: min(64vh, 760px);
  object-fit: contain;
}

.gallery-modal__figure figcaption {
  padding: 0.55rem 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.66rem;
  color: #d6d6d6;
}

.gallery-modal__nav {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(8, 8, 8, 0.9);
  color: #f2f2f2;
  font-size: 1.45rem;
  cursor: pointer;
}

.gallery-modal__nav--prev {
  left: 0.6rem;
}

.gallery-modal__nav--next {
  right: 0.6rem;
}

.gallery-modal__thumbs {
  margin-top: 0.72rem;
  display: grid;
  gap: 0.38rem;
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.gallery-modal__thumbs button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.gallery-modal__thumbs button.is-active {
  border-color: rgba(255, 255, 255, 0.9);
}

.gallery-modal__thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

body.modal-open {
  overflow: hidden;
}

@media (min-width: 1081px) and (max-width: 1320px) {
  .panel-hero {
    --hero-logo-left: clamp(20px, 2vw, 34px);
    --hero-logo-size: clamp(260px, 31vw, 500px);
    --hero-logo-gap: clamp(0.45rem, 1vw, 1.1rem);
  }

  .hero-wrap {
    padding-right: clamp(0.9rem, 2vw, 1.6rem);
  }

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

@media (min-width: 1700px) {
  :root {
    --wrap: 1380px;
  }

  .panel {
    padding: clamp(5.2rem, 8vh, 9rem) 0;
  }

  .panel-hero {
    --hero-logo-left: clamp(54px, 4.5vw, 110px);
    --hero-logo-size: clamp(420px, 34vw, 760px);
    --hero-logo-gap: clamp(0.9rem, 1.8vw, 2.5rem);
  }

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

@media (min-width: 1321px) {
  .hero-wrap {
    width: 100%;
    max-width: none;
    padding-right: clamp(2rem, 5vw, 6.5rem);
  }

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

  .service-grid > .service-card:nth-last-child(2) {
    grid-column: span 2;
  }

  .service-grid > .service-card:last-child {
    grid-column: span 1;
  }

  .service-meta {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.44rem;
  }
}

@media (max-width: 1080px) {
  .header-wrap {
    min-height: 84px;
    display: flex;
    position: relative;
    align-items: center;
    gap: 0.7rem;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.12rem;
    padding: 0.58rem 1rem 0.72rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(8, 8, 8, 0.92);
    backdrop-filter: blur(10px);
  }

  .site-header.nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-header.nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .brand span {
    font-size: 1.34rem;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
    transform: scale(2.1);
  }

  .panel-image {
    min-height: auto;
  }

  .panel-hero {
    min-height: 90vh;
    --hero-logo-size: clamp(220px, 42vw, 450px);
  }

  .hero-wrap {
    display: block;
    width: min(100% - 2.2rem, var(--wrap));
    margin-inline: auto;
    padding-left: 0;
    padding-right: 0;
    padding-top: clamp(210px, 28vw, 300px);
  }

  .hero-content {
    width: min(100%, 760px);
    margin-inline: auto;
    text-align: center;
  }

  .hero-divider {
    margin-inline: auto;
  }

  .hero-intro {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-link {
    display: none;
  }

  .hero-logo-bg {
    left: 50%;
    top: clamp(26px, 5.8vw, 52px);
    transform: translateX(-50%);
  }

  .about-wrap,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 760px) {
  .main-nav {
    padding: 0.52rem 0.85rem 0.66rem;
  }

  .main-nav a {
    font-size: 0.66rem;
    letter-spacing: 0.11em;
    padding: 0.46rem 0;
  }

  .hero-wrap {
    max-width: 100%;
    width: min(100% - 1.8rem, var(--wrap));
    padding-top: clamp(170px, 32vw, 250px);
  }

  .hero-content {
    width: 100%;
  }

  .wrap {
    width: min(100% - 1.3rem, var(--wrap));
  }

  .header-wrap {
    min-height: 72px;
  }

  .brand span {
    font-size: 1.2rem;
  }

  .brand-logo {
    width: 30px;
    height: 30px;
    transform: scale(2);
  }

  .panel-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.6rem);
  }

  .panel {
    padding: 4rem 0;
  }

  .panel-hero {
    --hero-logo-size: clamp(150px, 38vw, 220px);
    min-height: auto;
  }

  .hero-logo-bg {
    left: 50%;
    top: 25px;
    transform: translateX(-50%);
  }

  .hero-actions {
    width: 100%;
  }

  .button,
  .button-ghost,
  .button-dark {
    width: 100%;
  }

  .contact-note .social-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .contact-note .social-links a {
    width: 100%;
    text-align: center;
    padding: 0.46rem 0.35rem;
  }


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

  .service-card--feature {
    grid-column: span 1;
    min-height: 225px;
  }

  .services-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-cta .button-dark {
    width: auto;
  }

  .about-photo img {
    min-height: 320px;
  }

  .gallery-modal__dialog {
    width: min(100% - 0.7rem, 1080px);
    margin: 0.8rem auto;
    padding: 0.72rem;
  }

  .gallery-modal__nav {
    width: 34px;
    height: 34px;
    top: 40%;
  }

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

  .footer-wrap {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .header-wrap {
    min-height: 72px;
    row-gap: 0.45rem;
  }

  .brand {
    gap: 0.75rem;
  }

  .brand span {
    font-size: 1.08rem;
  }

  .brand-logo {
    width: 26px;
    height: 26px;
    transform: scale(1.8);
  }

  .header-btn {
    font-size: 0.58rem;
    padding: 0.35rem 0.52rem;
  }

  .main-nav a {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .contact-note .social-links a {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    padding: 0.4rem 0.28rem;
  }

  .hero-wrap {
    width: min(100% - 1.35rem, var(--wrap));
    padding-top: clamp(145px, 36vw, 210px);
  }

  .hero-logo-bg {
    top: 20px;
  }

  .panel-hero h1 {
    font-size: clamp(1.9rem, 11.5vw, 3rem);
  }

  .contact-list li {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .contact-label-icon {
    width: 42px;
    height: 42px;
  }

  .contact-label-icon svg {
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .panel-hero::before {
    animation: none;
    opacity: 0.14;
  }

  .hero-logo-bg {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
