:root {
  --paper: #f1ecdf;
  --paper-deep: #e4dbc8;
  --surface: #f8f3e8;
  --ink: #173b32;
  --ink-soft: #31584d;
  --muted: #69766f;
  --line: rgba(23, 59, 50, 0.16);
  --line-strong: rgba(23, 59, 50, 0.3);
  --accent: #d76543;
  --lime: #dbe68e;
  --gold: #b78232;
  --display: "Bodoni 72", "Didot", "Iowan Old Style", "Songti SC",
    "STSong", serif;
  --sans: "Avenir Next", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 253, 245, 0.88), transparent 28%),
    radial-gradient(circle at 8% 80%, rgba(211, 194, 164, 0.33), transparent 32%),
    var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 10;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--surface);
  background: var(--ink);
  border-radius: 999px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.atmosphere {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  height: 880px;
  overflow: hidden;
  pointer-events: none;
}

.contour {
  position: absolute;
  border: 1px solid rgba(23, 59, 50, 0.08);
  border-radius: 46% 54% 63% 37% / 43% 44% 56% 57%;
}

.contour::before,
.contour::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(23, 59, 50, 0.065);
  border-radius: inherit;
}

.contour::before {
  inset: 34px;
}

.contour::after {
  inset: 78px;
}

.contour--one {
  top: -210px;
  right: -170px;
  width: 780px;
  height: 620px;
  transform: rotate(-18deg);
}

.contour--two {
  top: 430px;
  left: -310px;
  width: 660px;
  height: 420px;
  transform: rotate(22deg);
}

.orbit {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(215, 101, 67, 0.09);
}

.orbit--one {
  top: 128px;
  right: 18%;
}

.orbit--two {
  top: 610px;
  left: 8%;
  width: 5px;
  height: 5px;
  background: var(--gold);
  box-shadow: none;
}

.site-header {
  display: grid;
  width: min(1440px, calc(100% - 72px));
  margin: 0 auto;
  padding: 28px 0;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  animation: fade-down 0.7s ease both;
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand__mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.brand__mark span {
  position: absolute;
  width: 17px;
  height: 1px;
  background: var(--ink);
}

.brand__mark span:first-child {
  transform: translateY(-4px) rotate(12deg);
}

.brand__mark span:last-child {
  width: 21px;
  transform: translateY(4px) rotate(-8deg);
}

.brand__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__copy strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand__copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 30px;
}

