:root {
  --paper: #f2efe7;
  --ink: #11120f;
  --line: rgba(17, 18, 15, 0.2);
  --green: #4caf38;
  --soft-green: #d7edcd;
  --orange: #ee5b36;
  --max: 1600px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 2rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: block;
  width: 2.574rem;
  line-height: 0;
}

.wordmark img {
  width: 100%;
  height: auto;
}

nav {
  display: flex;
  gap: 2.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

nav a,
footer > a {
  transition: opacity 160ms ease;
}

nav a:hover,
footer > a:hover {
  opacity: 0.5;
}

.hero {
  display: flex;
  min-height: 100svh;
  max-width: var(--max);
  margin: 0 auto;
  padding: 8rem 2rem 2.5rem;
  flex-direction: column;
  justify-content: space-between;
}

.eyebrow,
.section-label,
.project-number {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 10ch;
  margin: auto 0;
  font-size: clamp(4rem, 10.4vw, 10.5rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.085em;
}

.hero h1 em {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-foot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.hero-foot p {
  margin: 0;
  font-size: clamp(0.95rem, 1.15vw, 1.2rem);
}

.round-link {
  display: flex;
  width: 8.5rem;
  height: 8.5rem;
  padding: 1rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.round-link:hover {
  background: var(--ink);
  color: var(--paper);
  transform: rotate(4deg);
}

.marquee {
  overflow: hidden;
  padding: 1rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  white-space: nowrap;
}

.marquee div {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2rem;
  padding-left: 2rem;
  font-size: clamp(1.15rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  animation: drift 22s linear infinite;
}

.marquee i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green);
}

@keyframes drift {
  to { transform: translateX(-40%); }
}

.section-pad {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8rem 2rem;
}

.section-head {
  display: grid;
  margin-bottom: 7rem;
  grid-template-columns: 1fr 2fr;
}

.section-head h2,
.studio h2,
.company h2,
.contact h2 {
  margin: 0;
  font-size: clamp(3rem, 6.3vw, 6.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.project {
  display: grid;
  padding: 2rem 0 8rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(20rem, 0.65fr);
  gap: clamp(2rem, 7vw, 9rem);
  border-top: 1px solid var(--ink);
}

.project + .project {
  padding-top: 2rem;
}

.project-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #f8f6f0;
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project:hover .project-visual img {
  transform: scale(1.02);
}

.status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project-copy {
  display: flex;
  flex-direction: column;
}

.project-copy h3 {
  margin: auto 0 1rem;
  font-size: clamp(3.5rem, 7vw, 7.4rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.project-lede {
  margin: 1.2rem 0 0;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.project-body {
  max-width: 30rem;
  margin: 1.2rem 0 2rem;
  color: rgba(17, 18, 15, 0.68);
  font-size: 0.98rem;
  word-break: keep-all;
}

.tags {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
}

.tags li {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.project-camera {
  padding-bottom: 0;
}

.project-camera .project-visual {
  grid-column: 2;
  grid-row: 1;
}

.project-camera .project-copy {
  grid-column: 1;
  grid-row: 1;
}

.studio {
  max-width: none;
  background: var(--ink);
  color: var(--paper);
}

.studio > * {
  max-width: calc(var(--max) - 4rem);
  margin-right: auto;
  margin-left: auto;
}

.studio-intro {
  display: grid;
  margin-top: 6rem;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 4rem;
}

.studio-intro > div {
  padding-top: 0.7rem;
}

.studio-intro p {
  max-width: 35rem;
  margin: 0 0 2rem;
  color: rgba(242, 239, 231, 0.65);
  word-break: keep-all;
}

.studio-intro .studio-lede {
  color: var(--paper);
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.principles {
  display: grid;
  margin-top: 8rem;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.principles li {
  display: grid;
  min-height: 15rem;
  padding: 1.25rem;
  border-top: 1px solid rgba(242, 239, 231, 0.3);
  border-right: 1px solid rgba(242, 239, 231, 0.3);
}

.principles li:last-child {
  border-right: 0;
}

.principles span {
  font-size: 0.7rem;
}

.principles strong {
  align-self: end;
  font-size: clamp(1.5rem, 2.4vw, 2.5rem);
  letter-spacing: -0.05em;
}

.principles small {
  color: rgba(242, 239, 231, 0.5);
}

.company {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.company dl {
  margin: 0;
  border-top: 1px solid var(--ink);
}

.company dl div {
  display: grid;
  padding: 1.25rem 0;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.company dt {
  color: rgba(17, 18, 15, 0.55);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.company dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
}

.company h2 {
  margin-top: 5rem;
}

.contact {
  display: grid;
  max-width: none;
  padding-right: max(2rem, calc((100vw - var(--max)) / 2 + 2rem));
  padding-left: max(2rem, calc((100vw - var(--max)) / 2 + 2rem));
  grid-template-columns: 1fr 1fr;
  gap: clamp(4rem, 10vw, 12rem);
  background: var(--green);
}

.contact-head > p:last-child {
  max-width: 26rem;
  margin-top: 3rem;
  word-break: keep-all;
}

.contact-email {
  display: inline-block;
  margin-top: 0.75rem;
  padding-bottom: 0.1rem;
  border-bottom: 1px solid var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.contact h2 {
  margin-top: 5rem;
}

.contact-form {
  border-top: 1px solid var(--ink);
}

.contact-form label {
  display: grid;
  padding: 1.2rem 0;
  grid-template-columns: 7rem 1fr;
  border-bottom: 1px solid rgba(17, 18, 15, 0.4);
}

.contact-form label span {
  padding-top: 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem;
  border: 0;
  outline: 0;
  background: transparent;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(255, 255, 255, 0.22);
}

.contact-form button {
  display: flex;
  width: 100%;
  margin-top: 2rem;
  padding: 1.1rem 1.2rem;
  justify-content: space-between;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.contact-form button:hover {
  background: var(--ink);
  color: white;
}

.hidden {
  display: none;
}

footer {
  display: grid;
  padding: 2rem;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 2rem;
  background: var(--ink);
  color: var(--paper);
}

.footer-mark {
  display: block;
  width: clamp(4rem, 5vw, 5rem);
  line-height: 0;
}

.footer-mark img {
  width: 100%;
  height: auto;
  filter: invert(1);
}

footer p,
footer > a:last-child {
  margin: 0.2rem 0;
  color: rgba(242, 239, 231, 0.58);
  font-size: 0.7rem;
}

@media (max-width: 820px) {
  .site-header {
    padding: 0.6rem 1rem;
  }

  .wordmark {
    width: 2.574rem;
  }

  nav {
    gap: 1rem;
  }

  .hero {
    min-height: 92svh;
    padding: 7rem 1rem 1rem;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 18vw, 7rem);
  }

  .hero-foot {
    align-items: flex-end;
  }

  .hero-foot br {
    display: none;
  }

  .round-link {
    width: 6rem;
    height: 6rem;
    flex: 0 0 auto;
  }

  .round-link span:first-child {
    max-width: 3rem;
  }

  .section-pad {
    padding: 5rem 1rem;
  }

  .section-head,
  .project,
  .studio-intro,
  .company,
  .contact {
    grid-template-columns: 1fr;
  }

  .section-head {
    margin-bottom: 4rem;
    gap: 3rem;
  }

  .project {
    padding-bottom: 6rem;
    gap: 2rem;
  }

  .project-copy h3 {
    margin-top: 4rem;
  }

  .project-camera .project-visual,
  .project-camera .project-copy {
    grid-column: 1;
  }

  .project-camera .project-visual {
    grid-row: 1;
  }

  .project-camera .project-copy {
    grid-row: 2;
  }

  .studio > * {
    max-width: none;
  }

  .studio-intro {
    margin-top: 4rem;
    gap: 2rem;
  }

  .principles {
    grid-template-columns: 1fr;
    margin-top: 5rem;
  }

  .principles li {
    min-height: 10rem;
    border-right: 0;
  }

  .company {
    gap: 4rem;
  }

  .company h2,
  .contact h2 {
    margin-top: 3rem;
  }

  .company dl div {
    grid-template-columns: 1fr;
  }

  .contact {
    padding-right: 1rem;
    padding-left: 1rem;
    gap: 4rem;
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  footer > div {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee div { animation: none; }
  .project-visual img,
  .round-link { transition: none; }
}
