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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #0d0f12;
  color: #f7f7f5;
  font-family: Arial, Helvetica, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 1rem;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

button, input, textarea {
  font: inherit;
}

button, input, textarea {
  color: inherit;
}

:focus-visible {
  outline: 0.2rem solid #e5b85c;
  outline-offset: 0.2rem;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.7rem 1rem;
  background: #f7f7f5;
  color: #0d0f12;
  transform: translateY(-150%);
}

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

.container {
  width: min(100% - 2rem, 90rem);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(7rem, 13vw, 12rem);
}

.section-heading {
  margin-bottom: clamp(3rem, 8vw, 7rem);
}

.section-heading h1,
.section-heading h2,
.simple-page h1 {
  margin: 0;
  font-size: clamp(2.7rem, 9vw, 6.5rem);
  line-height: 0.86;
  letter-spacing: -0.052em;
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: #e5b85c;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.media-frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #22252b, #15181e);
}

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

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 2rem;
  border: 0.0625rem solid #f7f7f5;
  background: #f7f7f5;
  color: #0d0f12;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.button:hover {
  background: transparent;
  color: #f7f7f5;
}

.required-mark {
  color: #ffb4ab;
  font-size: 0.75rem;
  font-weight: 700;
}

.desktop-only {
  display: none;
}

.simple-page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.simple-page__main {
  display: grid;
  flex: 1;
  place-items: center;
  padding-block: clamp(7rem, 18vw, 12rem);
}

.simple-page__content {
  max-width: 48rem;
}

.simple-page__content > :last-child {
  margin-bottom: 0;
}

.prose h1 {
  margin-bottom: 3rem;
}

.prose h2 {
  margin: 3rem 0 0.5rem;
  font-size: clamp(1.3rem, 3vw, 1.65rem);
}

.prose address {
  font-style: normal;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
.site-header {
  position: relative;
  z-index: 100;
  min-height: 4.75rem;
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.2);
  background: rgba(13, 15, 18, 0.96);
}

