:root {
  --paper: #f3efe6;
  --terracotta: #b95736;
  --ink: #171716;
  --paper-muted: #ddd6c9;
  --hairline: rgba(23, 23, 22, 0.72);
  --header-height: 88px;
  --page-pad: clamp(28px, 7.8vw, 112px);
  --serif: "Iowan Old Style", "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", STSong, Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  color: inherit;
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}

button {
  font: inherit;
}

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

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-height);
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  padding: 0 var(--page-pad);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.2vw, 52px);
  height: 100%;
}

.site-nav a {
  position: relative;
  display: grid;
  min-width: 44px;
  height: 44px;
  place-items: center;
  font-family: var(--serif);
  font-size: 16px;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: translateX(-50%);
  transition: width 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="true"]::after {
  width: 30px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(360px, 42fr);
  min-height: calc(100svh - var(--header-height));
  border-bottom: 1px solid var(--hairline);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  padding: clamp(150px, 20vh, 210px) var(--page-pad) 72px;
}

.brand-name {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(68px, 6vw, 94px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.brand-rule {
  display: block;
  width: clamp(72px, 7vw, 104px);
  height: 1px;
  margin: clamp(30px, 4vh, 46px) 0;
  background: var(--hairline);
}

.eyebrow {
  margin: 0 0 28px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.hero__statement {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 4.2vw, 64px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.28;
}

.hero__statement em {
  color: var(--terracotta);
  font-style: normal;
}

.hero__support {
  max-width: 31em;
  margin: 30px 0 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.8;
}

.text-action {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  width: fit-content;
  min-height: 44px;
  margin-top: 44px;
  border-bottom: 1px solid currentColor;
  font-family: var(--serif);
  font-size: 17px;
  text-decoration: none;
}

.text-action span {
  transition: transform 180ms ease;
}

.text-action:hover span,
.text-action:focus-visible span {
  transform: translateX(6px);
}

.hero__visual {
  min-width: 0;
  min-height: 0;
  margin: 0;
  border-left: 1px solid var(--hairline);
  background: var(--terracotta);
  overflow: hidden;
}

.hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: calc(100svh - var(--header-height));
  object-fit: cover;
  object-position: center 52%;
}

.section {
  border-bottom: 1px solid var(--hairline);
}

.section__index {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1;
}

.section h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 5.6vw, 82px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1.12;
}

.section--about {
  display: grid;
  grid-template-columns: 80px minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  min-height: 720px;
  background: var(--paper);
}

.section--about > * {
  padding: clamp(64px, 8vw, 120px) var(--page-pad);
}

.section--about .section__index {
  display: flex;
  justify-content: center;
  padding-right: 0;
  padding-left: 0;
  border-right: 1px solid var(--hairline);
}

.section__heading {
  align-self: center;
  padding-right: clamp(24px, 3vw, 48px);
}

.section__body {
  align-self: center;
  border-left: 1px solid var(--hairline);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.85;
}

.section__body .lead {
  margin-top: 0;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.55;
}

.section__body p:last-child {
  margin-bottom: 0;
}

.section--work {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(420px, 1.22fr);
  background: var(--terracotta);
}

.work__intro {
  min-height: 780px;
  padding: clamp(64px, 7vw, 112px) var(--page-pad);
  border-right: 1px solid var(--hairline);
}

.work__intro .section__index {
  margin-bottom: clamp(100px, 15vh, 180px);
}

.work-list {
  align-self: stretch;
}

.work-item {
  border-bottom: 1px solid var(--hairline);
}

.work-item:last-child {
  border-bottom: 0;
}

.work-item summary {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  min-height: 150px;
  padding: 28px var(--page-pad);
  cursor: pointer;
  list-style: none;
}

.work-item summary::-webkit-details-marker {
  display: none;
}

.work-item summary:focus-visible {
  outline-offset: -8px;
}

.work-item__number,
.work-item__action {
  font-size: 12px;
  letter-spacing: 0.12em;
}

.work-item__title {
  font-family: var(--serif);
  font-size: clamp(27px, 3vw, 44px);
  letter-spacing: -0.035em;
}

.work-item__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  padding: 0 var(--page-pad) 48px calc(var(--page-pad) + 70px);
}

.work-item__content p {
  max-width: 34em;
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.75;
}

.work-item__content > span {
  align-self: end;
  font-size: 11px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.section--contact {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) minmax(240px, 0.38fr);
  min-height: 680px;
  background: var(--ink);
  color: var(--paper);
}

