/* =========================================================
   PÂTISSERIE MIEL RECRUIT LP
   Standalone stylesheet / no external font or framework
   ========================================================= */

:root {
  --cream: #f8f2e8;
  --cream-deep: #efe3d3;
  --paper: #fffdf8;
  --white: #ffffff;
  --ink: #2b201d;
  --ink-soft: #625550;
  --berry: #a4494e;
  --berry-dark: #7c343a;
  --rose: #e6a3a0;
  --butter: #f0c96a;
  --pistachio: #7c8d6c;
  --pistachio-light: #dbe1cf;
  --line: rgba(43, 32, 29, 0.18);
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", Meiryo, sans-serif;
  --shell: 1240px;
  --header-height: 86px;
  --demo-height: 30px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--demo-height) + 20px);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.035em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-menu-open,
body.is-dialog-open {
  overflow: hidden;
}

::selection {
  background: var(--berry);
  color: var(--white);
}

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

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

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

figure,
h1,
h2,
h3,
p,
dl,
dd,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  transition: transform 0.2s ease;
}

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

.scroll-progress {
  position: fixed;
  z-index: 150;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--berry);
  will-change: transform;
}

.demo-bar {
  position: fixed;
  z-index: 130;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: var(--demo-height);
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 3px 18px 0;
  background: var(--ink);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.09em;
  text-align: center;
}

.section {
  padding: clamp(96px, 10vw, 160px) 0;
}

.section-shell {
  width: min(calc(100% - 64px), var(--shell));
  margin-inline: auto;
}

.section-index,
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-index {
  color: var(--berry);
}

.section-heading {
  margin-bottom: clamp(52px, 7vw, 96px);
}

.section-heading h2,
.story__content h2,
.people__story h2,
.faq h2 {
  margin-top: 24px;
  font-family: var(--serif);
  font-size: clamp(38px, 5.2vw, 72px);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: -0.045em;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 9vw;
  align-items: end;
}

.section-heading--split > p {
  max-width: 440px;
  color: var(--ink-soft);
  font-size: 15px;
}

.mobile-only {
  display: none;
}

/* Header -------------------------------------------------- */

.site-header {
  position: fixed;
  z-index: 100;
  top: var(--demo-height);
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 max(28px, calc((100vw - 1440px) / 2));
  border-bottom: 1px solid transparent;
  transition:
    height 0.35s var(--ease),
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  height: 72px;
  border-color: rgba(43, 32, 29, 0.1);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 8px 30px rgba(43, 32, 29, 0.06);
  backdrop-filter: blur(12px);
}

.brand {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand__sub {
  margin-top: 6px;
  color: var(--berry);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.38em;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.global-nav > a {
  position: relative;
  padding: 10px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.global-nav > a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  content: "";
  transition: transform 0.35s var(--ease);
}

.global-nav > a:hover::after,
.global-nav > a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
}

/* Buttons ------------------------------------------------- */

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 0 28px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s var(--ease);
}

