:root {
  --bg: #ffffff;
  --paper: #ffffff;
  --ink: #263f44;
  --muted: #667471;
  --line: #d5ddd6;
  --accent: #7d8f64;
  --rust: #ad704d;
  --brand: #263f44;
  --ivory: #ffffff;
  --shadow: 0 18px 45px rgba(38, 63, 68, 0.1);
  --logo-font: "IBM Plex Serif", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: auto;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  line-height: 1.65;
}

#site-content {
  flex: 1;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  padding: 0 clamp(28px, 4.4vw, 72px);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.22em;
  font-family: var(--logo-font);
  font-size: clamp(24px, 2.15vw, 30px);
  font-weight: 200;
  line-height: 1;
  letter-spacing: 0;
  text-transform: lowercase;
}

.brand span {
  display: block;
}

.brand-architects {
  font-family: inherit;
  font-weight: inherit;
}

body[data-current-page="home"] .site-header .brand {
  opacity: 0;
  pointer-events: none;
}

body[data-current-page="home"] .site-footer {
  display: none;
}

body[data-current-page="project-jangan-hyundai"] {
  overflow: hidden;
}

body[data-current-page="project-jangan-hyundai"] .site-footer {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 38px);
  font-size: 14px;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 8px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, min(72vw, 1040px)) minmax(220px, 1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: stretch;
  min-height: 100svh;
  padding: 90px clamp(28px, 3.3vw, 60px) 40px;
  overflow: hidden;
  background: #fff;
}

.page-view:not([hidden]) {
  animation: pageFade 220ms ease;
}

@keyframes pageFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.hero-media {
  display: grid;
  gap: 14px;
  align-self: start;
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  height: auto;
  margin: 0;
  background-color: #fff;
  transform: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left top;
}

.hero-side {
  display: grid;
  align-items: center;
  min-height: 100%;
  padding: 0;
}

.hero-brand {
  align-self: center;
  justify-self: center;
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.22em;
  font-family: var(--logo-font);
  font-size: clamp(28px, 3.2vw, 52px);
  font-weight: 200;
  line-height: 1;
  letter-spacing: 0;
  text-transform: lowercase;
  text-align: center;
  white-space: nowrap;
}

.hero-links {
  display: flex;
  justify-content: flex-start;
  gap: clamp(16px, 2vw, 30px);
  color: var(--ink);
  font-size: 14px;
}

.hero-links a,
.hero-links span {
  position: relative;
  padding: 6px 0;
}

.hero-links a::after,
.hero-links span::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}

.hero-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.eyebrow {
  margin: 0 0 8px;
  color: #b4b8b6;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.section-pad {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 11vw, 132px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(760px, 1.45fr) minmax(560px, 0.75fr);
  gap: clamp(24px, 2vw, 32px);
  align-items: center;
  min-height: calc(100svh - 148px);
}

h2,
h3,
p,
li,
dt,
dd,
label,
a,
button {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.intro h2,
.section-head h2,
.contact h2 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.12;
  letter-spacing: 0;
}

.intro > p,
.contact p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.about-page {
  width: min(1400px, calc(100% - 40px));
}

.about-sketch {
  margin: 0;
}

.about-sketch img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.intro-text {
  display: grid;
  justify-items: end;
  align-content: center;
  gap: 0;
  min-height: 420px;
  text-align: right;
}

.intro-text h2 {
  max-width: 760px;
  font-size: 32px;
  white-space: normal;
}

.intro-text > p:not(.eyebrow),
.about-copy {
  max-width: 560px;
  margin: clamp(34px, 7vh, 76px) 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.86;
}

.about-copy {
  display: grid;
  gap: 24px;
}

.about-copy p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.section-head {
  display: grid;
  align-items: start;
  justify-content: start;
  gap: 0;
  margin-bottom: 34px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 2.4vw, 34px);
  margin-bottom: 32px;
}

.filter {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}

.filter.active {
  color: var(--ink);
  font-weight: 600;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}

.project-load-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.project-card {
  background: var(--paper);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.project-card-link {
  display: block;
}

.project-card.is-hidden {
  display: none;
}

.project-card img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
}

.project-card--featured img {
  transition: opacity 180ms ease;
}

.project-card--featured:hover img {
  opacity: 0.9;
}

.project-card div {
  padding: 18px 18px 20px;
}

.project-card h3 {
  margin: 0 0 5px;
  font-size: 20px;
  line-height: 1.25;
}

.project-card p,
.site-footer {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.project-detail {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(16px, 2.2vh, 24px);
  width: 100%;
  height: 100svh;
  padding: 94px clamp(28px, 4.4vw, 72px) 22px;
  overflow: hidden;
  background: #fff;
}

.project-detail-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 40px;
  align-items: end;
}

.project-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  color: var(--muted);
  font-size: 13px;
}

.project-back:hover {
  color: var(--ink);
}

.project-title {
  justify-self: end;
  text-align: right;
}

.project-title p,
.project-title h1,
.project-gallery-meta p {
  margin: 0;
}

