:root {
  color-scheme: dark;
  --font-main: "Century Gothic", "HY태백", "HYTaebaek", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  --header-height: 86px;
  --mobile-header-height: 70px;
  --hero-height: 46vh;
  /* Responsive reference widths: iPad Air 13 = 1024px, iPhone 16 Pro Max = 440px. */
  --breakpoint-ipad-air-13: 1024px;
  --breakpoint-iphone-16-pro-max: 440px;
  --bg: #030303;
  --panel: #0d0e10;
  --panel-2: #14161a;
  --text: #f5f2eb;
  --muted: #aaa59b;
  --line: rgba(245, 242, 235, 0.14);
  --white-soft: rgba(255, 255, 255, 0.84);
  --gold: #d7b46a;
  --red: #d95f50;
  --cyan: #77d7d5;
  --hero-bg-image: url("assets/logo_bg_icons/Saffiano_BG_Garo.jpg");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  padding-bottom: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  letter-spacing: 0;
  overflow-wrap: break-word;
  word-break: keep-all;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  width: 100%;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 22px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(245, 242, 235, 0.1);
  background: rgba(3, 3, 3, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 4px;
}

/* .brand-mark {
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 41%, var(--gold) 42% 46%, transparent 47%),
    radial-gradient(circle at 50% 50%, rgba(215, 180, 106, 0.8), transparent 48%);
} */

.nav-links {
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.is-active,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

/* Hero common: index(.hero) and sub pages(.page-hero) share the same base. */
.hero,
.page-hero {
  position: relative;
  min-height: var(--hero-height);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-color: #030303;
  background-image:
    linear-gradient(90deg, rgba(3, 3, 3, 0.9), rgba(3, 3, 3, 0.54)),
    var(--hero-bg-image);
  background-position:
    center,
    top left;
  background-repeat:
    no-repeat,
    repeat;
  background-size:
    auto,
    auto;
}

/* Index hero layout. */
.hero {
  min-height: var(--hero-height);
  padding: calc(var(--header-height) + clamp(40px, 6vw, 70px)) clamp(20px, 5vw, 72px) clamp(42px, 6vw, 70px);
}

/* Sub page hero layout. */
.page-hero {
  padding: clamp(58px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

/* Hero visual layers. Text must sit above .hero-shade with z-index: 1. */
.sound-canvas,
.hero-shade {
  position: absolute;
  inset: 0;
}

.sound-canvas {
  width: 100%;
  height: 100%;
  opacity: 0.64;
}

.hero-shade {
  background:
    radial-gradient(circle at 52% 28%, rgba(211, 175, 55, 0.28 ), transparent 34%),
    radial-gradient(circle at 38% 62%, rgba(188, 198, 204, 0.28), transparent 32%),
    radial-gradient(circle at 18% 97%, rgba(73, 55, 27, 0.38), transparent 30%),
    linear-gradient(90deg, rgba(3, 3, 3, 0.74) 0%, rgba(3, 3, 3, 0.48) 44%, rgba(3, 3, 3, 0.32) 100%),
    linear-gradient(180deg, rgba(3, 3, 3, 0.18), rgba(3, 3, 3, 0.9));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  padding-bottom: clamp(32px, 6vh, 62px);
}

.hero .hero-inner {
  padding-bottom: 0;
}

/* Small gold label used in hero and section headings. */
.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(62px, 13vw, 170px);
  line-height: 0.86;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: keep-all;
}

.brand span,
#hero-title {
  white-space: nowrap;
}

#hero-title {
  display: inline-flex;
  align-items: baseline;
  gap: clamp(8px, 1.2vw, 16px);
  margin-bottom: clamp(22px, 3vw, 38px);
}

#hero-title span:last-child {
  color: #f5f2eb;
  background: linear-gradient(92deg, #ffffff 0%, #c0c0c0 46%, var(--gold) 100%);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  #hero-title span:last-child {
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
  }
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  #hero-title span:last-child {
    background: none;
  }
}

h2,
h3,
p,
.button,
.nav-links a,
.equipment-row h3,
.equipment-row p,
.equipment-row strong {
  overflow-wrap: break-word;
}

.hero-copy {
  width: min(1180px, 100%);
  color: rgba(188, 198, 204, 0.38);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.62;
}

/* Hero text layer: keep copy above the shade overlay. */
.hero h2,
.hero-inner > p:not(.eyebrow),
.page-hero h1,
.page-hero h2,
.page-hero > p:not(.eyebrow) {
  position: relative;
  z-index: 1;
}

/* Sub page hero title. */
.page-hero h1 {
  max-width: 980px;
  font-size: clamp(48px, 8vw, 118px);
}

/* Hero subtitle: intentionally softer than h1/eyebrow. */
.hero h2,
.page-hero h2 {
  max-width: 980px;
  color: var(--silver-soft);
  opacity: 0.5;
}

