:root {
  --ink: #282624;
  --muted: #6e6862;
  --line: #a9a29b;
  --paper: #fbfaf8;
  --wash: #f4efeb;
  --soft: #f7f3f0;
  --white: #ffffff;
  --max: 1240px;
  --page-gutter: clamp(22px, 6vw, 88px);
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--paper);
  font-family: "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  letter-spacing: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

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

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

button {
  color: inherit;
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 42px var(--page-gutter) 24px;
  transition: background .25s ease, padding .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 250, .92);
  box-shadow: 0 10px 35px rgba(35, 30, 25, .08);
  padding-top: 18px;
  backdrop-filter: blur(12px);
}

.brand {
  display: block;
  width: clamp(88px, 8.5vw, 118px);
}

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

.header-nav {
  display: flex;
  gap: 34px;
  align-items: center;
  font-family: "Helvetica Neue", Arial, "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 13px;
  letter-spacing: .08em;
}

.header-nav a {
  transition: opacity .2s ease;
}

.header-nav a:hover {
  opacity: .62;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  margin: 6px auto;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.announcement {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: center;
  gap: 44px;
  margin-top: 86px;
  padding: 18px 20px;
  background:
    radial-gradient(circle at 84% 45%, rgba(214, 197, 186, 0.35), transparent 17%),
    linear-gradient(90deg, #f3efec 0%, #f7f2ef 55%, #eae2dd 100%);
}

.announcement p {
  margin: 0;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: 0.17em;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-width: 160px;
  min-height: 34px;
  padding: 9px 24px;
  border: 1px solid #8e8882;
  color: var(--white);
  background: var(--ink);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.08em;
  transition: background 160ms ease, color 160ms ease;
}

.outline-button:hover {
  background: #000;
}

.model-section {
  width: min(100% - var(--page-gutter) * 2, var(--max));
  margin: 0 auto;
  padding: 46px 0 30px;
}

.section-title {
  margin-bottom: 34px;
  text-align: center;
}

.section-title h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.12em;
}

.section-title p {
  margin: 18px 0 0;
  font-size: 15px;
  letter-spacing: 0.12em;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.model-card {
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: start;
  align-content: start;
  min-height: 321px;
  background: var(--soft);
}

.model-card img {
  align-self: start;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
}

.model-profile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: start;
  padding: 47px 24px 42px;
}

.model-profile h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.12em;
}

.handle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 3px 0 0;
  font-size: 15px;
  letter-spacing: 0.05em;
}

.handle svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rule {
  width: 26px;
  height: 1px;
  margin: 17px 0 20px;
  background: #d5d0cc;
}

.bio {
  margin: 0;
  color: #403c38;
  font-size: 12px;
  line-height: 2.05;
  letter-spacing: 0.05em;
}

.model-profile .outline-button {
  width: 100%;
  margin-top: 32px;
  gap: 14px;
  padding-inline: 14px;
  font-size: 11px;
  white-space: nowrap;
}

.contest {
  display: grid;
  grid-template-columns: 62% 38%;
  width: min(100% - var(--page-gutter) * 2, var(--max));
  margin: 0 auto 34px;
  background: linear-gradient(90deg, #f3efec 0%, #f8f4f1 100%);
  overflow: hidden;
}

.contest-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 30px 28px 46px;
}

.eyebrow {
  margin: 0 0 22px;
  font-size: 14px;
  letter-spacing: 0.18em;
}

.contest h2 {
  margin: 0;
  font-size: clamp(26px, 2.8vw, 28px);
  font-weight: 500;
  line-height: 1.62;
  letter-spacing: 0.05em;
}

.contest-copy > p:not(.eyebrow) {
  max-width: 460px;
  margin: 20px 0 24px;
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.contest img {
  height: auto;
  object-fit: cover;
}

.site-footer {
  width: min(100% - var(--page-gutter) * 2, var(--max));
  margin: 0 auto;
  padding: 36px 0 116px;
  font-family: "Helvetica Neue", Arial, "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

.footer-info {
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  line-height: 1.9;
}

.footer-info p {
  margin: 0 0 14px;
}

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

.chat-button {
  position: fixed;
  right: 42px;
  bottom: 36px;
  z-index: 20;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #34322f;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .22);
}

.chat-button img {
  width: 18px;
  height: auto;
}

@media (max-width: 760px) {
  .site-header {
    padding: 18px var(--page-gutter);
    background: rgba(255, 253, 250, .9);
  }

  .brand {
    width: 92px;
  }

  .menu-toggle {
    display: block;
  }

  .header-nav {
    position: absolute;
    top: 100%;
    right: var(--page-gutter);
    display: grid;
    min-width: 160px;
    gap: 0;
    padding: 10px 0;
    background: rgba(255, 253, 250, .94);
    box-shadow: 0 16px 30px rgba(35, 30, 25, .1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .header-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .header-nav a {
    padding: 14px 20px;
    text-align: right;
  }

  .announcement {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .model-section,
  .contest {
    width: min(100% - 32px, 540px);
  }

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

  .model-card {
    grid-template-columns: 1fr;
  }

  .model-profile {
    padding: 22px 18px 20px;
  }

  .model-profile h2 {
    font-size: 19px;
  }

  .handle {
    font-size: 13px;
  }

  .bio {
    font-size: 11px;
    line-height: 1.9;
  }

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

  .contest-copy {
    padding: 34px 28px;
  }

  .contest img {
    max-height: 360px;
  }

  .site-footer {
    width: min(100% - 32px, 680px);
  }

}

@media (max-width: 500px) {
  .section-title p {
    font-size: 13px;
    line-height: 1.8;
  }

  .model-card img {
    aspect-ratio: 3 / 4;
  }

  .model-profile .outline-button {
    margin-top: 16px;
    min-width: 0;
    gap: 8px;
    padding-inline: 8px;
    font-size: 10px;
    white-space: normal;
  }

  .contest h2 {
    font-size: 26px;
  }

  .chat-button {
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
  }
}
