:root {
  color-scheme: light;
  --ink: #191a18;
  --paper: #f5f2ec;
  --gold: #bd9655;
  --gold-bright: #dbb568;
  --gold-ink: #765a2d;
  --black: #0a0b0a;
  --line: #b29a7045;
  --gutter: clamp(1.25rem, 5.5556vw, 15rem);
  --body-size: clamp(1.0625rem, 1rem + 0.14vw, 1.125rem);
  --heading-size: clamp(2rem, 1.65rem + 1.5vw, 3rem);
  --lead-size: clamp(1.375rem, 1.05rem + 1.22vw, 1.875rem);
  --section-space: clamp(4.5rem, 8.3vw, 10rem);
  font-family: 'Noto Serif JP', 'Yu Mincho', serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--black);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  background: var(--black);
  font-size: var(--body-size);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.035em;
}
/* Keep paper on the page surface and a dark canvas beneath the footer. */
main {
  background: linear-gradient(#f6f3ef66, #f6f3ef66), url('images/paper.webp') repeat;
  background-color: var(--paper);
  background-size: auto, 640px;
}
body.dialog-open {
  overflow: hidden;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
svg {
  display: block;
  width: 100%;
  height: 100%;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
}
button {
  border-radius: 0;
}
button:disabled {
  cursor: default;
}
::selection {
  background: #dbc393;
  color: #111;
}
:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 6px;
}
.anchor-section:focus:not(:focus-visible),
#top:focus:not(:focus-visible) {
  outline: none;
}
/* Programmatic navigation focus must not paint a section-sized ring after a tap. */
html[data-navigation-input="pointer"] :is([data-anchor-focus], .menu-toggle, .menu-close):focus {
  outline: none;
}
html[data-navigation-input="keyboard"] [data-anchor-focus]:focus {
  outline: 2px solid var(--gold-bright);
  outline-offset: 6px;
}
.anchor-section {
  scroll-margin-top: 28px;
}
.container {
  width: calc(100% - var(--gutter) * 2);
  margin-inline: auto;
}
.dark-surface {
  color: #f7f4ef;
  background: var(--black) url('images/black-texture.webp') repeat;
  background-size: 600px;
}
.skip-link {
  position: fixed;
  inset: 10px auto auto 10px;
  transform: translateY(-160%);
  padding: 8px 20px;
  background: var(--paper);
  color: var(--ink);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
}
.skip-link:focus {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.eyebrow {
  display: inline-block;
  padding: 3px 13px 4px;
  background: linear-gradient(110deg, #aa884f, #c9ae77);
  color: #18170f;
  font-family: Georgia, 'Noto Serif JP', serif;
  font-size: 0.875rem;
  line-height: 1.6;
  letter-spacing: 0.11em;
}
.section-title h2 {
  margin-top: 20px;
  font-size: var(--heading-size);
  line-height: 1.4;
  letter-spacing: 0.13em;
}
.lead {
  font-size: var(--lead-size);
  line-height: 1.9;
  font-weight: 600;
  letter-spacing: 0.09em;
}
.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 60px;
  padding: 13px 26px;
  min-width: min(288px, 100%);
  max-width: 100%;
  border: 1px solid var(--gold);
  border-radius: 100px;
  background: transparent;
  font-size: 1.0625rem;
  line-height: 1.65;
  text-align: center;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.pill > span:first-child {
  flex: 1;
}
.pill__arrow {
  flex: 0 0 auto;
  color: var(--gold-ink);
  font-family: serif;
  font-size: 1.15em;
  transition: transform 0.25s;
}
.pill:hover {
  background: #dac49938;
}
.pill:hover .pill__arrow {
  transform: translateX(4px);
}
.dark-surface .pill,
.recruit .pill {
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}
.dark-surface .pill__arrow,
.recruit .pill__arrow {
  color: var(--gold-bright);
}
.align-end {
  display: flex;
  justify-content: flex-end;
  margin-top: 56px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 1;
  min-width: 0;
}
.brand__crest {
  position: relative;
  display: block;
  width: 55px;
  height: 66px;
  color: var(--gold-bright);
  flex-shrink: 0;
}
.brand__crest > span {
  position: absolute;
  inset: 11px 0 0;
  text-align: center;
  font-size: 22px;
  line-height: 1.03;
  letter-spacing: 0.02em;
}
.brand__name {
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.8rem);
  letter-spacing: 0.12em;
}
.brand__name > span {
  font-size: 0.66em;
  letter-spacing: 0.07em;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 90px;
  padding: 10px 24px;
  background: #050605;
  color: #fff;
  border-bottom: 1px solid #ffffff0f;
  position: relative;
  z-index: 4;
}
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 2.4vw, 44px);
  font-size: 0.875rem;
  white-space: nowrap;
}
.desktop-nav > a {
  padding-block: 10px;
  transition: color 0.2s;
}
.desktop-nav > a:hover {
  color: var(--gold-bright);
}
.header-contact {
  padding: 12px 20px;
  color: var(--gold-bright);
  background: none;
  border: 1px solid var(--gold);
  font-size: 0.875rem;
}
.header-contact span {
  margin-left: 16px;
}
.menu-toggle {
  position: relative;
  display: none;
  background: none;
  border: 0;
  padding: 0;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  cursor: pointer;
}
.menu-toggle > span {
  position: absolute;
  display: block;
  top: calc(50% - .75px);
  right: 8px;
  width: 28px;
  height: 1.5px;
  background: var(--gold-bright);
  transform: translateY(-4px);
  transform-origin: center;
  transition: width .38s cubic-bezier(.22, 1, .36, 1), transform .38s cubic-bezier(.22, 1, .36, 1);
}
.menu-toggle > span:last-child {
  width: 18px;
  transform: translateY(4px);
}
@media (hover: hover) and (pointer: fine) {
  .menu-toggle[aria-expanded="false"]:hover > span:last-child { width: 28px; }
}
.menu-toggle[aria-expanded="true"] > span:first-child {
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] > span:last-child {
  width: 28px;
  transform: rotate(-45deg);
}
@media (prefers-reduced-motion: reduce) {
  .menu-toggle > span { transition: none; }
}
.hero-screen {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
  color: #fff;
  background: var(--black);
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: 600px;
}
.hero__photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 73%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 10%;
  z-index: -3;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #0005, transparent 40%);
  z-index: -2;
  pointer-events: none;
}
.hero__plane {
  position: absolute;
  inset: 0 auto 0 0;
  width: 47%;
  clip-path: polygon(0 0, 100% 0, 66% 100%, 0 100%);
  background: #090a09 url('images/black-texture.webp') repeat;
  background-size: 600px;
  z-index: -1;
}
.hero__copy {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: flex-start;
  width: 44%;
  padding: clamp(96px, 10vw, 170px) 0 150px var(--gutter);
  gap: clamp(24px, 2.7vw, 48px);
}
.hero h1 {
  display: flex;
  flex-direction: row-reverse;
  gap: 0.15em;
  font-size: clamp(4rem, 6.4vw, 6.25rem);
  line-height: 1.15;
  letter-spacing: 0.07em;
}
.hero h1 > span {
  writing-mode: vertical-rl;
}
.hero__tagline {
  writing-mode: vertical-rl;
  font-size: clamp(1rem, 1.5vw, 1.375rem);
  line-height: 1.85;
  letter-spacing: 0.16em;
  padding-top: 10px;
  flex-shrink: 0;
}
.hero__detail {
  position: absolute;
  right: 2%;
  bottom: 6.5%;
  width: 25.5%;
  max-width: 640px;
  aspect-ratio: 1.42;
  border: 1px solid var(--gold);
  padding: 3px;
  background: #080908;
  box-shadow: 0 6px 40px #0005;
}
.hero__detail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scroll-cue {
  position: absolute;
  left: var(--gutter);
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--gold-bright);
  font-family: Georgia, serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
}
.scroll-cue > span:last-child {
  width: 70px;
  height: 1px;
  background: currentColor;
}
.service-intro {
  position: relative;
  padding-block: clamp(96px, 12vw, 180px);
}
.service-intro::before {
  content: '';
  position: absolute;
  inset: 0 var(--gutter);
  border-inline: 1px solid var(--line);
  background: linear-gradient(
    90deg,
    transparent 11.1%,
    var(--line) 11.1%,
    var(--line) calc(11.1% + 1px),
    transparent calc(11.1% + 1px),
    transparent 34.4%,
    var(--line) 34.4%,
    var(--line) calc(34.4% + 1px),
    transparent calc(34.4% + 1px)
  );
  pointer-events: none;
  z-index: 0;
}
.service-intro__grid {
  position: relative;
  display: grid;
  grid-template-columns: 40% minmax(0, 1fr);
  gap: 5%;
}
.service-intro__copy > p:not(.lead) {
  margin-top: 28px;
  max-width: 42em;
}
.service-intro__copy > p + p:not(.lead) {
  margin-top: 20px;
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.service-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-inline-end: 1px solid #b3925266;
}
.service-card:last-child {
  border-inline-end: 0;
}
.service-card__image {
  height: clamp(260px, 27.33vw, 480px);
  overflow: hidden;
}
.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.service-card:hover .service-card__image img {
  transform: scale(1.035);
}
.service-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(30px, 3.35vw, 96px);
}
.service-number {
  color: var(--gold-bright);
  font-family: Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.4;
}
.service-number::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  margin-top: 6px;
  background: var(--gold);
}
.service-card h3 {
  font-size: clamp(1.5rem, 1.05rem + 1.08vw, 2.35rem);
  line-height: 1.6;
  letter-spacing: 0.04em;
  margin: 20px 0;
}
.gold-rule {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 22px;
}
.service-card p {
  flex: 1;
  margin-bottom: 30px;
  font-size: var(--body-size);
  line-height: 2.05;
  color: #e1dfd8;
}
.service-card .pill {
  margin-top: auto;
  top: 0;
  width: 100%;
  min-width: 0;
  font-size: 0.9375rem;
  min-height: 54px;
  padding: 12px 16px;
  gap: 14px;
}
.service-card p + .pill {
  margin-top: auto;
}
.close-button {
  background: none;
  border: 1px solid var(--gold);
  color: inherit;
  width: 44px;
  height: 44px;
  font:
    30px/1 Georgia,
    serif;
  flex: 0 0 auto;
}
.section-pad {
  padding-block: var(--section-space);
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 48px);
  margin-top: 44px;
}
.work-card__button {
  background: none;
  padding: 0;
  border: 0;
  width: 100%;
  text-align: left;
}
.work-card__image {
  display: block;
  position: relative;
  height: clamp(180px, 23vw, 440px);
  overflow: hidden;
}
.work-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s;
}
.work-card__image--1 img {
  object-position: center 35%;
}
.work-card__image--2 img {
  object-position: 57% center;
}
.work-card__image--3 img {
  object-position: 61% 34%;
  transform: scale(1.13);
}
.work-card__button:hover img {
  transform: scale(1.05);
}
.work-card__button:hover .work-card__image--3 img {
  transform: scale(1.18);
}
.image-open {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: #080a0880;
  opacity: 0;
  transition: opacity 0.25s;
}
.work-card__button:is(:hover, :focus-visible) .image-open {
  opacity: 1;
}
.work-card h3 {
  font-size: clamp(1.1rem, 0.8rem + 0.6vw, 1.5rem);
  line-height: 1.65;
  margin-top: 18px;
  font-weight: 500;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}
