:root {
  color-scheme: light;
  --ink: #24211e;
  --muted: #615b52;
  --paper: #f7f4ec;
  --white: #ffffff;
  --moss: #1e6b65;
  --moss-dark: #18544f;
  --rust: #b58b3b;
  --line: #e5ddce;
  --soft-line: rgba(229, 221, 206, 0.72);
  --shadow: 0 32px 90px rgba(36, 33, 30, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", Georgia, serif;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0;
}

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

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

section[id] {
  scroll-margin-top: 96px;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(247, 244, 236, 0.18);
  border-bottom: 1px solid transparent;
  display: flex;
  gap: clamp(18px, 2.2vw, 34px);
  justify-content: space-between;
  left: 0;
  min-height: 88px;
  padding: 22px clamp(20px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(247, 244, 236, 0.96);
  border-color: var(--soft-line);
  box-shadow: 0 12px 42px rgba(36, 33, 30, 0.05);
}

.brand img {
  height: 25px;
  opacity: 0.82;
  transition: filter 180ms ease, opacity 180ms ease;
  width: auto;
}

.language-switch {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  flex: 0 0 auto;
  font-family: "Helvetica Neue", Arial, sans-serif;
  gap: 2px;
  padding: 3px;
}

.language-switch button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: rgba(36, 33, 30, 0.62);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  min-height: 28px;
  min-width: 38px;
  padding: 5px 10px;
}

.language-switch button.is-active {
  background: rgba(36, 33, 30, 0.08);
  color: var(--ink);
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(18px, 2.2vw, 34px);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-left: auto;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  background: var(--rust);
  bottom: -7px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-contact {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 9px 18px;
}

.nav-contact::after {
  content: none;
}

.nav-toggle {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: none;
  font: inherit;
  height: 40px;
  padding: 0;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  width: 40px;
}

.nav-toggle span {
  background: var(--ink);
  display: block;
  border-radius: 999px;
  height: 2px;
  left: 50%;
  margin: 0;
  position: absolute;
  top: 50%;
  transition: transform 180ms ease;
  transform-origin: center;
  width: 25px;
}

.nav-toggle span:first-child {
  transform: translate(-50%, -6px);
}

.nav-toggle span:last-child {
  transform: translate(-50%, 6px);
}

.hero {
  background:
    radial-gradient(circle at 78% 24%, rgba(227, 240, 236, 0.58), transparent 24%),
    radial-gradient(circle at 64% 84%, rgba(181, 139, 59, 0.12), transparent 30%),
    linear-gradient(135deg, var(--paper), var(--white) 74%);
  min-height: 100vh;
  overflow: hidden;
  padding: 132px clamp(20px, 4vw, 64px) 98px;
  position: relative;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(247, 244, 236, 0.95) 0%, rgba(247, 244, 236, 0.72) 46%, rgba(247, 244, 236, 0.22) 100%),
    linear-gradient(180deg, rgba(247, 244, 236, 0.08), rgba(247, 244, 236, 0.62)),
    url("assets/estay-hero-base.avif") center / cover no-repeat;
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}

.hero__motion,
.hero__motion-vignette {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero__motion {
  opacity: 0.32;
  z-index: 1;
}

.hero__motion-vignette {
  background:
    linear-gradient(90deg, rgba(247, 244, 236, 0.36) 0%, rgba(247, 244, 236, 0.14) 54%, rgba(36, 33, 30, 0.1) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(247, 244, 236, 0.86));
  z-index: 2;
}

.hero__content {
  color: var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(240px, 0.44fr);
  max-width: none;
  min-height: calc(100vh - 230px);
  padding-top: 80px;
  position: relative;
  z-index: 3;
}

.eyebrow,
.section-label {
  color: var(--rust);
  font-size: 12px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--rust);
  grid-column: 1 / -1;
}

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

h1 {
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5.4vw, 78px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.16;
  margin-top: auto;
  max-width: 760px;
}

h2 {
  font-family: Georgia, "Times New Roman", "Hiragino Mincho ProN", serif;
  font-size: clamp(26px, 3.8vw, 46px);
  font-weight: 400;
  line-height: 1.3;
}

h3 {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.6;
}

.hero__text {
  color: rgba(36, 33, 30, 0.72);
  font-size: clamp(13px, 1.05vw, 15px);
  grid-column: 1 / 2;
  margin-top: 28px;
  max-width: 680px;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button:disabled {
  cursor: progress;
  opacity: 0.58;
  transform: none;
}

.button-primary {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.76);
  color: var(--white);
}

.news,
.news-page,
.news-article,
.intro,
.value,
.business,
.works,
.recruit,
.company,
.partners,
.privacy {
  padding: clamp(78px, 10vw, 136px) clamp(20px, 5vw, 72px);
}

.intro,
.value,
.business,
.works,
.recruit,
.company,
.partners,
.contact,
.privacy {
  border-top: 1px solid rgba(229, 221, 206, 0.6);
}

.news {
  background: var(--paper);
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(140px, 0.24fr) minmax(0, 1fr);
  padding-bottom: clamp(48px, 6vw, 78px);
  padding-top: clamp(48px, 6vw, 78px);
}

.news__heading {
  align-content: start;
  display: grid;
  gap: 18px;
}

.news__heading a,
.news-article__back {
  color: var(--muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news__heading a::after,
.news-article__back::after {
  content: " ->";
  color: var(--rust);
}

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

.news__list article {
  border-bottom: 1px solid var(--line);
}

.news__list article a {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: 150px 1fr;
  padding: 26px 0;
  transition: color 180ms ease, transform 180ms ease;
}

.news__list article a:hover,
.news__list article a:focus-visible {
  color: var(--moss-dark);
  transform: translateX(4px);
}

.news__list time {
  color: var(--rust);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  padding-top: 4px;
}

.news-post__content {
  display: grid;
  gap: 8px;
}

.news-post__category,
.news-post__read {
  color: var(--muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-post__read {
  color: var(--rust);
  margin-top: 4px;
}

.news__list h3 {
  color: var(--ink);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", Georgia, serif;
  font-size: 18px;
  line-height: 1.65;
}

.news__list p {
  color: var(--muted);
  font-size: 14px;
}

.news-page {
  background: var(--paper);
  padding-top: clamp(120px, 14vw, 180px);
}

.news-page__heading {
  display: grid;
  gap: 16px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(42px, 6vw, 72px);
  max-width: 760px;
  width: 100%;
}

.news-page__heading p {
  color: var(--muted);
}

.news__list--page {
  margin-left: auto;
  margin-right: auto;
  max-width: 980px;
  width: 100%;
}

.news-article {
  background: var(--paper);
  display: grid;
  gap: clamp(34px, 6vw, 72px);
  padding-top: clamp(120px, 14vw, 180px);
}

.news-article__back {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 820px;
  width: 100%;
}

.news-article__header {
  display: grid;
  gap: 14px;
  margin-left: auto;
  margin-right: auto;
  max-width: 820px;
  width: 100%;
}

.news-article__header time {
  color: var(--rust);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
}

.news-article__header h1 {
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.35;
  max-width: 760px;
}

.news-article__body {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  gap: 24px;
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
  padding-top: clamp(34px, 5vw, 56px);
  width: 100%;
}

.news-article__body h2 {
  color: var(--ink);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  line-height: 1.5;
  margin-top: 18px;
}

.news-article__body ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.25em;
}

.news-article__body li::marker {
  color: var(--rust);
}

.news-article__info {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  margin: 0;
}

.news-article__info div {
  display: grid;
  gap: 18px;
  grid-template-columns: 150px minmax(0, 1fr);
  padding: 15px 0;
}

.news-article__info div + div {
  border-top: 1px solid var(--line);
}

.news-article__info dt {
  color: var(--ink);
  font-weight: 500;
}

.news-article__info dd {
  margin: 0;
}

.news-article__contact a {
  color: var(--ink);
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.22em;
}

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

.intro__grid {
  display: grid;
  gap: clamp(34px, 9vw, 128px);
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  margin-top: 22px;
}

.intro__body {
  color: var(--muted);
  display: grid;
  gap: 22px;
  font-size: 15px;
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 840px;
}

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

.value__grid {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 44px;
}

.value__grid article {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-height: 270px;
  padding: 26px 24px;
}

.value__grid article:last-child {
  border-right: 0;
}

.value__grid span,
.works__type {
  color: var(--rust);
  display: block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.02em;
  margin-bottom: 36px;
  text-transform: uppercase;
}

.value__grid p,
.works__grid p,
.recruit__body p,
.privacy__items p {
  color: var(--muted);
}

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

.business__list {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  margin-top: 46px;
}

.business-card {
  align-items: start;
  background: transparent;
  border-bottom: 1px solid var(--line);
  display: grid;
  column-gap: clamp(18px, 3vw, 38px);
  row-gap: 10px;
  grid-template-columns: minmax(220px, 0.42fr) minmax(280px, 0.58fr);
  min-height: auto;
  padding: 30px 0;
}

.business-card:first-child {
  border-top: 1px solid var(--line);
}

.business-card p {
  color: var(--muted);
  margin-top: 0;
}

.service-detail {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 40px;
}

.service-detail article {
  background: rgba(255, 255, 255, 0.46);
  border-top: 1px solid rgba(229, 221, 206, 0.72);
  min-height: 242px;
  padding: 24px 22px;
}

.service-detail h3 {
  margin-bottom: 14px;
}

.service-detail p {
  color: var(--muted);
  font-size: 14px;
}

.message {
  background: var(--white);
  border-top: 1px solid rgba(229, 221, 206, 0.6);
  padding: clamp(76px, 9vw, 124px) clamp(20px, 5vw, 72px);
}

.message__inner {
  align-items: center;
  display: grid;
  gap: clamp(30px, 5vw, 68px);
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  margin: 0 auto;
  max-width: 980px;
}

.message__portrait {
  aspect-ratio: 1;
  border: 1px solid var(--soft-line);
  box-shadow: var(--shadow);
  filter: sepia(0.14) saturate(0.84);
  justify-self: center;
  object-fit: cover;
  width: min(100%, 220px);
}

.message__text {
  display: grid;
  gap: 18px;
}

.message__text p {
  color: var(--muted);
}

.message__text .signature {
  border-top: 1px solid rgba(181, 139, 59, 0.3);
  color: var(--ink);
  display: grid;
  gap: 6px;
  font-weight: 400;
  margin-top: 18px;
  padding-top: 18px;
}

.message__text .signature p {
  color: inherit;
  line-height: 1.7;
  margin: 0;
}

.message__text .signature p:first-child {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.message__text .signature p:last-child {
  color: var(--ink);
  font-size: 15px;
}

.works {
  background: var(--white);
}

.works__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 56px;
}

.works__grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  min-height: 360px;
  padding: 34px;
}

.works__type {
  margin-bottom: 64px;
}

.works__grid h3 {
  margin-bottom: 16px;
}

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

.recruit__inner {
  display: grid;
  gap: clamp(34px, 7vw, 92px);
  grid-template-columns: minmax(280px, 0.72fr) minmax(440px, 0.88fr);
}

.recruit__body {
  display: grid;
  gap: 28px;
}

.recruit__lead {
  font-size: 16px;
}

.recruit__panels {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
}

.recruit__panels article {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1fr);
  padding: 24px 0;
}

.recruit__panels span {
  color: var(--rust);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.recruit__panels ul {
  color: var(--ink);
  display: grid;
  gap: 12px;
  list-style: none;
}

.recruit__panels li {
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}

.recruit__panels li::before {
  background: var(--rust);
  border-radius: 50%;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  top: 0.72em;
  width: 5px;
}

.recruit__note {
  border-left: 1px solid var(--rust);
  padding-left: 18px;
}

.recruit__body .button {
  justify-self: end;
  min-width: min(100%, 320px);
}

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

.company__table {
  border-top: 1px solid var(--line);
  margin-top: 44px;
}

.company__table > div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(120px, 0.22fr) minmax(0, 1fr);
  padding: 24px 0;
}

.company__table span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
}

.company__table p {
  color: var(--muted);
}

.partners {
  background: var(--white);
  display: grid;
  gap: 0;
}

.partners__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.partner-logo {
  align-items: center;
  background: transparent;
  display: flex;
  justify-content: center;
  min-height: 104px;
  padding: 22px 24px;
}

.partner-logo img {
  filter: grayscale(1);
  max-height: 42px;
  max-width: 170px;
  opacity: 0.72;
  transition: filter 180ms ease, opacity 180ms ease;
  width: auto;
}

.partner-logo:hover img {
  filter: grayscale(0);
  opacity: 0.92;
}

.partner-logo:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 6px;
}

