:root {
  --ink: #0b0c0b;
  --ink-soft: #181a18;
  --paper: #f1f0e9;
  --muted: #a7aaa2;
  --line: rgba(241, 240, 233, 0.18);
  --accent: #b6ff39;
  --accent-dark: #7fb71f;
  --radius: 1.25rem;
  --content: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-180%);
}

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

.site-header {
  width: var(--content);
  min-height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}

.wordmark {
  width: max-content;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.wordmark span {
  color: var(--accent);
}

.desktop-nav {
  display: flex;
  gap: 2rem;
  font-size: 0.84rem;
  color: #d5d6d0;
}

.desktop-nav a,
.footer-links a {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.language-switch {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #686b65;
  font-size: 0.75rem;
  font-weight: 700;
}

.lang-button {
  border: 0;
  background: transparent;
  color: #686b65;
  padding: 0.4rem;
  cursor: pointer;
}

.lang-button.is-active {
  color: var(--accent);
}

.hero {
  width: var(--content);
  min-height: calc(100vh - 84px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
  line-height: 1;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.5rem, 7.3vw, 7.4rem);
  font-weight: 600;
}

.hero-lede {
  max-width: 31rem;
  margin: 2rem 0 0;
  color: #c6c8c0;
  font-size: clamp(1.06rem, 1.6vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.35rem;
  margin-top: 2.25rem;
}

.button {
  min-height: 52px;
  padding: 0.95rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: var(--ink);
}

.button-primary:hover {
  background: #c8ff6a;
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
}

.button-light {
  background: var(--paper);
  color: var(--ink);
}

.text-link,
.arrow-link {
  width: max-content;
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid currentColor;
  font-weight: 600;
}

.proof-strip {
  margin: clamp(3.5rem, 8vw, 6rem) 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.proof-strip div {
  padding: 1.2rem 0.7rem 0 0;
}

.proof-strip dt {
  color: var(--paper);
  font-family: "Manrope", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.proof-strip dd {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 450px);
}

.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  filter: saturate(0.9) contrast(1.04);
}

.photo-caption {
  margin: 1rem 0 0 2rem;
  padding-right: 0.75rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.section {
  width: var(--content);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.ways {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr 1fr;
  align-items: end;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.section-heading .eyebrow {
  margin: 0;
}

.section-heading h2,
.about h2,
.application h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 600;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.service-card {
  min-height: 360px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  background: var(--ink-soft);
}

.service-featured {
  background: var(--accent);
  color: var(--ink);
}

.service-wide {
  grid-column: 1 / -1;
  min-height: 260px;
}

.service-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.status {
  padding: 0.35rem 0.6rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-open {
  background: var(--ink);
  color: var(--accent);
  border-color: var(--ink);
}

.service-card h3 {
  max-width: 12ch;
  margin: 3rem 0 1.1rem;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 600;
}

.service-card p {
  max-width: 34rem;
  margin: 0;
}

.service-card ul {
  margin: 1.25rem 0 1.5rem;
  padding-left: 1.1rem;
}

.service-card li + li {
  margin-top: 0.35rem;
}

.service-card .price {
  margin-top: auto;
  padding-top: 2rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.price small {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 0.74rem;
  font-weight: 500;
}

.service-card .button,
.service-card .arrow-link {
  margin-top: 1.2rem;
  align-self: flex-start;
}

.service-photo-card {
  padding: 0;
  overflow: hidden;
  position: relative;
  border: 0;
}

.service-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 12, 11, 0.58);
}

.service-photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.service-overlay {
  position: relative;
  z-index: 1;
  min-height: 100%;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
}

.service-overlay p {
  margin-bottom: auto;
}

.image-band {
  width: var(--content);
  min-height: 640px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: end;
}

.image-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 12, 11, 0.42);
}

.image-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-band-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: clamp(2rem, 6vw, 5rem);
}

.image-band-copy > p:first-child {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.band-big {
  margin: 1.25rem 0 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.3rem, 5vw, 5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 10vw, 9rem);
  align-items: center;
}

.about-lede {
  margin: 2rem 0 1.25rem;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.4;
}

.about-copy > p:not(.eyebrow):not(.about-lede) {
  color: var(--muted);
}

.about-copy .text-link {
  margin-top: 1.25rem;
}

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius);
}

.vertical-note {
  margin: 0;
  position: absolute;
  right: -2rem;
  top: 1rem;
  color: var(--accent);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
}

.process {
  border-top: 1px solid var(--line);
}

.section-heading.compact {
  grid-template-columns: 1fr 2fr;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 0.5fr 1fr 1fr;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.process-list li > span {
  color: var(--accent);
  font-weight: 700;
}

.process-list h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 600;
}

.process-list p {
  grid-column: 3;
  margin: 0;
  color: var(--muted);
}

.process-list li > div {
  display: contents;
}

.application {
  width: var(--content);
  margin: 0 auto clamp(1rem, 4vw, 3rem);
  padding: clamp(2rem, 6vw, 5rem);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 8vw, 7rem);
}