.tags > span,
.tag {
  display: inline-block;
  font-size: 0.8125rem;
  line-height: 1.65;
  padding: 5px 16px;
  border: 1px solid #a7926e;
  border-radius: 100px;
}
.image-note {
  margin-top: 22px;
  font-size: 0.75rem;
  color: #655e53;
}
.works .align-end {
  margin-top: 40px;
}
.about {
  padding-block: 48px var(--section-space);
}
.about__grid {
  display: grid;
  grid-template-columns: 35% minmax(0, 1fr);
  align-items: center;
  gap: 6%;
}
.about__copy > p {
  margin-top: 20px;
}
.about__copy .section-title + p {
  margin-top: 42px;
}
.about__copy > .pill {
  margin-top: 38px;
}
.quality {
  max-width: 400px;
  margin-top: 28px;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}
.quality summary {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  padding: 8px 0;
  list-style: none;
}
.quality summary::-webkit-details-marker {
  display: none;
}
.quality summary span {
  color: var(--gold-ink);
}
.quality[open] summary span {
  transform: rotate(45deg);
}
.quality p {
  padding: 12px 0 18px;
  line-height: 2;
}
.about-collage {
  position: relative;
  aspect-ratio: 1.09;
  margin: 50px 0;
}
.about-collage figure {
  position: absolute;
  border: 7px solid #fff;
  background: #fff;
  box-shadow: 2px 5px 14px #352e2628;
}
.about-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-collage__main {
  left: 0;
  top: 6%;
  width: 54%;
  height: 85%;
  transform: rotate(-8deg);
  z-index: 1;
}
.about-collage__main img {
  object-position: center;
}
.about-collage__planning {
  left: 51%;
  top: 2%;
  width: 47%;
  height: 51%;
  transform: rotate(9deg);
}
.about-collage__entrance {
  right: -1%;
  bottom: 0;
  width: 50%;
  height: 48%;
  transform: rotate(-6deg);
  z-index: 2;
}
.recruit {
  position: relative;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
  background: var(--black);
}
.recruit__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -3;
}
.recruit::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #0009 0%, #0005 38%, transparent 68%),
    linear-gradient(0deg, #0008, transparent 50%);
  z-index: -2;
}
.recruit__inner {
  position: relative;
  min-height: clamp(760px, 65vw, 1000px);
  padding-block: clamp(100px, 13.5vw, 220px);
}
.recruit__copy {
  position: relative;
  z-index: 1;
  width: 43%;
}
.recruit .section-title h2 {
  font-size: clamp(2.2rem, 2rem + 1.5vw, 3.7rem);
}
.recruit__copy > p {
  margin-top: 32px;
  line-height: 2;
}
.recruit__copy > .pill {
  margin-top: 42px;
  background: #0003;
}
.recruit__message {
  position: absolute;
  top: 6.5%;
  right: 0;
  writing-mode: vertical-rl;
  font-size: clamp(2.2rem, 3.7vw, 3.75rem);
  letter-spacing: 0.1em;
  line-height: 1.6;
  font-weight: 600;
  text-shadow: 0 2px 20px #0009;
}
.recruit__portrait {
  position: absolute;
  right: 0;
  bottom: 10%;
  width: 24%;
  max-width: 380px;
  aspect-ratio: 1;
  border: 2px solid var(--gold-bright);
  border-radius: 50%;
  overflow: hidden;
}
.recruit__portrait img {
  height: 100%;
  object-fit: cover;
}
.ornament {
  position: absolute;
  left: -50px;
  bottom: -70px;
  width: min(65vw, 900px);
  height: auto;
  pointer-events: none;
  opacity: 0.63;
}
.recruit > .ornament {
  display: none;
}
.mobile-break {
  display: none;
}
.news__grid {
  display: grid;
  grid-template-columns: 27% minmax(0, 1fr);
  gap: 7%;
}
.news h2 {
  font-size: var(--heading-size);
  line-height: 1.4;
  letter-spacing: 0.1em;
}
.news__heading > .gold-rule {
  margin: 30px 0 34px;
}
.news-filters {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.news-filters button {
  border: 1px solid var(--gold);
  border-radius: 100px;
  background: transparent;
  padding: 11px 26px;
  min-width: 190px;
  font-size: 1rem;
  line-height: 1.6;
  transition: background 0.2s;
}
.news-filters button[aria-pressed='true'] {
  background: #dac59f;
  border-color: #dac59f;
  color: #292115;
}
.news-filters button:hover {
  background: #dac59f77;
}
.news-list article + article {
  border-top: 1px solid var(--line);
}
.news-item {
  display: grid;
  grid-template-columns: clamp(120px, 10.4vw, 180px) minmax(0, 1fr) 16px;
  align-items: center;
  gap: 36px;
  width: 100%;
  text-align: left;
  padding: 28px 0;
  border: 0;
  background: none;
}
.news-list article:first-child .news-item {
  padding-top: 0;
}
.news-item__image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}
.news-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.news-item:is(:hover, :focus-visible) .news-item__image img {
  transform: scale(1.06);
}
.news-item h3 {
  margin-top: 18px;
  font-size: clamp(1.0625rem, 0.8rem + 0.8vw, 1.625rem);
  line-height: 1.8;
  font-weight: 500;
}
.news-item__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  transition: transform 0.2s;
}
.news-item:hover .news-item__dot {
  transform: scale(1.4);
}
.news-empty {
  padding: 60px 20px;
  border-block: 1px solid var(--line);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none !important;
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.contact__copy {
  padding: clamp(80px, 13vw, 190px) 32px;
  text-align: center;
  background: linear-gradient(135deg, #efe9dd33, #f9f6ef33);
}
.contact h2 {
  font-size: clamp(1.6rem, 1.1rem + 1.45vw, 2.625rem);
  letter-spacing: 0.1em;
  line-height: 1.6;
}
.contact .gold-rule {
  margin: 28px auto;
}
.contact__copy p {
  font-size: clamp(1rem, 0.8rem + 0.3vw, 1.1875rem);
  line-height: 2.15;
}
.contact__action {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: 68px 40px;
  text-align: center;
  background: #090a09;
  color: #fff;
}
.contact__action > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.contact__action::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #000a;
  z-index: -1;
}
.contact__action > div {
  width: 100%;
  max-width: 560px;
}
.contact__action .pill {
  width: 100%;
  min-height: 80px;
  color: var(--gold-bright);
  background: #050605dc;
  font-size: clamp(1rem, 0.8rem + 0.7vw, 1.625rem);
  border-color: var(--gold-bright);
}
.contact__action .pill__arrow {
  color: var(--gold-bright);
}
.contact__phone {
  display: block;
  width: 100%;
  margin-top: 16px;
  border: 0;
  background: none;
  color: inherit;
  font-family: Georgia, 'Noto Serif JP', serif;
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  letter-spacing: 0.04em;
  line-height: 1.6;
  white-space: nowrap;
}
.contact__action p {
  font-size: clamp(0.75rem, 0.6rem + 0.4vw, 1rem);
}
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 70px 0 28px;
}
.brand--footer {
  color: var(--gold-bright);
}
.brand--footer .brand__crest {
  width: 70px;
  height: 84px;
}
.brand--footer .brand__crest > span {
  font-size: 28px;
  top: 14px;
}
.brand--footer .brand__name {
  font-size: 2rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 26px 0;
  margin-top: 56px;
  color: var(--gold-bright);
  font-size: 1rem;
}
.footer-nav a {
  padding-inline: 28px;
  border-right: 1px solid #bdb39d66;
  line-height: 1.7;
}
.footer-nav a:last-child {
  border-right: 0;
  padding-right: 0;
}
.footer-nav a:hover {
  color: #fff;
}
.footer-nav a > span[aria-hidden] {
  display: none;
}
.footer-nav .footer-copy {
  display: block;
  min-width: 0;
}
.footer-copy > span {
  display: inline-block;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 130px;
  min-height: 360px;
}
.footer-motto {
  display: flex;
  flex-direction: row-reverse;
  font-size: 2.8rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  gap: 12px;
}
.footer-motto span {
  writing-mode: vertical-rl;
}
.page-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--gold-bright);
  font:
    1.125rem/1.6 Georgia,
    serif;
  border-bottom: 1px solid var(--gold);
  padding: 8px 0;
}
.page-top > span:first-child {
  display: inline-block;
  transform: translateY(0);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.page-top:is(:hover, :focus-visible) > span:first-child {
  transform: translateY(-4px);
}
.site-footer > .ornament {
  z-index: -1;
}
.prototype-note {
  margin-top: 72px;
  text-align: right;
  color: #b4ae9f;
  font-family: sans-serif;
  font-size: 0.6875rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
}
.detail-dialog {
  color: var(--ink);
  background: var(--paper) url('images/paper.webp') repeat;
  background-size: 640px;
  width: min(760px, calc(100% - 40px));
  max-height: calc(100svh - 48px);
  border: 1px solid var(--gold);
  padding: 30px 40px 36px;
  overscroll-behavior: contain;
}
.detail-dialog::backdrop {
  background: #050705c9;
  backdrop-filter: blur(5px);
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.detail-dialog h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.6;
  margin: 18px 0 24px;
}
.detail-dialog p {
  margin-block: 18px;
  font-size: 1rem;
}
.dialog-image {
  max-height: 320px;
  width: 100%;
  object-fit: cover;
}
.dialog-note,
.detail-dialog p.dialog-note {
  color: #605849;
  font-size: 0.8125rem;
  line-height: 1.9;
}
.dialog-return {
  margin-top: 18px;
}
.gallery-stage img {
  width: 100%;
  max-height: 48svh;
  object-fit: contain;
  background: #161713;
}
.gallery-stage h3 {
  font-size: 1.3rem;
  margin-top: 20px;
}
.gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
}
.gallery-controls .close-button {
  font-size: 20px;
}
.news-dialog-link {
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  font-size: 1rem;
  text-align: left;
}
.news-dialog-link > span:last-child {
  margin-left: auto;
}
.form-notice {
  padding: 14px 18px;
  background: #e7dcc6;
  line-height: 1.8;
}
.contact-dialog label {
  display: block;
  margin-top: 24px;
  font-size: 0.9375rem;
}
.contact-dialog label small {
  color: #6b3e21;
  margin-left: 10px;
  font-size: 0.75rem;
}
.contact-dialog :is(input:not([type='checkbox']), textarea, select) {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 1px solid #9c8d77;
  border-radius: 0;
  padding: 10px 12px;
  background: #fffcf6;
  color: var(--ink);
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.7;
}
.contact-dialog textarea {
  resize: vertical;
}
.contact-dialog input[type='checkbox'] {
  accent-color: #765a2d;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 12px;
}
.contact-dialog button[type='submit'] {
  margin-top: 30px;
}
.form-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}
.form-actions .pill {
  min-width: 0;
  flex: 1;
  font-size: 0.9375rem;
}
#form-summary {
  overflow-wrap: anywhere;
}
#form-summary dt {
  font-size: 0.875rem;
  color: #6a593a;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