.partner-logo span {
  color: rgba(97, 91, 82, 0.45);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.partner-logo--kadokawa img {
  display: none;
}

.partner-logo--kadokawa::before {
  background: #000066;
  content: "";
  display: block;
  height: 28px;
  mask: url("assets/kadokawa-logo.png") center / contain no-repeat;
  opacity: 0.82;
  transition: opacity 180ms ease;
  width: 200px;
  -webkit-mask: url("assets/kadokawa-logo.png") center / contain no-repeat;
}

.partner-logo--kadokawa:hover::before {
  opacity: 0.92;
}

.partner-logo--dwango img {
  filter: none;
  max-height: 34px;
  max-width: 190px;
  opacity: 0.9;
}

.partner-logo--dwango:hover img {
  filter: none;
  opacity: 1;
}

.partner-logo--macromill img {
  filter: none;
  max-height: 34px;
  max-width: 190px;
  opacity: 0.92;
}

.partner-logo--macromill:hover img {
  filter: none;
  opacity: 1;
}

.partner-logo--nissan img {
  filter: none;
  max-height: 58px;
  max-width: 116px;
  opacity: 0.86;
}

.partner-logo--nissan:hover img {
  filter: none;
  opacity: 1;
}

.partner-logo--vonxai img {
  filter: none;
  max-height: 36px;
  max-width: 36px;
  opacity: 0.86;
}

.partner-logo--vonxai {
  gap: 12px;
}

.partner-logo--vonxai span {
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  opacity: 0.88;
  text-transform: none;
}

.partner-logo--vonxai:hover img,
.partner-logo--vonxai:hover span {
  filter: none;
  opacity: 1;
}

.contact {
  align-items: start;
  background: var(--white);
  color: var(--ink);
  display: grid;
  gap: clamp(34px, 8vw, 110px);
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.78fr);
  padding: clamp(92px, 12vw, 150px) clamp(20px, 5vw, 72px);
}

