.mobile-only { display: none; }

:root {
  --bg: #f5f1ea;
  --text: #161616;
  --muted: #777;
  --white: #fff;
  --black: #0e0e0e;
  --line: rgba(0, 0, 0, 0.12);
  --line-light: rgba(255, 255, 255, 0.24);
  --kakao: #fee500;
  --kakao-text: #181600;
  --deep: #17383d;
  --gray: #ece7dd;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  --content-side-padding: max(48px, calc((100vw - 1200px) / 2));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  line-height: 1.6;
}

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

button {
  font: inherit;
}

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

.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  padding: 0 max(48px, calc((100vw - 1200px) / 2));
  color: var(--text);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line-light);
  transition: background 0.25s ease, height 0.25s ease, color 0.25s ease;
}

.site-header.is-scrolled {
  height: 78px;
  color: var(--text);
  background: rgba(245, 241, 234, 0.94);
  border-bottom-color: rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.brand img {
  display: block;
  height: 48px;
  width: auto;
  align-self: flex-start;
}

.brand span {
  font-size: 26px;
}

.brand small {
  margin-top: 5px;
  font-size: 11px;
  letter-spacing: 0.18em;
  opacity: 0.72;
}

.desktop-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: clamp(18px, 2.8vw, 44px);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.2s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.is-current::after {
  width: 100%;
}

.header-contact {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  color: var(--kakao-text);
  background: var(--kakao);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.mobile-nav {
  position: fixed;
  top: 78px;
  left: 0;
  right: 0;
  z-index: 90;
  display: none;
  flex-direction: column;
  padding: 18px 24px 26px;
  background: rgba(245, 241, 234, 0.98);
  border-bottom: 1px solid var(--line);
}

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

.mobile-nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background: #111;
}

.hero-slider,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s ease, transform 1.4s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.62), rgba(0,0,0,0.2) 48%, rgba(0,0,0,0.42)),
    linear-gradient(180deg, rgba(0,0,0,0.48), transparent 34%, rgba(0,0,0,0.42));
}

.hero-copy {
  position: absolute;
  left: max(48px, calc((100vw - 1200px) / 2));
  top: 50%;
  transform: translateY(calc(-50% + 46px));
  z-index: 5;
  width: min(1100px, calc(100% - 56px));
}

.hero-kicker {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.07em;
  word-break: keep-all;
}

.hero-copy p:not(.hero-kicker) {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255,255,255,0.8);
  font-size: 19px;
  word-break: keep-all;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 950;
}

.btn.solid {
  color: var(--kakao-text);
  background: var(--kakao);
}

.btn.ghost {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.6);
}

.hero-side-menu {
  position: absolute;
  right: clamp(26px, 5vw, 84px);
  bottom: clamp(110px, 17vh, 196px);
  z-index: 5;
  display: grid;
  gap: 11px;
  width: 270px;
}

.hero-side-menu a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.28);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.hero-side-menu a:hover {
  color: #fff;
}

.hero-side-menu span {
  font-size: 12px;
  opacity: 0.7;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  transform: translateY(-50%);
  color: #fff;
  background: rgba(0,0,0,0.24);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

.hero-arrow.prev {
  left: 36px;
}

.hero-arrow.next {
  right: 36px;
}

.hero-dots {
  position: absolute;
  left: clamp(28px, 7vw, 110px);
  bottom: 52px;
  z-index: 6;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 36px;
  height: 3px;
  padding: 0;
  background: rgba(255,255,255,0.36);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.hero-dots button.is-active {
  width: 58px;
  background: var(--kakao);
}

.scroll-mark {
  position: absolute;
  right: 48px;
  bottom: 48px;
  z-index: 5;
  writing-mode: vertical-rl;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.72);
}

.section {
  padding: clamp(84px, 10vw, 140px) var(--content-side-padding);
}

.section-title {
  margin-bottom: 42px;
}

.section-title.centered {
  text-align: center;
}

.section-title p {
  margin: 0 0 10px;
  color: var(--deep);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.section-title span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
}

.story-section {
  background: #fff;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.story-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 4px;
}

.story-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.story-content h3 {
  margin: 0;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.06em;
  word-break: keep-all;
}

.story-content p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  word-break: keep-all;
}

.story-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.story-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  color: #fff;
  background: var(--deep);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
}

.portfolio-section {
  background: var(--gray);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 290px;
  gap: 18px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  background: #ddd;
}

.portfolio-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.portfolio-item.wide {
  grid-column: span 2;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.portfolio-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.66), transparent 52%);
  opacity: 0.9;
}

.portfolio-item:hover img {
  transform: scale(1.06);
}

