/* Home (one-page) layout: layouts/home.njk + partials/home-*.njk.
 * Loaded only on the three homes (pageCss in home.njk). Builds on the tokens
 * and primitives in site.css (.container, .button, .button-row, .card,
 * .visually-hidden); nothing here restyles them globally.
 * Target: the old Trix/Elementor home, measured on the frozen mirror at
 * 375/768/1440 (docs/design.md "Notes for the layout agents"). Source values
 * in the comments are px at 1440 unless noted.
 */

/* ------------------------------------------------------------------------ */
/* Shared bits                                                              */
/* ------------------------------------------------------------------------ */
.home-title {
  margin: 0 0 30px;
  color: var(--color-ink-2);
  font-family: var(--font-heading);
  font-size: var(--fs-section); /* 40/50, weight 500 */
  font-weight: 500;
  line-height: 1.25;
}

.home-lead {
  color: var(--color-text-lead);
  line-height: 2; /* 15/30 */
}

.home-lead > :last-child {
  margin-bottom: 0;
}

/* Photos that were CSS backgrounds: an <img> behind the content, so the
   image transform can serve AVIF/WebP. */
.home-hero,
.home-testimonials,
.home-inquiry {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.home-hero__image,
.home-testimonials__bg,
.home-inquiry__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

/* ------------------------------------------------------------------------ */
/* Hero (#Head)                                                             */
/* ------------------------------------------------------------------------ */
/* Source: padding 155/185 plus 70px of widget spacing above the eyebrow
   (eyebrow at y 225); mobile 60/50 + 50 (eyebrow at y 110). Photo at
   0 0 / cover, no scrim; the text carries its own shadows instead. */
.home-hero {
  padding: 110px 0 50px;
  background: #d9d2c8; /* until the photo arrives */
}

@media (min-width: 768px) {
  .home-hero {
    padding: 225px 0 185px;
  }
}

.home-hero__image {
  object-position: 0 0;
}

.home-hero__inner > * {
  max-width: 627px;
}

.home-hero__eyebrow {
  margin: 0 0 8px;
  color: var(--color-on-dark);
  font-family: var(--font-heading);
  font-size: var(--fs-h4); /* 30/36 */
  font-weight: 500;
  line-height: 1.2;
  text-shadow: 0 0 4px #000;
}

/* "Lii-Relocation": white with a 1px logo-red outline, as on the old site. */
.home-hero__brand {
  text-shadow:
    -1px 0 0 var(--color-brand),
    0 1px 0 var(--color-brand),
    1px 0 0 var(--color-brand),
    0 -1px 0 var(--color-brand);
}

.home-hero__title {
  margin: 0 0 15px;
  color: var(--color-on-dark);
  font-family: var(--font-heading);
  font-size: var(--fs-display); /* 50/58 */
  font-weight: 500;
  line-height: 1.16;
  text-shadow:
    1px 1px 0 #000,
    -1px 1px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000;
}

.home-hero__title span {
  display: block;
}

.home-hero__lead {
  margin: 0;
  color: var(--color-text-strong);
  font-size: var(--fs-lead); /* 19/28 */
  line-height: 28px;
}

.home-hero .button-row {
  margin-top: 40px;
}

/* ------------------------------------------------------------------------ */
/* Company                                                                  */
/* ------------------------------------------------------------------------ */
.home-company {
  padding: 60px 0;
}

.home-company__grid {
  display: grid;
  gap: 30px;
  align-items: center;
}

.home-company__image {
  display: block;
  width: 100%;
  box-shadow: 0 0 15px -1px rgba(0, 0, 0, 0.5);
}

/* Mobile: only the larger photo, as on the old site. */
.home-company__image--1 {
  display: none;
}

.home-company__body > :last-child {
  margin-bottom: 0;
}

/* From 768: two overlapping photos (400×266 at 0,0 and 466×337 at 111,153
   in a 577×490 box), text column 466 wide starting at x 823. */
@media (min-width: 768px) {
  .home-company {
    padding: 45px 0 75px;
  }

  .home-company__grid {
    grid-template-columns: minmax(0, 673fr) minmax(0, 467fr);
    gap: 0;
  }

  .home-company__images {
    position: relative;
    width: calc(100% - 20px);
    max-width: 577px;
    margin-left: -4px;
    aspect-ratio: 577 / 490;
  }

  .home-company__image {
    position: absolute;
  }

  .home-company__image--1 {
    display: block;
    top: 0;
    left: 0;
    width: 69.32%;
  }

  .home-company__image--2 {
    top: 31.22%;
    left: 19.24%;
    width: 80.76%;
  }
}

/* ------------------------------------------------------------------------ */
/* Services                                                                 */
/* ------------------------------------------------------------------------ */
.home-services {
  padding: 60px 0;
  background: var(--color-surface-muted);
}

.home-services__head {
  margin-bottom: 44px;
  text-align: center;
}

.home-services__head .home-title {
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  .home-services {
    padding: 100px 0 105px;
  }
}

/* Heading (285 wide) beside the intro text from 992. */
@media (min-width: 992px) {
  .home-services__head {
    display: grid;
    grid-template-columns: 285px minmax(0, 1fr);
    gap: 10px;
    text-align: left;
  }

  .home-services__head .home-title {
    margin: 0;
  }
}

.home-services__steps {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .home-services__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .home-services__steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
  }
}

