@font-face {
  font-family: Lato;
  src: url('/assets/lato.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: #f5f5f2;
  --surface: #fff;
  --ink: #202923;
  --muted: #58635b;
  --green: #123d32;
  --green-hover: #245446;
  --border: #d4dcd7;
  --error: #a1342c;
  --page-gutter: clamp(1.25rem, 5.5vw, 5.5rem);
  --page-width: 84rem;
  font-family: Lato, system-ui, sans-serif;
  font-weight: 400;
  background: var(--canvas);
  color: var(--ink);
  font-synthesis: weight;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
[data-copy] { white-space: pre-line; overflow-wrap: anywhere; }

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
}

a { color: inherit; }

:is(a, input, textarea, button):focus-visible {
  outline: 3px solid #4e806a;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  z-index: 3;
  inset: 0 auto auto 1rem;
  transform: translateY(-110%);
  background: var(--green);
  padding: .75rem 1rem;
  color: white;
}

.skip-link:focus { transform: translateY(.5rem); }

.site-header { border-bottom: 1px solid var(--border); }

.header-inner, .contact-layout, .footer-inner {
  width: min(100%, var(--page-width));
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-inner { min-height: 5.125rem; }

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  min-height: 44px;
}

.brand img {
  display: block;
  width: 72px;
  height: auto;
}

.header-inner nav {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 3.4vw, 2.8rem);
}

.header-inner nav a {
  position: relative;
  display: inline-grid;
  align-content: center;
  min-height: 44px;
  color: var(--muted);
  font-size: .9375rem;
  text-decoration: none;
}

.header-inner nav a:hover, .header-inner nav .current { color: var(--green); }

.header-inner nav .current::after {
  position: absolute;
  inset: auto 0 2px;
  height: 2px;
  background: var(--green);
  content: '';
}

.contact-layout {
  display: grid;
  align-items: start;
  flex: 1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.13fr);
  gap: clamp(2.1rem, 6.3vw, 6.25rem);
  padding-block: clamp(3.25rem, 7vw, 6rem);
}

.introduction { padding-top: .25rem; }

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .55rem;
  color: var(--green);
  font-size: .875rem;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

.text-link:hover { text-decoration-thickness: 2px; }

h1, h2 {
  margin: 0;
  color: var(--green);
  font-family: Lato, system-ui, sans-serif;
  font-weight: 400;
}

h1 {
  margin-top: clamp(1.15rem, 2.5vw, 1.85rem);
  font-size: clamp(3.2rem, 6.2vw, 5.65rem);
  line-height: .98;
  letter-spacing: -.04em;
}

.introduction > p {
  max-width: 24rem;
  margin: clamp(1.45rem, 3vw, 2rem) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.6;
}

.feature-photo {
  position: relative;
  height: clamp(10rem, 20vw, 18rem);
  margin-top: clamp(1.65rem, 4vw, 2.65rem);
  overflow: hidden;
  border-radius: .75rem;
  background: #22382f;
}

.feature-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 56%; }

.feature-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, transparent 40%, rgb(18 61 50 / 18%));
  content: '';
}

.form-panel {
  min-width: 0;
  padding: clamp(1.45rem, 3.5vw, 3rem);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: 0 16px 55px rgb(18 61 50 / 6%);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.05rem);
  line-height: 1;
  letter-spacing: -.025em;
}

.form-intro {
  margin: .65rem 0 1.4rem;
  color: var(--muted);
  line-height: 1.5;
}

.demo-note {
  margin: 0 0 1.4rem;
  padding: .65rem .8rem;
  border-inline-start: 2px solid #5e896f;
  background: #eff4f0;
  color: var(--green);
  font-size: .875rem;
  line-height: 1.4;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem .875rem;
}

.field-wide { grid-column: 1 / -1; }

.field label {
  display: flex;
  min-height: 1.25rem;
  align-items: baseline;
  gap: .5rem;
  margin-bottom: .375rem;
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 700;
}

.optional {
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 400;
}

.field :is(input, textarea) {
  display: block;
  width: 100%;
  min-height: 3rem;
  padding: .68rem .8rem;
  border: 1px solid #aab9af;
  border-radius: .5rem;
  background: #fcfdfa;
  color: var(--ink);
  font: inherit;
  line-height: 1.45;
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
}

.field [aria-invalid='true'] { border-color: var(--error); }

.field-error {
  display: block;
  margin-top: .3rem;
  color: var(--error);
  font-size: .8125rem;
  line-height: 1.42;
}

.field-error[hidden] { display: none; }

.form-actions { margin-top: 1.3rem; }

.form-actions button {
  display: inline-flex;
  min-width: 11rem;
  min-height: 3.125rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: .7rem 1rem;
  border: 1px solid transparent;
  border-radius: .5rem;
  background: var(--green);
  color: white;
  cursor: pointer;
  font: inherit;
  transition: background-color 180ms ease;
}

.form-actions button:not(:disabled):hover { background: var(--green-hover); }
.form-actions button:disabled { opacity: .7; cursor: wait; }

.status {
  margin: .85rem 0 0;
  border-radius: .45rem;
  color: var(--green);
  font-size: .9rem;
  line-height: 1.48;
}

.status:empty { margin: 0; }
.status-success { padding: .65rem .8rem; background: #eff4f0; }
.status-error { padding: .65rem .8rem; background: #fcf0ee; color: var(--error); }

.site-footer { border-top: 1px solid var(--border); }
.footer-inner { min-height: 4.5rem; }

@media (max-width: 54rem) {
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .feature-photo { height: clamp(11rem, 42vw, 19rem); }
}

@media (max-width: 34rem) {
  .header-inner { min-height: 4.25rem; }
  .contact-layout { padding-block: 1.75rem 2.5rem; }
  h1 { font-size: clamp(3rem, 11vw, 4.5rem); }
  .form-grid { grid-template-columns: 1fr; gap: .925rem; }
  .feature-photo { height: clamp(9rem, 42vw, 13rem); }
  .form-actions button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .form-actions button { transition: none; }
}

.preview-fields{border:0;margin:0;padding:0;min-width:0}
