:root {
  color-scheme: light;
  --ink: #111319;
  --paper: #f3f3ec;
  --blue: #1748cc;
  --lime: #d6f333;
  --gutter: clamp(20px, 4vw, 68px);
  --site-width: 1740px;
  --site-inset: max(var(--gutter), calc((100% - var(--site-width)) / 2 + var(--gutter)));
}

* { box-sizing: border-box; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-underline-offset: .35em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }

.masthead {
  min-height: 95px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px var(--site-inset);
  border-bottom: 1px solid #cecec6;
}
.wordmark { display: block; width: clamp(126px, 12.4vw, 182px); height: auto; mix-blend-mode: multiply; }
.header-contact { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; font-weight: 700; }

.hero {
  display: grid;
  flex: 1 0 auto;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1fr);
  align-items: center;
  width: 100%;
  max-width: var(--site-width);
  margin-inline: auto;
  padding: clamp(16px, 2.2vw, 34px) var(--gutter);
}
.copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  align-self: stretch;
  min-width: 0;
  padding: clamp(34px, 5vw, 85px) clamp(16px, 3.1vw, 52px) clamp(34px, 5vw, 85px) 0;
}
.regions {
  font: 700 .875rem/1.4 ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 clamp(20px, 2.8vw, 45px);
  color: #2344a1;
}
h1 {
  font-size: clamp(3.6rem, 6.1vw, 6.75rem);
  font-weight: 800;
  letter-spacing: -.068em;
  line-height: .95;
  margin: 0;
}
h1 em {
  display: block;
  margin-top: .47em;
  font: italic 400 .55em/1 Georgia, 'Times New Roman', serif;
  letter-spacing: -.065em;
  color: var(--blue);
}
.notice { display: flex; align-items: center; gap: 14px; margin-top: clamp(35px, 4vw, 64px); }
.notice p { font-size: 1rem; font-weight: 600; line-height: 1.44; margin: 0; }
.notice-stripe {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  background: repeating-linear-gradient(135deg, transparent 0 4px, #121714 4px 6px) var(--lime);
  border: 1px solid var(--ink);
}

.studio {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1.07;
  background:
    repeating-linear-gradient(90deg, #dbeaff1a 0 1px, transparent 1px 44px),
    repeating-linear-gradient(#dbeaff1a 0 1px, transparent 1px 44px),
    radial-gradient(ellipse at 43% 36%, #4c85ff 0, #205bea 64%, #1345cc 100%);
}
.studio::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 8%;
  border: 1px solid #eaf5ff37;
  background: linear-gradient(90deg, transparent calc(50% - .5px), #eaf5ff32 calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px)),
    linear-gradient(0deg, transparent calc(50% - .5px), #eaf5ff32 calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px));
}
.studio::after {
  content: '';
  position: absolute;
  z-index: -1;
  height: 82%;
  aspect-ratio: 1;
  border: 1px dashed #dbeaff4a;
  border-radius: 50%;
}
.registration {
  position: absolute;
  width: 17px;
  height: 17px;
  z-index: 1;
  background: linear-gradient(90deg, transparent 8px, #f1f5ff 8px 9px, transparent 9px),
    linear-gradient(0deg, transparent 8px, #f1f5ff 8px 9px, transparent 9px);
  pointer-events: none;
}
.registration-top { top: 25px; left: 25px; }
.registration-bottom { bottom: 25px; right: 25px; }
.sculpture-still, canvas { grid-area: 1 / 1; display: block; height: 100%; width: 100%; position: absolute; object-fit: contain; }
canvas { visibility: hidden; }
.studio.ready .sculpture-still { opacity: 0; }
.studio.ready canvas { visibility: visible; cursor: grab; touch-action: pan-y; }
.studio.dragging canvas { cursor: grabbing; }

.footer {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1fr);
  padding: 28px var(--site-inset) 30px;
  background: var(--ink);
  color: var(--paper);
}
.office { min-width: 0; }
.office:first-child { padding-inline-end: clamp(16px, 3.1vw, 52px); }
.office-country { font: 700 .875rem/1.5 ui-monospace, Menlo, Consolas, monospace; color: var(--lime); margin: 0 0 8px; }
.office h2 { font-size: 1.05rem; margin: 0 0 8px; }
.office address { font-size: .95rem; font-style: normal; line-height: 1.53; color: #c9cad0; }
.office-register { font-size: .875rem; line-height: 1.5; color: #c9cad0; margin: 6px 0 0; }

@media (max-width: 900px) and (min-width: 701px) {
  h1 { font-size: clamp(2.55rem, 6.25vw, 4rem); }
  .regions { letter-spacing: .08em; }
}

@media (min-width: 901px) and (max-height: 950px) {
  .masthead { min-height: 76px; padding-block: 10px; }
  .wordmark { width: clamp(130px, 11.2vw, 164px); }
  .hero { padding-block: clamp(16px, 2vw, 28px); }
  .copy { padding-block: 24px; }
  .regions { margin-bottom: 26px; }
  .notice { margin-top: 32px; }
  .studio { max-height: clamp(320px, calc(100svh - 292px), 615px); }
  .footer { padding-block: 22px 24px; }
}

@media (min-width: 701px) and (max-width: 900px) and (orientation: portrait) {
  .hero { grid-template-columns: 1fr; }
  .copy { padding: 25px 0 30px; }
  h1 { font-size: clamp(3.25rem, 8vw, 4.75rem); }
  .notice { margin-top: 24px; }
  .studio { max-height: 490px; }
}

@media (min-width: 701px) and (max-width: 900px) and (max-height: 540px) and (orientation: landscape) {
  .masthead { min-height: 64px; padding-block: 8px; }
  .hero { padding-block: 12px; }
  .copy { padding-block: 16px; }
  .regions { margin-bottom: 16px; }
  .notice { margin-top: 20px; }
  .studio { max-height: clamp(210px, calc(100svh - 90px), 360px); }
}

@media (max-width: 700px) {
  .masthead { min-height: 78px; }
  .header-contact { font-size: .875rem; }
  .hero { display: flex; flex-direction: column; padding-top: 0; padding-bottom: 20px; }
  .copy { padding: 27px 0 23px; }
  .regions { letter-spacing: .07em; margin-bottom: 20px; }
  h1 { font-size: clamp(2.55rem, 11.6vw, 4.4rem); }
  h1 em { margin-top: .55em; }
  .notice { gap: 12px; margin-top: 22px; }
  .notice p { font-size: .9375rem; }
  .notice-stripe { width: 26px; height: 26px; }
  .studio { align-self: stretch; }
  .registration-top { top: 16px; left: 16px; }
  .registration-bottom { bottom: 16px; right: 16px; }
  .footer { grid-template-columns: 1fr; gap: 24px; }
  .office:first-child { padding-inline-end: 0; }
  .office + .office { padding-top: 21px; border-top: 1px solid #373941; }
  .office address br { display: none; }
}
