/* ==========================================================
   TONE BREWERS — one-page site
   Tokens: 색과 서체는 여기서 한 번에 바꿀 수 있습니다.
   ========================================================== */
:root {
  --cream: #F3F0E9;
  --cream-2: #EAE6DC;
  --ink: #1E1E20;
  --ink-2: #3A3835;
  --muted: #6B675F;
  --line: #CFC9BC;
  --dark: #1F1F21;
  --on-dark: #F3F0E9;
  --on-dark-2: #CFCAC0;
  --on-dark-muted: #A8A399;
  --accent: #D4501C;        /* 대형 타이포·포인트 */
  --accent-text: #B8410F;   /* 작은 글씨용 (대비 확보) */
  --accent-on-dark: #F09A6E;

  --sans: 'Noto Sans KR', 'Instrument Sans', system-ui, sans-serif;
  --latin: 'Instrument Sans', 'Noto Sans KR', system-ui, sans-serif;
  --serif: 'Noto Serif KR', serif;

  --gutter: clamp(20px, 4.5vw, 64px);
  --max: 1312px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-text); }
h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.label {
  font-family: var(--latin); font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; color: var(--muted);
}
.dark { background: var(--dark); color: var(--on-dark); }
.dark .label { color: var(--on-dark-muted); }
.dark a:hover { color: var(--accent-on-dark); }

/* ---------- Header ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px var(--gutter);
}
.logo { font-family: var(--latin); font-weight: 700; font-size: 17px; letter-spacing: 0.02em; }
.nav { display: flex; gap: 32px; font-family: var(--latin); font-size: 14px; font-weight: 500; letter-spacing: 0.04em; }

/* ---------- 01 Hero ---------- */
.hero { position: relative; height: clamp(560px, 56vw, 900px); overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 60%; }
.hero-copy {
  position: absolute; left: var(--gutter); top: 44%; max-width: 520px;
  display: flex; flex-direction: column; gap: 18px;
}
.hero h1 {
  font-family: var(--latin); font-weight: 600; font-size: clamp(40px, 4.6vw, 72px);
  line-height: 1.02; letter-spacing: -0.02em; color: var(--accent);
}
.hero p { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.7; color: var(--ink-2); }