.hero h2 {
  max-width: none;
  margin-bottom: clamp(18px, 2.4vw, 30px);
  white-space: nowrap;
}

.hero h3 {
  margin-bottom: clamp(16px, 2vw, 26px);
  color: var(--text);
  font-size: clamp(20px, 2.2vw, 34px);
  line-height: 1.28;
}

/* Hero body copy. Exclude .eyebrow so its gold color and size remain intact. */
.hero-inner > p:not(.eyebrow),
.page-hero > p:not(.eyebrow) {
  max-width: 1180px;
  color: var(--white-soft);
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.68;
}

/* Hero eyebrow: same strength on index and sub pages. */
.hero .eyebrow,
.page-hero .eyebrow {
  position: relative;
  z-index: 1;
  color: var(--gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
  font-size: 14px;
}

.button.primary {
  background: var(--text);
  color: #050505;
  border-color: var(--text);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

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

.hero-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(1040px, 100%);
  background: var(--line);
  border: 1px solid var(--line);
}

.hero-metrics div {
  padding: 18px;
  background: rgba(8, 9, 10, 0.72);
  backdrop-filter: blur(14px);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 24px;
}

.hero-metrics span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: clamp(76px, 11vw, 142px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.narrow {
  display: block;
  max-width: 760px;
}

.section-lead {
  width: min(520px, 100%);
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 45px);
  line-height: 1;
}

.section-title-eyebrow {
  margin-bottom: 22px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.06em;
}

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

.work-card {
  min-height: 360px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
}

.work-card svg,
.education-card svg {
  width: clamp(36px, 3vw, 42px);
  height: clamp(36px, 3vw, 42px);
}

.track-visual {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 42px;
}

.track-visual span {
  width: 100%;
  min-width: 16px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.84;
}

.track-visual span:nth-child(1) { height: 28%; }
.track-visual span:nth-child(2) { height: 62%; }
.track-visual span:nth-child(3) { height: 100%; }
.track-visual span:nth-child(4) { height: 48%; }
.track-visual span:nth-child(5) { height: 78%; }

.track-visual.calm { color: var(--gold); }
.track-visual.pulse { color: var(--red); }
.track-visual.bright { color: var(--cyan); }
.track-visual.learn { color: var(--white-soft); }

.work-card h3,
.service-list h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.work-card p,
.service-list p,
.studio-copy p {
  color: var(--muted);
  line-height: 1.74;
}

.service-overview{
  padding:24px;
  background: var(--panel);
  margin-top: clamp(34px, 4vw, 58px);
  margin-bottom:20px;
  text-align:center;
  position: relative;
  z-index: 20;
  border: 1px solid rgba(215,180,106,.25);
  box-shadow:
    0 12px 40px rgba(0,0,0,.4),
    0 0 0 1px rgba(215,180,106,.08);
}

.service-overview strong{
  display:block;
  color:var(--gold);
  font-size:22px;
  margin-bottom:10px;
	letter-spacing:0.05em;
}

.hero-actions-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  background: var(--line);
  border: 1px solid var(--line);
}

.hero-action {
  padding: 18px;
  background: rgba(8, 9, 10, 0.72);
  border: 1px solid rgba(215, 180, 106, 0.15);
  transition: 0.25s ease;
}

.hero-action:hover {
  background: #181d23;
  border-color: rgba(215, 180, 106, 0.35);
}

.hero-action h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.hero-action p {
  margin: 0;
  color: var(--white-soft);
  font-size: 14px;
  line-height: 1.5;
}
.services-section {
  background: #08090a;
}

.service-list {
  display: grid;
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 90px 1fr 1.4fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.service-list span {
  color: var(--gold);
  font-weight: 800;
}

.setup-operation-section {
  border-bottom: 1px solid var(--line);
}

.concerns-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
  padding: clamp(72px, 9vw, 50px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(119, 215, 213, 0.08), transparent 30%),
    #050506;
}

.concerns-copy {
  width: 100%;
}

.concerns-copy h2,
.solutions-heading h2 {
  margin-bottom: 24px;
  color: var(--text);
  font-size: clamp(36px, 5.4vw, 78px);
  line-height: 1.08;
}

.concerns-copy .eyebrow,
.why-copy .eyebrow,
.solutions-heading .eyebrow {
  margin-bottom: 18px;
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.35;
  letter-spacing: 0.16em;
}

.why-copy .eyebrow {
  color: var(--gold);
}

.concerns-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.concerns-list li {
  position: relative;
  padding: 16px 16px 16px 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white-soft);
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 700;
  line-height: 1.55;
}

.concerns-list li::before {
  content: "✓";
  position: absolute;
  top: 16px;
  left: 16px;
  color: var(--gold);
  font-weight: 800;
}