.contact h2 {
  margin-top: 12px;
}

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

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--rust);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  outline: none;
  padding: 8px 0;
  width: 100%;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form .contact-form__honeypot {
  display: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--rust);
}

.form-note {
  color: var(--muted);
  font-size: 13px;
}

.form-status {
  color: var(--muted);
  font-size: 13px;
  min-height: 1.6em;
}

.form-status.is-success {
  color: var(--moss);
}

.form-status.is-error {
  color: #c82727;
}

.privacy {
  background: var(--paper);
  padding-bottom: clamp(36px, 5vw, 64px);
  padding-top: clamp(36px, 5vw, 64px);
}

.legal-page {
  min-height: 72vh;
  padding-top: 88px;
}

.recruit-page-main {
  background: var(--paper);
  padding-top: 88px;
}

.recruit-page {
  border-top: 0;
  min-height: calc(100vh - 260px);
}

.recruit-page h1 {
  font-size: clamp(30px, 4vw, 52px);
  margin-top: 0;
}

.contact-page-main {
  background: var(--white);
  padding-top: 88px;
}

.contact-page {
  border-top: 0;
  min-height: calc(100vh - 260px);
}

.contact-page h1 {
  font-size: clamp(30px, 4vw, 52px);
  margin-top: 12px;
}

