:root {
  --green-900: #173126;
  --green-800: #204433;
  --green-700: #2f5c45;
  --rice-gold: #c8a44a;
  --rice-gold-soft: #ead8a4;
  --soil: #806044;
  --cream: #f7f2e6;
  --cream-deep: #eee2c9;
  --white: #ffffff;
  --ink: #1f2621;
  --muted: #657268;
  --line: rgba(31, 38, 33, 0.12);
  --shadow: 0 22px 60px rgba(22, 41, 31, 0.18);
  --font-jp: "Hiragino Sans", "Yu Gothic", "YuGothic", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
  --side: 20px;
  --content-max: 1060px;
  --header-h: 62px;
  --opening-screen-fade-in: 500ms;
  --opening-screen-hold: 1500ms;
  --opening-screen-fade-out: 2000ms;
}

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

html {
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0;
  overflow-x: hidden;
  overflow-wrap: anywhere;
  word-break: normal;
  -webkit-font-smoothing: antialiased;
}

body.is-opening-active {
  overflow: hidden;
}

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

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

img {
  object-fit: cover;
}

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

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 0;
  z-index: 10000;
  padding: 10px 14px;
  background: var(--green-900);
  color: var(--white);
}

.skip-link:focus {
  top: 0;
}

.opening-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 26% 20%, rgba(232, 213, 151, 0.28), transparent 26%),
    radial-gradient(circle at 84% 80%, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(145deg, #11291f 0%, #204433 52%, #6f5a37 100%);
  color: var(--white);
  opacity: 0;
  animation:
    openingFadeIn var(--opening-screen-fade-in) ease forwards,
    openingFadeOut var(--opening-screen-fade-out) ease forwards;
  animation-delay: 0ms, calc(var(--opening-screen-fade-in) + var(--opening-screen-hold));
}

.opening-screen::before,
.opening-screen::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: rgba(232, 213, 151, 0.18);
  filter: blur(4px);
  animation: floatGlow 5s ease-in-out infinite alternate;
}

.opening-screen::before {
  top: 14%;
  left: -40px;
}

.opening-screen::after {
  right: -56px;
  bottom: 12%;
  animation-delay: 0.8s;
}

.opening-screen__glow {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(110deg, transparent 0 44%, rgba(234, 216, 164, 0.18) 45%, transparent 47%),
    linear-gradient(70deg, transparent 0 54%, rgba(255, 255, 255, 0.12) 55%, transparent 57%);
  opacity: 0.7;
}

.opening-screen__inner {
  position: relative;
  z-index: 1;
  width: min(82vw, 420px);
  text-align: center;
}

.opening-screen__name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.opening-screen__tagline {
  margin-top: 22px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.58;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.opening-screen__tagline span,
.hero__title span,
.hero__text span,
.section-title span,
.section-copy span,
.lead-copy span,
.message-copy span {
  display: block;
}

.opening-screen.is-complete {
  display: none;
}

@keyframes openingFadeIn {
  to { opacity: 1; }
}

@keyframes openingFadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes floatGlow {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(18px, -16px, 0) scale(1.16); }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding: 14px var(--side);
  color: var(--white);
  background: linear-gradient(180deg, rgba(13, 28, 21, 0.58), rgba(13, 28, 21, 0));
}

.site-header__brand {
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.34);
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: var(--green-900);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-position: 58% center;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 25, 19, 0.32) 0%, rgba(12, 25, 19, 0.1) 34%, rgba(12, 25, 19, 0.78) 100%),
    linear-gradient(90deg, rgba(12, 25, 19, 0.64), rgba(12, 25, 19, 0.1));
}

.hero__content {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(100%, 520px);
  padding: 96px var(--side) 54px;
}

.eyebrow,
.section-kicker {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--rice-gold-soft);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.34);
}

.hero__title {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: 31px;
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: 0;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.4);
}

.hero__text {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.85;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.44);
}

.cta-stack {
  display: grid;
  gap: 12px;
  width: 100%;
  margin-top: 26px;
}

.cta-stack--single {
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 13px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  border: 1px solid transparent;
}

.button--primary {
  color: var(--green-900);
  background: var(--white);
}

.button--secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.button--dark {
  color: var(--white);
  background: var(--green-800);
}

.button--light {
  color: var(--green-900);
  background: var(--white);
}

.button--outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

.hero__scroll {
  position: absolute;
  right: 14px;
  bottom: 20px;
  z-index: 1;
  writing-mode: vertical-rl;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.78;
}

.section {
  position: relative;
  padding: 72px 0;
}