.concerns-closing {
  margin: 30px 0 0;
  color: var(--text);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 800;
  line-height: 1.25;
}

.why-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
  padding: clamp(72px, 9vw, 50px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(215, 180, 106, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 42%),
    #070708;
}

.why-copy {
  width: 100%;
}

.why-copy h2 {
  max-width: 100%;
  margin-bottom: 24px;
  color: var(--text);
  font-size: clamp(36px, 5.4vw, 78px);
  line-height: 1.08;
}

.why-copy p {
  max-width: 100%;
  margin-bottom: 18px;
  color: var(--white-soft);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.82;
}

.why-copy .why-lead,
.why-copy .why-statement,
.why-copy .why-closing {
  color: var(--text);
  font-weight: 800;
}

.why-copy .why-lead {
  margin-bottom: 12px;
  font-size: clamp(21px, 2vw, 30px);
}

.why-copy .why-statement {
  margin-top: 34px;
  font-size: clamp(20px, 1.8vw, 28px);
}

.why-copy .why-closing {
  max-width: 100%;
  margin: 34px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--gold);
  color: #f8ead0;
}

.solutions-section {
  padding: clamp(76px, 11vw, 142px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: #030303;
}

.solutions-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  column-gap: clamp(28px, 6vw, 86px);
  row-gap: 0;
  align-items: start;
  margin-bottom: 34px;
}

.solutions-heading h2 {
  grid-column: 1;
  margin-bottom: 0;
}

@media (min-width: 1025px) {
  .concerns-copy h2,
  .why-copy h2,
  .solutions-heading h2 {
    white-space: nowrap;
  }
}

.solution-grid {
  display: grid;
  gap: 1px;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--line);
}

.solution-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  column-gap: clamp(24px, 4vw, 40px);
  row-gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
  padding: clamp(24px, 3.4vw, 42px);
  min-width: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 36%),
    var(--panel);
}

.solution-number {
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 9px;
  border: 1px solid rgba(215, 180, 106, 0.34);
  border-radius: 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.solution-intro {
  grid-column: 1;
  min-width: 0;
  padding: clamp(18px, 2.3vw, 24px);
  border: 1px solid rgba(215, 180, 106, 0.18);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(215, 180, 106, 0.12), transparent 38%),
    rgba(255, 255, 255, 0.035);
}

.solution-title {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: #f8ead0;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.18;
}

.solution-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  opacity: 0.95;
}

.solution-intro p {
  margin-bottom: 0;
  color: var(--white-soft);
  font-size: clamp(15px, 1.12vw, 17px);
  line-height: 1.66;
}

.solution-question-group {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.solution-question {
  margin: 0;
  padding: 12px 14px;
  border-radius: 6px;
  background: rgba(215, 180, 106, 0.1);
  color: #f8ead0;
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 800;
  line-height: 1.55;
}

.solution-summary {
  padding-top: 2px;
}

.solution-points {
  grid-column: 1;
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
  margin-top: 0;
}

.solution-points div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.solution-points strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 16px;
  line-height: 1.45;
}

.solution-points p {
  margin-bottom: 0;
  color: var(--white-soft);
  font-size: 14px;
  line-height: 1.62;
}

.solution-media {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(215, 180, 106, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #101114;
  overflow: hidden;
}

.solution-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.education-section {
  border-bottom: 1px solid var(--line);
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  border: 1px solid var(--line);
  background: var(--line);
}

.education-card {
  min-height: 300px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 42%),
    var(--panel);
}

.education-card span {
  width: fit-content;
  margin-bottom: auto;
  padding: 8px 10px;
  border: 1px solid rgba(215, 180, 106, 0.34);
  border-radius: 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.education-card h3 {
  margin: 34px 0 12px;
  font-size: 24px;
}

.education-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.74;
}

.inspection-section {
  border-bottom: 1px solid var(--line);
}

.studio-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  padding: clamp(76px, 11vw, 142px) clamp(20px, 5vw, 72px);
}

.studio-copy {
  max-width: 100%;
}

.studio-copy .section-description {
  font-size: 18px;
  color: var(--white-soft);
}

/* .studio-copy .setup-description {
  font-size: 18px;
  color: var(--white-soft);
} */

/* Wide desktop: prevent important hero/studio lines from wrapping too early. */
@media (min-width: 1700px) {
  .hero-copy,
  .hero-inner > p:not(.eyebrow),
  .page-hero h2,
  .page-hero > p:not(.eyebrow),
  .studio-copy > h2,
  .studio-copy > p {
    white-space: nowrap;
  }
}

.checkup-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.checkup-list li {
  padding: 16px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--white-soft);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
}

.console-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%),
    #101114;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.44);
}

.console-top,
.knob-row,
.meter,
.faders {
  display: grid;
  gap: 14px;
}