.project-title p {
  margin-bottom: 4px;
  color: #a8aeab;
  font-size: 12px;
}

.project-title h1 {
  font-size: clamp(19px, 1.7vw, 25px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
}

.project-gallery {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  min-height: 0;
}

.project-gallery-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #fff;
  outline: none;
  touch-action: pan-y;
}

.project-gallery-stage:focus-visible {
  outline: 1px solid var(--line);
  outline-offset: 4px;
}

.project-gallery-image {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
  transition:
    opacity 360ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 440ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.project-gallery-image.is-preparing {
  opacity: 0;
}

.project-gallery-stage[data-transition-direction="next"] .project-gallery-image.is-preparing {
  transform: translateX(2%);
}

.project-gallery-stage[data-transition-direction="previous"] .project-gallery-image.is-preparing {
  transform: translateX(-2%);
}

.project-gallery-image.project-gallery-image--outgoing {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.project-gallery-image--outgoing.is-leaving {
  opacity: 0;
}

.project-gallery-stage[data-transition-direction="next"] .project-gallery-image--outgoing.is-leaving {
  transform: translateX(-1.5%);
}

.project-gallery-stage[data-transition-direction="previous"] .project-gallery-image--outgoing.is-leaving {
  transform: translateX(1.5%);
}

.project-gallery-nav {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(38, 63, 68, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}

.project-gallery-nav:hover,
.project-gallery-nav:focus-visible {
  background: #fff;
  border-color: var(--ink);
  outline: none;
}

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

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

.project-gallery-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a8aeab;
  font-size: 12px;
  line-height: 1.4;
}

.project-gallery-counter {
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .project-gallery-image {
    transition: none;
  }
}

.profile {
  min-height: calc(100svh - 148px);
}

.profile-head {
  margin-bottom: clamp(48px, 8vw, 92px);
}

.profile-head h2 {
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.62;
}

.profile-role {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.96fr) minmax(420px, 0.86fr);
  gap: clamp(56px, 9vw, 128px);
  align-items: start;
}

.profile-statement {
  display: grid;
  gap: 26px;
  max-width: 660px;
}

.profile-statement p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.experience-block h3 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.experience-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.experience-list li {
  display: grid;
  gap: 9px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.experience-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.experience-list strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}

.experience-detail {
  color: #a8aeab;
  font-size: 14px;
  line-height: 1.65;
}

.process {
  min-height: calc(100svh - 148px);
}

.process-head {
  max-width: 760px;
  margin-bottom: clamp(46px, 7vw, 82px);
}

.process-head h2 {
  max-width: 760px;
  font-size: 32px;
  white-space: normal;
}

.process-tabs,
.process-next {
  display: none;
}

.process-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(56px, 8vw, 118px);
  align-items: start;
}

.process-panel {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.process-title {
  margin-bottom: 26px;
}

.process-title span {
  display: block;
  margin-bottom: 8px;
  color: #b4b8b6;
  font-size: 13px;
  font-weight: 600;
}

.process-title h3 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.35;
}

.process-panel ol {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-panel li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.process-panel li > span {
  color: #b4b8b6;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.process-panel strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
}

.process-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.contact {
  display: grid;
  grid-template-columns: minmax(380px, 0.84fr) minmax(0, 1.16fr);
  column-gap: clamp(48px, 7vw, 84px);
  row-gap: clamp(34px, 4vw, 48px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.contact-heading {
  grid-column: 1 / -1;
}

.contact-heading,
.contact-info,
.contact-office {
  display: grid;
  align-content: start;
  gap: 0;
}

.contact h2 {
  max-width: 760px;
  font-size: 32px;
  white-space: normal;
}

.contact-map {
  width: 100%;
  margin-top: 0;
}

.contact-map-frame {
  position: relative;
  display: block;
  height: clamp(300px, 27vw, 360px);
  overflow: hidden;
  border: 1px solid var(--line);
}

.contact-map-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-map-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -100%);
  pointer-events: none;
}

.contact-map-label {
  padding: 9px 12px;
  margin-bottom: 8px;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid rgba(34, 52, 55, 0.18);
  box-shadow: 0 3px 12px rgba(34, 52, 55, 0.12);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

.contact-map-pin {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--ink);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 7px rgba(34, 52, 55, 0.22);
}

.contact-map-pin span {
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
}

.contact-map-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  border-bottom: 1px solid currentColor;
}

.contact-office,
.contact-form {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.contact-info {
  margin-top: 36px;
}

.contact-block-label {
  display: block;
  margin: 0 0 18px;
  color: #b4b8b6;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-address {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.9;
}

.contact-details {
  display: grid;
  margin: 26px 0 0;
}

.contact-details > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.contact-details dt,
.contact-details dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.contact-details dt {
  color: #b4b8b6;
}

.contact-details dd {
  color: var(--muted);
}

.contact .external-links {
  gap: 24px;
  margin-top: 28px;
}

.contact .external-links a {
  min-height: auto;
  padding: 3px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  color: var(--muted);
}

.contact .external-links a:hover {
  border-bottom-color: currentColor;
}

.contact-form {
  display: grid;
  gap: 16px;
  background: transparent;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff;
  color: var(--ink);
}

.contact-form button {
  background: var(--ink);
  color: var(--ivory);
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.privacy-consent {
  display: grid;
  gap: 10px;
  padding: 14px 0 2px;
  border-top: 1px solid var(--line);
}

.contact-form .privacy-consent-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink);
  line-height: 1.55;
  cursor: pointer;
}

