:root {
  --ivory: #f7f2ea;
  --paper: #fffdf8;
  --white: #ffffff;
  --ink: #171717;
  --graphite: #2d2a26;
  --muted: #746d64;
  --line: rgba(45, 42, 38, 0.13);
  --copper: #a76f3a;
  --copper-dark: #7d4e25;
  --teal: #2b7a78;
  --night: #151a1f;
  --night-2: #223038;
  --shadow: 0 28px 80px rgba(50, 38, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family:
    "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui,
    sans-serif;
  line-height: 1.72;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: 100%;
  padding: 20px clamp(18px, 4vw, 60px);
  color: var(--ink);
  transition:
    padding 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  width: fit-content;
}

.brand-seal {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 20px;
  line-height: 1;
}

.brand-text strong,
.brand-text small {
  display: block;
}

.brand-text strong {
  font-size: 15px;
  font-weight: 620;
}

.brand-text small {
  margin-top: -4px;
  font-size: 11px;
  opacity: 0.66;
}

.nav {
  display: inline-flex;
  gap: clamp(18px, 3vw, 34px);
  font-size: 14px;
}

.nav a,
.button-quiet,
.footer a {
  position: relative;
}

.nav a::after,
.button-quiet::after,
.footer a::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.button-quiet:hover::after,
.footer a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

.hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 242, 234, 0.98), rgba(247, 242, 234, 0.84) 40%, rgba(247, 242, 234, 0.16) 76%),
    linear-gradient(180deg, rgba(247, 242, 234, 0), rgba(247, 242, 234, 0.7));
  content: "";
}

.hero-image {
  position: absolute;
  inset: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(900px, calc(100% - 36px));
  padding: clamp(130px, 17vh, 188px) 0 150px clamp(18px, 7vw, 110px);
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--copper-dark);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 540;
  line-height: 1.14;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

.hero h1 span + span {
  max-width: 780px;
  margin-top: 14px;
  font-size: clamp(29px, 3.25vw, 46px);
  color: var(--graphite);
}

.lead {
  max-width: 690px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.38vw, 20px);
  line-height: 1.76;
}

.hero-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 38px;
}

.button-primary {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--night);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 18px 42px rgba(23, 23, 23, 0.18);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.button-primary:hover {
  background: var(--copper-dark);
  transform: translateY(-2px);
}

.button-quiet {
  color: var(--ink);
  font-weight: 650;
}

.hero-proof {
  position: absolute;
  right: clamp(18px, 4vw, 60px);
  bottom: 32px;
  left: clamp(18px, 7vw, 110px);
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(45, 42, 38, 0.2);
  color: var(--muted);
}

.hero-proof span {
  display: grid;
  gap: 3px;
  padding: 18px 22px 0 0;
  font-size: 14px;
}

.hero-proof strong {
  color: var(--ink);
  font-size: 24px;
  font-weight: 560;
  line-height: 1.1;
}

.section {
  padding: clamp(66px, 8vw, 116px) clamp(18px, 6vw, 88px);
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 540;
  line-height: 1.24;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 560;
  line-height: 1.34;
}

p,
dl {
  margin: 0;
}

.lead,
.about-copy,
.position-copy,
.section-head > p,
.judgement-list p,
.domain-card p,
.dual p:last-child,
.contact-main p:last-child {
  overflow-wrap: anywhere;
}

.about {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.about-grid,
.position-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.68fr);
  gap: clamp(36px, 7vw, 112px);
  align-items: end;
}

.about-grid {
  display: block;
}

.about-copy {
  max-width: 760px;
}

.about-copy,
.position-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: clamp(16px, 1.24vw, 18px);
}

.position {
  background:
    linear-gradient(135deg, rgba(247, 242, 234, 0.72), rgba(255, 255, 255, 0.96)),
    url("assets/nyueco-light-map.png") right center / min(58vw, 860px) auto no-repeat;
}

.visual-story {
  position: relative;
  height: clamp(110px, 12vw, 160px);
  overflow: hidden;
  background: var(--night);
}

.visual-story::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 26, 31, 0.18), rgba(21, 26, 31, 0.34)),
    linear-gradient(180deg, rgba(21, 26, 31, 0.08), rgba(21, 26, 31, 0.38));
  content: "";
}

.visual-story > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.visual-story p {
  position: absolute;
  inset: 50% auto auto clamp(18px, 6vw, 88px);
  z-index: 1;
  max-width: min(640px, calc(100% - 36px));
  margin: 0;
  color: #f3dfc5;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 520;
  line-height: 1.35;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  transform: translateY(-50%);
}