/* Hover as on the old cards (post-11189.css:1, elementor-element-7c1257f
   etc.): a 3 px bottom border, white, turning red on hover, `border 0.3s`
   (default ease). Drawn as an inset shadow so the card keeps its size; red
   is the logo red (design.md D3). The cards hold no links (no focus state). */
.home-step {
  margin: 0;
  box-shadow:
    var(--shadow-card),
    inset 0 -3px 0 var(--color-surface);
  transition: box-shadow 0.3s ease;
}

.home-step:hover {
  box-shadow:
    var(--shadow-card),
    inset 0 -3px 0 var(--color-brand);
}

.home-step__icon {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 27px;
}

.home-step__title {
  margin-bottom: 18px;
}

/* Step lists: no bullets, the old "・" marker. */
.home-step__text ul,
.fancy-box__text ul,
.home-inquiry__details ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-step__text li,
.fancy-box__text li,
.home-inquiry__details li {
  margin: 0;
}

.home-step__text li {
  padding-left: 1em;
  text-indent: -1em;
}

.home-step__text li::before {
  content: "・";
}

.home-step__text > :last-child {
  margin-bottom: 0;
}

.home-services .button-row {
  margin-top: 40px;
}

/* ------------------------------------------------------------------------ */
/* Contract flow (#flow)                                                    */
/* ------------------------------------------------------------------------ */
.home-flow {
  padding: 60px 0;
}

@media (min-width: 768px) {
  .home-flow {
    padding: 95px 0 84px;
  }
}

.home-flow__head {
  max-width: 656px;
  margin: 0 auto 42px;
  text-align: center;
}

.home-flow__head .home-title {
  margin-bottom: 28px;
}

/* Old JA heading weight 600 (DE/EN too, but there only Jost 500 was
   loaded, so it rendered as 500). In Japanese 600 picks Hiragino W6;
   500 falls back to W3. */
:lang(ja) .home-flow__head .home-title {
  font-weight: 600;
}

.home-flow__head .home-lead {
  line-height: 28px;
}

.home-flow__steps {
  display: grid;
  gap: 20px;
  align-items: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 992px) {
  .home-flow__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 22px;
    max-width: 1118px; /* 3 × 358 + 2 × 22, as the old boxes */
  }
}

.fancy-box {
  margin: 0;
  padding: 20px;
  border: 1px solid #e1e1e1;
  line-height: 26px;
}

.fancy-box__icon {
  display: block;
  width: 48px;
  height: 48px;
}

/* The old boxes tinted their icon red on hover, at once (inline
   #wp-custom-css, index.html:229-231, .home-three-textbox-hover). The boxes
   hold no links (no focus state). */
.fancy-box:hover .fancy-box__icon {
  filter: invert(13%) sepia(77%) saturate(7444%) hue-rotate(1deg) brightness(95%) contrast(116%);
}

.fancy-box__title {
  margin: 0 0 15px;
  color: var(--color-ink-2);
  font-size: var(--fs-card-title); /* 20/30 */
  font-weight: 700;
  line-height: 1.5;
}

/* JA only, at every width: the title sits beside the 48 px icon, bottom
   aligned (old margin -30px 0 15px 70px); DE/EN stack it below. */
:lang(ja) .fancy-box__title {
  margin: -30px 0 15px 70px;
}

.fancy-box__text p {
  margin: 0;
}

.home-flow .button-row {
  margin-top: 40px;
}

@media (min-width: 992px) {
  .home-flow .button-row {
    margin-top: 70px;
  }
}

/* ------------------------------------------------------------------------ */
/* Testimonials (#testimonial)                                              */
/* ------------------------------------------------------------------------ */
/* Dark photo band (was background-attachment: fixed; a parallax that iOS
   ignores anyway). Text #d8d8d8 as in the source; the names were #ff0000
   (≈4:1 here), now a lighter red that reaches 4.6:1 on the photo. */
