/* Honesty Wild — v2 tokens
   Defenso-inspired: white canvas, monochrome UI.
   Chroma lives in photography only. */

:root {
  --canvas: #ffffff;
  --canvas-2: #f7f7f8;
  --footer: #f1f1f1;
  --ink: #000000;
  --ink-ui: #1d1d1f;
  --grey: #86868b;
  --mute: #6e6e73;
  --line: #e8e8ed;
  --paper: #ffffff;

  --font: "Pretendard Variable", "Pretendard", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-latin: "Inter", "Pretendard Variable", "Pretendard", ui-sans-serif, system-ui, sans-serif;

  --fs-h1: 36px;
  --fs-h2: 32px;
  --fs-body: 13px;
  --fs-ui: 13px;

  --lh-display: 1.2;
  --lh-body: 1.6;
  --trk: -0.04em;
  --trk-tight: -0.05em;

  --max: 1024px;
  --nav-h: 54px;

  --r-media: 16px;
  --r-card: 10px;
  --r-btn: 8px;
  --r-badge: 8px;

  --gap: 14px;

  --ease: ease;
  --dur: 500ms;
  --dur-fast: 200ms;

  scroll-padding-top: calc(var(--nav-h) + 12px);
}

@media (min-width: 1024px) {
  :root {
    --fs-h1: 48px;
    --fs-h2: 48px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  color: var(--ink-ui);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
  overflow-wrap: break-word;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--canvas);
  color: var(--ink-ui);
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote {
  margin: 0;
}

:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

/* Language */
.kr { display: none; }
html[lang="ko"] .en { display: none; }
html[lang="ko"] .kr { display: revert; }
.block.en { display: block; }
html[lang="ko"] .block.en { display: none; }
html[lang="ko"] .block.kr { display: block; }

/* Type */
h1, .h1 {
  font-family: var(--font);
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: var(--lh-display);
  letter-spacing: var(--trk);
  color: var(--ink);
}

h2, .h2 {
  font-family: var(--font);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-display);
  letter-spacing: var(--trk);
  color: var(--grey);
}

.lede {
  font-size: var(--fs-ui);
  line-height: 1.5;
  color: var(--grey);
  font-weight: 400;
}

.lede-pin {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin: 0 0.2em 0 0.15em;
  vertical-align: -0.08em;
  color: currentColor;
  flex-shrink: 0;
}

.lede-place {
  white-space: nowrap;
}

.lede-sep {
  margin: 0 0.35em;
  opacity: 0.45;
  font-weight: 400;
}

.caption {
  font-size: var(--fs-ui);
  line-height: 1.45;
  color: var(--grey);
}

/* Layout */
.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.section {
  width: 100%;
  max-width: var(--max);
  margin: 80px auto 0;
  padding: 0 16px;
}

@media (min-width: 1024px) {
  .section { padding: 0; }
}

.section-head {
  margin-bottom: 24px;
}

@media (min-width: 1024px) {
  .section-head { margin-bottom: 40px; }
}

/* Buttons — monochrome */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.02em;
  border-radius: var(--r-btn);
  transition: opacity var(--dur-fast) var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  opacity: 0.72;
}

/* Language toggle */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 400;
  color: var(--grey);
}

.lang button {
  color: var(--grey);
  transition: opacity var(--dur-fast) var(--ease);
}

.lang button:hover { opacity: 0.4; }

.lang button.is-on {
  color: var(--ink);
}

.lang .sep {
  color: var(--line);
  user-select: none;
}

/* Official logo lockup (toucan + HONESTY WILD). Image carries the black plate. */
.badge {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  height: 36px;
  padding: 0;
  background: transparent;
  border-radius: var(--r-badge);
  overflow: hidden;
  line-height: 0;
}
.badge img,
.badge-logo {
  display: block;
  height: 36px;
  width: auto;
}
.badge:hover { opacity: 0.72; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
  line-height: 44px;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: opacity var(--dur-fast) var(--ease);
}

.nav-links a:hover { opacity: 0.4; }