.console-top {
  grid-template-columns: 1.4fr 0.8fr 0.5fr;
  margin-bottom: 24px;
}

.console-top span,
.faders span {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.knob-row {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 26px;
}

.knob-row span {
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #101114 0 36%, transparent 37%),
    conic-gradient(from 30deg, var(--gold), var(--red), var(--cyan), var(--gold));
}

.meter {
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  min-height: 180px;
  margin-bottom: 24px;
  padding: 16px;
  background: #070809;
  border: 1px solid var(--line);
}

.meter i {
  display: block;
  min-height: 24px;
  background: linear-gradient(180deg, var(--red), var(--gold), var(--cyan));
}

.meter i:nth-child(1) { height: 38%; }
.meter i:nth-child(2) { height: 84%; }
.meter i:nth-child(3) { height: 54%; }
.meter i:nth-child(4) { height: 96%; }
.meter i:nth-child(5) { height: 44%; }
.meter i:nth-child(6) { height: 72%; }
.meter i:nth-child(7) { height: 62%; }
.meter i:nth-child(8) { height: 88%; }

.faders {
  grid-template-columns: repeat(3, 1fr);
}

.faders span:nth-child(2) {
  background: var(--gold);
}

.site-footer {
  position: static;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  min-height: 96px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(5, 5, 5, 0.14);
  background: rgba(245, 242, 235, 0.92);
  color: #050505;
  backdrop-filter: blur(18px);
}

.site-footer .eyebrow {
  margin-bottom: 8px;
  color: #5d461c;
}

.site-footer h2 {
  max-width: 760px;
  font-size: clamp(20px, 2.6vw, 34px);
  line-height: 1.08;
}

.footer-legal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 7px 18px;
  margin-top: 16px;
  color: rgba(5, 5, 5, 0.72);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 12px;
  color: rgba(5, 5, 5, 0.68);
  font-size: 13px;
  font-weight: 700;
}

.footer-privacy {
  padding: 0;
  border: 0;
  color: #5d461c;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-privacy-content {
  width: min(620px, 100%);
}

.footer-privacy-content p + p {
  margin-top: 16px;
}

.site-footer .button.primary {
  color: var(--text);
  background: #050505;
  border-color: #050505;
  white-space: nowrap;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.social-link {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid rgba(5, 5, 5, 0.18);
  border-radius: 6px;
  background: #050505;
  color: var(--text);
}

.social-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-link.instagram {
  color: #fff;
  background: radial-gradient(circle at 30% 107%, #fdf497 0 8%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  border-color: transparent;
}

.social-link.instagram svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-link.kakao {
  color: #1f1b00;
  background: #fee500;
  border-color: #fee500;
}

.social-link.kakao svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke: none;
}

.social-link.daangn {
  color: #ff6f0f;
  background: #fff;
  border-color: #ff6f0f;
}

.social-link.daangn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke: none;
}

.button.kakao {
  color: #1f1b00;
  background: #fee500;
  border-color: #fee500;
  white-space: nowrap;
}

.profile-page,
.portfolio-page,
.equipment-page,
.contact-page {
  padding-top: var(--header-height);
}

.profile-badge {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 40%),
    #0c0d0f;
}

.profile-badge span {
  color: var(--gold);
  font-size: clamp(54px, 8vw, 118px);
  font-weight: 800;
}

.profile-section {
  padding: clamp(62px, 9vw, 112px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.profile-section-heading {
  margin-bottom: 30px;
}

.profile-section h2 {
  font-size: clamp(32px, 4vw, 56px);
}

.profile-panel {
  max-width: 860px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.profile-panel p,
.profile-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.74;
}

.profile-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.profile-list article {
  display: grid;
  grid-template-columns: 90px 1fr 1.4fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.profile-list span {
  color: var(--gold);
  font-weight: 800;
}

.profile-list h3 {
  margin-bottom: 0;
  font-size: 24px;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.profile-tags span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--white-soft);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
}

.portfolio-section {
  padding: clamp(62px, 9vw, 112px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.portfolio-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--panel);
}

.record-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.record-category-heading {
  margin: 42px 0 18px;
}

.record-category-heading:first-of-type {
  margin-top: 0;
}

.record-category-heading h3 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 38px);
}