.portfolio-item div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  color: #fff;
}

.portfolio-item strong {
  display: block;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.portfolio-item span {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.portfolio-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  padding: 28px 32px;
  color: #024422;
  background: #03C75A;
}

.portfolio-cta p {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  word-break: keep-all;
}

.portfolio-cta p strong {
  font-weight: 800;
}

.portfolio-cta a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  color: #fff;
  background: #024422;
  border-radius: 999px;
  font-weight: 700;
}

.sns-section {
  background: #fff;
}

.sns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.sns-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(0,0,0,0.08);
}

.sns-thumb {
  height: 300px;
  overflow: hidden;
  background: #ddd;
}

.sns-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sns-body {
  padding: 30px;
}

.sns-body span {
  color: var(--deep);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.sns-body h3 {
  margin: 12px 0;
  font-size: 26px;
  line-height: 1.22;
  letter-spacing: -0.055em;
  word-break: keep-all;
}

.sns-body p {
  margin: 0;
  color: var(--muted);
  word-break: keep-all;
}

.sns-body a {
  display: inline-flex;
  margin-top: 24px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--deep);
  font-weight: 950;
}

.contact-section {
  color: #fff;
  background: var(--deep);
}

.contact-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.contact-inner p {
  margin: 0 0 10px;
  color: var(--kakao);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.contact-inner h2 {
  margin: 0;
  font-size: clamp(48px, 7vw, 94px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.contact-inner span {
  display: block;
  margin-top: 18px;
  color: rgba(255,255,255,0.75);
  font-size: 18px;
}

.contact-kakao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  height: 58px;
  color: var(--kakao-text);
  background: var(--kakao);
  border-radius: 999px;
  font-weight: 950;
}

.contact-check {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 38px;
  background: rgba(255,255,255,0.16);
}

.contact-check article {
  padding: 28px;
  background: rgba(255,255,255,0.12);
}

.contact-check strong {
  display: block;
  color: var(--kakao);
  font-size: 28px;
}

.contact-check span {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  word-break: keep-all;
}

.contact-check p {
  margin: 10px 0 0;
  color: rgba(255,255,255,0.68);
  font-size: 17px;
  line-height: 1.6;
  word-break: keep-all;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px var(--content-side-padding);
  color: #fff;
  background: #0e0e0e;
}

.site-footer strong {
  display: block;
  font-size: 24px;
}

.site-footer span {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  letter-spacing: 0.04em;
}

.site-footer nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  transition: color 0.2s, border-color 0.2s;
}

.footer-icons a:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

.floating-kakao {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 110;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  color: var(--kakao-text);
  background: var(--kakao);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.22);
}

@media (max-width: 1160px) {
  .site-header {
    padding: 0 28px;
  }

  .desktop-nav {
    gap: 18px;
    font-size: 13px;
  }

  .hero-side-menu {
    display: none;
  }

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

}