/* Poster tiles */
.poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-card);
  background: #111;
  color: var(--paper);
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity var(--dur-fast) var(--ease);
}

.poster:hover img {
  opacity: 0.72;
}

.poster-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.08) 42%, rgba(0, 0, 0, 0.28) 100%);
}

.poster-copy {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.poster-copy.top {
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.poster-copy.bottom {
  left: 16px;
  right: 16px;
  bottom: 16px;
}

.poster,
.type-plate {
  container-type: inline-size;
  container-name: tile;
}
.giant {
  font-family: var(--font-latin);
  font-size: clamp(18px, 11.2cqi, 28px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.07em;
  color: #fff;
  opacity: 0.86;
  text-transform: uppercase;
  overflow: visible;
  white-space: nowrap;
  --optical-hang: 0.05em;
  margin-inline-start: calc(-1 * var(--optical-hang));
}
.giant[data-hang="round"] { --optical-hang: 0.08em; } /* C G O S Q */
.giant[data-hang="diag"]  { --optical-hang: 0.06em; } /* A V W Y */
.giant[data-hang="stem"]  { --optical-hang: 0.045em; } /* D E F H … */


.poster-kicker {
  margin-top: 6px;
  font-size: clamp(16px, 6.4cqi, 20px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.04em;
  color: #fff;
  opacity: 0.95;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: var(--trk-tight);
  color: #fff;
}

.feature-desc {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.04em;
  color: #fff;
  opacity: 0.9;
}

@media (min-width: 1024px) {
  .feature-title { font-size: 24px; }
}

/* Black value tile */
.tile-black {
  background: #000;
  border-radius: var(--r-card);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  color: var(--grey);
}

.tile-black .eyebrow {
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--grey);
  margin-bottom: 12px;
}

.tile-black h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: var(--trk-tight);
  color: var(--grey);
  margin-bottom: 12px;
}

.tile-black p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--grey);
  max-width: 34em;
}

@media (min-width: 1024px) {
  .tile-black {
    padding: 32px 28px;
    min-height: 0;
  }
  .tile-black h3 { font-size: 28px; }
}

/* Grids */
.grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}

@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.ratio-portrait { aspect-ratio: 244 / 400; }
.ratio-card { aspect-ratio: 351 / 240; }
.ratio-guide { aspect-ratio: 501 / 320; }

/* Footer */
.foot {
  background: var(--footer);
  margin-top: 0;
  padding: 40px 0 48px;
}

.foot-inner {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: baseline;
  justify-content: space-between;
}

.foot p,
.foot a {
  font-size: 13px;
  font-weight: 400;
  color: var(--grey);
}

.foot a:hover { opacity: 0.4; }

/* Fade on scroll — opacity only */
.fade {
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.fade.is-in {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .fade { opacity: 1; }
}

@media (max-width: 640px) {
  .nav-inner { gap: 16px; }
  .nav-links { gap: 16px; }
}


/* ——— Site chrome (multi-page) ——— */

.nav-links a.is-on {
  color: var(--grey);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.page-end {
  padding-bottom: 92px;
}

.page-intro {
  padding-top: 48px;
}
@media (min-width: 1024px) {
  .page-intro { padding-top: 72px; }
}

.hero-well,
.media-round {
  border-radius: var(--r-media);
  overflow: hidden;
  background: #f2f2f2;
}
.media-round img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-well {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  /* absolute slides must not collapse the well */
  min-height: 0;
}
.hero-well > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 45%;
  display: block;
}
.hero-well[data-hero-rotator] > img {
  opacity: 0;
  transition: opacity 1.4s ease;
  pointer-events: none;
}
.hero-well[data-hero-rotator] > img.is-on {
  opacity: 1;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .hero-well[data-hero-rotator] > img {
    transition: none;
  }
}

.viewport-cap {
  margin-top: 12px;
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--grey);
}