.home-testimonials {
  padding: 60px 0 40px;
  background: #1b1f1f;
  color: #d8d8d8;
}

@media (min-width: 768px) {
  .home-testimonials {
    padding: 120px 0 40px;
  }
}

.home-testimonials__bg {
  object-position: 50% 0;
}

/* The slider: a native scroll-snap track (works without JS, by keyboard
   and touch). 1 per view, 2 from 992 (Owl's breakpoints). */
.home-testimonials__track {
  margin-inline: 5px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(255, 255, 255, 0.4) transparent;
}

.js .home-testimonials__track {
  scrollbar-width: none;
}

.js .home-testimonials__track::-webkit-scrollbar {
  display: none;
}

@media (max-width: 767px) {
  .home-testimonials__track {
    margin-inline: calc(-1 * var(--gutter));
  }
}

.home-testimonials__list {
  display: grid;
  grid-auto-columns: 100%;
  grid-auto-flow: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 992px) {
  .home-testimonials__list {
    grid-auto-columns: 50%;
  }
}

.home-testimonials__item {
  margin: 0;
  padding: 0 15px 20px;
  scroll-snap-align: start;
}

.testimonial {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  grid-template-areas:
    "image title"
    ".     name"
    "quote quote";
  column-gap: 20px;
  margin: 0;
}

.testimonial__image {
  grid-area: image;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-round);
  object-fit: cover;
}

.testimonial__title {
  grid-area: title;
  margin: 13px 0 15px;
  color: #d8d8d8;
  font-family: var(--font-heading);
  font-size: 1.5rem; /* 24/30 on phones (source 30/35 in a 245px column) */
  font-weight: 500;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .testimonial__title {
    font-size: var(--fs-h4); /* 30/35 */
    line-height: 1.1667;
  }
}

.testimonial__name {
  grid-area: name;
  margin: 0 0 20px;
  color: #ff7a7a; /* #ff5c5c reached only 3.9-4.3:1 on the photo; ≥ 4.6:1 (Proposal F) */
}

.testimonial__quote {
  grid-area: quote;
  margin: 0;
  padding: 0;
  border: 0;
  color: #d8d8d8;
  font-size: var(--fs-body);
  font-style: normal;
  line-height: var(--lh-body);
}

.testimonial__quote p {
  margin: 0;
}

/* Note on how the reviews were collected (§6b #19). */
.home-testimonials__note {
  max-width: 60rem;
  margin: 30px auto 0;
  padding-inline: 15px;
  color: #d8d8d8;
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: center;
}

.home-testimonials__controls {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  width: fit-content;
  margin: 20px auto 0;
}

.home-testimonials__controls[hidden] {
  display: none !important;
}

.home-testimonials__button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-round);
  background: transparent;
  color: var(--color-on-dark);
  transition:
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.home-testimonials__button:hover {
  border-color: var(--color-brand);
  background: var(--color-brand);
}

.home-testimonials__button:disabled {
  opacity: 0.35;
  cursor: default;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
}

.home-testimonials__button svg {
  width: 18px;
  height: 18px;
}

/* Autoplay pause/play (home.js). The old carousel showed no playback
   control (owner review 2026-11-10), so it stays visually hidden, like the
   skip link, until it gets keyboard focus (WCAG 2.2.2: still reachable and
   announced); then it appears left of the previous button, taken out of
   the flow, so nothing moves. Pause icon while playing, play icon once
   paused or stopped. Hidden entirely without JS and under reduced motion. */
.home-testimonials__toggle:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.home-testimonials__toggle:focus {
  position: absolute;
  top: 0;
  right: calc(100% + var(--space-4));
}

.home-testimonials__toggle[hidden] {
  display: none;
}

.home-testimonials__toggle .home-testimonials__icon-play,
.home-testimonials__toggle.is-paused .home-testimonials__icon-pause {
  display: none;
}

.home-testimonials__toggle.is-paused .home-testimonials__icon-play {
  display: block;
}

.home-testimonials__status {
  min-width: 5em;
  margin: 0;
  color: #d8d8d8;
  font-size: var(--fs-small);
  text-align: center;
}

.home-testimonials :focus-visible {
  outline: 2px solid var(--color-on-dark);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--color-ink);
}

/* ------------------------------------------------------------------------ */
/* Real estate market (#estate)                                             */
/* ------------------------------------------------------------------------ */
.home-estate {
  padding: 60px 0;
}