.record-item {
  display: grid;
  grid-template-columns: max-content minmax(140px, 0.75fr) minmax(220px, 1.25fr) minmax(96px, 0.42fr);
  gap: clamp(22px, 3vw, 38px);
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.performance-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.performance-item {
  display: grid;
  grid-template-columns: minmax(180px, 0.95fr) minmax(260px, 1.35fr) minmax(96px, 0.42fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.performance-item h3,
.performance-item h4 {
  margin-bottom: 0;
  color: var(--text);
  font-size: 22px;
}

.performance-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.68;
}

.performance-item .record-period {
  color: var(--gold);
  font-weight: 800;
}

.record-photos {
  display: grid;
  gap: 12px;
  width: 300px;
}

.record-photo {
  display: grid;
  place-items: center;
  width: 300px;
  height: 300px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #08090a;
}

.record-photo-main {
  cursor: zoom-in;
}

.record-photo-main:focus-visible {
  outline: 2px solid rgba(215, 180, 106, 0.82);
  outline-offset: 3px;
}

.record-photo-main > img {
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.record-photo-main:hover > img,
.record-photo-main:focus-visible > img {
  opacity: 0.92;
  transform: scale(1.015);
}

.record-subphotos {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-height: 76px;
  padding: 0 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(215, 180, 106, 0.54) rgba(255, 255, 255, 0.08);
  scroll-snap-type: x proximity;
}

.record-subphotos::-webkit-scrollbar {
  height: 8px;
}

.record-subphotos::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.record-subphotos::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(215, 180, 106, 0.54);
}

.record-subphotos:empty {
  display: none;
}

.record-photo > img {
  display: block;
  width: 300px;
  height: 300px;
  object-fit: contain;
}

.record-subphoto {
  flex: 0 0 68px;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  padding: 0;
  border: 0;
  overflow: hidden;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  cursor: zoom-in;
  scroll-snap-align: start;
}

.record-subphoto img {
  display: block;
  width: 68px;
  height: 68px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #08090a;
  transition:
    border-color 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
}

.record-subphoto:hover img,
.record-subphoto:focus-visible img {
  border-color: rgba(215, 180, 106, 0.72);
  opacity: 0.92;
  transform: translateY(-1px);
}

.record-item h3 {
  margin-bottom: 0;
  font-size: 24px;
}

.record-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.72;
}

.record-item .record-period {
  color: var(--gold);
  font-weight: 800;
}

main img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

main .record-photo > img {
  width: 300px;
  height: 300px;
  max-width: none;
  object-fit: contain;
}

main .record-subphoto img {
  width: 68px;
  height: 68px;
  max-width: none;
  object-fit: contain;
}

.work-card img,
.portfolio-card img,
.profile-panel img {
  display: block;
  width: 100%;
  max-height: 520px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #08090a;
}

.portfolio-visual {
  min-height: 150px;
  margin-bottom: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 0 12%, currentColor 12% 15%, transparent 15% 24%, currentColor 24% 28%, transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    #08090a;
  opacity: 0.86;
}

.portfolio-visual.calm { color: rgba(215, 180, 106, 0.7); }
.portfolio-visual.pulse { color: rgba(217, 95, 80, 0.64); }
.portfolio-visual.bright { color: rgba(119, 215, 213, 0.64); }
.portfolio-visual.neutral { color: rgba(245, 242, 235, 0.32); }

.portfolio-card span {
  margin-top: 26px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.portfolio-card h3 {
  margin: 10px 0 12px;
  font-size: 23px;
}

.portfolio-card p,
.case-template p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.68;
}

.case-template {
  display: grid;
  border-top: 1px solid var(--line);
}

.case-template article {
  display: grid;
  grid-template-columns: 90px 1fr 1.4fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.case-template span {
  color: var(--gold);
  font-weight: 800;
}

.case-template h3 {
  margin-bottom: 0;
  font-size: 24px;
}

.equipment-section {
  padding: clamp(62px, 9vw, 112px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.equipment-table {
  display: grid;
  border: 1px solid var(--line);
  background: var(--panel);
}

.equipment-row {
  display: grid;
  grid-template-columns: 160px 1fr 1fr 2fr 2fr 1fr;
	gap: 20px;	
	padding: 20px;
	border-bottom: 1px solid var(--line);
	align-items: center;
}

.equipment-row:last-child {
  border-bottom: 0;
}

.equipment-head {
  min-height: 50px;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.equipment-photo {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 220px;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 44%),
    #08090a;
  cursor: zoom-in;
}

.equipment-photo img {
  width: calc(100% - 18px);
  height: calc(100% - 18px);
  object-fit: contain;
  transition: transform 0.2s ease;
}

.equipment-photo:hover img,
.equipment-photo:focus-visible img {
  transform: scale(1.04);
}

.image-preview-layer {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 46px);
  background: rgba(0, 0, 0, 0.56);
  pointer-events: none;
}

.image-preview-layer[data-locked="true"] {
  pointer-events: auto;
}

.image-preview-layer[hidden] {
  display: none;
}

.image-preview-card {
  position: relative;
  width: min(920px, 92vw);
  max-height: 82vh;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 11, 13, 0.96);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.54);
}

.image-preview-card img {
  display: block;
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 6px;
  background: #050505;
}

.image-preview-card p {
  margin: 12px 0 0;
  color: var(--text);
  font-weight: 800;
}

.image-preview-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.82);
  color: var(--text);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.equipment-row h3 {
  margin-bottom: 0;
  font-size: 22px;
}

