:root {
  --ink: #243037;
  --muted: #68747a;
  --paper: #fbfaf7;
  --white: #ffffff;
  --blue: #527e99;
  --blue-dark: #315b73;
  --blue-pale: #eaf2f5;
  --sand: #d4c4ae;
  --gold: #a98251;
  --line: #dce3e5;
  --content: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-variant-numeric: lining-nums;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  width: min(calc(100% - 48px), var(--content));
  height: 96px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 26px;
  height: 18px;
  border-radius: 70% 45% 55% 50%;
  background: var(--blue);
  transform: rotate(-8deg);
}

.brand-mark::before {
  position: absolute;
  top: 3px;
  left: -7px;
  width: 10px;
  height: 8px;
  border-radius: 100% 10% 100% 10%;
  background: var(--blue-dark);
  content: "";
  transform: rotate(30deg);
}

.brand-mark::after {
  position: absolute;
  right: -5px;
  top: 6px;
  width: 0;
  height: 0;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 7px solid var(--gold);
  content: "";
}

.header-cta {
  padding: 10px 22px;
  border: 1px solid var(--blue-dark);
  border-radius: 999px;
  color: var(--blue-dark);
  font-size: .86rem;
  font-weight: 700;
  transition: background-color .25s ease, color .25s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: var(--white);
  background: var(--blue-dark);
}

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, .92fr);
  align-items: stretch;
  background: linear-gradient(120deg, var(--paper) 0%, var(--paper) 58%, #eef3f3 58%, #eef3f3 100%);
}

.hero-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 650px);
  padding: 104px 56px 50px max(48px, calc((100vw - var(--content)) / 2));
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-family: Arial, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .24em;
}

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

h1,
h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.45;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(2.8rem, 4.2vw, 4.2rem);
  letter-spacing: .04em;
}

h2 {
  margin-bottom: 28px;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

.hero-lead {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: .05em;
}

.product-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: .82rem;
}

.product-summary span:not(:last-child)::after {
  margin-left: 14px;
  color: var(--line);
  content: "/";
}

.product-summary strong {
  color: var(--ink);
  font-size: 1.15rem;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  min-width: 320px;
  padding: 17px 22px;
  border-radius: 3px;
  color: var(--white);
  background: var(--blue-dark);
  box-shadow: 0 12px 24px rgba(49, 91, 115, .16);
  font-weight: 700;
  letter-spacing: .04em;
  transition: transform .25s ease, background-color .25s ease;
}

.primary-cta:hover,
.primary-cta:focus-visible {
  background: var(--blue);
  transform: translateY(-2px);
}

.member-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .72rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: 112px 7vw 62px 3vw;
}

.hero-image-wrap {
  position: relative;
  width: min(100%, 560px);
}

.hero-image-wrap::before {
  position: absolute;
  z-index: -1;
  top: -22px;
  right: -22px;
  width: 38%;
  height: 38%;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  content: "";
}

.hero-image-wrap img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: 0 28px 55px rgba(37, 48, 55, .13);
}

.handmade-label {
  position: absolute;
  right: 8%;
  bottom: 52px;
  margin: 0;
  color: var(--blue-dark);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: .78rem;
  letter-spacing: .16em;
  writing-mode: vertical-rl;
}

.features,
.works {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  padding: 140px 0;
}

.features {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 110px;
}

.section-heading {
  align-self: start;
}

.feature-list {
  border-top: 1px solid var(--line);
}

.feature-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.feature-number {
  padding-top: 3px;
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: .76rem;
  letter-spacing: .1em;
}

.feature-item h3,
.work-copy h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  letter-spacing: .05em;
}

.feature-item p,
.work-copy p,
.works-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .9rem;
}

.works {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100vw - var(--content)) / 2));
  padding-left: max(24px, calc((100vw - var(--content)) / 2));
  background: var(--blue-pale);
}

.works-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 70px;
  margin-bottom: 54px;
}

.works-heading .eyebrow {
  grid-column: 1 / -1;
}

.works-heading h2 {
  margin-bottom: 0;
}

.works-heading > p:last-child {
  align-self: end;
  max-width: 450px;
  padding-bottom: 10px;
}

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

.work-card {
  overflow: hidden;
  background: var(--white);
}

.work-image {
  height: 300px;
  background-color: #f4f3f0;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 200%;
}

.bracelet-image {
  background-image: url("assets/bracelet-page.png");
}

.warmer-image {
  background-image: url("assets/warmer-page.png");
}

.work-copy {
  padding: 30px 34px 34px;
}

.work-category {
  margin-bottom: 10px !important;
  color: var(--blue-dark) !important;
  font-family: Arial, sans-serif;
  font-size: .68rem !important;
  font-weight: 700;
  letter-spacing: .18em;
}

.closing {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
  padding: 100px 24px;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-dark);
  text-align: center;
}

.closing::before,
.closing::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  content: "";
}

.closing::before {
  top: -230px;
  left: -120px;
  width: 520px;
  height: 520px;
}

.closing::after {
  right: -80px;
  bottom: -310px;
  width: 620px;
  height: 620px;
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.closing .eyebrow {
  color: #d8e8ee;
}

.closing-inner > p:not(.eyebrow, .member-note) {
  margin-bottom: 32px;
  color: #dbe5e9;
}

.light-cta {
  color: var(--blue-dark);
  background: var(--white);
  box-shadow: none;
}

.light-cta:hover,
.light-cta:focus-visible {
  color: var(--white);
  background: var(--blue);
}

.light-note {
  color: #dbe5e9;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--content));
  min-height: 110px;
  margin: 0 auto;
}

.site-footer p {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 700;
  letter-spacing: .14em;
}

.site-footer small {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: .66rem;
  letter-spacing: .12em;
}

.mobile-cta {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

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

@media (max-width: 900px) {
  .site-header {
    width: calc(100% - 36px);
    height: 74px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-bottom: 64px;
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 48%, #eef3f3 48%, #eef3f3 100%);
  }

  .hero-copy {
    width: 100%;
    padding: 118px 24px 48px;
    text-align: center;
  }

  .product-summary {
    justify-content: center;
  }

  .hero-visual {
    padding: 0 34px;
  }

  .handmade-label {
    right: 18px;
    bottom: -22px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 100px 0;
  }

  .works-heading {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }

  .works-heading > p:last-child {
    max-width: 600px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 72px;
  }

  .header-cta {
    display: none;
  }

  .brand {
    font-size: 1rem;
  }

  .desktop-only {
    display: none;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-lead {
    font-size: .9rem;
  }

  .product-summary {
    gap: 5px 9px;
  }

  .product-summary span:not(:last-child)::after {
    margin-left: 9px;
  }

  .primary-cta {
    min-width: 0;
    width: 100%;
    gap: 15px;
    padding: 16px 18px;
    font-size: .92rem;
  }

  .features,
  .works {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .feature-item {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }

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

  .work-image {
    height: 235px;
  }

  .work-copy {
    padding: 24px;
  }

  .closing {
    min-height: 560px;
    padding: 80px 24px;
  }

  .site-footer {
    min-height: 90px;
  }

  .mobile-cta {
    position: fixed;
    z-index: 20;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: block;
    padding: 14px 20px;
    border-radius: 4px;
    color: var(--white);
    background: var(--blue-dark);
    box-shadow: 0 8px 24px rgba(36, 48, 55, .24);
    font-size: .9rem;
    font-weight: 700;
    text-align: center;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