.error-page-main {
  background:
    linear-gradient(90deg, rgba(247, 244, 236, 0.94), rgba(247, 244, 236, 0.8)),
    var(--paper);
  min-height: 74vh;
  padding-top: 88px;
}

.error-page {
  align-content: center;
  border-top: 0;
  display: grid;
  gap: clamp(18px, 3vw, 30px);
  margin: 0 auto;
  max-width: 920px;
  min-height: calc(74vh - 88px);
  padding: clamp(90px, 12vw, 150px) clamp(20px, 5vw, 72px);
}

.error-page h1 {
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.35;
  margin: 0;
}

.error-page p {
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 18px);
  margin: 0;
  max-width: 620px;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.error-page__actions .button {
  width: auto;
}

.error-page__contact {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.privacy-page {
  padding-bottom: clamp(96px, 12vw, 156px);
  padding-top: clamp(96px, 12vw, 156px);
}

.privacy-page__heading {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: clamp(22px, 4vw, 72px);
  grid-template-columns: minmax(0, 0.54fr) minmax(260px, 0.46fr);
  margin-top: 18px;
  padding-bottom: clamp(40px, 6vw, 76px);
}

.privacy-page h1 {
  font-size: clamp(32px, 4.2vw, 52px);
  margin: 0;
  word-break: keep-all;
}

.privacy-page__heading p {
  color: var(--muted);
  max-width: 520px;
}

.privacy__details {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.privacy__details summary {
  align-items: center;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  list-style: none;
  min-height: 74px;
  outline: none;
}

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

.privacy__details summary > span:last-child {
  font-size: clamp(20px, 2.5vw, 28px);
}

.privacy__details summary::after {
  color: var(--rust);
  content: "+";
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 22px;
}

.privacy__details[open] summary::after {
  content: "-";
}

.privacy__details summary:focus-visible {
  box-shadow: 0 0 0 1px var(--rust);
}

.privacy__items {
  display: grid;
  gap: 0;
  padding-bottom: 18px;
}

.privacy-page .privacy__items {
  padding-bottom: 0;
}

.privacy__items article {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(160px, 0.24fr) minmax(0, 1fr);
  padding: 18px 0;
}

.privacy__items h3 {
  font-size: 17px;
}

.social-follow {
  background: transparent;
  border: 0;
  padding: 0;
  width: 100%;
}

.social-follow__inner {
  margin: 0 auto;
  max-width: 1180px;
}

.social-follow__icons {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 2.1vw, 24px);
  justify-content: flex-start;
}

.social-icon {
  align-items: center;
  color: rgba(247, 244, 236, 0.82);
  display: inline-flex;
  height: 30px;
  justify-content: center;
  opacity: 0.94;
  position: relative;
  transition: opacity 180ms ease, transform 180ms ease;
  width: 30px;
}

.social-icon:hover,
.social-icon:focus-visible {
  opacity: 0.68;
  transform: translateY(-2px);
}

.social-icon span {
  display: block;
}

.social-icon--facebook {
  font-family: Arial, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.social-icon--x {
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

.social-icon--instagram {
  border: 3px solid currentColor;
  border-radius: 8px;
  height: 29px;
  width: 29px;
}

.social-icon--instagram::before {
  border: 3px solid currentColor;
  border-radius: 50%;
  content: "";
  height: 8px;
  inset: 50% auto auto 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 8px;
}

.social-icon--instagram::after {
  background: currentColor;
  border-radius: 50%;
  content: "";
  height: 4px;
  position: absolute;
  right: 6px;
  top: 5px;
  width: 4px;
}

.social-icon--youtube {
  background: currentColor;
  border-radius: 7px;
  height: 22px;
  width: 34px;
}

.social-icon--youtube::before {
  border-bottom: 6px solid transparent;
  border-left: 10px solid var(--ink);
  border-top: 6px solid transparent;
  content: "";
  left: 13px;
  position: absolute;
  top: 5px;
}

.footer {
  align-items: center;
  background: var(--ink);
  color: rgba(247, 244, 236, 0.74);
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: 34px clamp(20px, 5vw, 72px) 28px;
}

.footer__brand {
  border-top: 1px solid rgba(247, 244, 236, 0.12);
  display: inline-flex;
  justify-self: center;
  justify-content: center;
  margin-top: 2px;
  opacity: 0.82;
  padding-top: 18px;
  transition: opacity 180ms ease;
  width: 100%;
}

.footer__brand:hover,
.footer__brand:focus-visible {
  opacity: 1;
}

.footer__brand img {
  filter: invert(96%) sepia(8%) saturate(280%) hue-rotate(343deg) brightness(103%) contrast(92%);
  height: 22px;
  width: auto;
}

.footer__links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  gap: 18px;
  justify-content: center;
  letter-spacing: 0.02em;
  line-height: 1.6;
  width: 100%;
}

.footer__links a {
  color: rgba(247, 244, 236, 0.62);
  transition: color 180ms ease;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: rgba(247, 244, 236, 0.84);
}

.footer__links p {
  color: rgba(247, 244, 236, 0.68);
  margin: 0;
}

.floating-cta {
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(247, 244, 236, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  bottom: 26px;
  box-shadow: 0 18px 60px rgba(36, 33, 30, 0.12);
  display: none;
  font-family: "Helvetica Neue", Arial, sans-serif;
  gap: 4px;
  left: 50%;
  padding: 7px;
  position: fixed;
  transform: translateX(-50%);
  z-index: 30;
}

.floating-cta a {
  align-items: center;
  border-radius: 999px;
  color: rgba(36, 33, 30, 0.72);
  display: inline-flex;
  font-size: 13px;
  justify-content: center;
  line-height: 0.8;
  min-height: 52px;
  min-width: 72px;
  padding: 8px 18px;
}

.floating-cta a:first-child {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  letter-spacing: 0.08em;
  min-width: 60px;
  padding: 8px 14px;
}

.floating-cta a:last-child {
  background: rgba(36, 33, 30, 0.06);
}

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

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

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
    order: 3;
  }

  .language-switch {
    margin-left: auto;
    order: 2;
  }

  .site-nav {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    box-shadow: 0 26px 50px rgba(36, 33, 30, 0.12);
    display: grid;
    gap: 0;
    left: 0;
    opacity: 0;
    order: 4;
    padding: 12px 20px;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 87px;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .site-header:not(.is-scrolled) .site-nav.is-open {
    color: var(--ink);
  }

  .site-nav a {
    border-bottom: 1px solid var(--line);
    padding: 15px 0;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .nav-contact {
    border: 0;
  }

  .nav-toggle.is-open span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .nav-toggle.is-open span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .intro__grid,
  .news,
  .news__list article a,
  .value__grid,
  .message__inner,
  .works__grid,
  .recruit__inner,
  .recruit__panels,
  .contact,
  .privacy-page__heading,
  .privacy__items article {
    grid-template-columns: 1fr;
  }

  .partners__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .business-card {
    grid-template-columns: minmax(220px, 0.42fr) minmax(280px, 0.58fr);
  }

  .service-detail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value__grid article,
  .value__grid article:last-child {
    border-right: 0;
  }

  .recruit__panels article,
  .recruit__panels article + article {
    grid-template-columns: 1fr;
  }

  .contact {
    align-items: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
    padding: 16px 18px;
  }

  .brand img {
    height: 20px;
    max-width: 150px;
  }

  .site-nav {
    top: 67px;
  }

  .hero {
    min-height: 88vh;
    padding: 98px 20px 72px;
  }

  .hero__content {
    min-height: calc(88vh - 170px);
    padding-top: 24px;
  }

  .hero__lead {
    margin-top: 20px;
  }

  .hero__text br {
    display: none;
  }

  .button {
    width: 100%;
  }

  .recruit__body .button {
    justify-self: stretch;
  }

  .intro,
  .news,
  .news-page,
  .news-article,
  .value,
  .business,
  .works,
  .recruit,
  .company,
  .partners,
  .message,
  .error-page,
  .privacy {
    padding-left: 20px;
    padding-right: 20px;
  }

  .news__list article a {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .news__list article a:hover,
  .news__list article a:focus-visible {
    transform: none;
  }

  .news-article__info div {
    gap: 6px;
    grid-template-columns: 1fr;
  }

  .business-card {
    grid-template-columns: 1fr;
    padding: 28px 0;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

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

  .partner-logo {
    min-height: 104px;
  }

  .service-detail article,
  .works__grid article,
  .value__grid article {
    min-height: auto;
  }

  .company__table > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer {
    align-items: center;
    gap: 10px;
  }

  .social-follow {
    padding: 0;
  }

  .social-follow__icons {
    gap: 14px 18px;
  }

  .footer__links {
    align-items: center;
    flex-direction: column;
    gap: 8px;
  }

  .error-page__actions .button {
    width: 100%;
  }
}