.equipment-row strong {
  color: var(--text);
  font-size: 18px;
}

.equipment-row p,
.equipment-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.68;
}

.equipment-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.equipment-list article {
  display: grid;
  grid-template-columns: 90px 1fr 1.4fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.equipment-list span {
  color: var(--gold);
  font-weight: 800;
}

.equipment-list h3 {
  margin-bottom: 0;
  font-size: 24px;
}

.contact-section {
  padding: clamp(54px, 8vw, 98px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.contact-form-wrap {
  max-width: 920px;
}

.contact-form {
  display: grid;
  gap: 20px;
}

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

.contact-form label,
.service-checks legend {
  color: var(--white-soft);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 9px;
  padding: 14px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(215, 180, 106, 0.68);
  box-shadow: 0 0 0 3px rgba(215, 180, 106, 0.12);
}

.contact-form option {
  color: #050505;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.address-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.form-button {
  margin-top: 9px;
  min-height: 49px;
}

.service-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.service-checks legend {
  padding: 0 8px;
}

.service-checks label,
.privacy-box label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.service-checks input,
.privacy-box input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--gold);
}

.privacy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.upload-link-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.upload-link-box strong {
  display: block;
  color: var(--white-soft);
  font-weight: 800;
}

.upload-link-box p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

#viewPrivacy {
  min-width: 86px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.submit-button {
  width: 100%;
  min-height: 56px;
}

.submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.44;
}

.form-status {
  min-height: 24px;
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 800;
}

.form-status[data-state="success"] {
  color: var(--cyan);
}

.form-status[data-state="warn"] {
  color: var(--gold);
}

.form-status[data-state="error"] {
  color: var(--red);
}

.loading-overlay,
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.62);
}

.loading-overlay[hidden],
.modal[hidden] {
  display: none;
}

.loading-box,
.modal-content {
  width: min(430px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--text);
  color: #050505;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.44);
}

.loading-box {
  text-align: center;
}

.modal-content {
  position: relative;
}

.modal-content h2 {
  font-size: 26px;
}

.modal-content p {
  margin-bottom: 0;
  line-height: 1.7;
}