.button span {
  font-size: 16px;
  transition: transform 0.3s var(--ease);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:hover span,
.button:focus-visible span {
  transform: translate(3px, -3px);
}

.button--small {
  min-height: 44px;
  gap: 18px;
  padding: 0 20px;
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
}

.button--primary {
  border-color: var(--berry);
  background: var(--berry);
  color: var(--white);
}

.button--primary:hover,
.button--primary:focus-visible {
  border-color: var(--berry-dark);
  background: var(--berry-dark);
}

.button--dark {
  min-width: min(100%, 310px);
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.button--wide {
  width: 100%;
}

.text-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.text-link span {
  transition: transform 0.3s var(--ease);
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateY(4px);
}

/* Hero ---------------------------------------------------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(520px, 1.08fr);
  gap: clamp(28px, 5vw, 86px);
  align-items: center;
  min-height: max(760px, 100svh);
  padding: calc(var(--header-height) + var(--demo-height) + 48px) max(28px, calc((100vw - 1440px) / 2)) 58px;
  overflow: hidden;
  background:
    radial-gradient(circle at 4% 82%, rgba(230, 163, 160, 0.23), transparent 20%),
    var(--cream);
}

.hero::before {
  position: absolute;
  top: 24%;
  left: -70px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(164, 73, 78, 0.34);
  border-radius: 50%;
  content: "";
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-left: clamp(0px, 2vw, 32px);
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(26px, 4vh, 42px);
  color: var(--ink-soft);
}

.hero .eyebrow span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--berry);
  color: var(--white);
  font-size: 9px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(52px, 5.5vw, 88px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.075em;
}

.hero__lead {
  margin-top: clamp(28px, 4vh, 42px);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 2;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 30px;
  align-items: center;
  margin-top: clamp(28px, 4vh, 40px);
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 580px;
  margin-top: clamp(34px, 5vh, 54px);
  border-top: 1px solid var(--line);
}

.hero__meta > div {
  padding: 15px 14px 0 0;
}

.hero__meta > div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.hero__meta dt {
  color: var(--berry);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero__meta dd {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
}

.hero__visual {
  position: relative;
  width: 100%;
  height: min(74svh, 790px);
  min-height: 570px;
}

.hero__visual picture,
.hero__visual img {
  width: 100%;
  height: 100%;
}

.hero__visual img {
  border-radius: clamp(90px, 10vw, 170px) 4px 4px 4px;
  object-fit: cover;
  object-position: 54% center;
}

.hero__visual figcaption {
  position: absolute;
  right: 18px;
  bottom: -32px;
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__note {
  position: absolute;
  right: -18px;
  bottom: 56px;
  display: grid;
  width: 150px;
  aspect-ratio: 1;
  place-content: center;
  transform: rotate(5deg);
  border: 1px solid rgba(43, 32, 29, 0.28);
  border-radius: 50%;
  background: var(--butter);
  box-shadow: 0 18px 45px rgba(43, 32, 29, 0.17);
  text-align: center;
}

.hero__note span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-style: italic;
}

.hero__note p {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: max(28px, calc((100vw - 1440px) / 2));
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.25em;
  writing-mode: vertical-rl;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 45px;
  overflow: hidden;
  background: var(--line);
}

.scroll-cue i::after {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  animation: scroll-line 2.1s ease-in-out infinite;
  background: var(--ink);
  content: "";
}

@keyframes scroll-line {
  0% { transform: translateY(0); }
  60%, 100% { transform: translateY(200%); }
}

/* Word loop ----------------------------------------------- */

.word-loop {
  overflow: hidden;
  border-block: 1px solid var(--ink);
  background: var(--berry);
  color: var(--white);
  white-space: nowrap;
}

.word-loop div {
  width: max-content;
  padding: 15px 0 13px;
  animation: marquee 32s linear infinite;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(14px, 1.5vw, 21px);
  font-style: italic;
  letter-spacing: 0.13em;
}

.word-loop span {
  display: inline-block;
  margin: 0 24px;
  color: var(--butter);
  font-style: normal;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Intro --------------------------------------------------- */

.intro {
  background: var(--paper);
}

.intro__grid {
  display: grid;
  grid-template-columns: minmax(130px, 0.28fr) minmax(0, 1fr);
  gap: 6vw;
}

.display-title {
  max-width: 970px;
  font-family: var(--serif);
  font-size: clamp(46px, 7.3vw, 104px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.065em;
}

.display-title em {
  position: relative;
  color: var(--berry);
  font-family: Georgia, "Times New Roman", var(--serif);
  font-weight: 400;
  font-style: italic;
}

.intro__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 90px);
  max-width: 820px;
  margin: clamp(48px, 7vw, 94px) 0 0 auto;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2.1;
}

/* Story --------------------------------------------------- */

.story {
  background: var(--cream);
}

.story__grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.85fr) minmax(380px, 0.82fr);
  gap: clamp(64px, 11vw, 160px);
  align-items: center;
}

.story__image {
  position: relative;
  justify-self: end;
  width: min(100%, 520px);
}

.story__image::before {
  position: absolute;
  z-index: 0;
  top: -24px;
  right: -24px;
  width: 45%;
  height: 38%;
  background-image: radial-gradient(var(--berry) 1.4px, transparent 1.4px);
  background-size: 13px 13px;
  content: "";
  opacity: 0.4;
}