@media (min-width: 768px) {
  .home-estate {
    padding: 100px 0 90px;
  }
}

.home-estate__grid {
  display: grid;
  gap: 40px;
}

/* Text 510 wide at x 150, photo 451×600 at x 795. */
@media (min-width: 992px) {
  .home-estate__grid {
    grid-template-columns: minmax(0, 510fr) minmax(0, 495fr);
    column-gap: 11.85%;
    align-items: start;
  }
}

.home-estate .home-title {
  margin-bottom: 27px;
}

.home-estate .home-lead {
  margin-bottom: 20px;
}

.stats {
  display: grid;
  gap: 20px 60px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 992px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.stat {
  margin: 0;
}

.stat__value {
  margin: 0 0 10px;
  color: var(--color-brand);
  font-size: 2.5rem; /* 40/50, Open Sans 600 */
  font-weight: 600;
  line-height: 1.25;
}

/* While home.js counts up, it sets min-width to the final digit count in
   ch, right-aligned, so the "%" stays put. */
.stat__value data {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.stat__title {
  margin: 0 0 10px;
  color: var(--color-ink-2);
  font-size: var(--fs-card-title); /* 20/30 500 */
  font-weight: 500;
  line-height: 1.5;
}

.stat__text {
  color: var(--color-text-lead);
  line-height: 2;
}

.stat__text > :last-child {
  margin-bottom: 0;
}

.home-estate__media {
  text-align: center;
}

.home-estate__image {
  display: inline-block;
  width: 100%;
  max-width: 451px;
}

@media (min-width: 992px) {
  .home-estate__media {
    text-align: left;
  }
}

/* ------------------------------------------------------------------------ */
/* Life in Germany / newsletters (#Blog)                                    */
/* ------------------------------------------------------------------------ */
.home-blog {
  padding: 30px 0 60px;
}

@media (min-width: 768px) {
  .home-blog {
    padding: 10px 0 85px;
  }
}

.home-blog__head {
  max-width: 684px;
  margin: 0 auto 43px;
  text-align: center;
}

.home-blog__head .home-title {
  margin-bottom: 27px;
}

/* Logo circle before the heading, as the old lii_title-icon ::before. */
.home-blog__title {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-blog__title-logo {
  flex: none;
  width: 60px;
  height: 60px;
  margin-right: 20px;
  border-radius: var(--radius-round);
}

.home-blog__head .home-lead {
  margin: 0;
}

.home-blog__newsletters {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .home-blog__newsletters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-inline: 10px;
  }
}

.home-blog__newsletters li {
  margin: 0;
}

.newsletter-card {
  display: block;
  transition: box-shadow var(--dur) var(--ease);
}

.newsletter-card img {
  display: block;
  width: 100%;
}

.newsletter-card:hover {
  box-shadow: var(--shadow-card);
}

.home-instagram {
  margin: 60px 0 0;
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
}

@media (min-width: 768px) {
  .home-instagram {
    margin-top: 120px;
    font-size: var(--fs-h4); /* 30/35 */
    line-height: 1.1667;
  }
}

/* Decorative images inside the sentence (old lii_icon-circle, JA flag). */
.home-instagram__logo,
.home-instagram__flag {
  display: inline-block;
  width: 34px;
  vertical-align: -6px;
}

.home-instagram__logo {
  height: 34px;
  border-radius: var(--radius-round);
}

.home-instagram__flag {
  height: 23px;
  vertical-align: -2px;
}

.home-instagram__icon {
  display: inline-block;
  margin-left: 6px;
  vertical-align: -6px;
}

/* JA: the icon opens the second line ({ig} after the break). */
.home-instagram br + .home-instagram__icon {
  margin-left: 0;
}

.home-instagram__icon svg {
  display: block;
  width: 34px;
  height: 34px;
}

/* ------------------------------------------------------------------------ */
/* Inquiry band                                                             */
/* ------------------------------------------------------------------------ */
.home-inquiry {
  padding: 60px 0;
  background: #f3f4f6;
}

@media (min-width: 768px) {
  .home-inquiry {
    padding: 117px 0 110px;
  }
}

.home-inquiry__grid {
  display: grid;
  gap: 40px;
}

/* Collage 683 wide at x 150, text 427 wide at x 863 starting 116 lower. */
@media (min-width: 992px) {
  .home-inquiry__grid {
    grid-template-columns: minmax(0, 683fr) minmax(0, 427fr);
    gap: 30px;
    align-items: start;
  }

  .home-inquiry__body {
    padding-top: 116px;
  }
}

.home-inquiry__image {
  display: block;
  width: 100%;
  max-width: 683px;
}

.home-inquiry .home-title {
  margin-bottom: 24px;
  line-height: 1.3;
}

.home-inquiry__body p {
  margin-bottom: 28px;
}

.home-inquiry__details {
  margin-bottom: 0;
}

.home-inquiry .button-row {
  margin-top: 48px;
}

/* ------------------------------------------------------------------------ */
/* Contact (#contact) and the form                                          */
/* ------------------------------------------------------------------------ */
.home-contact {
  padding: 60px 0;
}

@media (min-width: 768px) {
  .home-contact {
    padding: 50px 0;
  }
}

.home-contact__grid {
  display: grid;
  gap: 30px;
}

/* Heading 405 wide at x 215, form 499 wide at x 755. */
@media (min-width: 992px) {
  .home-contact__grid {
    grid-template-columns: minmax(0, 405fr) minmax(0, 499fr);
    column-gap: 11.85%;
    padding-inline: 50px;
  }

  .home-contact__intro {
    padding-top: 105px;
  }

  .home-contact__form {
    padding-top: 75px;
  }
}

.home-contact .home-title {
  margin-bottom: 44px;
  color: #282828;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .home-contact .home-title {
    margin-bottom: 30px;
    font-size: var(--fs-h4); /* the old mobile heading fit on one line */
  }
}

/* Form: the old CF7 "material" look, Roboto, underline-only fields, in a
   thin frame. Markup: partials/contact-form.njk (not owned here). */
.contact-form {
  position: relative;
  padding: 30px;
  border: 1px solid #c3c3c3;
  font-family: var(--font-form);
}

@media (max-width: 767px) {
  .contact-form {
    padding: 30px 15px;
  }
}

.contact-form p {
  margin: 0 0 25px;
}

.contact-form label {
  color: #616161;
  font-size: var(--fs-body);
  line-height: 22px;
}

.contact-form label:not([for="contact-consent"]) {
  display: block;
}

.contact-form input:not([type="checkbox"]),
.contact-form textarea {
  display: block;
  width: 100%;
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.42);
  border-radius: 0;
  background: transparent;
  color: rgba(0, 0, 0, 0.87);
  font-family: var(--font-form);
  font-size: 1.125rem; /* 18px */
  line-height: 1.8;
  /* The old Material Design fields: 180 ms, cubic-bezier(0.4, 0, 0.2, 1). */
  transition: border-color 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form textarea {
  height: 6.5em; /* about 4 lines; the old CF7 field was 72px */
  min-height: 3em;
  line-height: 1.25;
  resize: vertical;
}

.contact-form input:not([type="checkbox"]):hover,
.contact-form textarea:hover {
  border-bottom-color: rgba(0, 0, 0, 0.87);
}

.contact-form input:not([type="checkbox"]):focus,
.contact-form textarea:focus {
  border-bottom-color: var(--color-brand);
  box-shadow: 0 1px 0 var(--color-brand);
}

.contact-form p:has(> [type="checkbox"]) {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.contact-form [type="checkbox"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--color-brand);
}

.contact-form [for="contact-consent"] a {
  color: var(--color-ink-2);
}

.contact-form .cf-turnstile {
  margin-bottom: 25px;
}

.contact-form .lii-consent-needed {
  padding: 12px 16px;
  border-left: 3px solid var(--color-brand);
  background: var(--color-surface-muted);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  line-height: 22px;
}

.contact-form .lii-consent-needed button {
  display: inline;
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-ink-2);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contact-form .lii-consent-needed button:hover {
  color: var(--color-brand);
}

.contact-form [type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 36px;
  border: 0;
  border-radius: var(--radius);
  background: var(--color-brand);
  color: var(--color-on-dark);
  font-family: var(--font-form);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 28px;
  text-transform: uppercase;
  transition: background-color var(--dur) var(--ease);
}

.contact-form [type="submit"]:hover:not(:disabled) {
  background: var(--color-brand-hover);
}

.contact-form [type="submit"]:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.contact-form > p:last-child {
  margin-bottom: 0;
}

/* Send outcome (js/contact-form.js); empty until the first send. */
.contact-form .form-status:not(:empty) {
  margin-top: 20px;
  padding: 12px 16px;
  border-left: 3px solid var(--color-rule);
  background: var(--color-surface-muted);
  color: var(--color-ink-2);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  line-height: 22px;
}

.contact-form .form-status[data-state="success"] {
  border-left-color: #1e7a34;
}

.contact-form .form-status[data-state="error"] {
  border-left-color: var(--color-brand);
}