.close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #050505;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.spinner {
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  border: 5px solid rgba(5, 5, 5, 0.16);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* iPad Air 13-inch portrait and below: 1024px x 1366px CSS viewport. */
/* iPad Air 13-inch refinements. */
@media (max-width: 1024px) {
  body {
    padding-bottom: 184px;
  }

  .nav-links {
    display: flex;
  }



  /* Hero responsive height. */
  .hero,
  .page-hero {
    min-height: var(--hero-height);
  }

  .hero {
    min-height: var(--hero-height);
  }

  .hero-metrics,
  .work-grid,
  .education-grid,
  .concerns-section,
  .why-section,
  .solutions-heading,
  .solution-card,
  .studio-section,
  .portfolio-grid,
  .form-grid,
  .service-checks {
    grid-template-columns: 1fr;
  }

  .solution-intro,
  .solution-points,
  .solution-media {
    grid-column: 1;
  }

  .solution-points,
  .solution-media {
    grid-row: auto;
  }

  .solution-media {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .equipment-head {
    display: none;
  }

  .equipment-row {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
  }

  .equipment-photo {
    max-width: 260px;
  }

  .section-heading {
    display: block;
  }

  .section-lead {
    margin-top: 18px;
    font-size: 16px;
  }

  .work-card {
    min-height: 320px;
  }

  .service-list article,
  .profile-list article,
  .case-template article,
  .record-item,
  .performance-item,
  .equipment-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .record-photo {
    width: min(300px, 100%);
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .record-photos {
    width: min(300px, 100%);
  }

  main .record-photo > img {
    width: 100%;
    height: 100%;
    max-width: 100%;
  }

  .record-subphotos {
    display: flex;
  }

  main .record-subphoto img {
    width: 68px;
    height: 68px;
    max-width: none;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    min-height: 168px;
  }

  .site-footer .button {
    min-height: 42px;
  }

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

  .footer-actions {
    justify-content: flex-start;
    width: 100%;
  }
}

/* iPhone 16 Pro Max portrait and below: 440px x 956px CSS viewport. */
/* iPhone 16 Pro Max detailed mobile layout. */
@media (max-width: 440px) {
  body {
    padding-bottom: 220px;
  }

  .site-header {
    padding: 18px 18px;
  }

  .brand {
    font-size: 13px;
  }

  .hero,
  .page-hero {
    min-height: var(--hero-height);
    padding-top: 104px;
  }

  .hero-metrics {
    display: none;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    min-height: 198px;
    padding: 14px 18px;
  }

  .site-footer h2 {
    font-size: 18px;
  }

  .profile-page,
  .portfolio-page,
  .equipment-page,
  .contact-page {
    padding-top: var(--mobile-header-height);
  }

  .address-row,
  .privacy-box {
    grid-template-columns: 1fr;
    display: grid;
  }

  .profile-badge {
    max-width: 180px;
  }
}

/* =========================
   ✅ iPhone 16 Pro Max 반응형 FIX
========================= */

/* iPhone 16 Pro Max general mobile layout. */
@media (max-width: 440px) {

  /* ✅ 헤더 */
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }

  .brand {
    font-size: 14px;
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
  }

  .nav-links a {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  /* ✅ 히어로 영역 */
  .hero {
    padding: 100px 20px 20px;
    min-height: auto;
  }

  /* ❗ 문제 해결: 텍스트 줄바꿈 */
  #hero-title {
    white-space: normal;
  }

  h1 {
    font-size: 42px;
    line-height: 1.1;
  }

  .hero-copy,
  .hero-inner > p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.5;
  }

  /* ✅ 메트릭 (3칸 → 1칸) */
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    padding: 14px;
  }

  /* ✅ 섹션 여백 */
  .section {
    padding: 50px 20px;
  }

  /* ✅ work grid */
  .work-grid {
    grid-template-columns: 1fr;
  }

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

  /* ✅ 서비스 리스트 */
  .service-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* ✅ studio */
  .studio-section {
    grid-template-columns: 1fr;
  }

  /* ✅ footer */
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-actions {
    width: 100%;
    justify-content: flex-start;
  }

  /* ✅ profile */
  .profile-list article {
    grid-template-columns: 1fr;
  }

  .record-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .performance-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* ✅ portfolio */
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  /* ✅ equipment */
  .equipment-row {
    grid-template-columns: 1fr;
  }

  /* ✅ contact form */
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* 🍔 햄버거 메뉴 CSS */
.menu-toggle {
  display: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

/* iPhone 16 Pro Max navigation: 440px x 956px CSS viewport. */
@media (max-width: 440px) {

  .site-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--mobile-header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--mobile-header-height));

    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(20px);

    flex-direction: column;
    align-items: center;
    justify-content: center;

    transform: translateY(-100%);
    transition: 0.3s;
  }

  .nav-links.open {
    transform: translateY(0);
  }
}