.section__inner {
  width: min(100%, var(--content-max));
  margin-inline: auto;
  padding-inline: var(--side);
}

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

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

.section--green {
  color: var(--white);
  background:
    radial-gradient(circle at 0% 0%, rgba(232, 213, 151, 0.14), transparent 28%),
    linear-gradient(145deg, var(--green-900), var(--green-800));
}

.section--contact {
  color: var(--white);
  background:
    linear-gradient(rgba(23, 49, 38, 0.88), rgba(23, 49, 38, 0.9)),
    radial-gradient(circle at 24% 18%, rgba(232, 213, 151, 0.2), transparent 34%),
    var(--green-900);
}

.section-kicker {
  margin-bottom: 14px;
  color: var(--rice-gold);
}

.section--green .section-kicker,
.section--contact .section-kicker {
  color: var(--rice-gold-soft);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0;
}

.section-title--large {
  font-size: 32px;
}

.lead-copy,
.section-copy,
.message-copy {
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.section--green .section-copy,
.section--contact .section-copy {
  color: rgba(255, 255, 255, 0.86);
}

.lead-copy p + p,
.message-copy p + p {
  margin-top: 18px;
}

.section-photo {
  overflow: hidden;
  margin-top: 26px;
  border-radius: 0;
  background: var(--cream-deep);
  box-shadow: var(--shadow);
}

.section-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.section-photo--wide img {
  aspect-ratio: 4 / 3;
  object-position: center;
}

.pill-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.pill-list span {
  display: block;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.work-cards {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.work-card {
  padding: 22px 20px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.work-card__label {
  color: var(--rice-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-card h3 {
  margin-top: 8px;
  font-size: 19px;
  line-height: 1.45;
}

.work-card p:last-child {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.portrait-card {
  overflow: hidden;
  margin: 0 0 28px;
  background: var(--cream-deep);
  box-shadow: var(--shadow);
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-position: center 18%;
}

.message-copy {
  padding-top: 4px;
  color: var(--ink);
}

.message-copy__name {
  padding-top: 10px;
  font-weight: 800;
  text-align: right;
}

.recruit .section-photo img {
  aspect-ratio: 16 / 10;
  object-position: center;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.insta-tile {
  position: relative;
  display: block;
  min-height: 0;
  aspect-ratio: 1 / 1.18;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--green-800);
  box-shadow: 0 18px 34px rgba(22, 41, 31, 0.14);
}

.insta-tile img {
  width: 100%;
  height: 100%;
}

.insta-tile::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(13, 28, 21, 0), rgba(13, 28, 21, 0.76));
}

.insta-tile span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.site-footer {
  padding: 42px var(--side);
  color: rgba(255, 255, 255, 0.78);
  background: #10241b;
  text-align: center;
}

.site-footer__brand {
  display: inline-block;
  color: var(--white);
  font-weight: 800;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__copy,
.site-footer__privacy {
  margin-top: 18px;
  font-size: 12px;
}

@media (min-width: 768px) {
  :root {
    --side: 40px;
    --header-h: 76px;
  }

  body {
    font-size: 16px;
  }

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

  .site-header__nav {
    gap: 24px;
    font-size: 12px;
  }

  .hero__content {
    min-height: 760px;
    padding: 150px 64px 78px;
  }

  .hero__title {
    font-size: 54px;
  }

  .hero__text {
    font-size: 18px;
  }

  .cta-stack {
    max-width: 340px;
  }

  .section {
    padding-block: 104px;
  }

  .section-title {
    font-size: 42px;
  }

  .section-title--large {
    font-size: 52px;
  }

  .lead-copy,
  .section-copy,
  .message-copy {
    font-size: 17px;
  }

  .about .section__inner,
  .message .section__inner,
  .recruit .section__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    column-gap: 54px;
    align-items: center;
  }

  .about .section-kicker,
  .about .section-title,
  .about .lead-copy,
  .message .section-kicker,
  .message .section-title,
  .message .message-copy,
  .recruit .section-kicker,
  .recruit .section-title,
  .recruit .section-copy,
  .recruit .cta-stack {
    grid-column: 2;
  }

  .about .section-photo,
  .message .portrait-card,
  .recruit .section-photo {
    grid-column: 1;
    grid-row: 1 / span 4;
    margin: 0;
  }

  .work-cards,
  .pill-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (max-width: 374px) {
  :root {
    --side: 16px;
  }

  .hero__title {
    font-size: 29px;
  }

  .section-title {
    font-size: 25px;
  }

  .section-title--large {
    font-size: 31px;
  }

  .site-header__nav {
    gap: 10px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
