:root {
  --ink: #191a19;
  --paper: #f7f7f3;
  --line: #d1d2cc;
  --pad: clamp(22px, 5.1vw, 88px);
  font-family: Arial, 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
  color: var(--ink);
  background: var(--paper);
  word-break: keep-all;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
select,
input {
  font: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
button {
  color: inherit;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid #678de2;
  outline-offset: 4px;
}
.skip {
  position: fixed;
  top: -100px;
  z-index: 10;
  background: white;
  color: black;
  padding: 12px;
}
.skip:focus {
  top: 5px;
}
.micro {
  font:
    10px/1.4 'Courier New',
    monospace;
  letter-spacing: 0.12em;
}
.header,
footer {
  display: flex;
  align-items: center;
  gap: 42px;
  padding: 0 var(--pad);
}
.header {
  height: 82px;
  background: #161716;
  color: #fafaf7;
  border-bottom: 1px solid #393a37;
  position: relative;
  z-index: 3;
}
.word {
  width: 134px;
  display: block;
  filter: brightness(0) invert(1);
}
.header nav {
  display: flex;
  gap: 36px;
  align-items: center;
  margin-left: auto;
}
.header nav a,
.contact-link {
  font-size: 13px;
  font-weight: 600;
}
.header nav a:hover,
.hero-foot a:hover {
  color: #c6c7bd;
}
.contact-link {
  border: 1px solid #686964;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.contact-link:hover {
  background: white;
  color: black;
}
.contact-link span {
  font-size: 17px;
}
.menu {
  display: none;
}
.hero {
  background: #161716;
  color: #f6f6f0;
  padding: 0 var(--pad);
}
.hero-inner {
  max-width: 1650px;
  margin: auto;
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  min-height: clamp(550px, 69vh, 780px);
  padding: 36px 0 24px;
}
.over {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #d2d3ca;
}
.over b {
  width: 27px;
  height: 1px;
  background: #b6b9ac;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-weight: 500;
  font-size: clamp(91px, 8.9vw, 162px);
  letter-spacing: -0.079em;
  line-height: 0.84;
  margin: 30px 0 28px;
}
.hero h1 em {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.077em;
}
.hero-copy h2 {
  font-size: clamp(19px, 1.7vw, 29px);
  letter-spacing: -0.055em;
  margin: 0 0 10px;
  font-weight: 600;
}
.hero-copy p,
.contact p {
  color: #b6b7b0;
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}
.btn {
  display: inline-flex;
  gap: 30px;
  align-items: center;
  padding: 13px 20px;
  font-size: 13px;
  font-weight: 700;
  min-height: 46px;
  border: 0;
}
.btn span {
  font-size: 18px;
}
.light {
  background: #efefe9;
  color: #161716;
}
.hero .btn {
  margin-top: 25px;
}
.btn:hover {
  background: #d3d4c8;
}
.exhibit {
  position: relative;
  height: clamp(392px, 32vw, 545px);
  align-self: center;
  background-color: #1c1d1c;
  background-image:
    linear-gradient(#ffffff06 1px, transparent 1px),
    linear-gradient(90deg, #ffffff06 1px, transparent 1px),
    radial-gradient(ellipse at 45% 55%, #343532, #1b1c1b 74%);
  background-size:
    calc(100% / 12) calc(100% / 8),
    calc(100% / 12) calc(100% / 8),
    100% 100%;
  border: 1px solid #41433e;
}
.exhibit:before,
.exhibit:after {
  content: '+';
  color: #c0c1b8;
  position: absolute;
  font: 15px monospace;
  line-height: 1;
  z-index: 1;
}
.exhibit:before {
  left: -5px;
  top: -9px;
}
.exhibit:after {
  right: -5px;
  bottom: -6px;
}
.figure-top,
.figure-controls {
  position: absolute;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
  color: #c1c3b9;
  pointer-events: none;
}
.figure-top {
  top: 16px;
}
.figure-controls {
  bottom: 14px;
}
.figure-controls > div {
  display: flex;
  gap: 5px;
  pointer-events: auto;
}
.view-step {
  background: #20211f;
  border: 1px solid #5a5c55;
  color: #ddd;
  width: 32px;
  height: 29px;
}
.view-step:hover {
  background: #ddd;
  color: #222;
}
#model {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
#model canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-foot {
  max-width: 1650px;
  margin: auto;
  border-top: 1px solid #42433d;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  color: #bfc0b8;
}
.hero-foot i {
  display: inline-block;
  border-radius: 50%;
  background: #cccfc5;
  width: 6px;
  height: 6px;
  margin-right: 7px;
}
.section {
  padding: clamp(55px, 6.7vw, 115px) var(--pad);
}
.section-label {
  font-size: 11px;
  letter-spacing: 0.09em;
}
.section-label b {
  margin-right: 12px;
}
.intro {
  display: grid;
  grid-template-columns: 34% 1fr;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.intro h2,
.section-head h2,
.contact h2 {
  font-size: clamp(35px, 4.1vw, 72px);
  letter-spacing: -0.075em;
  line-height: 1.15;
  margin: 0;
  font-weight: 600;
}
.intro p,
.service-grid p,
.finder-desc {
  line-height: 1.85;
  color: #565852;
  font-size: 15px;
}
.intro p {
  max-width: 610px;
  margin: 25px 0 14px;
}
.textlink {
  background: none;
  border: none;
  padding: 5px 0;
  border-bottom: 1px solid #75766e;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  gap: 20px;
  align-items: center;
}
.textlink span {
  font-size: 16px;
}
.section-head,
.cap,
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-head {
  margin: 28px 0 35px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(15px, 2vw, 38px);
}
.photo {
  display: block;
  width: 100%;
  aspect-ratio: 1.7;
  object-fit: cover;
  background: #eeefea;
  border: 1px solid #c9cbc3;
}
.cap {
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  padding: 11px 0;
}
.service-grid h3 {
  font-size: 25px;
  letter-spacing: -0.06em;
  margin: 24px 0 5px;
}
.service-grid p {
  margin: 0 0 12px;
  max-width: 420px;
}
.contact {
  background: #20211f;
  color: var(--paper);
}
.contact .section-label {
  color: #c8c9c1;
}
.contact-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 35px 0;
}
.contact h2 {
  font-size: clamp(44px, 5.7vw, 90px);
}
.contact h2 em {
  font-style: normal;
  color: #bfc1b7;
}
.contact p {
  margin-top: 20px;
}
.contact-arrow {
  border: 1px solid #82857b;
  width: clamp(66px, 8vw, 118px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: clamp(35px, 4.4vw, 70px);
  font-weight: 300;
}
.contact-arrow:hover {
  background: white;
  color: #181918;
}
.contact-data {
  display: flex;
  gap: 30px;
  border-top: 1px solid #50524b;
  padding-top: 20px;
  font-size: 15px;
}
footer {
  height: 90px;
  background: #161716;
  color: #aaa;
  font-size: 12px;
}
footer .word {
  width: 98px;
}
footer a {
  margin-left: auto;
}
dialog {
  border: 1px solid #bfc0ba;
  padding: 24px;
  background: var(--paper);
  width: min(690px, 90vw);
  max-height: 88vh;
}
dialog::backdrop {
  background: #111b;
}
dialog h2 {
  letter-spacing: -0.055em;
}
.dialog-head button {
  border: 0;
  background: none;
  font-size: 12px;
}
.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.brand-grid figure {
  margin: 0;
  background: white;
  text-align: center;
  padding: 12px;
}
.brand-grid img {
  width: 100%;
  height: 105px;
  object-fit: contain;
}
.brand-grid figcaption {
  font-size: 11px;
  color: #666;
  margin: 7px;
}
@media (max-width: 760px) {
  .header {
    height: 65px;
    gap: 13px;
  }
  .header .word {
    width: 100px;
  }
  .header nav {
    display: none;
  }
  .header nav.open {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    top: 100%;
    left: 0;
    right: 0;
    background: #20211f;
    border-bottom: 1px solid #666;
    padding: 10px var(--pad);
  }
  .header nav a {
    padding: 14px 0;
  }
  .contact-link {
    margin-left: auto;
    font-size: 11px;
    padding: 7px 10px;
    gap: 10px;
  }
  .menu {
    display: block;
    background: none;
    border: 0;
    color: white;
    font-size: 21px;
  }
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 34px 0 24px;
  }
  .hero-copy {
    align-self: flex-start;
  }
  .hero h1 {
    font-size: clamp(81px, 16vw, 115px);
    margin: 26px 0 21px;
  }
  .hero-copy h2 {
    font-size: 21px;
  }
  .hero-copy p {
    font-size: 13px;
  }
  .hero .btn {
    margin-top: 18px;
  }
  .exhibit {
    align-self: stretch;
    height: auto;
    aspect-ratio: 1.55;
  }
  .figure-top,
  .figure-controls {
    left: 11px;
    right: 11px;
  }
  .figure-top {
    top: 10px;
  }
  .figure-controls {
    bottom: 9px;
  }
  .figure-top,
  .figure-controls .micro,
  .hero-foot {
    font-size: 8px;
  }
  .hero-foot {
    padding: 14px 0;
  }
  .intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .section-head {
    margin: 20px 0;
  }
  .section-head .micro {
    font-size: 8px;
  }
  .service-grid h3 {
    margin: 16px 0 5px;
  }
  .service-grid p {
    max-width: none;
  }
  .contact-data {
    flex-wrap: wrap;
    gap: 12px 25px;
  }
  footer {
    height: 75px;
    gap: 14px;
    font-size: 10px;
  }
  footer .word {
    width: 74px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* The browser holds the outgoing document until the incoming one is ready.
   Both snapshots then share one clock and one continuous ink background. */
@media screen and (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition {
  background: #101110;
}
::view-transition-group(root) {
  animation: none;
}
::view-transition-image-pair(root) {
  isolation: isolate;
}
::view-transition-old(root) {
  mix-blend-mode: normal;
  animation: page-dim 460ms cubic-bezier(.4, 0, .6, 1) both;
}
::view-transition-new(root) {
  mix-blend-mode: normal;
  animation: page-reveal 710ms 405ms cubic-bezier(.32, .04, .28, 1) both;
}
@keyframes page-dim {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes page-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}