/* Layout refinements */
body {
  padding-bottom: 0;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-toggle span {
  margin: 5px auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* iPad Air 13-inch layout reset. */
@media (max-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

/* iPhone 16 Pro Max header, menu, and hero layout. */
@media (max-width: 440px) {
  .site-header {
    min-height: var(--mobile-header-height);
    padding: 13px 18px;
    z-index: 200;
  }

  .header-inner {
    gap: 12px;
  }

  .brand {
    font-size: 13px;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .nav-links {
    position: fixed;
    top: var(--mobile-header-height);
    left: 0;
    z-index: 190;
    display: flex;
    width: 100%;
    height: calc(100vh - var(--mobile-header-height));
    height: calc(100dvh - var(--mobile-header-height));
    margin: 0;
    padding: 28px 20px 40px;
    background: rgba(3, 3, 3, 0.97);
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    transform: translateY(-100%);
    transition: transform 0.28s ease;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    border-top: 1px solid var(--line);
    overflow-y: auto;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 58px;
    width: 100%;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 18px;
  }

  .nav-links.open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  body.menu-open {
    overflow: hidden;
  }

  #hero-title {
    white-space: normal;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-bottom: 22px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 62px);
    line-height: 1.02;
  }

  #hero-title span {
    display: inline-block;
    white-space: nowrap;
  }

  h2 {
    font-size: clamp(30px, 9vw, 44px);
    line-height: 1.08;
  }

  .hero .eyebrow {
    max-width: 320px;
    margin-bottom: 18px;
    font-size: 12px;
    line-height: 1.5;
  }

  .hero h2 {
    margin-bottom: 18px;
    font-size: clamp(13px, 3.5vw, 18px);
    line-height: 1.35;
    opacity: 0.72;
  }

  .hero h3 {
    margin-bottom: 16px;
    font-size: 20px;
    line-height: 1.35;
  }

  /* Mobile hero spacing shared by index and sub pages. */
  .hero,
  .page-hero {
    min-height: auto;
    padding: 86px 20px 34px;
  }

  .hero {
    padding-top: calc(var(--mobile-header-height) + 86px);
  }

  .hero-inner {
    padding-bottom: 26px;
  }

  /* Mobile hero body copy. Eyebrow is excluded on purpose. */
  .hero-copy,
  .hero-inner > p:not(.eyebrow),
  .page-hero > p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.72;
  }

  .why-section {
    padding: 54px 20px 58px;
  }

  .concerns-section,
  .solutions-section {
    padding: 54px 20px 58px;
  }

  .concerns-copy h2,
  .solutions-heading h2 {
    margin-bottom: 20px;
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.18;
  }

  .concerns-copy .eyebrow,
  .why-copy .eyebrow,
  .solutions-heading .eyebrow {
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.45;
    letter-spacing: 0.14em;
  }

  .concerns-list li {
    padding: 14px 14px 14px 40px;
    font-size: 15px;
    line-height: 1.6;
  }

  .concerns-list li::before {
    top: 14px;
    left: 14px;
  }

  .concerns-closing {
    margin-top: 24px;
    font-size: 22px;
  }

  .solutions-heading {
    margin-bottom: 26px;
  }

  .solution-card {
    padding: 24px;
    row-gap: 16px;
  }

  .solution-title {
    font-size: 25px;
    line-height: 1.22;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
  }

  .solution-intro {
    padding: 18px;
  }

  .solution-icon {
    width: 26px;
    height: 26px;
  }

  .solution-question {
    padding: 12px 14px;
    font-size: 16px;
  }

  .solution-question-group {
    gap: 8px;
    margin-bottom: 14px;
  }

  .solution-intro,
  .solution-points,
  .solution-media {
    grid-column: 1;
  }

  .solution-points,
  .solution-media {
    grid-row: auto;
  }

  .solution-points div {
    padding: 16px;
  }

  .solution-media {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .why-copy h2 {
    margin-bottom: 20px;
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.18;
  }

  .why-copy p {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.78;
  }

  .why-copy .why-lead {
    font-size: 20px;
  }

  .why-copy .why-statement {
    margin-top: 26px;
    font-size: 19px;
  }

  .why-copy .why-closing {
    margin-top: 26px;
    padding-left: 14px;
  }

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

  .hero-metrics div {
    padding: 14px;
  }

  .section,
  .studio-section,
  .profile-section,
  .portfolio-section,
  .equipment-section,
  .contact-section {
    padding: 52px 20px;
  }

  .profile-page,
  .portfolio-page,
  .equipment-page,
  .contact-page {
    padding-top: var(--mobile-header-height);
  }

  .profile-badge {
    max-width: 180px;
  }

  .address-row,
  .privacy-box,
  .upload-link-box {
    display: grid;
    grid-template-columns: 1fr;
  }

  .record-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .performance-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .record-photo {
    width: min(300px, 100%);
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .record-photos {
    width: min(300px, 100%);
  }

  main .record-photo > img {
    width: 100%;
    height: 100%;
    max-width: 100%;
  }

  .record-subphotos {
    display: flex;
  }

  main .record-subphoto img {
    width: 68px;
    height: 68px;
    max-width: none;
  }
}

@media (max-width: 1180px) {
  .record-item {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* iPhone 16 Pro Max footer/action layout. */
@media (max-width: 440px) {
  body {
    padding-bottom: 0;
  }

  .hero-metrics {
    display: none;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    min-height: 0;
    padding: 18px;
  }

  .site-footer h2 {
    font-size: 18px;
  }

  .footer-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .footer-actions .social-link {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .footer-actions .button {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    min-height: 42px;
    padding: 0 14px;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-links,
  .menu-toggle span {
    transition: none;
  }
}

.service-title {
  display: grid;
  grid-template-columns: 40px auto;
  gap: 12px;
}

.service-icon {
  width: 0.9em;
  height: 0.9em;
  flex-shrink: 0;
  opacity: 1;
  vertical-align: middle;
}

@media (max-width: 1200px) {
  .hero-actions-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* iPhone 16 Pro Max service action grid. */
@media (max-width: 440px) {
  .hero-actions-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: var(--mobile-header-height);
    padding: 13px 18px;
  }

  .header-inner {
    gap: 12px;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .nav-links {
    position: fixed;
    top: var(--mobile-header-height);
    left: 0;
    z-index: 190;
    display: flex;
    width: 100%;
    height: calc(100vh - var(--mobile-header-height));
    height: calc(100dvh - var(--mobile-header-height));
    margin: 0;
    padding: 28px 20px 40px;
    background: rgba(3, 3, 3, 0.97);
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    transform: translateY(-100%);
    transition: transform 0.28s ease;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    border-top: 1px solid var(--line);
    overflow-y: auto;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 58px;
    width: 100%;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 18px;
  }

  .nav-links.open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  #hero-title {
    width: 100%;
    max-width: 100%;
    font-size: clamp(38px, 10vw, 44px);
    line-height: 1.04;
  }

  .hero h2 {
    font-size: clamp(13px, 3.5vw, 18px);
  }
}