.story__image picture {
  position: relative;
  z-index: 1;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 3px 3px 110px 3px;
}

.story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story__image figcaption {
  position: absolute;
  z-index: 2;
  bottom: 22px;
  left: -26px;
  padding: 10px 14px;
  transform: rotate(-90deg) translateY(-100%);
  transform-origin: left bottom;
  background: var(--paper);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.story__content {
  max-width: 510px;
}

.story__content .eyebrow {
  color: var(--berry);
}

.story__content > p:not(.eyebrow) {
  margin-top: 36px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 2;
}

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

.check-list li {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
}

.check-list span {
  color: var(--berry);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-style: italic;
}

/* Values -------------------------------------------------- */

.values {
  background: var(--pistachio-light);
}

.value-list {
  border-top: 1px solid rgba(43, 32, 29, 0.35);
}

.value-list li {
  display: grid;
  grid-template-columns: 90px minmax(260px, 0.78fr) minmax(280px, 1fr);
  gap: clamp(20px, 5vw, 72px);
  align-items: center;
  padding: clamp(34px, 4vw, 56px) 0;
  border-bottom: 1px solid rgba(43, 32, 29, 0.35);
}

.value-list__number {
  color: var(--berry);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-style: italic;
}

.value-list h3 {
  font-family: var(--serif);
  font-size: clamp(23px, 2.5vw, 34px);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.value-list p {
  max-width: 500px;
  color: #554f49;
  font-size: 14px;
}

/* Workday ------------------------------------------------- */

.workday {
  background: var(--paper);
}

.day-switcher {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(48px, 8vw, 110px);
  padding-top: 48px;
  border-top: 1px solid var(--ink);
}

.day-tabs {
  display: flex;
  flex-direction: column;
  align-self: start;
  border-top: 1px solid var(--line);
}

.day-tabs button {
  position: relative;
  padding: 22px 44px 22px 8px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
}

.day-tabs button::after {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  color: var(--berry);
  content: "→";
  opacity: 0;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.day-tabs button[aria-selected="true"] {
  color: var(--berry);
}

.day-tabs button[aria-selected="true"]::after {
  transform: translate(4px, -50%);
  opacity: 1;
}

.timeline {
  position: relative;
}

.timeline::before {
  position: absolute;
  top: 18px;
  bottom: 30px;
  left: 85px;
  width: 1px;
  background: var(--line);
  content: "";
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 52px;
  min-height: 112px;
  padding-bottom: 24px;
}

.timeline li::before {
  position: absolute;
  z-index: 1;
  top: 11px;
  left: 79px;
  width: 13px;
  aspect-ratio: 1;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--berry);
  box-shadow: 0 0 0 1px var(--berry);
  content: "";
}

.timeline time {
  padding-top: 3px;
  color: var(--berry);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-style: italic;
}

.timeline h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
}

.timeline p {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 13px;
}

.day-panel[hidden] {
  display: none;
}

/* People -------------------------------------------------- */

.people {
  background: var(--cream);
}

.people__visual {
  position: relative;
  aspect-ratio: 16 / 8.6;
  overflow: hidden;
  border-radius: 3px 120px 3px 3px;
}

.people__visual picture,
.people__visual img {
  width: 100%;
  height: 100%;
}

.people__visual img {
  object-fit: cover;
  object-position: center 42%;
}

.people__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(43, 32, 29, 0.4), transparent 55%);
  content: "";
}

.people__visual > span {
  position: absolute;
  z-index: 1;
  bottom: clamp(28px, 5vw, 70px);
  left: clamp(24px, 5vw, 70px);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 5vw, 68px);
  font-style: italic;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.people__story {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: 8vw;
  padding: clamp(64px, 8vw, 110px) clamp(0px, 3vw, 48px);
}

.people__story blockquote {
  align-self: end;
  max-width: 540px;
  padding-top: 26px;
  border-top: 1px solid var(--ink);
}

.people__voices {
  display: grid;
  align-self: end;
  gap: clamp(34px, 5vw, 62px);
}

.people__story blockquote > p {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.8;
}

.people__story blockquote footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  font-size: 10px;
  letter-spacing: 0.11em;
}