@media (max-width: 860px) {
  :root {
    --content-side-padding: 24px;
  }

  .site-header {
    grid-template-columns: 1fr 52px;
    height: 78px;
    color: var(--text);
    background: rgba(245, 241, 234, 0.94);
    border-bottom-color: rgba(0, 0, 0, 0.08);
    padding: 0 20px;
  }

  .brand img {
    height: 34px;
  }

  .desktop-nav,
  .header-contact {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .hero {
    min-height: auto;
    height: 590px;
  }

  .hero-copy {
    left: 24px;
    right: 24px;
    top: calc(50% + 39px);
    bottom: auto;
    width: auto;
    transform: translateY(-50%);
  }

  .hero-copy p:not(.hero-kicker) {
    font-size: 16px;
  }

  .mobile-only { display: inline; }

  .contact-check span {
    font-size: 21px;
  }

  .contact-check p {
    font-size: 17px;
  }

  .hero-actions,
  .portfolio-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .portfolio-cta a {
    width: 100%;
  }

  .hero-arrow {
    display: none;
  }

  .hero-dots {
    left: 24px;
    bottom: 34px;
  }

  .scroll-mark {
    display: none;
  }

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

  .portfolio-grid {
    grid-auto-rows: 260px;
  }

  .portfolio-item.large,
  .portfolio-item.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .contact-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-kakao {
    width: 100%;
  }

  .contact-check {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 34px var(--content-side-padding) 92px;
  }

  .floating-kakao {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 560px) {
  :root {
    --content-side-padding: 20px;
  }

  .brand span {
    font-size: 22px;
  }

  .brand img {
    max-height: 44px;
    width: auto;
  }

  .section {
    padding: 72px var(--content-side-padding);
  }

  .section-title h2 {
    font-size: 40px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero {
    height: 550px;
  }

  .hero-copy {
    top: calc(50% + 39px);
    transform: translateY(-50%);
  }

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

  .story-content h3,
  .contact-inner h2 {
    font-size: 38px;
  }
}


/* Portfolio links */
.portfolio-item {
  display: block;
  color: inherit;
  cursor: pointer;
}

.portfolio-item::before {
  content: "BLOG";
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 3;
  padding: 7px 10px;
  color: var(--kakao-text);
  background: var(--kakao);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.portfolio-item:hover::before {
  opacity: 1;
  transform: translateY(0);
}

/* ── story.html ─────────────────────────────────────────────────────────── */

.page-hero {
  position: relative;
  background: url('../assets/juan-1.jpg') center/cover no-repeat;
  color: #fff;
  height: clamp(400px, 44vw, 540px);
  padding: 92px var(--content-side-padding) 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero .page-label {
  margin: 0 0 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  opacity: 0.55;
}

.page-hero h1 {
  margin: 0 0 28px;
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.07em;
  font-weight: 950;
}

.page-hero .hero-sub {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 21px);
  opacity: 0.65;
  font-weight: 400;
  letter-spacing: 0;
}

.features-section {
  background: var(--bg);
  padding: clamp(64px, 7.5vw, 100px) var(--content-side-padding);
}

.features-intro {
  max-width: 560px;
  margin: 0 0 clamp(24px, 3vw, 36px);
}

.features-intro-heading {
  margin: 0 0 16px;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: -0.05em;
  word-break: keep-all;
}

.features-intro-text {
  margin: 0;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.8;
  color: var(--muted);
  word-break: keep-all;
}

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

.feature-card {
  background: #fff;
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.6vw, 36px) clamp(32px, 3.5vw, 48px);
  border-right: 2px solid var(--line);
}

.feature-card:last-child {
  border-right: none;
}

.feat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.feature-card .feat-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--deep);
  opacity: 0.5;
}

.feature-card .feat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--deep);
  color: #fff;
}

.feature-card h3 {
  margin: 0 0 20px;
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

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

.feature-card ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  word-break: keep-all;
}

.feature-card ul li:last-child {
  margin-bottom: 0;
}

.feature-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 1px;
  background: var(--deep);
}

.story-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.story-images img {
  width: 100%;
  height: clamp(240px, 30vw, 420px);
  object-fit: cover;
  display: block;
}

.story-cta-section {
  background: #fff;
  padding: clamp(72px, 8vw, 110px) var(--content-side-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.story-cta-section h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: -0.05em;
  line-height: 1.15;
  word-break: keep-all;
}

@media (max-width: 860px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .story-images {
    grid-template-columns: 1fr;
  }

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

  .story-cta-section .btn {
    width: 100%;
  }
}

@media (max-width: 860px) and (max-height: 760px) {
  .hero {
    height: 640px;
  }
}

/* ── Portfolio page ────────────────────────────────── */
.portfolio-section-hd {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.portfolio-section-hd h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 950;
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.portfolio-section-hd p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.portfolio-yt-section {
  padding: clamp(64px, 7.5vw, 100px) var(--content-side-padding);
  background: var(--bg);
}

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

.yt-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}

.yt-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.page-hero--portfolio {
  background-image: url('../assets/bathroom-01.jpg');
}

.page-hero--contact {
  background-image: url('../assets/bathroom-02.jpg');
}

.contact-map {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 38px 0 0;
  padding: 24px 28px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
}

.contact-map-info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 16px;
}

.contact-map-info svg {
  flex-shrink: 0;
  color: var(--kakao);
}

.contact-map-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  background: var(--kakao);
  color: var(--kakao-text);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.contact-section--page .contact-inner h2 {
  font-size: clamp(28px, 3.5vw, 48px);
}

.contact-yt-section {
  padding: clamp(64px, 7.5vw, 100px) var(--content-side-padding);
  background: var(--bg);
}

.contact-yt-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 60px);
  align-items: center;
}

.contact-yt-text h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 950;
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.contact-yt-text p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  word-break: keep-all;
}

@media (max-width: 700px) {
  .contact-yt-inner {
    grid-template-columns: 1fr;
  }
}

.portfolio-page-section {
  padding: clamp(64px, 7.5vw, 100px) var(--content-side-padding);
  background: var(--gray);
}

.portfolio-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(220px, 22vw, 320px);
  gap: 18px;
  margin-bottom: 30px;
}

@media (max-width: 700px) {
  .portfolio-yt-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-page-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }
}

@media (max-width: 480px) {
  .portfolio-page-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }
}