.judgement-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(38px, 5vw, 66px);
  background: var(--line);
}

.judgement-list article {
  min-height: 176px;
  padding: clamp(24px, 2.7vw, 34px);
  background: rgba(255, 253, 248, 0.82);
  backdrop-filter: blur(8px);
}

.judgement-list span {
  display: block;
  margin-bottom: 32px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 760;
}

.judgement-list p {
  margin-top: 14px;
  color: var(--muted);
}

.focus,
.trust {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 470px);
  gap: 34px;
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 66px);
}

.section-head > p {
  color: var(--muted);
  font-size: clamp(16px, 1.22vw, 18px);
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.domain-card {
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(247, 242, 234, 0.58));
}

.domain-visual {
  height: clamp(170px, 18vw, 250px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
}

.domain-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.domain-card:hover .domain-visual img {
  transform: scale(1.035);
}

.domain-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  padding: clamp(24px, 3vw, 34px) clamp(24px, 3vw, 36px) 28px;
  border-bottom: 1px solid var(--line);
}

.domain-top span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.domain-top strong {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 540;
}

.domain-card p {
  margin: 24px clamp(24px, 3vw, 36px) 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 28px clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px);
}

.tag-cloud span {
  padding: 9px 13px;
  border: 1px solid rgba(167, 111, 58, 0.22);
  border-radius: 999px;
  color: var(--graphite);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.trust {
  padding-bottom: 0;
}

.dual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 calc(clamp(18px, 6vw, 88px) * -1);
  background: var(--line);
}

.dual > div {
  min-height: 330px;
  padding: clamp(44px, 6vw, 74px) clamp(18px, 6vw, 88px);
  background: #ffffff;
}

.dual p:last-child {
  max-width: 620px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(16px, 1.22vw, 18px);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 470px);
  gap: clamp(34px, 6vw, 90px);
  align-items: end;
  padding: clamp(66px, 8vw, 116px) clamp(18px, 6vw, 88px);
  background:
    linear-gradient(90deg, rgba(247, 242, 234, 0.98), rgba(247, 242, 234, 0.72)),
    url("assets/nyue-sunrise-map.png") right center / auto 100% no-repeat;
}

.contact-main p:last-child {
  max-width: 700px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(16px, 1.22vw, 18px);
}

.contact-card {
  display: grid;
  gap: 14px;
  padding-top: 30px;
  border-top: 1px solid rgba(45, 42, 38, 0.26);
  color: var(--muted);
  font-size: 16px;
}

.contact-card a {
  width: fit-content;
  color: var(--copper-dark);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 540;
  line-height: 1.2;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 6vw, 88px);
  background: var(--night);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

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

@media (max-width: 1060px) {
  .nav {
    display: none;
  }

  .about-grid,
  .position-grid,
  .section-head,
  .contact {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 760px) {
  .hero {
    min-height: 90vh;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(247, 242, 234, 0.97), rgba(247, 242, 234, 0.84)),
      linear-gradient(180deg, rgba(247, 242, 234, 0.16), rgba(247, 242, 234, 0.78));
  }

  .hero-image img {
    object-position: 62% center;
  }

  .hero-copy {
    width: calc(100% - 32px);
    padding: 118px 0 176px 16px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.14;
  }

  .hero h1 span + span {
    font-size: clamp(24px, 7.4vw, 32px);
  }

  .visual-story {
    height: 120px;
  }

  .visual-story p {
    right: 16px;
    left: 16px;
    font-size: 18px;
  }

  h2 {
    font-size: clamp(28px, 8vw, 38px);
  }

  h3 {
    font-size: 21px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero-proof {
    left: 16px;
    right: 16px;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hero-proof span {
    padding-top: 8px;
  }

  .hero-proof strong {
    font-size: 20px;
  }

  .domain-grid,
  .judgement-list,
  .dual {
    grid-template-columns: 1fr;
  }

  .domain-top {
    display: grid;
    padding-bottom: 30px;
  }

  .judgement-list span {
    margin-bottom: 26px;
  }

  .site-header,
  .section,
  .contact {
    padding-right: 16px;
    padding-left: 16px;
  }

  .dual {
    margin-right: -16px;
    margin-left: -16px;
  }

  .dual > div {
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand-seal {
    width: 38px;
    height: 38px;
  }

  .footer {
    flex-direction: column;
  }
}