.site-nav a {
  position: relative;
  padding: 5px 0;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.issue {
  display: flex;
  flex-direction: column;
  justify-self: end;
  text-align: right;
}

.issue span,
.eyebrow,
.project-card__number,
.project-card__meta,
.about__label span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.issue span {
  color: var(--muted);
}

.issue strong {
  color: var(--accent);
  font-family: var(--display);
  font-size: 15px;
  font-style: italic;
}

main {
  width: min(1440px, calc(100% - 72px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  min-height: 610px;
  padding: 95px 0 84px;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: end;
  gap: 70px;
}

.hero__copy {
  max-width: 980px;
  animation: rise 0.9s 0.08s cubic-bezier(0.22, 0.75, 0.25, 1) both;
}

.eyebrow {
  display: flex;
  margin: 0 0 28px;
  align-items: center;
  gap: 12px;
  color: var(--accent);
}

.eyebrow__line {
  width: 35px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  max-width: 980px;
  margin-bottom: 42px;
  font-family: var(--display);
  font-size: clamp(82px, 10.2vw, 164px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.82;
}

.hero h1 span {
  display: block;
  padding-left: clamp(50px, 10vw, 160px);
  color: var(--accent);
  font-style: italic;
  white-space: nowrap;
}

.hero__intro {
  max-width: 570px;
  margin: 0 0 30px;
  padding-left: clamp(0px, 2vw, 24px);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.hero__cta {
  display: inline-flex;
  padding-left: clamp(0px, 2vw, 24px);
  align-items: center;
  gap: 15px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.hero__cta svg {
  width: 30px;
  height: 30px;
  padding: 7px;
  color: var(--surface);
  background: var(--ink);
  border-radius: 50%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 0.25s ease;
}

.hero__cta:hover svg {
  transform: translateX(5px);
}

.hero__aside {
  display: flex;
  padding-bottom: 8px;
  flex-direction: column;
  align-items: center;
  animation: fade-up 0.9s 0.3s ease both;
}

.coordinate {
  display: flex;
  width: 100%;
  margin-bottom: 42px;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--display);
  font-size: 10px;
  font-style: italic;
}

.hero__seal {
  display: flex;
  width: 176px;
  height: 176px;
  margin-bottom: 25px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transform: rotate(7deg);
}

.hero__seal::before {
  position: absolute;
  width: 132px;
  height: 132px;
  border: 1px dashed rgba(23, 59, 50, 0.18);
  border-radius: 50%;
  content: "";
}

.hero__seal span {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.hero__seal strong {
  color: var(--accent);
  font-family: var(--display);
  font-size: 62px;
  font-weight: 400;
  line-height: 0.9;
}

.hero__aside > p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}

.project-section {
  padding: 88px 0 108px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  margin-bottom: 42px;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
}

.section-heading .eyebrow {
  margin-bottom: 13px;
}

.section-heading h2 {
  font-family: var(--display);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.section-heading__note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  text-align: right;
}

.project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.72fr);
  gap: 22px;
}

.project-card {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  text-decoration: none;
}

.project-card--travel {
  display: flex;
  padding: 27px 29px 31px;
  flex-direction: column;
  color: #f4eee1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    radial-gradient(circle at 78% 9%, rgba(219, 230, 142, 0.12), transparent 28%),
    #173b32;
  background-size: 32px 32px, 32px 32px, auto, auto;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.project-card--travel::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--accent);
  content: "";
}

.project-card--travel:hover {
  box-shadow: 0 30px 70px rgba(23, 59, 50, 0.2);
  transform: translateY(-6px);
}

.project-card__topline {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
}

.project-card__number {
  color: var(--lime);
}

.project-card__meta {
  color: rgba(244, 238, 225, 0.55);
}

.travel-art {
  position: relative;
  min-height: 280px;
  margin: auto -4px;
}

.travel-art::after {
  position: absolute;
  right: 7%;
  bottom: 16%;
  width: 54%;
  height: 54%;
  background: repeating-radial-gradient(
    ellipse at center,
    transparent 0 20px,
    rgba(219, 230, 142, 0.08) 21px 22px
  );
  content: "";
  mix-blend-mode: screen;
  transform: rotate(-12deg);
}

.travel-art svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 112%;
  height: 112%;
  overflow: visible;
  transform: translate(-50%, -50%);
}

.route {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route--ghost {
  stroke: rgba(244, 238, 225, 0.12);
  stroke-width: 10;
}

.route--active {
  stroke: var(--accent);
  stroke-width: 2;
  stroke-dasharray: 10 11;
  animation: route-move 16s linear infinite;
}

.route-dot {
  fill: var(--lime);
  stroke: #173b32;
  stroke-width: 4;
}

.travel-art__label {
  position: absolute;
  top: 16%;
  right: 2%;
  color: rgba(244, 238, 225, 0.44);
  font-family: var(--display);
  font-size: 11px;
  font-style: italic;
}

.project-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.project-card__kicker {
  margin: 0 0 4px;
  color: rgba(244, 238, 225, 0.52);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card__body h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(52px, 6vw, 82px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.project-card__arrow {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(244, 238, 225, 0.24);
  border-radius: 50%;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.project-card__arrow svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.project-card--travel:hover .project-card__arrow {
  color: var(--ink);
  background: var(--lime);
  transform: rotate(5deg);
}

.project-card__footer {
  position: relative;
  z-index: 2;
  display: flex;
  margin-top: 32px;
  padding-top: 22px;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgba(244, 238, 225, 0.13);
}

.project-card__footer p {
  max-width: 420px;
  margin: 0;
  color: rgba(244, 238, 225, 0.63);
  font-size: 12px;
  line-height: 1.8;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.tags span {
  padding: 5px 9px;
  color: rgba(244, 238, 225, 0.7);
  border: 1px solid rgba(244, 238, 225, 0.16);
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 0.06em;
}

.project-card--open {
  display: flex;
  padding: 27px 25px;
  flex-direction: column;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent 50%),
    rgba(248, 243, 232, 0.55);
}

.project-card--open .project-card__number {
  color: var(--accent);
}

.project-card--open .project-card__meta {
  color: var(--muted);
}

.open-slot__symbol {
  position: relative;
  display: grid;
  width: 146px;
  height: 146px;
  margin: 78px auto 52px;
  place-items: center;
  border: 1px dashed var(--line-strong);
  border-radius: 50%;
}

.open-slot__symbol span {
  position: absolute;
  width: 38px;
  height: 1px;
  background: var(--ink-soft);
}

.open-slot__symbol span:last-child {
  transform: rotate(90deg);
}

.open-slot__copy {
  margin-top: auto;
}

.open-slot__copy p {
  margin-bottom: 13px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.open-slot__copy h3 {
  margin-bottom: 21px;
  font-family: var(--display);
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.open-slot__copy > span {
  color: var(--muted);
  font-size: 11px;
}

.about {
  display: grid;
  padding: 92px 0 105px;
  grid-template-columns: 0.55fr 1.35fr 0.8fr;
  gap: 60px;
  border-top: 1px solid var(--line);
}

.about__label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about__label span {
  color: var(--accent);
}

.about__label strong {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
}

.about__copy h2 {
  margin-bottom: 30px;
  font-family: var(--display);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.about__copy p {
  max-width: 590px;
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.about__mark {
  display: grid;
  padding-top: 10px;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  align-self: start;
  color: var(--line-strong);
  font-family: var(--display);
  font-size: clamp(64px, 8vw, 116px);
  line-height: 1;
}

.about__mark span:nth-child(2) {
  color: var(--accent);
  font-size: 0.48em;
  font-style: italic;
  text-align: center;
}

.site-footer {
  display: grid;
  width: min(1440px, calc(100% - 72px));
  margin: 0 auto;
  padding: 24px 0 32px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer p:nth-child(2) {
  text-align: center;
}

.site-footer__meta {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 22px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer__filing {
  color: inherit;
}

.site-footer__filing:hover,
.site-footer a:last-child:hover {
  color: var(--ink);
}

.site-footer a:last-child {
  justify-self: end;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 0.75, 0.25, 1);
}

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

.project-grid .reveal:nth-child(2) {
  transition-delay: 0.09s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes route-move {
  to {
    stroke-dashoffset: -210;
  }
}

@media (max-width: 980px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 40px, 780px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 72px 0 72px;
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .hero__aside {
    display: grid;
    grid-template-columns: 1fr 176px 1fr;
    align-items: center;
    gap: 25px;
  }

  .coordinate {
    margin: 0;
    flex-direction: column;
    gap: 5px;
  }

  .hero__seal {
    width: 146px;
    height: 146px;
    margin: 0;
  }

  .hero__seal::before {
    width: 108px;
    height: 108px;
  }

  .hero__aside > p {
    text-align: left;
  }

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

  .project-card--open {
    min-height: 440px;
  }

  .open-slot__symbol {
    margin: 45px auto 35px;
  }

  .about {
    grid-template-columns: 0.55fr 1.45fr;
  }

  .about__mark {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header,
  main,
  .site-footer {
    width: calc(100% - 30px);
  }

  .site-header {
    padding: 20px 0;
  }

  .issue {
    display: none;
  }

  .brand__mark {
    width: 37px;
    height: 37px;
  }

  .brand__copy strong {
    font-size: 17px;
  }

  .hero {
    padding: 57px 0 62px;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 8px;
  }

  .hero h1 {
    margin-bottom: 32px;
    font-size: clamp(62px, 19vw, 92px);
    line-height: 0.88;
  }

  .hero h1 span {
    padding-left: 0;
    white-space: normal;
  }

  .hero__intro {
    font-size: 14px;
  }

  .hero__aside {
    grid-template-columns: 1fr 126px;
  }

  .hero__seal {
    width: 118px;
    height: 118px;
  }

  .hero__seal::before {
    width: 86px;
    height: 86px;
  }

  .hero__seal strong {
    font-size: 47px;
  }

  .hero__aside > p {
    display: none;
  }

  .project-section {
    padding: 64px 0 76px;
  }

  .section-heading {
    display: block;
  }

  .section-heading__note {
    margin-top: 14px;
    text-align: left;
  }

  .project-card {
    min-height: 550px;
  }

  .project-card--travel {
    padding: 23px 21px 25px;
  }

  .travel-art {
    min-height: 235px;
    margin: auto -20px;
  }

  .project-card__body h3 {
    font-size: 58px;
  }

  .project-card__arrow {
    width: 46px;
    height: 46px;
  }

  .project-card__footer {
    display: block;
  }

  .tags {
    margin-top: 18px;
    justify-content: flex-start;
  }

  .about {
    display: block;
    padding: 66px 0 78px;
  }

  .about__label {
    margin-bottom: 27px;
  }

  .about__copy h2 {
    font-size: 48px;
  }

  .site-footer {
    display: flex;
    padding: 22px 0;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
  }

  .site-footer__meta {
    width: 100%;
    justify-content: space-between;
  }

  .site-footer p:nth-child(2) {
    display: none;
  }
}

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

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