@font-face {
  font-family: Archivo;
  src: url(/archivo.ttf) format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: #1d221f;
  background: #fcfbf6;
  font:
    16px/1.55 "Archivo",
    system-ui,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #ce3b24;
  outline-offset: 3px;
}
button,
.button {
  cursor: pointer;
}
.container {
  width: min(1180px, calc(100% - 80px));
  margin: auto;
}
.mast {
  border-bottom: 1px solid #d5d5cb;
  background: #fcfbf6;
}
.mast-inner {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.brand {
  font-weight: 800;
  letter-spacing: -0.055em;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brand img {
  height: 34px;
  width: auto;
}
.mast nav,
.actions {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.mast nav {
  font-weight: 620;
  font-size: 0.92rem;
}
.button,
button.primary,
.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  border: 1px solid transparent;
  padding: 0.72rem 1.15rem;
  border-radius: 6px;
  color: white;
  font-weight: 650;
}
.navy {
  background: #212b29;
}
.red,
button.primary {
  background: #c63222;
}
.button-outline {
  border-color: #c6c8bc;
  background: transparent;
  color: #242a26;
}
.button:hover,
.primary:hover {
  filter: brightness(0.9);
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5.5%;
  padding: 4.5rem 0 4.8rem;
}
.eyebrow,
.desk-top,
.card-main > small {
  font-weight: 750;
  letter-spacing: 0.15em;
  font-size: 0.72rem;
}
.eyebrow {
  color: #9f3628;
}
.hero h1 {
  font-size: clamp(2.85rem, 5.4vw, 5.3rem);
  line-height: 1.035;
  letter-spacing: -0.065em;
  margin: 1rem 0 1.4rem;
  max-width: 680px;
}
.hero h1 em {
  font-family: "Georgia", serif;
  font-weight: 500;
  color: #a82f24;
}
.lead {
  color: #555e55;
  max-width: 51ch;
  font-size: 1.1rem;
}
.actions {
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}
.textlink {
  text-decoration: underline;
  text-underline-offset: 5px;
  font-size: 0.93rem;
  font-weight: 660;
}
.office-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 10px 36px 10px 10px;
  background: #c2a788;
  box-shadow: 7px 7px 0 #e8b648;
}
.office-photo img { display: block; width: 100%; height: clamp(330px,37vw,500px); object-fit: cover; object-position: 54% center; }
.features {
  border-top: 1px solid #d5d5cb;
  padding: 2.8rem 0 4rem;
  background: #f1f0e8;
}
.features h2,
.page h1,
.dialog h2 {
  letter-spacing: -0.048em;
  line-height: 1.12;
}
.features h2 {
  font-size: 2.35rem;
  margin: 0 0 1.65rem;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.tiles article {
  border-top: 2px solid #202820;
  padding: 1rem 0;
}
.tiles article > span {
  color: #a83422;
  font-size: 1.9rem;
}
.tiles h3 {
  margin: 0.35rem 0;
  font-size: 1.1rem;
}
.tiles p {
  color: #576054;
  margin: 0.3rem 0;
}
footer {
  border-top: 1px solid #d8d9d0;
  padding: 22px 0;
  color: #5d685d;
  font-size: 0.82rem;
}
footer > div {
  display: flex;
  justify-content: space-between;
}
footer a {
  text-decoration: underline;
}
.page {
  width: min(900px, calc(100% - 40px));
  margin: 2.7rem auto 4rem;
}
.page.narrow {
  max-width: 540px;
}
.page h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin: 12px 0 1.25rem;
}
.page h2 {
  font-size: 1.2rem;
}
.card,
.dialog {
  background: #fffefa;
  border: 1px solid #d5d6cd;
  border-radius: 9px;
  padding: 1.5rem;
  margin: 1rem 0;
}
.form {
  display: grid;
  gap: 1rem;
}
.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.93rem;
  font-weight: 620;
}
.form input,
.form textarea,
.form select,
.search {
  width: 100%;
  border-radius: 5px;
  border: 1px solid #a7afa3;
  padding: 10px 12px;
  background: white;
  color: #1c261e;
  font-size: 1rem;
}
.form textarea {
  min-height: 160px;
  resize: vertical;
}
.form .check {
  display: flex;
  align-items: flex-start;
}
.check input {
  width: auto;
  margin: 0.3rem;
}
.note {
  font-size: 0.9rem;
  color: #586452;
}
.error {
  color: #982e1c;
  border-left: 3px solid #c63222;
  padding-left: 0.55rem;
}
.error:empty {
  display: none;
}
.actions.compact {
  margin-top: 0.6rem;
  gap: 0.65rem;
}
.page a.textlink {
  display: inline-block;
}
.muted {
  color: #66705f;
  font-size: 0.89rem;
}
.toolbar,
.record {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.record {
  width: 100%;
  background: white;
  text-align: left;
  color: inherit;
  border: 1px solid #d8dacf;
  border-radius: 6px;
  padding: 1rem;
  margin: 0.5rem 0;
}
.record strong {
  display: block;
}
.pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.7;
}
.code {
  font-family: ui-monospace, monospace;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
  padding: 0.85rem;
  background: #f1f0e4;
  border-radius: 5px;
}
.history {
  border-top: 1px solid #d8d9ce;
  padding: 0.8rem 0;
  margin: 0.4rem 0;
}
.pin {
  font-size: 0.78rem;
  background: #e4eee1;
  color: #2b603e;
  padding: 0.2rem 0.55rem;
  border-radius: 1rem;
}
.link-row {
  overflow-wrap: anywhere;
}
.back {
  font-size: 0.9rem;
  font-weight: 650;
  color: #55664c;
}
.back:hover {
  text-decoration: underline;
}
.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.signpad {
  display: block;
  width: 100%;
  height: 120px;
  border: 1px dashed #83917d;
  border-radius: 7px;
  touch-action: none;
  background: #fcfbf6;
}
.drawn {
  width: 220px;
  max-width: 100%;
  height: 90px;
  border-bottom: 1px solid #8d9a87;
}
@media (max-width: 800px) {
  .container {
    width: calc(100% - 40px);
  }
  .hero {
    gap: 1.5rem;
    padding: 2.4rem 0 3rem;
  }
  .mast nav {
    gap: 0.8rem;
  }
  .desk {
    padding: 42px 5% 24px;
  }
  .card-main {
    padding: 18px;
  }
  .tiles {
    gap: 1rem;
  }
  .hero h1 {
    font-size: 3.4rem;
  }
}
@media (max-width: 640px) {
  .container {
    width: calc(100% - 36px);
  }
  .mast-inner {
    min-height: 65px;
  }
  .brand {
    font-size: 1.2rem;
    gap: 3px;
  }
  .brand img {
    width: auto;
    height: 25px;
  }
  .mast nav {
    font-size: 0.78rem;
    gap: 0.6rem;
  }
  .mast nav .button {
    padding: 0.48rem 0.65rem;
  }
  .mast .minor {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 11vw, 4rem);
    margin: 1rem 0;
  }
  .lead {
    font-size: 1rem;
  }
  .desk {
    width: 100%;
    max-width: 430px;
    margin: auto;
  }
  .desk-card {
    margin: 0 4%;
  }
  .tiles {
    grid-template-columns: 1fr;
  }
  .features {
    padding: 2rem 0;
  }
  .features h2 {
    font-size: 1.9rem;
  }
  .features article {
    padding: 8px 0 12px;
  }
  .card,
  .dialog {
    padding: 1rem;
  }
  .page {
    margin-top: 1.5rem;
  }
  .record {
    gap: 0.5rem;
  }
  .actions {
    gap: 1rem;
  }
}

@media(max-width:800px) and (min-width:641px){.tiles{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.office-photo img{height:auto;aspect-ratio:1.55}.office-photo{margin-right:6px;border-radius:8px 24px 8px 8px}}