.people__story blockquote footer span {
  padding: 5px 9px;
  background: var(--pistachio-light);
}

/* Positions ----------------------------------------------- */

.positions {
  background: var(--paper);
}

.job-list {
  border-top: 1px solid var(--ink);
}

.job-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 0.58fr) minmax(380px, 1.1fr) 150px;
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
  padding: clamp(48px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--ink);
}

.job-card__title > span {
  color: var(--berry);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.job-card__title h3 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.job-card__title p {
  display: inline-block;
  margin-top: 20px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
}

.job-card dl {
  border-top: 1px solid var(--line);
}

.job-card dl > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.job-card dt {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
}

.circle-link {
  display: grid;
  width: 140px;
  aspect-ratio: 1;
  place-items: center;
  padding: 22px;
  border: 1px solid var(--berry);
  border-radius: 50%;
  background: transparent;
  color: var(--berry);
  text-align: center;
  transition:
    color 0.35s ease,
    background-color 0.35s ease,
    transform 0.35s var(--ease);
}

.circle-link span {
  align-self: end;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.circle-link i {
  align-self: start;
  font-size: 18px;
  font-style: normal;
}

.circle-link:hover,
.circle-link:focus-visible {
  transform: rotate(4deg) scale(1.03);
  background: var(--berry);
  color: var(--white);
}

.sample-note {
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 11px;
}

/* Steps --------------------------------------------------- */

.steps {
  background: var(--butter);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.step-list li {
  position: relative;
  min-height: 280px;
  padding: 32px clamp(18px, 2.2vw, 32px) 36px;
}

.step-list li + li {
  border-left: 1px solid var(--ink);
}

.step-list li:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -17px;
  display: grid;
  width: 34px;
  aspect-ratio: 1;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--butter);
  content: "→";
  font-size: 13px;
}

.step-list span {
  color: var(--berry-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-style: italic;
  letter-spacing: 0.15em;
}

.step-list h3 {
  margin-top: 56px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
}

.step-list p {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.85;
}

/* FAQ ----------------------------------------------------- */

.faq {
  background: var(--cream);
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.68fr) minmax(480px, 1.12fr);
  gap: clamp(64px, 11vw, 150px);
}

.faq__grid > div:first-child > p:last-child {
  max-width: 370px;
  margin-top: 36px;
  color: var(--ink-soft);
  font-size: 14px;
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--ink);
}

