/* ===== brotherboxing — minimal black/white/red ===== */

@font-face { font-family: 'Pretendard'; src: local('Pretendard'); }

:root {
  --black: #0a0a0a;
  --ink: #121212;
  --white: #fafafa;
  --gray: #8a8a8a;
  --line: rgba(255,255,255,.12);
  --red: #e10600;
  --red-dim: #b40500;
  --max: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  --font: 'Pretendard', 'Pretendard Variable', -apple-system, BlinkMacSystemFont,
          'Apple SD Gothic Neo', 'Noto Sans KR', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--red); color: #fff; }

/* ===== Layout ===== */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
section { padding-block: clamp(64px, 12vw, 140px); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(26px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.section-lead { color: var(--gray); margin-top: 16px; max-width: 52ch; font-size: clamp(15px,2vw,17px); }

/* ===== Header ===== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--pad);
  background: linear-gradient(to bottom, rgba(10,10,10,.85), rgba(10,10,10,0));
  transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.header.solid { background: rgba(10,10,10,.92); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.brand { font-weight: 800; font-size: 19px; letter-spacing: -.01em; display: inline-flex; align-items: center; }
.brand b { color: var(--red); }
.brand img { height: 38px; width: auto; display: block; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a { font-size: 15px; color: #ddd; transition: color .2s; }
.nav a:hover { color: var(--white); }
.nav .btn-sm { padding: 9px 18px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 2px;
  font-weight: 700; font-size: 16px; cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease;
  border: 1.5px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dim); }
.btn-ghost { border-color: var(--white); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--black); }
.btn-sm { padding: 10px 20px; font-size: 14px; border-radius: 2px; background: var(--red); color:#fff; font-weight:700; }
.btn-sm:hover { background: var(--red-dim); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-bottom: clamp(56px, 10vh, 110px);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(10,10,10,.96) 0%, rgba(10,10,10,.55) 45%, rgba(10,10,10,.25) 100%),
    linear-gradient(to right, rgba(10,10,10,.7), rgba(10,10,10,.1));
}
.hero-inner { max-width: 900px; }
.hero h1 {
  font-size: clamp(34px, 8vw, 82px);
  font-weight: 900; line-height: 1.05; letter-spacing: -.03em;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--red); }
.hero p { margin-top: 22px; font-size: clamp(16px, 2.4vw, 21px); color: #e7e7e7; max-width: 40ch; }
.hero-cta { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: .25em; color: var(--gray); text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint span { width: 1px; height: 36px; background: linear-gradient(var(--red), transparent); animation: drop 1.8s infinite; }
@keyframes drop { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ===== Why / Statement ===== */
.statement { background: var(--ink); border-block: 1px solid var(--line); }
.statement .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.statement .copy p { color: #cfcfcf; margin-top: 18px; font-size: clamp(16px,2.2vw,19px); line-height: 1.7; }
.statement .visual { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.statement .visual img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.1) contrast(1.05); }
.statement .visual::after { content:''; position:absolute; inset:0; border:1px solid var(--line); }

/* ===== Features ===== */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); margin-top: 54px; border: 1px solid var(--line); }
.feature { background: var(--black); padding: clamp(26px, 4vw, 44px); position: relative; overflow: hidden; }
.feature .num { font-size: 13px; font-weight: 800; color: var(--red); letter-spacing: .2em; }
.feature h3 { font-size: clamp(20px, 3vw, 26px); font-weight: 800; margin: 14px 0 10px; }
.feature p { color: var(--gray); font-size: 15px; }
.feature .thumb { margin-top: 22px; aspect-ratio: 1/1; overflow: hidden; background: #fff; }
.feature .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feature:hover .thumb img { transform: scale(1.05); }

/* ===== Process ===== */
.process { background: var(--ink); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); margin-top: 54px; border:1px solid var(--line); }
.step { background: var(--ink); padding: clamp(24px,3vw,36px); }
.step .step-n { font-size: clamp(40px,6vw,64px); font-weight: 900; color: rgba(225,6,0,.9); line-height: 1; letter-spacing: -.04em; }
.step h4 { font-size: clamp(17px,2.4vw,21px); font-weight: 800; margin: 16px 0 8px; }
.step p { color: var(--gray); font-size: 14px; }

