:root {
  --field:#781b35;
  --ink:#fff;
  --muted:var(--soft);
  --line:rgb(255 255 255 / .3);
  --serif:'Bodoni Moda','Times New Roman',serif;
  --sans:'DM Sans',Arial,sans-serif;
  --mono:'Courier Prime','Courier New',monospace;
  --u:max(.58px,.042373vw);
  --gutter:calc(210 * var(--u));
  --frame:clamp(12px,2.5vmin,30px);
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:32px
}

body {
  margin:0;
  background:var(--field);
  color:var(--ink);
  font-family:var(--sans);
  -webkit-font-smoothing:antialiased;
  overflow-x:clip
}

body:has(dialog[open]) {
  overflow:hidden
}

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

h1,h2,h3 {
  font-family:var(--serif);
  font-weight:400;
  font-synthesis:none
}

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

button,input,textarea {
  font:inherit
}

button {
  color:inherit;
  border:0;
  background:none
}

button,summary {
  cursor:pointer
}

button,a {
  -webkit-tap-highlight-color:transparent
}

img,svg {
  display:block
}

img {
  max-width:100%
}

::selection {
  color:var(--field);
  background:#f2db9d
}

:focus-visible {
  outline:2px solid currentColor;
  outline-offset:6px
}

.svg-library {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden
}

.icon {
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.2;
  flex-shrink:0
}

.wrap {
  width:calc(100% - var(--gutter)*2);
  max-width:1740px;
  margin-inline:auto
}

.skip-link {
  position:fixed;
  top:12px;
  left:12px;
  z-index:120;
  background:white;
  color:var(--field);
  padding:12px;
  transform:translateY(-200%)
}

.skip-link:focus {
  transform:none
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  padding:11px 19px;
  min-height:36px;
  border:1px solid white;
  background:white;
  color:var(--field);
  font:11px/1 var(--mono);
  letter-spacing:.09em;
  text-transform:uppercase;
  transition:color .2s,background .2s
}

.button:hover {
  background:var(--field);
  color:white
}

.button .icon {
  width:14px;
  height:14px
}

.arrow-down {
  rotate:90deg
}

.section-label {
  display:flex;
  justify-content:space-between;
  gap:20px;
  font:calc(18 * var(--u))/1.4 var(--mono);
  letter-spacing:.1em;
  text-transform:uppercase
}

.dialog-close {
  position:absolute;
  top:16px;
  right:16px;
  padding:10px
}

.dialog-close .icon {
  rotate:45deg
}

.contact-form {
  display:flex;
  flex-direction:column
}

.contact-form label {
  font:11px/1.5 var(--mono);
  letter-spacing:.1em;
  text-transform:uppercase;
  margin:18px 0 8px
}

.contact-form input,.contact-form textarea {
  min-width:0;
  padding:12px;
  color:white;
  background:rgb(255 255 255 / .05);
  border:1px solid var(--line);
  border-radius:0;
  font-size:16px;
  line-height:1.5;
  resize:vertical
}

.contact-form input::placeholder,.contact-form textarea::placeholder {
  color:var(--muted)
}

.form-note,.form-status {
  font-size:12px;
  line-height:1.6;
  margin-top:18px;
  color:var(--muted)
}

.contact-form .button {
  align-self:flex-start;
  margin-top:24px
}

.form-status:empty {
  display:none
}

@media(max-width:760px) {
  :root {
    --u:.5px;
    --gutter:28px;
    --frame:12px
  }

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }

  *,*::before,*::after {
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important
  }

}

html[data-motion=paused] {
  scroll-behavior:auto
}

.contact-dialog {
  width:min(580px,calc(100vw - 36px));
  max-height:calc(100svh - 40px);
  padding:42px;
  border:1px solid white;
  color:var(--field);
  background:white;
  overflow:auto
}

.contact-dialog .button { background:var(--field); color:white; border-color:var(--field); }
.contact-dialog .button:hover { background:white; color:var(--field); }

.contact-dialog::backdrop {
  background:rgb(16 12 18 / .7);
  backdrop-filter:blur(8px)
}

.contact-dialog h2 {
  font-size:60px;
  line-height:1;
  margin:28px 0
}

@media(max-width:760px) {

  .contact-dialog {
    padding:32px 23px
  }

}

@media(max-width:760px) {

  .contact-dialog h2 {
    font-size:48px
  }

}