.contact-mail {
  display: inline-block;
  margin: 4px 0 14px;
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: var(--trk);
  line-height: 1.2;
  color: var(--ink);
  transition: opacity var(--dur-fast) var(--ease);
}
.contact-mail:hover { opacity: 0.4; }

.addr {
  color: var(--grey);
  font-size: 13px;
  line-height: 1.7;
}
.addr a { transition: opacity var(--dur-fast) var(--ease); }
.addr a:hover { opacity: 0.4; }

.studio-meta {
  margin-top: 20px;
  color: var(--grey);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.consult {
  margin-top: 16px;
  font-size: 13px;
  color: var(--grey);
}
.consult a {
  transition: opacity var(--dur-fast) var(--ease);
}
.consult a:hover { opacity: 0.4; }

/* Type plate — black/grey, no photograph */
.type-plate {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-card);
  background: linear-gradient(165deg, #2c2c30 0%, #141416 52%, #0b0b0c 100%);
  color: var(--paper);
  transition: opacity var(--dur-fast) var(--ease);
}
.type-plate:hover { opacity: 0.72; }
.type-plate .poster-copy {
  position: absolute;
  z-index: 1;
}

/* Case study */
.case-hero .lede {
  margin-bottom: 8px;
}
.case-hero h1 {
  max-width: 14em;
  margin-bottom: 24px;
}
@media (min-width: 1024px) {
  .case-hero h1 { margin-bottom: 32px; }
}

.prose {
  max-width: 38em;
}
.prose + .prose,
.case-block + .case-block {
  margin-top: 40px;
}
.case-block h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-latin);
  color: var(--grey);
  margin-bottom: 10px;
}
.case-block p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-ui);
  max-width: 38em;
}
.case-stills {
  margin-top: 40px;
}
.case-stills.grid-2 > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.case-stills.grid-2 .media-round {
  aspect-ratio: 16 / 9;
}

.section-head .lede { margin-top: 10px; }

/* Form */
.form {
  display: grid;
  gap: 16px;
  max-width: 560px;
  margin-top: 28px;
}
.field label {
  display: block;
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  padding: 10px 12px;
  font: inherit;
  font-size: 13px;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: -0.02em;
  appearance: none;
  border-radius: var(--r-btn);
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--grey) 50%),
                    linear-gradient(135deg, var(--grey) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 28px;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 1px solid var(--ink);
  outline-offset: 0;
  border-color: var(--ink);
}
.form-note {
  font-size: 13px;
  color: var(--grey);
  max-width: 36em;
}
.form .btn { justify-self: start; }

/* FAQ */
.faq {
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: var(--trk);
  color: var(--ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--mute);
  max-width: 38em;
}

.about-lead {
  font-size: 15px;
  line-height: 1.65;
  max-width: 38em;
  color: var(--ink-ui);
}
.about-lead + .about-lead { margin-top: 14px; }

.founder-block {
  margin-top: 8px;
}
.founder-block h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: var(--trk);
  color: var(--ink);
}
.founder-block p {
  margin-top: 8px;
  font-size: 13px;
  color: var(--grey);
}

.split-contact {
  display: grid;
  gap: 48px;
}
@media (min-width: 860px) {
  .split-contact {
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: start;
  }
}

/* Mobile nav: keep 13px, collapse Studio only when the row would wrap badly */
@media (max-width: 640px) {
  .nav-inner { gap: 12px; }
  .nav-links { gap: 14px; }
}
@media (max-width: 400px) {
  .nav-links a[data-nav="studio"] { display: none; }
}


/* Locked live-site card: 3-letter code + category kicker (variant D). */
body.look-d .giant {
  font-size: clamp(42px, 28cqi, 72px);
  letter-spacing: -0.08em;
  opacity: 0.9;
  margin-inline-start: 0;
}
body.look-d .poster-copy.top {
  top: 18px;
  left: 18px;
  right: 18px;
}
body.look-d .poster-kicker {
  margin-top: 10px;
  font-size: clamp(22px, 13cqi, 34px);
  letter-spacing: -0.05em;
  opacity: 0.95;
}