.contact-form .privacy-consent-check input {
  flex: 0 0 auto;
  width: 16px;
  min-height: 16px;
  margin: 3px 0 0;
  padding: 0;
  accent-color: var(--ink);
}

.privacy-consent-check em {
  color: var(--muted);
  font-style: normal;
}

.privacy-consent p {
  margin: 0 0 0 25px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.form-status.is-success {
  color: #365f4a;
}

.form-status.is-error {
  color: #9c3d35;
}

.external-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.external-links a,
.external-links span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
}

.form-note {
  padding: 0 0 10px;
}

.form-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.form-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

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

.site-footer {
  display: grid;
  justify-content: end;
  justify-items: end;
  gap: 4px;
  padding: 30px clamp(20px, 4vw, 64px);
  border-top: 1px solid var(--line);
  text-align: right;
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header {
    height: 66px;
    padding: 0 22px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 66px;
    right: 0;
    left: 0;
    display: none;
    padding: 18px 20px 24px;
    background: rgba(247, 246, 241, 0.98);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav a {
    padding: 12px 0;
    font-size: 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding: 82px 18px 30px;
  }

  .hero-media {
    order: 2;
    gap: 12px;
  }

  .hero-image {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .hero-side {
    order: 1;
    min-height: auto;
    padding: 0;
  }

  .hero-brand {
    align-self: start;
    font-size: clamp(30px, 9vw, 42px);
  }

  .hero-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .intro,
  .contact,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .intro {
    min-height: auto;
  }

  .about-page {
    width: min(100% - 36px, 1120px);
  }

  .intro-text {
    justify-items: start;
    min-height: auto;
    text-align: left;
  }

  .intro-text h2 {
    white-space: normal;
  }

  .section-head {
    display: grid;
    align-items: start;
  }

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

  .project-detail {
    gap: 12px;
    height: 100svh;
    padding: 78px 18px 14px;
  }

  .project-detail-head {
    grid-template-columns: 1fr;
    gap: 4px;
    align-items: start;
  }

  .project-back {
    min-height: 28px;
  }

  .project-title {
    justify-self: start;
    text-align: left;
  }

  .project-title p {
    margin-bottom: 2px;
  }

  .project-title h1 {
    font-size: 19px;
  }

  .project-gallery-nav {
    width: 40px;
    height: 40px;
    font-size: 19px;
  }

  .project-gallery-prev {
    left: 6px;
  }

  .project-gallery-next {
    right: 6px;
  }

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

  .process-head {
    margin-bottom: 30px;
  }

  .process-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 34px;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 92px;
  }

  .process-tab {
    min-width: 0;
    padding: 0 8px 14px;
    background: transparent;
    color: #9da3a0;
    border: 0;
    border-bottom: 1px solid transparent;
    margin-bottom: -1px;
    font: inherit;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
  }

  .process-tab.is-active {
    color: var(--ink);
    border-bottom-color: var(--ink);
    font-weight: 500;
  }

  .process-tab:focus-visible {
    outline: 1px solid var(--ink);
    outline-offset: 4px;
  }

  .process-panel {
    display: none;
  }

  .process-panel.is-active {
    display: block;
  }

  .process-panel .process-title {
    display: none;
  }

  .process-next {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 20px 0 0;
    background: transparent;
    color: var(--ink);
    border: 0;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
  }

  .process-next:focus-visible {
    outline: 1px solid var(--ink);
    outline-offset: 4px;
  }

  .site-footer {
    display: grid;
  }

  .profile {
    min-height: auto;
  }

  .profile-head {
    margin-bottom: 42px;
  }

  .profile-layout {
    gap: 42px;
  }
}

@media (max-width: 520px) {
  .section-pad {
    width: min(100% - 28px, 1120px);
  }

  .project-gallery {
    grid-template-rows: auto auto;
    align-content: start;
  }

  .project-gallery-stage {
    height: auto;
  }

  .project-gallery-image {
    height: auto;
    object-position: center top;
  }

  .intro h2,
  .section-head h2,
  .contact h2 {
    font-size: 30px;
  }

  .contact-form {
    padding: 20px 0 0;
  }

  .contact-map {
    width: 100%;
    margin-top: 0;
  }

  .contact-map-frame {
    height: 280px;
  }

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

@media (max-width: 520px) and (max-height: 650px) {
  .project-gallery-stage {
    height: calc(100svh - 200px);
  }

  .project-gallery-image {
    height: 100%;
  }
}