#form-summary dd {
  margin: 8px 0 18px;
  white-space: pre-wrap;
  font-size: 1rem;
}
.form-test {
  border: 1px solid var(--line);
  padding: 10px 14px;
  font-size: 0.8125rem;
}
.form-test label {
  margin-top: 10px;
}
#form-result {
  padding: 30px 0;
}
#form-result h3 {
  font-size: 1.4rem;
}
@media (min-width: 1920px) {
  .hero h1 {
    font-size: 6.25rem;
  }
  .service-card p {
    max-width: 40em;
  }
  .works-grid {
    gap: 2.4vw;
  }
  .about-collage {
    max-height: 850px;
  }
  .about__copy {
    max-width: 620px;
  }
}
@media (max-width: 1099px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .site-header {
    min-height: 76px;
    padding: 8px 24px;
  }
  .brand__crest {
    width: 46px;
    height: 55px;
  }
  .brand__crest > span {
    font-size: 18px;
    inset-block-start: 10px;
  }
  .hero__plane {
    width: 55%;
    clip-path: polygon(0 0, 100% 0, 68% 100%, 0 100%);
  }
  .hero__photo {
    width: 76%;
    object-position: 55% center;
  }
  .hero__copy {
    width: 50%;
    gap: 24px;
  }
  .hero h1 {
    font-size: clamp(3.6rem, 6.4vw, 5rem);
  }
  .hero__tagline {
    font-size: 1rem;
  }
  .hero__detail {
    width: 28%;
  }
  .service-intro__grid {
    grid-template-columns: 34% minmax(0, 1fr);
  }
  .service-cards {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px var(--gutter);
  }
  .service-card {
    display: grid;
    grid-template-columns: 38% minmax(0, 1fr);
    border: 1px solid #b3925255;
  }
  .service-card:last-child {
    border-inline-end: 1px solid #b3925255;
  }
  .service-card__image {
    height: auto;
    aspect-ratio: auto;
  }
  .service-card__content {
    padding: 32px;
  }
  .service-card h3 {
    margin: 12px 0;
    font-size: 1.6rem;
  }
  .gold-rule {
    margin-bottom: 14px;
  }
  .service-card .pill {
    align-self: flex-start;
    width: auto;
  }
  .about__grid {
    grid-template-columns: 40% minmax(0, 1fr);
    gap: 5%;
  }
  .about-collage figure {
    border-width: 5px;
  }
  .recruit__copy {
    width: 51%;
  }
  .recruit__message {
    font-size: 2.2rem;
  }
  .news__grid {
    grid-template-columns: 25% minmax(0, 1fr);
    gap: 6%;
  }
  .news-item {
    grid-template-columns: 112px minmax(0, 1fr) 10px;
    gap: 22px;
  }
  .news-filters button {
    min-width: 0;
    width: 100%;
    font-size: 0.875rem;
    padding-inline: 16px;
  }
  .contact__action {
    padding-inline: 24px;
  }
  .footer-nav a {
    padding-inline: 18px;
    font-size: 0.9375rem;
  }
}
@media (max-width: 699px) {
  :root {
    --gutter: clamp(1.25rem, 6.15vw, 2.25rem);
    --heading-size: 2rem;
    --lead-size: 1.375rem;
  }
  .site-header {
    min-height: 64px;
    padding: 7px 14px;
    gap: 12px;
  }
  .brand {
    gap: 10px;
  }
  .brand__crest {
    width: 37px;
    height: 44px;
  }
  .brand__crest > span {
    font-size: 16px;
    top: 6px;
  }
  .brand__name {
    font-size: 1.125rem;
    letter-spacing: 0.13em;
  }
  .brand__name > span {
    font-size: 0.65em;
  }
  .hero {
    min-height: 620px;
  }
  .hero__photo {
    width: 100%;
    object-position: 61% center;
  }
  .hero__plane {
    width: 66%;
    clip-path: polygon(0 0, 100% 0, 35% 100%, 0 100%);
  }
  .hero__copy {
    /* Reserve the inset photo height, bottom offset, and 32px of breathing room. */
    padding: 25px 0 max(205px, calc(37.23% + 74px)) var(--gutter);
    width: 100%;
    min-height: 550px;
    display: block;
  }
  .hero h1 {
    position: relative;
    /* Three distinct vertical columns descend from right to left. */
    height: 6.81em;
    width: 3.5em;
    margin-left: 0;
    display: block;
    font-size: clamp(2.85rem, 0.98rem + 9.36vw, 3.2rem);
    line-height: 1.1;
  }
  .hero h1 > span {
    position: absolute;
    inset: 0 auto auto 2.4em;
    white-space: nowrap;
  }
  .hero h1 > span:nth-child(2) {
    top: 1.8em;
    left: 1.2em;
  }
  .hero h1 > span:nth-child(3) {
    top: 3.6em;
    left: 0;
  }
  .hero__tagline {
    position: static;
    writing-mode: horizontal-tb;
    margin-top: 22px;
    padding-top: 0;
    font-size: 0.8125rem;
    line-height: 1.9;
    letter-spacing: 0.07em;
    white-space: nowrap;
    text-shadow: 0 1px 8px #000a;
  }
  .hero__detail {
    left: 5%;
    right: auto;
    bottom: 42px;
    width: 51%;
    aspect-ratio: 1.37;
  }
  .scroll-cue {
    bottom: 13px;
    font-size: 0.55rem;
    gap: 10px;
  }
  .scroll-cue > span:last-child {
    width: 35px;
  }
  .service-intro {
    padding-block: 64px 48px;
  }
  .service-intro__grid {
    display: block;
  }
  .service-intro__copy {
    margin-top: 28px;
  }
  .section-title h2 {
    margin-top: 17px;
  }
  .eyebrow {
    font-size: 0.75rem;
    padding: 2px 10px;
  }
  .service-intro__copy > p:not(.lead) {
    margin-top: 24px;
    font-size: 1rem;
    line-height: 2;
  }
  .align-end {
    margin-top: 32px;
  }
  .pill {
    width: 100%;
    min-height: 52px;
    font-size: 1rem;
    padding: 12px 22px;
  }
  .service-cards {
    padding: 20px var(--gutter) 40px;
    gap: 26px;
  }
  .service-card {
    display: flex;
  }
  .service-card__image {
    aspect-ratio: 1.65;
  }
  .service-card__content {
    padding: 24px;
  }
  .service-card h3 {
    font-size: 1.5rem;
    line-height: 1.6;
  }
  .service-card p {
    font-size: 1rem;
    line-height: 1.95;
  }
  .service-card .pill {
    width: 100%;
    font-size: 0.875rem;
  }
  .service-number {
    font-size: 1.25rem;
  }
  .menu-dialog__head .brand__name {
    font-size: 1.05rem;
  }
  .section-pad {
    padding-block: 62px;
  }
  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 12px;
    margin-top: 26px;
  }
  .work-card__image {
    height: auto;
    aspect-ratio: 1.3;
    border-radius: 3px;
  }
  .work-card h3 {
    font-size: 0.9375rem;
    margin-top: 10px;
    letter-spacing: 0.015em;
  }
  .tags {
    gap: 6px;
    margin-top: 9px;
  }
  .tags > span {
    font-size: 0.625rem;
    padding: 3px 6px;
    letter-spacing: 0;
  }
  .image-note {
    font-size: 0.625rem;
    margin-top: 18px;
  }
  .works .align-end {
    margin-top: 26px;
  }
  .about {
    padding-block: 20px 54px;
  }
  .about__grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }
  .about__copy .section-title + p {
    margin-top: 28px;
  }
  .about__copy > p {
    font-size: 1rem;
    line-height: 1.9;
    margin-top: 14px;
  }
  .about__copy > .pill {
    margin-top: 24px;
  }
  .quality {
    font-size: 0.8125rem;
    margin-top: 16px;
  }
  .about-collage {
    width: 97%;
    margin: 16px 0 20px;
    align-self: center;
    aspect-ratio: 1.08;
  }
  .about-collage figure {
    border-width: 4px;
  }
  .recruit__inner {
    min-height: 730px;
    padding: 48px 0 0;
  }
  .recruit__background {
    object-position: 48% center;
  }
  .recruit::before {
    background:
      linear-gradient(90deg, #0007, transparent 85%),
      linear-gradient(
        0deg,
        #070807 0%,
        #070807c9 12%,
        transparent 60%,
        #0005 100%
      );
  }
  .recruit__copy {
    width: 100%;
  }
  .recruit .section-title h2 {
    font-size: 2.3rem;
    margin-top: 15px;
  }
  .recruit__copy > p {
    font-size: 0.9375rem;
    line-height: 1.9;
    margin-top: 22px;
  }
  .recruit__copy > .pill {
    width: auto;
    min-width: 0;
    min-height: 46px;
    padding: 10px 16px;
    font-size: 0.875rem;
    margin-top: 24px;
    gap: 18px;
  }
  .recruit__message {
    top: auto;
    bottom: 145px;
    left: 0;
    right: auto;
    font-size: 2rem;
    line-height: 1.55;
    letter-spacing: 0.08em;
  }
  .recruit__portrait {
    right: 0;
    bottom: 95px;
    width: 47%;
    max-width: 235px;
  }
  .recruit > .ornament {
    display: block;
    width: 85%;
    max-width: 340px;
    left: -35px;
    bottom: -100px;
    opacity: 0.6;
  }
  .mobile-break {
    display: block;
  }
  .news__grid {
    display: block;
  }
  .news h2 {
    font-size: 1.875rem;
  }
  .news__heading > .gold-rule {
    display: none;
  }
  .news-filters {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
  }
  .news-filters button {
    width: auto;
    min-height: 42px;
    padding: 9px 17px;
    font-size: 0.8125rem;
  }
  .news-list {
    margin-top: 30px;
  }
  .news-item {
    grid-template-columns: 86px minmax(0, 1fr) 8px;
    gap: 16px;
    padding-block: 22px;
  }
  .news-item h3 {
    font-size: 1rem;
    line-height: 1.8;
    margin-top: 12px;
  }
  .news-item .tag {
    font-size: 0.625rem;
    padding: 3px 12px;
  }
  .news-item__dot {
    width: 7px;
    height: 7px;
  }
  .contact {
    grid-template-columns: 1fr;
  }
  .contact__copy {
    padding: 56px 20px;
  }
  .contact h2 {
    font-size: 1.5rem;
  }
  .contact .gold-rule {
    margin: 20px auto;
    width: 26px;
  }
  .contact__copy p {
    font-size: 0.9375rem;
  }
  .contact__action {
    padding: 90px 32px;
    min-height: 330px;
  }
  .contact__action .pill {
    min-height: 58px;
    font-size: 1rem;
    padding-inline: 20px;
  }
  .contact__phone {
    font-size: clamp(1.8rem, 8.2vw, 2.6rem);
    margin-top: 16px;
    letter-spacing: 0.04em;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .contact__action p {
    font-size: 0.75rem;
    letter-spacing: 0;
  }
  .site-footer {
    padding-top: 34px;
  }
  .brand--footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .brand--footer .brand__crest {
    width: 44px;
    height: 53px;
  }
  .brand--footer .brand__crest > span {
    font-size: 19px;
    top: 9px;
  }
  .brand--footer .brand__name {
    font-size: 1.25rem;
  }
  .footer-nav {
    display: grid;
    grid-template-rows: repeat(6, auto);
    grid-auto-flow: column;
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
    justify-content: initial;
    margin: 32px auto 0;
    max-width: 480px;
  }
  .footer-nav a {
    border: 0;
    padding: 8px 0;
    font-size: 0.8125rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    line-height: 1.65;
  }
  .footer-nav a > span[aria-hidden] {
    display: inline;
    flex-shrink: 0;
  }
  .footer-bottom {
    min-height: 205px;
    padding-top: 16px;
    position: relative;
    justify-content: flex-end;
  }
  .footer-motto {
    display: block;
    align-self: flex-start;
    font-size: 1.8rem;
    line-height: 1.45;
  }
  .footer-motto span {
    writing-mode: horizontal-tb;
    display: block;
  }
  .page-top {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8125rem;
  }
  .site-footer > .ornament {
    width: 110%;
    left: -34%;
    bottom: -10px;
  }
  .prototype-note {
    text-align: center;
    margin-top: 40px;
    font-size: 0.625rem;
  }
  .detail-dialog {
    width: calc(100% - 24px);
    max-height: calc(100svh - 24px);
    padding: 20px;
  }
  .detail-dialog h2 {
    font-size: 1.4rem;
  }
  .dialog-image {
    max-height: 240px;
  }
  .form-actions {
    flex-direction: column;
  }
}
@media (max-width: 359px) {
  .brand__name {
    font-size: 1rem;
  }
  .brand {
    gap: 7px;
  }
  .hero__plane {
    width: 70%;
  }
  .hero__tagline {
    font-size: 0.75rem;
  }
  .service-card__content {
    padding: 20px;
  }
}
.type-expanded .hero__copy {
  width: 100%;
  padding: 32px var(--gutter) 300px;
  min-height: 0;
}
.type-expanded .hero h1 {
  display: flex;
  flex-direction: column;
  width: auto;
  height: auto;
  margin: 0;
  font-size: 2rem;
  gap: 0.2em;
}
.type-expanded .hero h1 > span {
  position: static;
  writing-mode: horizontal-tb;
}
.type-expanded .hero__tagline {
  position: static;
  writing-mode: horizontal-tb;
  font-size: 1rem;
  white-space: normal;
  margin-top: 24px;
}
.type-expanded .hero__plane {
  width: 100%;
  clip-path: none;
  opacity: 0.87;
}
.type-expanded .recruit__inner {
  padding-block: 50px;
}
.type-expanded .recruit__message {
  position: static;
  writing-mode: horizontal-tb;
  margin-top: 40px;
  font-size: 1.5rem;
}
.type-expanded .recruit__portrait {
  position: relative;
  margin: 30px 0 0 auto;
  right: auto;
  bottom: auto;
}
.type-expanded .menu-dialog__head .brand__name {
  font-size: 1rem;
}
.type-expanded .menu-dialog nav > a {
  font-size: 1rem;
}
.type-expanded .brand__name > span {
  display: block;
}
.type-expanded .footer-nav {
  grid-template-columns: 1fr;
  grid-template-rows: none;
  grid-auto-flow: row;
}
.type-expanded .footer-bottom {
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding-top: 48px;
}
.type-expanded .footer-motto {
  align-self: flex-end;
}
.type-expanded .page-top {
  position: static;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .news-item:is(:hover, :focus-visible) .news-item__image img {
    transform: none;
  }
  .page-top:is(:hover, :focus-visible) > span:first-child {
    transform: none;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