/* ===== Gallery preview ===== */
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; }
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 48px; }
.preview-grid a { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #111; }
.preview-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.preview-grid a:hover img { transform: scale(1.06); }
.preview-more { text-align: center; margin-top: 40px; }

/* ===== CTA ===== */
.cta { text-align: center; background:
  radial-gradient(120% 100% at 50% 0%, rgba(225,6,0,.18), transparent 60%), var(--black); }
.cta h2 { font-size: clamp(28px, 6vw, 60px); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; }
.cta h2 .accent { color: var(--red); }
.cta p { color: var(--gray); margin-top: 18px; font-size: clamp(16px,2.4vw,19px); }
.contact-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.contact-btns .btn { min-width: 200px; justify-content: center; }
.contact-btns .kakao { background: #FEE500; color: #181600; border:0; }
.contact-btns .kakao:hover { background: #f5dc00; }
.contact-note { margin-top: 22px; font-size: 13px; color: var(--gray); }

/* ===== Footer ===== */
.footer { background: #060606; border-top: 1px solid var(--line); padding-block: 60px 40px; }
.footer .f-top { display:flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.footer .brand { font-size: 24px; }
.footer .brand img { height: 56px; }
.footer .f-links { display: flex; gap: 26px; font-size: 14px; color: var(--gray); }
.footer .f-links a:hover { color: var(--white); }
.biz-info { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line);
  color: #6f6f6f; font-size: 12.5px; line-height: 1.9; }
.biz-info b { color: #9a9a9a; font-weight: 600; }
.biz-info .row { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.copyright { margin-top: 24px; color: #555; font-size: 12px; }

/* ===== Gallery page ===== */
.page-hero { padding: 140px var(--pad) 60px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(32px,7vw,64px); font-weight: 900; letter-spacing: -.03em; }
.page-hero p { color: var(--gray); margin-top: 14px; }
.masonry { columns: 4; column-gap: 12px; padding: 40px var(--pad) 100px; }
.masonry .cell { break-inside: avoid; margin-bottom: 12px; overflow: hidden; background: #111; cursor: zoom-in; position: relative; }
.masonry img { width: 100%; height: auto; transition: transform .5s ease, opacity .4s ease; opacity: 0; }
.masonry img.loaded { opacity: 1; }
.masonry .cell:hover img { transform: scale(1.04); }

/* ===== Lightbox ===== */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.95);
  display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.08); border: 1px solid var(--line);
  color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-close { top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%; font-size: 22px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; font-size: 26px; }
.lb-nav.prev { left: 18px; } .lb-nav.next { right: 18px; }
.lb-close:hover, .lb-nav:hover { background: var(--red); border-color: var(--red); }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-size: 13px; color: var(--gray); letter-spacing: .1em; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .statement .grid { grid-template-columns: 1fr; }
  .statement .visual { aspect-ratio: 16/10; order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .masonry { columns: 3; }
}
@media (max-width: 680px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    background: var(--ink); flex-direction: column; justify-content: center; gap: 26px;
    transform: translateX(100%); transition: transform .35s ease; border-left: 1px solid var(--line); }
  .nav.open { transform: none; }
  .nav a { font-size: 20px; }
  .nav-toggle { display: block; z-index: 60; }
  .features-grid { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-btns .btn { width: 100%; }
  .masonry { columns: 2; column-gap: 8px; }
  .masonry .cell { margin-bottom: 8px; }
  .scroll-hint { display: none; }
}
@media (max-width: 400px) { .steps { grid-template-columns: 1fr; } }