.site-header__inner {
  min-height: 5.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  font-size: clamp(1.25rem, 4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.site-logo img {
  width: clamp(6.5rem, 12vw, 8.3125rem);
  height: auto;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.js .menu-toggle {
  display: inline-flex;
  width: 3.75rem;
  height: 3.75rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0.0625rem solid #f7f7f5;
  background: #f7f7f5;
  color: #0d0f12;
}

.js .menu-toggle:hover {
  background: transparent;
  color: #f7f7f5;
}

.menu-toggle__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.menu-toggle__icon {
  display: grid;
  width: 1.5rem;
  gap: 0.3rem;
}

.menu-toggle__icon span {
  height: 0.125rem;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded=true] .menu-toggle__icon span:first-child {
  transform: translateY(0.425rem) rotate(45deg);
}

.menu-toggle[aria-expanded=true] .menu-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded=true] .menu-toggle__icon span:last-child {
  transform: translateY(-0.425rem) rotate(-45deg);
}

.site-nav {
  width: 100%;
}

.js .site-nav {
  display: none;
}

.js .site-nav.is-open {
  display: block;
}

.site-nav__list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 1rem 0 1.5rem;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0.65rem 0;
  font-size: clamp(1.1rem, 5vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.site-nav a:hover {
  color: #e5b85c;
}

.hero {
  display: grid;
  min-height: calc(100svh - 4.75rem);
  background: #15181e;
}

.hero__media {
  min-height: 48svh;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(3rem, 11vw, 9.5rem) max(1rem, (100vw - 90rem) / 2);
  text-align: center;
}

.hero h1 {
  margin: 0 0 clamp(2rem, 5vw, 4.5rem);
  font-size: clamp(4rem, 7vw, 4.75rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.hero__content .eyebrow {
  font-size: 0.65rem;
}

.hero__content p:not(.eyebrow) {
  max-width: 35rem;
  margin: 0 0 0.35rem;
  color: #b4b6bd;
  font-size: clamp(0.88rem, 1.3vw, 1rem);
  line-height: 1.8;
}

.about {
  padding: 0;
}

.about__media {
  width: 100%;
  height: clamp(28rem, 42vw, 38rem);
}

.about__media::after, .company__background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

.about__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: clamp(3rem, 9vw, 9.5rem);
  text-align: center;
}

.about__statement {
  max-width: 58rem;
  margin: 0 0 1.5rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;
}

.about h2 {
  margin: 0;
  font-size: clamp(0.8rem, 1.4vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.services {
  background: linear-gradient(135deg, #536a22 0%, #93a47c 30%, #9bb8c5 61%, #d7aec6 100%);
  color: #f7f7f5;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0 0 62%;
  background: #08090b;
}

.services .container {
  position: relative;
  z-index: 1;
}

.services .section-heading {
  text-align: center;
}

.services .section-heading h2 {
  font-size: clamp(2.75rem, 5vw, 3.5rem);
  letter-spacing: -0.035em;
}

.services__grid {
  display: grid;
  gap: clamp(4.5rem, 10vw, 9.5rem);
}

.service-card {
  padding: 0 0 2rem;
  background: rgba(8, 9, 11, 0.97);
  text-align: center;
}

.service-card__number {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.5rem;
  color: #e5b85c;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.service-card__number::after {
  content: "";
  width: 2.5rem;
  height: 0.0625rem;
  background: currentColor;
  opacity: 0.6;
}

.service-card__number {
  justify-content: center;
  width: 4.5rem;
  min-height: 4.5rem;
  margin: -2.25rem auto 0;
  border-radius: 50%;
  background: #494a51;
  color: #f7f7f5;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.service-card__number::after {
  display: none;
}

.service-card__media {
  aspect-ratio: 16/9;
}

.service-card h3 {
  margin: 1.5rem 1.5rem 1rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1;
  letter-spacing: 0;
}

.service-card > p:last-child {
  max-width: 27rem;
  margin: 0 auto;
  padding-inline: 1.5rem;
  color: #b4b6bd;
  font-size: clamp(0.82rem, 1.2vw, 0.95rem);
  line-height: 1.75;
}

.works {
  background: #3b3b40;
}

.works .section-heading {
  margin-bottom: 3rem;
  text-align: left;
}

.works .section-heading h2 {
  font-size: clamp(2.75rem, 5vw, 3.5rem);
}

.works__grid {
  display: grid;
  gap: 3rem;
}

.work-card {
  border: 0;
  background: #0d0f12;
}

.work-card__media {
  aspect-ratio: 16/9;
}

.work-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 7vw, 7rem);
}

.work-card__category {
  margin: 0 0 1.5rem;
  color: #e5b85c;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.work-card h3 {
  width: fit-content;
  max-width: none;
  margin: 0 0 2rem;
  padding: 0.65rem 1.5rem;
  background: #bcaea8;
  color: #202124;
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}

.work-card__body > :last-child {
  margin-bottom: 0;
  color: #b4b6bd;
}

.company-visual {
  width: 100%;
  height: clamp(25rem, 35vw, 31.25rem);
}

.company-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 18, 23, 0.26);
}

.profile-contact {
  display: grid;
}

.company {
  min-height: 42rem;
  display: grid;
  align-items: center;
  background: #f4f4f2;
  color: #101114;
}

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

.company .eyebrow {
  color: #55565a;
}

.company-data {
  max-width: 38rem;
  margin: 0;
  border-top: 0.0625rem solid rgba(16, 17, 20, 0.2);
}

.company-data div {
  display: grid;
  gap: 0.5rem;
  padding: clamp(1.5rem, 3vw, 2rem) 0;
  border-bottom: 0.0625rem solid rgba(16, 17, 20, 0.2);
}

.company-data dt {
  color: #5f6064;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.company-data dd {
  margin: 0;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  font-weight: 400;
  line-height: 1.8;
}

.contact {
  background: #08090b;
}

.contact__inner {
  max-width: 44rem;
}

.contact .section-heading {
  margin-bottom: clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.contact .eyebrow {
  display: none;
}

.contact__intro {
  margin-bottom: 2rem;
  color: #b4b6bd;
  font-size: 0.82rem;
}

.contact__intro p {
  margin: 0;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0;
}

.form-field input:not([type=checkbox]), .form-field textarea {
  width: 100%;
  border: 0.0625rem solid rgba(255, 255, 255, 0.62);
  border-radius: 0;
  background: transparent;
  min-height: 2.75rem;
  padding: 0.55rem 0.75rem;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.form-field input:not([type=checkbox]):hover, .form-field textarea:hover {
  border-color: rgba(255, 255, 255, 0.42);
}

.form-field input:not([type=checkbox]):focus, .form-field textarea:focus {
  border-color: #e5b85c;
  background: #1b1e24;
  box-shadow: 0 0 0 0.0625rem #e5b85c;
}

.form-field textarea {
  height: 8rem;
  min-height: 8rem;
  resize: vertical;
}

.form-field--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-field--checkbox input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  accent-color: #bcaea8;
}

.form-field--checkbox label {
  font-weight: 400;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.contact-form .button {
  min-height: 2.75rem;
  margin-top: 0.25rem;
  border-color: #bcaea8;
  background: #bcaea8;
  color: #202124;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0;
}

.contact-form .button:hover {
  border-color: #f7f7f5;
  background: #f7f7f5;
  color: #0d0f12;
}

.form-error-summary {
  margin-bottom: 3rem;
  padding: 2rem;
  border: 0.0625rem solid rgba(255, 180, 171, 0.62);
  border-left-width: 0.25rem;
  background: rgba(120, 0, 0, 0.1);
}

.form-error-summary h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.field-error {
  margin: 0;
  color: #ffb4ab;
  font-size: 0.9rem;
  font-weight: 700;
}

[aria-invalid=true] {
  border-color: #ffb4ab !important;
}

.site-footer {
  border-top: 0.0625rem solid rgba(255, 255, 255, 0.2);
  background: #090a0c;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-block: 2rem;
}

.site-footer__inner p {
  margin: 0;
  color: #b4b6bd;
}

.site-footer__email {
  width: fit-content;
  font-size: clamp(1.15rem, 4vw, 2rem);
  font-weight: 700;
  text-decoration: none;
}

@media (min-width: 36rem) {
  .container {
    width: min(100% - 3rem, 90rem);
  }
  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .company-data div {
    grid-template-columns: 9rem 1fr;
    gap: 2rem;
  }
  .site-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
@media (min-width: 48rem) {
  .services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 4.5rem);
    transform: translateY(clamp(3rem, 5vw, 4.5rem));
  }
  .service-card {
    margin-top: 2rem;
  }
  .desktop-only {
    display: initial;
  }
}
@media (min-width: 64rem) {
  .site-header {
    position: relative;
    background: #08090b;
  }
  .site-header__inner {
    min-height: 11rem;
    flex-wrap: wrap;
    align-content: center;
    padding-block: 1.5rem;
  }
  .site-logo {
    width: 100%;
  }
  .js .menu-toggle {
    display: none;
  }
  .site-nav, .js .site-nav {
    display: block;
    flex-basis: 100vw;
    width: 100vw;
    max-width: none;
    margin-inline: calc(50% - 50vw);
    padding-inline: max(1.5rem, (100vw - 90rem) / 2);
    background: #15181e;
  }
  .site-nav__list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(1.2rem, 2.5vw, 2.6rem);
    padding: 0;
  }
  .site-nav a {
    padding: 0.8rem 0;
    font-size: 0.8rem;
  }
  .hero {
    min-height: 44rem;
    grid-template-columns: 1fr 1fr;
    padding-top: 0;
  }
  .hero__media {
    min-height: 44rem;
  }
  .hero__content {
    padding-inline: clamp(4.5rem, 7vw, 9.5rem);
  }
  .works__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .work-card--placeholder {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(24rem, 0.95fr);
    min-height: 34rem;
    margin-block: 2rem;
  }
  .work-card--placeholder .work-card__media {
    aspect-ratio: auto;
    min-height: 38rem;
  }
  .work-card--placeholder .work-card__body {
    align-self: center;
    min-height: 29rem;
    margin-left: -3rem;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.22);
  }
  .profile-contact {
    grid-template-columns: 1fr 2fr;
  }
  .company, .contact {
    min-height: 46rem;
    padding-block: clamp(4.5rem, 8vw, 9.5rem);
  }
  .company__inner {
    width: min(100% - 4rem, 34rem);
  }
  .company .section-heading h2 {
    font-size: 2.25rem;
    letter-spacing: -0.025em;
  }
  .contact__inner {
    width: min(100% - 6rem, 44rem);
  }
  .contact .section-heading h2 {
    font-size: 2.25rem;
    letter-spacing: -0.025em;
  }
}