/* ---------- 02 Approach ---------- */
.approach { padding-top: clamp(96px, 10vw, 160px); padding-bottom: clamp(80px, 8vw, 128px); }
.approach .label { margin-bottom: 40px; }
.approach-row { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); align-items: flex-end; }
.approach h2 { flex: 1 1 480px; font-weight: 700; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.3; letter-spacing: -0.02em; }
.approach-row p { flex: 1 1 360px; font-family: var(--serif); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.95; color: var(--ink-2); }
.approach-row strong { font-weight: 600; color: var(--ink); }
.divider { display: flex; align-items: center; margin-top: clamp(72px, 8vw, 120px); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.divider span { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.statement {
  margin-top: clamp(56px, 6vw, 88px); text-align: center; font-weight: 700;
  font-size: clamp(26px, 3vw, 44px); line-height: 1.45; letter-spacing: -0.02em;
}
.statement em { font-style: normal; color: var(--accent); }

/* ---------- 03 Who we are ---------- */
.who { display: flex; flex-wrap: wrap; align-items: stretch; }
.who-media { flex: 1 1 520px; min-height: clamp(360px, 44vw, 640px); position: relative; overflow: hidden; }
.who-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.who-copy {
  flex: 1 1 420px; display: flex; flex-direction: column; justify-content: center; gap: 28px;
  padding: clamp(56px, 7vw, 112px) clamp(20px, 5vw, 88px);
}
.who h2 { font-weight: 700; font-size: clamp(28px, 2.9vw, 42px); line-height: 1.42; letter-spacing: -0.02em; }
.who h2 em { font-style: normal; color: var(--accent-on-dark); }
.who p { max-width: 440px; font-family: var(--serif); font-size: 16px; line-height: 1.9; color: var(--on-dark-2); }

/* ---------- 04 What we do ---------- */
.services { padding-top: clamp(96px, 10vw, 152px); padding-bottom: clamp(96px, 10vw, 152px); }
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px;
  margin-bottom: clamp(48px, 5vw, 80px);
}
.display { font-family: var(--latin); font-weight: 700; font-size: clamp(40px, 4.4vw, 64px); letter-spacing: -0.03em; line-height: 1; }
.services .section-head p { font-size: 15px; color: var(--muted); line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.service { border-top: 1px solid var(--ink); padding-top: 28px; display: flex; flex-direction: column; gap: 22px; }
.service-title { display: flex; justify-content: space-between; align-items: baseline; }
.service h3 { font-family: var(--latin); font-weight: 600; font-size: 26px; color: var(--accent-text); }
.service-title span { font-family: var(--latin); font-size: 13px; color: var(--muted); }
.service ul { display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: var(--ink-2); }

/* ---------- 05 Director ---------- */
.director { background: var(--cream-2); }
.director .wrap {
  padding-top: clamp(88px, 9vw, 144px); padding-bottom: clamp(88px, 9vw, 144px);
  display: flex; flex-wrap: wrap; gap: clamp(48px, 6vw, 104px); align-items: center;
}
.director figure { flex: 1 1 360px; max-width: 520px; display: flex; flex-direction: column; gap: 12px; }
.director figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 62% 30%; }
.director figcaption { font-size: 13px; color: var(--muted); }
.director-copy { flex: 1 1 440px; display: flex; flex-direction: column; gap: 32px; }
.director h2 { font-weight: 700; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.35; letter-spacing: -0.02em; }
.director-copy > p { font-family: var(--serif); font-size: 16px; line-height: 1.9; color: var(--ink-2); max-width: 480px; }
.career { border-top: 1px solid var(--line); }
.career li { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.career strong { flex: 0 0 160px; font-weight: 700; }
.career span { flex: 1 1 220px; color: var(--ink-2); }

/* ---------- 06 Film ---------- */
.film .wrap {
  padding-top: clamp(88px, 9vw, 144px); padding-bottom: clamp(80px, 8vw, 128px);
  display: flex; flex-direction: column; gap: clamp(40px, 4vw, 64px);
}
.film-head-left { display: flex; flex-direction: column; gap: 20px; }
.film .section-head { margin-bottom: 0; gap: 28px; }
.film .section-head p { max-width: 420px; font-family: var(--serif); font-size: 16px; line-height: 1.9; color: var(--on-dark-2); }
.film figure { display: flex; flex-direction: column; gap: 14px; }
.video {
  position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden;
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer;
  background: #000; color: var(--on-dark);
}
.video-play img { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; transition: opacity .3s ease, transform .6s ease; }
.video-play:hover img { opacity: 1; transform: scale(1.015); }
.video-play .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 14px;
  padding: 0 28px 0 22px; height: 60px; border-radius: 999px;
  background: rgba(31, 31, 33, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-family: var(--latin); font-size: 15px; font-weight: 600; letter-spacing: 0.04em;
  transition: background .2s ease;
}
.video-play:hover .play { background: var(--accent-text); }
.film figcaption {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-family: var(--latin); font-size: 13px; color: var(--on-dark-muted); letter-spacing: 0.04em;
}

/* ---------- 07 Contact ---------- */
.contact .wrap { padding-top: clamp(88px, 9vw, 144px); padding-bottom: clamp(48px, 4vw, 64px); display: flex; flex-direction: column; }
.contact-intro { font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.contact-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-top: clamp(40px, 4vw, 64px); }
.contact h2 {
  font-family: var(--latin); font-weight: 400; font-size: clamp(56px, 11vw, 176px);
  line-height: 0.98; letter-spacing: -0.045em;
}
.contact h2 em { font-style: normal; color: var(--accent); }
.big-arrow { flex: 0 0 auto; width: clamp(56px, 11vw, 168px); color: var(--accent); transition: transform .3s ease; }
.big-arrow:hover { color: var(--accent); transform: translate(6px, -6px); }
.big-arrow svg { display: block; width: 100%; height: auto; }
.contact-rule { height: 1px; background: var(--line); margin-top: clamp(56px, 6vw, 88px); }
.contact-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; padding-top: 28px; }
.contact-person { display: flex; flex-direction: column; gap: 10px; }
.contact-name { display: flex; gap: 14px; font-size: 13px; color: var(--muted); }
.contact-name b { color: var(--ink); font-weight: 500; }
.contact-name span { font-family: var(--latin); }
.contact-email {
  display: inline-flex; align-items: center; gap: 20px;
  font-family: var(--latin); font-size: clamp(20px, 2.3vw, 32px); letter-spacing: -0.01em;
  word-break: break-all;
}
.contact-email svg { flex: 0 0 auto; }
.contact-tel { font-family: var(--latin); font-size: 14px; letter-spacing: 0.02em; }

.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-bottom: 32px; font-family: var(--latin); font-size: 12px; letter-spacing: 0.04em; color: var(--muted);
}
.site-footer b { color: var(--ink); }

/* ---------- Mobile ---------- */
/* 태블릿·모바일: 메인 이미지 아래로 문구를 내려 겹침 방지 */
@media (max-width: 1024px) {
  .hero { height: auto; display: flex; flex-direction: column; }
  .hero img { position: relative; height: 62vw; min-height: 300px; object-position: 64% 60%; margin-top: 72px; }
  .hero-copy { position: static; max-width: none; padding: 36px var(--gutter) 8px; }
}
@media (max-width: 760px) {
  .site-header { padding-top: 20px; padding-bottom: 20px; }
  .nav { display: none; }
  .hero img { height: 72vw; margin-top: 64px; }
  .contact-main { flex-direction: column-reverse; }
  .big-arrow { align-self: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