.application .eyebrow {
  color: var(--accent-dark);
}

.application-intro > p:not(.eyebrow) {
  color: #565a53;
}

.direct-contact {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.82rem;
}

.direct-contact a {
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1rem;
  align-content: start;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

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

.field label,
.field > label,
.lead-form > label:not(.commitment) {
  font-size: 0.8rem;
  font-weight: 700;
}

.field small {
  font-weight: 400;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c7c9c1;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink);
  padding: 0.88rem 0.9rem;
  outline: 0;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(127, 183, 31, 0.14);
}

.commitment {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.25rem 0;
  font-size: 0.78rem;
  cursor: pointer;
}

.commitment input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  accent-color: var(--accent-dark);
}

.lead-form .button {
  border: 0;
}

.lead-form .button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.form-status {
  min-height: 1.25rem;
  margin: -0.35rem 0 0;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.form-status:empty {
  display: none;
}

.form-status.is-success {
  color: #375f09;
}

.form-status.is-error {
  color: #9f2f26;
}

.form-note {
  margin: -0.45rem 0 0;
  color: #6f726c;
  font-size: 0.72rem;
  text-align: center;
}

.site-footer {
  width: var(--content);
  min-height: 120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.site-footer > p {
  justify-self: end;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}

@media (max-width: 900px) {
  :root { --content: min(100% - 32px, 720px); }
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding-top: 1rem; }
  .hero-visual { width: min(88%, 450px); justify-self: center; }
  .section-heading { grid-template-columns: 1fr; align-items: start; }
  .section-heading.compact { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .application { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --content: calc(100% - 28px); --radius: 1rem; }
  .site-header { min-height: 70px; }
  h1 { font-size: clamp(3.1rem, 16vw, 4.8rem); }
  .hero { padding: 4rem 0 5rem; gap: 4rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .proof-strip { margin-top: 3.5rem; }
  .proof-strip dt { font-size: 1.2rem; }
  .proof-strip dd { font-size: 0.68rem; }
  .photo-caption { margin-left: 1.75rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-wide { grid-column: auto; }
  .service-card { min-height: 340px; }
  .image-band { min-height: 560px; }
  .image-band::after { background: rgba(11, 12, 11, 0.5); }
  .image-band-copy { padding: 2rem; }
  .process-list li { grid-template-columns: 3rem 1fr; gap: 0.5rem; }
  .process-list h3 { grid-column: 2; }
  .process-list p { grid-column: 2; margin-top: 0.5rem; }
  .application { width: 100%; margin-bottom: 0; border-radius: 0; padding: 4rem 1rem; }
  .lead-form { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; padding: 2rem 0; }
  .footer-links { justify-self: end; }
  .site-footer > p { grid-column: 1 / -1; justify-self: start; margin: 0; }
}