.section--contact .section__index {
  display: flex;
  justify-content: center;
  padding-top: 76px;
  border-right: 1px solid rgba(243, 239, 230, 0.48);
}

.contact__main {
  align-self: center;
  padding: clamp(72px, 9vw, 136px) var(--page-pad);
}

.contact__main h2 {
  max-width: 820px;
}

.contact__main > p:not(.eyebrow, .copy-status) {
  margin: 34px 0 0;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.7;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 52px;
}

.copy-button,
.contact__actions a {
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 16px;
  text-decoration: none;
}

.copy-status {
  min-height: 1.5em;
  margin: 18px 0 0;
  color: var(--paper-muted);
  font-size: 13px;
}

.contact__note {
  align-self: end;
  margin: 0;
  padding: var(--page-pad);
  border-left: 1px solid rgba(243, 239, 230, 0.48);
  color: var(--paper-muted);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.7;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px var(--page-pad);
  background: var(--paper);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.site-footer p {
  margin: 0;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  :root {
    --header-height: 76px;
  }

  .hero {
    grid-template-columns: minmax(0, 56fr) minmax(320px, 44fr);
  }

  .section--about {
    grid-template-columns: 64px 1fr;
  }

  .section--about .section__heading,
  .section--about .section__body {
    grid-column: 2;
  }

  .section--about .section__heading {
    padding-bottom: 24px;
  }

  .section--about .section__body {
    padding-top: 24px;
    border-left: 0;
  }

  .section--about .section__index {
    grid-row: 1 / span 2;
  }

  .section--work {
    grid-template-columns: 1fr;
  }

  .work__intro {
    min-height: 560px;
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
  }

  .section--contact {
    grid-template-columns: 64px 1fr;
  }

  .section--contact .section__index {
    grid-row: 1 / span 2;
  }

  .contact__note {
    grid-column: 2;
    padding-top: 0;
    border-left: 0;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 64px;
    --page-pad: 24px;
  }

  .site-header__inner {
    justify-content: center;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .site-nav a {
    font-size: 14px;
  }

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

  .hero__copy {
    min-height: calc(100svh - var(--header-height));
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .brand-name {
    font-size: clamp(58px, 18vw, 76px);
  }

  .brand-rule {
    margin: 28px 0;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 10px;
  }

  .hero__statement {
    font-size: clamp(40px, 12.5vw, 54px);
  }

  .hero__support {
    margin-top: 24px;
    font-size: 16px;
  }

  .text-action {
    margin-top: 30px;
  }

  .hero__visual {
    height: min(112vw, 520px);
    border-top: 1px solid var(--hairline);
    border-left: 0;
  }

  .hero__visual img {
    min-height: 0;
  }

  .section--about,
  .section--contact {
    grid-template-columns: 48px 1fr;
  }

  .section--about {
    min-height: 0;
  }

  .section--about > * {
    padding: 64px var(--page-pad);
  }

  .section--about .section__index,
  .section--contact .section__index {
    padding: 64px 0;
  }

  .section--about .section__heading {
    padding-bottom: 20px;
  }

  .section--about .section__body {
    padding-top: 20px;
  }

  .section h2 {
    font-size: clamp(40px, 11.6vw, 56px);
  }

  .section__body .lead {
    font-size: 23px;
  }

  .work__intro {
    min-height: 520px;
    padding: 64px var(--page-pad);
  }

  .work__intro .section__index {
    margin-bottom: 82px;
  }

  .work-item summary {
    grid-template-columns: 42px 1fr auto;
    min-height: 112px;
    padding: 22px var(--page-pad);
  }

  .work-item__title {
    font-size: 25px;
  }

  .work-item__action {
    font-size: 10px;
  }

  .work-item__content {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 var(--page-pad) 34px calc(var(--page-pad) + 42px);
  }

  .work-item__content > span {
    white-space: normal;
  }

  .section--contact {
    min-height: 620px;
  }

  .contact__main {
    padding: 72px var(--page-pad) 40px;
  }

  .contact__note {
    padding: 0 var(--page-pad) 64px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px var(--page-pad);
  }
}

@media (max-width: 390px) {
  .hero__copy {
    justify-content: flex-start;
  }

  .hero__statement {
    font-size: 34px;
  }

  .hero__support {
    line-height: 1.65;
  }

  .section--about,
  .section--contact {
    grid-template-columns: 38px 1fr;
  }

  .work-item summary {
    grid-template-columns: 34px 1fr;
  }

  .work-item__action {
    grid-column: 2;
    margin-top: 8px;
  }

  .work-item__content {
    padding-left: calc(var(--page-pad) + 34px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
