@font-face {
  font-family: Manrope;
  src: url('assets/fonts/manrope-600.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url('assets/fonts/manrope-700.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --green: #00513a;
  --mint: #00e19e;
  --sans: Manrope, Arial, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #363d3a;
  color: #fff;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
:where(a, button, select):focus-visible { outline: 2px solid var(--mint); outline-offset: 5px; }
button, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--mint); color: var(--green); }
.skip-link {
  position: fixed;
  z-index: 10;
  top: -100px;
  left: 16px;
  padding: 12px;
  background: white;
  color: var(--green);
}
.skip-link:focus { top: 8px; }
.landing {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 23, 17, .76), rgba(8, 23, 17, .23) 68%, rgba(8, 23, 17, .15)),
    url('assets/feather.jpg') 58% 50% / cover;
}
.site-header {
  height: 150px;
  flex-shrink: 0;
  padding: 0 5.4%;
  display: flex;
  align-items: center;
}
/* Original PDF artwork; Risk matches the outlined Quill lettering's baseline. */
.brand { display: inline-flex; align-items: center; gap: 18px; line-height: 1; }
.brand-symbol {
  display: block;
  width: 30px;
  aspect-ratio: 88.354581 / 263.639074;
  background: currentColor;
  mask: url('assets/quill-mark-full.svg') center / contain no-repeat;
  -webkit-mask: url('assets/quill-mark-full.svg') center / contain no-repeat;
}
.brand-name { display: inline-flex; align-items: baseline; gap: 11px; }
.brand-wordmark {
  display: block;
  width: 119px;
  aspect-ratio: 356.093849 / 141.551315;
  background: currentColor;
  mask: url('assets/quill-text.svg') center / contain no-repeat;
  -webkit-mask: url('assets/quill-text.svg') center / contain no-repeat;
}
.brand-risk { font-size: 60px; letter-spacing: -2.7px; font-weight: 700; line-height: 1; }
main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(170px, 17vw, 240px);
  gap: 7%;
  align-items: center;
  min-height: 510px;
  padding: 35px 5.4% 115px;
}
.hero-copy { width: fit-content; max-width: 100%; padding: 5px 0 20px; }
h1 {
  margin: 0;
  font: 400 clamp(48px, 6.5vw, 106px) / 1.08 var(--serif);
  letter-spacing: -3px;
}
h1 em { font-weight: 400; font-style: italic; white-space: nowrap; }
.hero-contact {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 45px;
  flex-wrap: wrap;
}
.coming-soon {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2.5px;
  white-space: nowrap;
}
.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 56px;
  padding: 16px 22px;
  border: 1px solid var(--mint);
  border-radius: 3px;
  background: var(--mint);
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  transition: background .18s, border-color .18s;
}
.contact-button:hover { background: #6af0c6; border-color: #6af0c6; }
.contact-button > span { font-size: 21px; line-height: 1; }
.contact-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 32px;
  border: 1px solid #d9ded8;
  border-radius: 4px;
  background: #fbfaf7;
  color: #18352c;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.contact-dialog::backdrop { background: rgb(7 34 24 / .7); }
.dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.eyebrow { margin: 0; color: var(--green); font-size: 12px; letter-spacing: .18em; }
.dialog-close, .dialog-edit {
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 14px;
}
.dialog-close { white-space: nowrap; }
.dialog-close span { margin-left: 8px; font-size: 20px; }
.contact-dialog h2 { margin: 22px 0 16px; font: 400 clamp(28px, 4vw, 40px) / 1.15 var(--serif); letter-spacing: -1px; }
.contact-dialog p { line-height: 1.65; }
.contact-dialog form > label { display: block; font-size: 14px; margin: 22px 0 8px; }
.contact-dialog select {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #778c80;
  border-radius: 2px;
  background: white;
  color: #18352c;
  font-size: 16px;
}
.contact-dialog form > .contact-button { margin-top: 28px; background: var(--green); border-color: var(--green); color: white; }
.contact-dialog form > .contact-button:hover { background: #00694b; border-color: #00694b; }
.contact-dialog .contact-hint { font-size: 13px; color: #455e51; margin: 12px 0 0; }
.contact-dialog .contact-hint a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-dialog :focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.contact-ready { border-top: 1px solid #d9ded8; margin-top: 24px; padding-top: 8px; }
.contact-ready h3 { font-size: 18px; }
.contact-ready p { font-size: 14px; color: #455e51; }
.contact-email { color: var(--green); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
body.contact-open { overflow: hidden; }
.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-36px);
  pointer-events: none;
}
.quill-mark {
  display: block;
  width: 80px;
  aspect-ratio: 142.056908 / 423.881439;
  background: var(--mint);
  mask: url('assets/quill-mark.svg') center / contain no-repeat;
  -webkit-mask: url('assets/quill-mark.svg') center / contain no-repeat;
}
@media (min-width: 1600px) {
  .site-header { height: 170px; }
}
@media (max-width: 1000px) {
  .site-header { height: 135px; }
  main { min-height: 440px; gap: 6%; }
  h1 { font-size: clamp(42px, 6.5vw, 80px); }
  .quill-mark { width: 64px; }
}
@media (max-width: 700px) {
  .landing { background-position: 63% 50%; }
  .site-header { height: 128px; padding: 0 7%; }
  .brand { gap: 13px; }
  .brand-symbol { width: 21px; }
  .brand-name { gap: 8px; }
  .brand-wordmark { width: 85px; }
  .brand-risk { font-size: 43px; letter-spacing: -1.9px; }
  main {
    display: flex;
    align-items: center;
    min-height: calc(100svh - 128px);
    padding: 35px 7% 100px;
  }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(33px, 9.8vw, 64px); letter-spacing: -1.7px; line-height: 1.12; }
  .hero-contact { margin-top: 33px; gap: 22px; }
  .coming-soon { font-size: 12px; letter-spacing: 2px; }
  .hero-art { display: none; }
  .contact-dialog { padding: 20px; width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .contact-dialog .contact-button { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: arrive .6s ease both; }
  @keyframes arrive {
    from { opacity: 0; translate: 0 9px; }
    to { opacity: 1; translate: 0 0; }
  }
}
.site-footer,
.legal-footer {
  flex-shrink: 0;
  padding: 0 5.4% 32px;
}
.site-footer nav,
.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 22px;
}
.site-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.site-footer a,
.legal-footer a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-footer a:hover { color: var(--mint); }
.legal-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #fbfaf7;
  color: #18352c;
}
.legal-page .site-header {
  background: var(--green);
  color: #fff;
  /* Same horizontal inset as the legal column, so the logo lines up with the text. */
  padding: 0 max(5.4%, calc((100% - 960px) / 2));
}
.legal-page main {
  display: block;
  flex: 1;
  width: auto;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 36px max(5.4%, calc((100% - 960px) / 2)) 48px;
}
.legal-doc h1 {
  margin: 8px 0 28px;
  font: 400 clamp(28px, 5vw, 42px) / 1.2 var(--serif);
  letter-spacing: -1px;
  text-align: center;
}
.legal-updated,
.legal-entity {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  text-align: center;
}
.legal-entity { color: var(--green); }
.legal-doc h2 {
  margin: 36px 0 12px;
  font: 700 clamp(18px, 2.4vw, 22px) / 1.3 var(--sans);
  letter-spacing: 0;
  color: var(--green);
}
.legal-doc h3 {
  margin: 28px 0 10px;
  font: 700 17px / 1.3 var(--sans);
  color: var(--green);
}
.legal-doc p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: break-word;
}
.legal-item { padding-left: 1.25em; text-indent: -1.25em; }
.legal-doc a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-doc a:hover { color: #00694b; }
.legal-footer {
  padding: 20px 5.4% 36px;
  border-top: 1px solid #d9ded8;
  color: #18352c;
}
.legal-footer a { color: var(--green); }
.legal-footer a[aria-current="page"] { text-decoration-thickness: 2px; }
.legal-page :focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
@media (max-width: 700px) {
  .site-footer { padding: 0 7% 28px; }
  .legal-page .site-header { padding: 0 7%; }
  .legal-page main {
    display: block;
    min-height: 0;
    padding: 28px 7% 40px;
  }
  .legal-doc h1 { font-size: clamp(26px, 8vw, 36px); letter-spacing: -0.8px; line-height: 1.2; }
  .legal-footer { padding: 18px 7% 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