.faq-list summary {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr 24px;
  gap: 12px;
  align-items: center;
  padding: 27px 4px;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary > span {
  color: var(--berry);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.faq-list summary i,
.faq-list summary i::after {
  position: absolute;
  top: 50%;
  right: 5px;
  width: 15px;
  height: 1px;
  background: var(--ink);
  content: "";
  transition: transform 0.3s var(--ease);
}

.faq-list summary i::after {
  top: 0;
  right: 0;
  transform: rotate(90deg);
}

.faq-list details[open] summary i {
  transform: rotate(180deg);
}

.faq-list details[open] summary i::after {
  transform: rotate(0deg);
}

.faq-list details > div {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.faq-list details[open] > div {
  grid-template-rows: 1fr;
}

.faq-list details > div > p {
  overflow: hidden;
  padding: 0 44px 0 48px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 2;
}

.faq-list details[open] > div > p {
  padding-bottom: 27px;
}

/* Closing ------------------------------------------------- */

.closing {
  position: relative;
  min-height: 700px;
  padding: clamp(110px, 13vw, 190px) 0;
  overflow: hidden;
  background: var(--berry);
  color: var(--white);
  text-align: center;
}

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

.closing::before {
  top: -230px;
  left: -140px;
  width: 520px;
  aspect-ratio: 1;
}

.closing::after {
  right: -170px;
  bottom: -270px;
  width: 610px;
  aspect-ratio: 1;
}

.closing__sprinkle {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.34) 1.4px, transparent 1.4px);
  background-size: 44px 44px;
  opacity: 0.45;
  -webkit-mask-image: radial-gradient(circle at center, #000, transparent 68%);
  mask-image: radial-gradient(circle at center, #000, transparent 68%);
}

.closing__inner {
  position: relative;
  z-index: 1;
}

.closing h2 {
  margin-top: 32px;
  font-family: var(--serif);
  font-size: clamp(58px, 9vw, 128px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.075em;
}

.closing h2 em {
  position: relative;
  color: var(--butter);
  font-family: Georgia, "Times New Roman", var(--serif);
  font-weight: 400;
  font-style: italic;
}

.closing__inner > p:not(.eyebrow) {
  margin-top: 32px;
  font-family: var(--serif);
  font-size: clamp(14px, 1.5vw, 18px);
}

.closing .button {
  margin-top: 42px;
}

/* Footer -------------------------------------------------- */

.site-footer {
  padding: 72px 0 22px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr 0.65fr;
  gap: 50px;
  padding-bottom: 64px;
}

.site-footer__brand {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-footer__brand + p {
  margin-top: 8px;
  color: var(--rose);
  font-family: var(--serif);
  font-size: 12px;
}

.site-footer__demo {
  max-width: 360px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 10px;
  line-height: 1.8;
}

.site-footer__address {
  font-size: 12px;
  line-height: 2.1;
}

.site-footer__address a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  letter-spacing: 0.13em;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 9px;
  letter-spacing: 0.13em;
}

.mobile-entry {
  display: none;
}

/* Entry dialog -------------------------------------------- */

.entry-dialog {
  width: min(calc(100% - 36px), 660px);
  max-height: min(90svh, 850px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(25, 17, 15, 0.32);
}

.entry-dialog::backdrop {
  background: rgba(29, 20, 18, 0.66);
  backdrop-filter: blur(6px);
}

.entry-dialog[open] {
  animation: dialog-in 0.4s var(--ease) both;
}

@keyframes dialog-in {
  from { transform: translateY(24px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.entry-dialog__panel {
  position: relative;
  padding: clamp(36px, 7vw, 70px);
}

.entry-dialog__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.entry-dialog__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--ink);
}

.entry-dialog__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.entry-dialog .eyebrow {
  color: var(--berry);
}

.entry-dialog h2 {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.045em;
}

.entry-dialog__lead {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 13px;
}

.entry-form {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.entry-form label > span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
}

.entry-form label b {
  margin-left: 6px;
  color: var(--berry);
  font-size: 9px;
}

.entry-form input,
.entry-form select,
.entry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: var(--white);
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.entry-form input,
.entry-form select {
  height: 52px;
  padding: 0 14px;
}

.entry-form textarea {
  padding: 12px 14px;
  resize: vertical;
}

.entry-form input:focus,
.entry-form select:focus,
.entry-form textarea:focus {
  border-color: var(--berry);
  box-shadow: 0 0 0 3px rgba(164, 73, 78, 0.13);
}

.entry-form__note {
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.8;
  text-align: center;
}

.entry-form__note span {
  color: var(--berry);
}

.entry-form__result {
  padding: 14px 16px;
  border: 1px solid rgba(124, 141, 108, 0.38);
  background: rgba(219, 225, 207, 0.46);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.7;
  text-align: left;
}

.entry-form__result:focus {
  outline: 2px solid var(--pistachio);
  outline-offset: 3px;
}

/* Reveal motion ------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}

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

/* Tablet -------------------------------------------------- */

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

  .site-header {
    padding-inline: 24px;
  }

  .global-nav {
    gap: 18px;
  }

  .global-nav > a:nth-of-type(3),
  .global-nav > a:nth-of-type(5) {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(360px, 0.94fr) minmax(440px, 1.06fr);
    padding-inline: 32px;
  }

  .hero h1 {
    font-size: clamp(48px, 6vw, 68px);
  }

  .hero__note {
    right: -4px;
    width: 126px;
  }

  .scroll-cue {
    display: none;
  }

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

  .job-card .circle-link {
    grid-column: 2;
    width: auto;
    aspect-ratio: auto;
    min-height: 52px;
    grid-template-columns: 1fr auto;
    border-radius: 999px;
  }

  .circle-link span,
  .circle-link i {
    align-self: center;
  }
}

/* Mobile -------------------------------------------------- */

@media (max-width: 960px) {
  :root {
    --header-height: 68px;
    --demo-height: 42px;
  }

  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
    font-size: 15px;
  }

  .section {
    padding: 84px 0;
  }

  .section-shell {
    width: min(calc(100% - 36px), var(--shell));
  }

  .mobile-only {
    display: initial;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .section-heading h2,
  .story__content h2,
  .people__story h2,
  .faq h2 {
    margin-top: 17px;
    font-size: clamp(34px, 10vw, 46px);
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .site-header,
  .site-header.is-scrolled {
    height: var(--header-height);
    padding-inline: 18px;
  }

  .brand__name {
    font-size: 15px;
  }

  .menu-button {
    position: relative;
    z-index: 3;
    display: block;
    width: 45px;
    aspect-ratio: 1;
    padding: 0;
    border: 1px solid var(--ink);
    border-radius: 50%;
    background: var(--cream);
  }

  .menu-button span {
    position: absolute;
    top: calc(50% - 3px);
    left: 50%;
    width: 17px;
    height: 1px;
    transform: translate(-50%, -50%);
    background: var(--ink);
    transition: transform 0.3s var(--ease), top 0.3s var(--ease);
  }

  .menu-button span:last-child {
    top: calc(50% + 4px);
  }

  .menu-button[aria-expanded="true"] span {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    z-index: 1;
    inset: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 88px 28px 90px;
    transform: translateY(-16px);
    background: var(--cream);
    opacity: 0;
    pointer-events: none;
    transition:
      visibility 0.35s,
      opacity 0.35s ease,
      transform 0.35s var(--ease);
  }

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

  .global-nav > a,
  .global-nav > a:nth-of-type(3),
  .global-nav > a:nth-of-type(5) {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 18px;
  }

  .global-nav > a::before {
    color: var(--berry);
    content: "↗";
    font-family: var(--sans);
    font-size: 12px;
    order: 2;
  }

  .global-nav > a::after {
    display: none;
  }

  .global-nav .button {
    margin-top: 28px;
  }

  .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
    gap: 34px;
    padding: calc(var(--header-height) + var(--demo-height) + 28px) 18px 68px;
  }

  .hero::before {
    display: none;
  }

  .hero__copy {
    width: 100%;
    padding: 0;
  }

  .hero .eyebrow {
    margin-bottom: 24px;
  }

  .hero h1 {
    font-size: clamp(47px, 14vw, 65px);
    line-height: 1.16;
  }

  .hero__lead {
    margin-top: 25px;
    font-size: 14px;
    line-height: 1.9;
  }

  .hero__actions {
    margin-top: 25px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__actions .text-link {
    display: none;
  }

  .hero__meta {
    margin-top: 28px;
  }

  .hero__meta > div {
    padding-top: 12px;
  }

  .hero__meta > div + div {
    padding-left: 10px;
  }

  .hero__meta dd {
    font-size: 10px;
  }

  .hero__visual {
    width: calc(100% + 18px);
    height: auto;
    min-height: 0;
    margin-left: 0;
    aspect-ratio: 4 / 5;
  }

  .hero__visual img {
    border-radius: 80px 3px 3px 3px;
    object-position: 57% center;
  }

  .hero__visual figcaption {
    right: 10px;
    bottom: -26px;
    font-size: 10px;
  }

  .hero__note {
    right: -5px;
    bottom: 24px;
    width: 110px;
  }

  .hero__note p {
    font-size: 12px;
  }

  .word-loop div {
    padding-block: 12px 10px;
  }

  .intro__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .display-title {
    font-size: clamp(40px, 12vw, 56px);
    line-height: 1.3;
  }

  .intro__body {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 42px;
    font-size: 14px;
  }

  .story__grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .story__image {
    justify-self: auto;
    width: calc(100% - 18px);
  }

  .story__image::before {
    top: -18px;
    right: -18px;
  }

  .story__image picture {
    border-radius: 3px 3px 76px 3px;
  }

  .story__image figcaption {
    left: -18px;
  }

  .story__content > p:not(.eyebrow) {
    margin-top: 26px;
    font-size: 14px;
  }

  .check-list {
    margin-top: 34px;
  }

  .check-list li {
    gap: 16px;
    font-size: 13px;
  }

  .value-list li {
    grid-template-columns: 52px 1fr;
    gap: 8px 16px;
    padding: 30px 0;
  }

  .value-list h3 {
    font-size: 22px;
  }

  .value-list p {
    grid-column: 2;
    font-size: 13px;
  }

  .day-switcher {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 26px;
  }

  .day-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid var(--ink);
    border-radius: 999px;
    overflow: hidden;
  }

  .day-tabs button {
    padding: 12px 8px;
    border: 0;
    font-size: 13px;
    text-align: center;
  }

  .day-tabs button + button {
    border-left: 1px solid var(--ink);
  }

  .day-tabs button[aria-selected="true"] {
    background: var(--ink);
    color: var(--white);
  }

  .day-tabs button::after {
    display: none;
  }

  .timeline::before {
    left: 70px;
  }

  .timeline li {
    grid-template-columns: 54px 1fr;
    gap: 36px;
    min-height: 126px;
  }

  .timeline li::before {
    left: 64px;
  }

  .timeline time {
    font-size: 16px;
  }

  .timeline h3 {
    font-size: 18px;
  }

  .people__visual {
    width: calc(100% + 18px);
    aspect-ratio: 4 / 5;
    border-radius: 3px 76px 3px 3px;
  }

  .people__visual img {
    object-position: 55% center;
  }

  .people__visual::after {
    background: linear-gradient(0deg, rgba(43, 32, 29, 0.45), transparent 62%);
  }

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

  .people__story blockquote > p {
    font-size: 20px;
  }

  .people__story blockquote footer {
    flex-wrap: wrap;
  }

  .job-card {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 46px 0;
  }

  .job-card dl > div {
    grid-template-columns: 80px 1fr;
    gap: 12px;
    font-size: 12px;
  }

  .job-card .circle-link {
    grid-column: auto;
    width: 100%;
  }

  .step-list {
    grid-template-columns: 1fr;
  }

  .step-list li {
    min-height: 0;
    padding: 30px 18px 32px;
  }

  .step-list li + li {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .step-list li:not(:last-child)::after {
    top: auto;
    right: 24px;
    bottom: -17px;
    transform: rotate(90deg);
  }

  .step-list h3 {
    margin-top: 24px;
  }

  .faq__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .faq-list summary {
    grid-template-columns: 28px 1fr 20px;
    gap: 8px;
    padding-block: 22px;
    font-size: 14px;
    line-height: 1.65;
  }

  .faq-list details > div > p {
    padding-inline: 36px 8px;
  }

  .closing {
    min-height: 620px;
    padding-block: 110px;
  }

  .closing h2 {
    font-size: clamp(52px, 17vw, 76px);
    line-height: 1.13;
  }

  .closing::before {
    top: -160px;
    left: -190px;
    width: 380px;
  }

  .closing::after {
    right: -210px;
    bottom: -190px;
    width: 450px;
  }

  .site-footer {
    padding-top: 54px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 44px;
  }

  .site-footer nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .site-footer__bottom {
    gap: 20px;
  }

  .mobile-entry {
    position: fixed;
    z-index: 90;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    display: none;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 24px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    box-shadow: 0 12px 35px rgba(43, 32, 29, 0.28);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
  }

  .js .mobile-entry {
    display: flex;
    visibility: hidden;
    transform: translateY(18px);
    opacity: 0;
    pointer-events: none;
    transition:
      visibility 0.3s,
      opacity 0.3s ease,
      transform 0.3s var(--ease);
  }

  .js .mobile-entry.is-visible {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .entry-dialog {
    width: calc(100% - 20px);
    max-height: calc(100svh - 20px);
  }

  .entry-dialog__panel {
    padding: 54px 22px 30px;
  }

  .demo-bar {
    padding-inline: 8px;
    font-size: 10px;
    line-height: 1.35;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 43px;
  }

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

  .hero__meta > div:last-child {
    grid-column: 1 / -1;
    margin-top: 12px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .faq-list summary {
    font-size: 13px;
  }
}

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

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

  .js [data-reveal] {
    transform: none;
    opacity: 1;
  }
}
