/* HomeBridge Spain - site styles */

/* ---------------------------------------------------------------------------
   Font and colours
   --------------------------------------------------------------------------- */
@font-face {
  font-family: 'HomeBridge Sans';
  font-style: normal;
  font-weight: 250 1000;
  font-display: swap;
  src: url('../fonts/homebridge-sans.woff2') format('woff2-variations'),
       url('../fonts/homebridge-sans.woff2') format('woff2'),
       url('../fonts/homebridge-sans.woff') format('woff');
}

:root {
  --gold: #b08840;
  --gold-soft: #c9a15a;
  --gold-hover: #c79d4a;
  --gold-pale: #f1d58a;
  --cream: #faf6ee;
  --sand: #f0e4c8;
  --ink: #000;
  --night: #14110b;
  --line: #c7c7c7;
  --font: 'HomeBridge Sans', Arial, sans-serif;
  --header-h: 61px;
  --gold-band: linear-gradient(110deg, #b08840 0%, #b08840 38%, #bc9650 44%, #cba65f 48%, #d3b068 50%, #cba65f 52%, #bc9650 56%, #b08840 62%, #b08840 100%);
  --gold-text: linear-gradient(100deg, #a67a2e 0%, #b08840 30%, #e8c873 42%, #fff3c4 50%, #e8c873 58%, #b08840 70%, #a67a2e 100%);
}

/* ---------------------------------------------------------------------------
   Base
   --------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img,
video,
svg {
  display: block;
  max-width: 100%;
}
h1, h2, h3, h4, p, ul, ol, figure {
  margin: 0;
}
ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}
a {
  color: inherit;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 960px) {
  .container {
    padding: 0 20px;
  }
}

/* ---------------------------------------------------------------------------
   Sections and headings
   --------------------------------------------------------------------------- */
.section {
  padding: 135px 0;
}
.section--cream {
  background: var(--cream);
}
.section--sand {
  background: var(--sand);
}
@media (max-width: 480px) {
  .section {
    padding: 90px 0;
  }
}

.section-head {
  text-align: center;
  margin-bottom: 90px;
}
.section-head--wide {
  margin-bottom: 120px;
}
.section-title {
  font-size: 42px;
  line-height: 1.23;
  font-weight: 600;
}
.section-head .section-title {
  margin: 0 auto;
}
.section-lead {
  max-width: 560px;
  margin: 40px auto 0;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 300;
}
@media (max-width: 1200px) {
  .section-title {
    font-size: 38px;
  }
}
@media (max-width: 960px) {
  .section-head,
  .section-head--wide {
    margin-bottom: 65px;
  }
}
@media (max-width: 640px) {
  .section-title {
    font-size: 30px;
  }
  .section-lead {
    margin-top: 20px;
    font-size: 20px;
    line-height: 1.4;
  }
}

/* Gold headings and links: gold text that glints once the first time it scrolls
   into view (js/main.js adds .is-glinting). */
.gold-text {
  color: var(--gold);
  text-decoration: none;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .gold-text {
    background-image: var(--gold-text);
    background-size: 300% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
  .gold-text.is-glinting {
    animation: glint 1.6s ease-in-out 1 forwards;
  }
}
/* block headings shrink to their text so the glint runs across the words */
:is(h1, h2, h3, h4).gold-text {
  width: fit-content;
  max-width: 100%;
}
/* small gold label above a big heading; it is the page's H1 (what the page is
   about, with keywords), while the big sentence below it is the H2 */
.eyebrow {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-wrap: balance; /* if it breaks, split it into even lines, not one stray word */
}
@media (max-width: 640px) {
  .eyebrow {
    margin-bottom: 12px;
    font-size: 13px;
  }
}
.section-head .gold-text {
  margin-left: auto;
  margin-right: auto;
}
a.gold-text:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}
@keyframes glint {
  from { background-position: 100% 0; }
  to   { background-position: 0% 0; }
}

/* ---------------------------------------------------------------------------
   Buttons: gold, white label; a light band runs across them on hover
   --------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 60px;
  border: 0;
  border-radius: 8px;
  background-color: var(--gold);
  background-image: var(--gold-band);
  background-size: 260% 100%;
  background-position: 100% 0;
  background-repeat: no-repeat;
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover,
.btn:focus-visible {
  animation: shimmer 2.2s linear infinite;
  text-shadow: 0 1px 2px rgba(90, 58, 8, 0.35);
}
.btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.btn--large {
  padding: 22px 52px;
  font-size: 19px;
}
@media (max-width: 960px) {
  .btn--large {
    padding: 20px 46px;
    font-size: 18px;
  }
}
@media (max-width: 640px) {
  .btn--large {
    padding: 18px 40px;
    font-size: 17px;
  }
}
@keyframes shimmer {
  from { background-position: 100% 0; }
  to   { background-position: 0% 0; }
}

/* ---------------------------------------------------------------------------
   Header (fixed) and side menu
   --------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 40px;
  background: #fff;
}
.site-logo {
  position: relative;
  display: block;
  height: 52px;
  aspect-ratio: 1055 / 751;
  overflow: hidden;
}
/* the picture has a wide off-white margin: crop to the logo itself */
.site-logo img {
  position: absolute;
  width: 118.9%;
  height: auto;
  left: -10.24%;
  top: -27.83%;
  max-width: none;
  mix-blend-mode: multiply;
}
.burger {
  position: relative;
  width: 22px;
  height: 14px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.burger::after {
  /* bigger tap area */
  content: "";
  position: absolute;
  inset: -14px;
}
.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #333;
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 6px; }
.burger span:nth-child(3) { top: 12px; }
.burger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
}
@media (max-width: 640px) {
  :root {
    --header-h: 60px;
  }
  .site-header {
    padding: 0 20px;
  }
  .site-logo {
    height: 46px;
  }
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 995;
  background: rgba(51, 51, 51, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  width: 300px;
  max-width: 100%;
  padding: 60px 40px 0;
  overflow-y: auto;
  background: var(--night);
  color: #e8dcc0;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0s linear 0.3s;
}
.menu-open .menu-overlay {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}
.menu-open .side-menu {
  transform: none;
  visibility: visible;
  transition: transform 0.3s ease;
}
.menu-open {
  overflow: hidden;
}
.side-menu__close {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.side-menu__close::before,
.side-menu__close::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 19px;
  width: 18px;
  height: 2px;
  background: #f3ead4;
  transform: rotate(45deg);
}
.side-menu__close::after {
  transform: rotate(-45deg);
}
.side-menu__links li + li {
  margin-top: 15px;
}
.side-menu__links a {
  position: relative;
  display: inline-block;
  color: var(--gold);
  font-size: 20px;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.25s ease, text-shadow 0.35s ease;
}
.side-menu__links a:hover,
.side-menu__links a:focus-visible {
  color: var(--gold-hover);
  text-shadow: 0 0 8px rgba(236, 205, 120, 0.35);
}
.side-menu__links a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}
/* the page you are on: brighter and bolder, with a gold bar on the left */
.side-menu__links a[aria-current="page"] {
  color: var(--gold-pale);
  font-weight: 600;
}
.side-menu__links a[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 0.12em;
  bottom: 0.12em;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #e8c873, var(--gold));
}
/* small gold "New" pill next to a menu item */
.menu-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px 2px;
  border-radius: 999px;
  background: linear-gradient(100deg, #b08840, #e8c873 55%, #c9a15a);
  box-shadow: 0 0 10px rgba(232, 200, 115, 0.45);
  color: var(--night);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: 3px;
}
/* two little stars per link that take turns twinkling on hover (added by js/main.js) */
.spark {
  position: absolute;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle, #fff 0 6%, rgba(255, 255, 255, 0.8) 11%, rgba(255, 238, 185, 0.3) 25%, rgba(255, 238, 185, 0) 56%),
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0) 100%) center / 100% 1.5px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0) 100%) center / 1.5px 100% no-repeat;
}
.spark--bl { left: 0;    top: 108%; }
.spark--tr { left: 100%; top: -8%; }
.side-menu__links a:hover .spark,
.side-menu__links a:focus-visible .spark {
  animation: twinkle 1.8s ease-in-out infinite;
}
.side-menu__links a:hover .spark--tr,
.side-menu__links a:focus-visible .spark--tr {
  animation-delay: 0.9s;
}
@keyframes twinkle {
  0%   { opacity: 0.08; }
  25%  { opacity: 1; }
  50%  { opacity: 0.08; }
  100% { opacity: 0.08; }
}
.side-menu__extra {
  margin-top: auto;
  padding: 40px 0;
}
.side-menu__phones {
  font-weight: 500;
  line-height: 1.2;
}
.side-menu__phones a {
  text-decoration: none;
}
.side-menu .social {
  margin-top: 30px;
}
.side-menu .social svg path {
  fill: #d6ab55;
}

/* Round social / phone icons */
.social {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.social a {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: opacity 0.2s ease;
}
.social a:hover {
  opacity: 0.8;
}
.social svg {
  width: 30px;
  height: 30px;
}

/* ---------------------------------------------------------------------------
   Contact block (all pages): details on the left, form on the right
   --------------------------------------------------------------------------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
}
.contact__email {
  font-size: 30px;
  line-height: 1.45;
  font-weight: 300;
  overflow-wrap: anywhere;
}
.contact__email a {
  text-decoration: none;
}
.contact__address {
  margin-top: 40px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 300;
}
.contact .social {
  margin-top: 24px;
}
.contact .social svg path {
  fill: var(--gold);
}
.form__field + .form__field {
  margin-top: 25px;
}
.form input,
.form textarea {
  display: block;
  width: 100%;
  height: 60px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font-size: 16px;
  line-height: 1.33;
  -webkit-appearance: none;
  appearance: none;
}
.form textarea {
  height: 102px;
  padding-top: 17px;
  resize: vertical;
}
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form ::placeholder {
  color: #000;
  opacity: 0.5;
}
.form .btn {
  margin-top: 34px;
}
/* privacy consent tick box under each form */
.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 300;
  cursor: pointer;
}
.form .form__consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
}
.form .form__consent input:checked {
  border-color: var(--gold);
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.form .form__consent input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.form__consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form__success {
  padding: 20px;
  background: var(--gold);
  color: #fff;
  font-size: 18px;
}
@media (max-width: 960px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .contact__email {
    font-size: 18px;
  }
  .contact__address {
    margin-top: 40px;
  }
}
@media (max-width: 640px) {
  .form .btn {
    width: 100%;
    padding: 0 30px;
  }
}

/* Privacy policy / legal notice page */
.legal {
  padding: calc(var(--header-h) + 69px) 0 120px;
  background: var(--cream);
}
.legal__inner {
  max-width: 820px;
}
.legal__title {
  font-size: 46px;
  line-height: 1.2;
  font-weight: 600;
}
.legal__updated {
  margin-top: 14px;
  font-size: 15px;
  opacity: 0.6;
}
.legal__heading {
  margin-top: 48px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
}
.legal p,
.legal li {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 300;
}
.legal p {
  margin-top: 14px;
}
.legal ul {
  margin-top: 14px;
  padding-left: 22px;
  list-style: disc;
}
.legal li + li {
  margin-top: 8px;
}
.legal li::marker {
  color: var(--gold);
}
.legal strong {
  font-weight: 600;
}
.legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}
@media (max-width: 640px) {
  .legal {
    padding: calc(var(--header-h) + 30px) 0 90px;
  }
  .legal__title {
    font-size: 30px;
  }
  .legal__heading {
    margin-top: 36px;
    font-size: 20px;
  }
  .legal p,
  .legal li {
    font-size: 16px;
    line-height: 1.5;
  }
}

/* News & Offers: a column of posts, newest first */
.posts {
  display: grid;
  gap: 30px;
  max-width: 860px;
  margin: 0 auto;
}
.post {
  padding: 40px 44px 44px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 14px 30px -20px rgba(20, 17, 11, 0.35);
}
.post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 300;
}
.post__tag {
  padding: 4px 12px 3px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.post__place {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.post__place::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}
.post__ended {
  padding: 3px 11px 2px;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.post__meta .menu-badge {
  margin-left: 0;
  vertical-align: baseline;
}
/* Offers: red so they stand out from the gold news posts */
.post--offer {
  --offer-red: #d7261e;
  --offer-red-dark: #9e1410;
  border: 2px solid var(--offer-red);
  box-shadow: 0 18px 40px -22px rgba(215, 38, 30, 0.6);
}
.post--offer .post__title {
  color: var(--offer-red);
  font-weight: 700;
}
.post--offer .post__ended {
  border-color: var(--offer-red);
  background: var(--offer-red);
  color: #fff;
  opacity: 1;
}
.post--offer .btn {
  background: var(--offer-red);
  color: #fff;
}
.post--offer .btn:hover,
.post--offer .btn:focus-visible {
  background: var(--offer-red-dark);
  animation: none;
  text-shadow: none;
}
.offer-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 34px 24px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.18), transparent 45%),
    linear-gradient(135deg, #ee3b2f, var(--offer-red) 50%, var(--offer-red-dark));
  color: #fff;
  text-align: center;
}
.offer-banner__value {
  font-size: clamp(64px, 14vw, 112px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.offer-banner__text {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 300;
}
.offer-banner__text::first-line {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
/* Offer photo with the red banner laid over its lower part */
.offer-photo {
  position: relative;
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
}
.offer-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.offer-photo .offer-banner {
  position: absolute;
  right: 20px;
  top: 20px;
  margin: 0;
  padding: 18px 26px;
  gap: 6px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.offer-photo .offer-banner__value {
  font-size: clamp(44px, 9vw, 76px);
}
.offer-photo .offer-banner__text {
  font-size: 13px;
  line-height: 1.4;
}
.offer-photo .offer-banner__text::first-line {
  font-size: 17px;
}
@media (max-width: 640px) {
  .offer-photo img {
    aspect-ratio: 4 / 5;
  }
  .offer-photo .offer-banner {
    right: 12px;
    top: 12px;
    padding: 12px 18px;
  }
}
.post--offer .post__tag {
  background: var(--offer-red);
  color: #fff;
}
.post__title {
  margin-top: 18px;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 600;
}
.post__text {
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 300;
}
.post .btn {
  display: flex;
  width: fit-content;
  margin: 26px auto 0;
}
.post__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.post__photos figure {
  margin: 0;
}
.post__photos img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
}
.post__photos--wide img {
  aspect-ratio: 4 / 3;
}
.post__photos figcaption {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 300;
  text-align: center;
}
.posts__more {
  margin-top: 10px;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 300;
}
.posts__more a {
  color: inherit;
  text-underline-offset: 3px;
}
@media (max-width: 640px) {
  .post {
    padding: 28px 22px 30px;
  }
  .post__meta,
  .post__place {
    gap: 9px;
    font-size: 14px;
  }
  .post__title {
    font-size: 22px;
  }
  .post__text,
  .posts__more {
    font-size: 16px;
    line-height: 1.5;
  }
  .post .btn {
    width: 100%;
  }
}

/* Page not found (404) */
.not-found {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: calc(var(--header-h) + 60px) 0 100px;
  background: var(--cream);
  text-align: center;
}
.not-found__code {
  margin: 0 auto;
  font-size: 120px;
  line-height: 1;
  font-weight: 600;
}
.not-found__title {
  margin-top: 18px;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 600;
}
.not-found__text {
  max-width: 520px;
  margin: 16px auto 0;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 300;
}
.not-found__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
}
.not-found__link {
  font-size: 17px;
  font-weight: 300;
  text-underline-offset: 3px;
}
@media (max-width: 640px) {
  .not-found__code {
    font-size: 88px;
  }
  .not-found__title {
    font-size: 28px;
  }
  .not-found__text {
    font-size: 17px;
  }
}

/* ---------------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------------- */
.site-footer {
  padding: 0 40px 60px;
  background: var(--cream);
}
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
}
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.to-top svg {
  width: 5px;
  height: 17px;
}
.credit {
  padding: 0 20px 24px;
  background: var(--cream);
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
}
.credit span {
  opacity: 0.55;
}
@media (max-width: 640px) {
  .site-footer {
    padding: 0 20px 45px;
  }
  .site-footer__inner {
    min-height: 77px;
  }
}

/* Floating "Contact us" button (bottom right, every page) */
.float-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background-image: linear-gradient(0.5turn, var(--gold-soft) 0%, var(--gold) 100%);
  box-shadow: 0 8px 24px rgba(176, 136, 64, 0.4);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.float-cta:hover,
.float-cta:focus-visible {
  transform: translateY(-2px);
  background-image: var(--gold-band);
  background-color: var(--gold);
  background-size: 260% 100%;
  background-repeat: no-repeat;
  box-shadow: 0 12px 28px rgba(176, 136, 64, 0.5);
  text-shadow: 0 1px 2px rgba(90, 58, 8, 0.35);
  animation: shimmer 2.2s linear infinite;
}
.float-cta:active {
  transform: none;
}
.menu-open .float-cta {
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 480px) {
  .float-cta {
    right: 16px;
    bottom: 16px;
    height: 48px;
    padding: 0 22px;
    font-size: 15px;
  }
}

/* ---------------------------------------------------------------------------
   Home page
   --------------------------------------------------------------------------- */

/* Video band: the clips play one after another (js/main.js). Each one ends on
   the logo over a dark veil. */
.hero {
  position: relative;
  height: clamp(240px, 44vh, 500px);
  margin-top: var(--header-h);
  overflow: hidden;
  background: #111;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero__video.is-on {
  opacity: 1;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
  pointer-events: none;
}
.hero__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transform: translate(-50%, -50%) scale(0.96);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.9s ease-in-out, transform 1.6s ease-out;
  pointer-events: none;
}
.hero.show-logo .hero__shade {
  opacity: 0.78;
}
.hero.show-logo .hero__logo {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Headline with the text + button next to it, then a large photo */
.intro {
  padding: 10px 0 120px;
  background: var(--cream);
}
.intro__top {
  display: grid;
  grid-template-columns: minmax(0, 560fr) minmax(0, 460fr);
  column-gap: 96px;
  align-items: center;
  padding-right: 44px;
}
.intro__title {
  font-size: 52px;
  line-height: 1.23;
  font-weight: 600;
}
.intro__text {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 300;
}
.intro__aside .btn {
  margin-top: 36px;
}
.intro__photo,
.wide-photo {
  width: calc(100% + 40px);
  max-width: none;
  height: 100vh;
  margin: 80px -20px 0;
  border-radius: 20px;
  object-fit: cover;
}
@media (min-width: 961px) {
  /* big headline on the left; the small gold label sits on the right, just above
     the text and button, and the pair stays centred next to the headline */
  .intro__top {
    grid-template-rows: 1fr auto auto 1fr;
  }
  .intro__title {
    grid-column: 1;
    grid-row: 1 / 5;
    /* the headline sits a little further left (never closer than 14px to the edge) */
    transform: translateX(calc(-1 * min(64px, max(40px, (100vw - 1160px) / 2) - 14px)));
  }
  .intro__eyebrow {
    grid-column: 2;
    grid-row: 2;
  }
  .intro__aside {
    grid-column: 2;
    grid-row: 3;
  }
}
@media (max-width: 1200px) {
  .intro__title {
    font-size: 44px;
  }
}
@media (max-width: 960px) {
  .intro__top {
    grid-template-columns: 1fr;
    row-gap: 20px;
    padding-right: 0;
  }
  /* on phones the label goes under the headline, right above the text */
  .intro__eyebrow {
    order: 1;
    margin-bottom: -8px;
  }
  .intro__aside {
    order: 2;
  }
  .intro__title {
    font-size: 36px;
  }
  .intro__text {
    font-size: 22px;
  }
  .intro__photo,
  .wide-photo {
    width: 100%;
    height: 75vh;
    margin: 50px 0 0;
  }
}
@media (max-width: 640px) {
  .intro__title {
    font-size: 26px;
  }
  .intro__text {
    font-size: 19px;
  }
  .intro__aside .btn {
    margin-top: 28px;
  }
}

/* The gold statement box: shimmers once the first time it is seen */
.statement {
  padding: 120px 0;
}
.statement__box {
  max-width: 880px;
  margin: 0 auto;
  padding: 60px;
  background-color: var(--gold);
  background-image: var(--gold-band);
  background-size: 260% 100%;
  background-position: 100% 0;
  background-repeat: no-repeat;
  color: #fff;
  font-size: 30px;
  line-height: 1.67;
  font-weight: 600;
}
.statement__box.is-shining {
  animation: shimmer 2.6s ease-in-out 1 forwards;
  text-shadow: 0 1px 2px rgba(90, 58, 8, 0.35);
}
@media (max-width: 960px) {
  .statement {
    padding: 90px 0;
  }
  .statement__box {
    margin: 0 -20px;
    padding: 24px 20px;
    font-size: 24px;
    line-height: 1.6;
  }
}

/* How does it work: three numbered cards */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  counter-reset: step;
}
.step {
  padding: 40px 30px 60px;
  border-radius: 15px;
  background: var(--cream);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 600;
}
.step__title {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
}
.step__text {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 300;
}
@media (max-width: 960px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Services list with icons: every row has the same height */
.services {
  display: grid;
  grid-auto-rows: 1fr;
  row-gap: 42px;
  max-width: 760px;
  margin: 141px auto;
}
.service {
  display: grid;
  grid-template-columns: 65px 1fr;
  column-gap: 30px;
  align-items: start;
}
.service__icon {
  width: 65px;
  height: 65px;
}
.service__title {
  font-size: 22px;
  line-height: 1.35;
  font-weight: 600;
}
.service__text {
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 300;
}
@media (max-width: 640px) {
  .services {
    grid-auto-rows: auto;
    row-gap: 40px;
    margin: 0 auto;
  }
  .service {
    grid-template-columns: 50px 1fr;
    column-gap: 20px;
  }
  .service__icon {
    width: 50px;
    height: 50px;
  }
  .service__title {
    font-size: 18px;
  }
  .service__text {
    font-size: 14px;
    line-height: 1.45;
  }
}

/* Check-mark list in two columns ("Why choose us" and similar) */
.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 55px;
}
.check {
  display: grid;
  grid-template-columns: 30px 1fr;
  column-gap: 20px;
  align-items: start;
}
.check__icon {
  width: 30px;
  height: 30px;
}
.check__title {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
}
.check__text {
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 300;
}
@media (max-width: 960px) {
  .checks {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }
}
@media (max-width: 640px) {
  .check__title {
    font-size: 18px;
  }
  .check__text {
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.45;
  }
}

/* Benefits: a list split by thin gold rules, like a printed brochure */
.perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  row-gap: 56px;
}
.perk {
  padding-top: 26px;
  border-top: 1px solid rgba(176, 136, 64, 0.5);
}
.perk__title {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
}
.perk__text {
  margin-top: 12px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 300;
}
@media (max-width: 960px) {
  .perks {
    grid-template-columns: 1fr;
    row-gap: 36px;
  }
}
@media (max-width: 640px) {
  .perk {
    padding-top: 20px;
  }
  .perk__title {
    font-size: 20px;
  }
  .perk__text {
    font-size: 16px;
    line-height: 1.45;
  }
}

/* Service area: text on the left, map of the region on the right */
.area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.area__line {
  width: 50px;
  height: 3px;
  margin: 24px 0 23px;
  background: var(--gold);
}
.area__text {
  font-size: 20px;
  line-height: 1.55;
  font-weight: 300;
}
.map {
  position: relative;
  height: 560px;
  overflow: hidden;
  border-radius: 15px;
  background-color: #c6ecff;
  background-repeat: no-repeat;
  background-size: auto 140%;
  background-position: 84% 55%;
}
@media (max-width: 960px) {
  .area {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .area__text {
    font-size: 16px;
    line-height: 1.45;
  }
  .map {
    height: auto;
    aspect-ratio: 1;
  }
}

/* ---------------------------------------------------------------------------
   Service pages
   --------------------------------------------------------------------------- */

/* Big photo on its own soft gold band, right under the page header */
.photo-band {
  padding: 70px 0;
  background: var(--sand);
}
.photo-band .wide-photo {
  margin-top: 0;
}
@media (max-width: 960px) {
  .photo-band {
    padding: 40px 0;
  }
}

/* Page header: big gold title on the left, text and button on the right */
.page-head {
  padding: calc(var(--header-h) + 69px) 0 120px;
  background: var(--cream);
}
.page-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 560fr) minmax(0, 460fr);
  column-gap: 140px;
  align-items: start;
}
.page-head__title {
  font-size: 52px;
  line-height: 1.23;
  font-weight: 600;
}
.page-head__text {
  font-size: 22px;
  line-height: 1.55;
  font-weight: 300;
}
.page-head .btn {
  margin-top: 30px;
}
.btn--pill {
  border-radius: 32px;
}
@media (max-width: 1200px) {
  .page-head__title {
    font-size: 44px;
  }
  .page-head__grid {
    column-gap: 80px;
  }
}
@media (max-width: 960px) {
  .page-head {
    padding: calc(var(--header-h) + 30px) 0 90px;
  }
  .page-head__grid {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
  .page-head__title {
    font-size: 36px;
  }
  .page-head__text {
    font-size: 18px;
    line-height: 1.45;
  }
  .page-head .btn {
    margin-top: 15px;
  }
}
@media (max-width: 640px) {
  .page-head__title {
    font-size: 26px;
  }
  .page-head .btn {
    padding: 0 30px;
  }
}

/* Photo + text rows; the photo swaps sides on every other row */
.rows {
  display: grid;
  row-gap: 120px;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  align-items: center;
}
.row__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 15px;
  object-fit: cover;
}
.row:nth-child(even) .row__photo {
  order: 2;
}
/* the text sits in the middle of the column, level with the middle of the photo */
.row__body {
  max-width: 440px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.row__title {
  margin: 0 auto; /* gold headings shrink to their text, so centre the box itself */
  font-size: 30px;
  line-height: 1.23;
  font-weight: 600;
}
.row__title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  margin: 20px auto 0;
  background: var(--gold);
}
.row__text {
  margin-top: 20px;
  font-size: 21px;
  line-height: 1.55;
  font-weight: 300;
}
.row__body > .row__text:first-child {
  margin-top: 0;
}
@media (max-width: 960px) {
  .rows {
    row-gap: 75px;
  }
  .row {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }
  .row:nth-child(even) .row__photo {
    order: 0;
  }
  .row__body {
    max-width: none;
    padding: 0;
    text-align: left;
  }
  .row__title {
    margin: 0;
    font-size: 24px;
  }
  .row__title::after {
    margin: 14px 0 0;
  }
  .row__text {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.45;
  }
}

/* Heat pumps: three photo cards */
.pumps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.pump__frame {
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 14px 30px -18px rgba(20, 17, 11, 0.45);
}
.pump__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.pump__title {
  margin-top: 26px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
}
.pump__text {
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 300;
}
@media (max-width: 960px) {
  .pumps {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
    row-gap: 50px;
  }
}
@media (max-width: 640px) {
  .pump__title {
    font-size: 20px;
  }
  .pump__text {
    font-size: 16px;
    line-height: 1.45;
  }
}
/* Large centred paragraph */
.big-text {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  font-size: 30px;
  line-height: 1.45;
  font-weight: 300;
}
@media (max-width: 640px) {
  .big-text {
    font-size: 22px;
  }
}

/* Title on the left, paragraph on the right */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  align-items: start;
}
.split__title {
  font-size: 52px;
  line-height: 1.23;
  font-weight: 600;
}
.split__text {
  font-size: 20px;
  line-height: 1.55;
  font-weight: 300;
}
.section--roomy {
  padding: 150px 0;
}
@media (max-width: 1200px) {
  .split__title {
    font-size: 44px;
  }
}
@media (max-width: 960px) {
  .split {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }
  .split__title {
    font-size: 30px;
  }
  .split__text {
    font-size: 16px;
    line-height: 1.45;
  }
  .section--roomy {
    padding: 90px 0;
  }
}

/* Three square photos with a caption under each */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.card__photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 15px;
  object-fit: cover;
}
.card__title {
  margin-top: 20px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
}
@media (max-width: 640px) {
  .cards {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .card__title {
    font-size: 16px;
  }
}

/* Two wide photos per row, each with a title and text */
.cards--two {
  grid-template-columns: 1fr 1fr;
  row-gap: 90px;
}
.cards--two .card__photo {
  aspect-ratio: 560 / 300;
  /* thin gold frame a few px off the photo, plus a soft shadow, so light photos
     don't melt into the sand background */
  outline: 1px solid rgba(176, 136, 64, 0.55);
  outline-offset: 6px;
  box-shadow: 0 14px 30px -18px rgba(20, 17, 11, 0.45);
}
.cards--two .card__title {
  font-size: 24px;
}
.card__text {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 300;
}
@media (max-width: 640px) {
  .cards--two {
    grid-template-columns: 1fr;
    row-gap: 60px;
  }
  .cards--two .card__title {
    font-size: 20px;
  }
  .card__text {
    font-size: 14px;
    line-height: 1.45;
  }
}

/* Plain white band with centred text */
.section--plain {
  padding: 60px 0;
}
.center-text {
  text-align: center;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 300;
}
@media (max-width: 640px) {
  .center-text {
    font-size: 16px;
    line-height: 1.45;
  }
}

/* List with a thin check-mark icon next to each title */
.icon-list {
  display: grid;
  row-gap: 55px;
  max-width: 760px;
  margin: 0 auto;
}
.icon-list li {
  display: grid;
  grid-template-columns: 55px 1fr;
  column-gap: 40px;
  align-items: start;
}
.icon-list__icon {
  width: 55px;
  height: 55px;
}
.icon-list__title {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
}
.icon-list__text {
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 300;
}
@media (max-width: 640px) {
  .icon-list {
    row-gap: 40px;
  }
  .icon-list li {
    grid-template-columns: 40px 1fr;
    column-gap: 20px;
  }
  .icon-list__icon {
    width: 40px;
    height: 40px;
  }
  .icon-list__title {
    font-size: 16px;
  }
  .icon-list__text {
    font-size: 14px;
    line-height: 1.45;
  }
}

/* Three side-by-side columns split by thin gold vertical rules */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.pillar {
  padding: 6px 36px 10px;
  border-left: 1px solid rgba(176, 136, 64, 0.5);
  text-align: center;
}
.pillar:first-child {
  border-left: 0;
}
.pillar__title {
  margin: 0 auto; /* gold headings shrink to their text, so centre the box itself */
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
}
.pillar__text {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 300;
}
@media (max-width: 960px) {
  .pillars {
    grid-template-columns: 1fr;
  }
  .pillar,
  .pillar:first-child {
    padding: 30px 0;
    border-left: 0;
    border-top: 1px solid rgba(176, 136, 64, 0.5);
  }
  .pillar:first-child {
    padding-top: 0;
    border-top: 0;
  }
}
@media (max-width: 640px) {
  .pillar__title {
    font-size: 20px;
  }
  .pillar__text {
    font-size: 16px;
    line-height: 1.45;
  }
}

.page-head__title--smaller {
  font-size: 46px;
}
@media (max-width: 1200px) {
  .page-head__title--smaller {
    font-size: 42px;
  }
}
@media (max-width: 960px) {
  .page-head__title--smaller {
    font-size: 36px;
  }
}
@media (max-width: 640px) {
  .page-head__title--smaller {
    font-size: 26px;
  }
}

/* Centred text next to two overlapping photos */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 460fr) minmax(0, 560fr);
  column-gap: 140px;
  align-items: center;
}
.duo__text {
  text-align: center;
}
.duo__title {
  margin: 0 auto;
  font-size: 40px;
  line-height: 1.23;
  font-weight: 600;
}
.duo__lead {
  margin-top: 34px;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 300;
}
.duo__photos {
  position: relative;
  aspect-ratio: 1;
}
.duo__photos img {
  position: absolute;
  border-radius: 15px;
  object-fit: cover;
}
.duo__photos img:first-child {
  left: 0;
  top: 0;
  width: 80%;
  height: 80%;
}
.duo__photos img:last-child {
  right: 0;
  top: 56.07%;
  width: 65%;
  height: 40%;
}
@media (max-width: 1200px) {
  .duo {
    column-gap: 60px;
  }
}
@media (max-width: 960px) {
  .duo {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }
  .duo__title {
    font-size: 30px;
  }
  .duo__lead {
    margin-top: 16px;
    font-size: 18px;
  }
  .duo__photos {
    display: grid;
    gap: 20px;
    aspect-ratio: auto;
  }
  .duo__photos img {
    position: static;
  }
  .duo__photos img:first-child,
  .duo__photos img:last-child {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
  .duo__photos img:last-child {
    aspect-ratio: 364 / 224;
  }
}

/* Three photo tiles on a sand-coloured card, centred text */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.tile {
  text-align: center;
}
.tile__photo {
  width: 100%;
  aspect-ratio: 360 / 300;
  border-radius: 15px;
  object-fit: cover;
}
.tile__body {
  padding: 26px 10px 0;
}
.tile__title {
  margin: 0 auto;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
}
.tile__text {
  margin-top: 12px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 300;
}
@media (max-width: 960px) {
  .tiles {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .tile__body {
    padding-top: 20px;
  }
  .tile__title {
    font-size: 20px;
  }
  .tile__text {
    font-size: 16px;
    line-height: 1.45;
  }
}

.section--airy {
  padding: 180px 0;
}
@media (max-width: 960px) {
  .section--airy {
    padding: 120px 0;
  }
}
.section-head--loose {
  margin-bottom: 105px;
}
@media (max-width: 960px) {
  .section-head--loose {
    margin-bottom: 45px;
  }
}

/* List on the left (each point marked by a thin gold rule down its side), photo on the right */
.points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  align-items: center;
}
.points__list {
  display: grid;
  row-gap: 44px;
}
.points__list li {
  padding: 4px 0 4px 26px;
  border-left: 2px solid var(--gold);
}
/* same as the other body text on the page (.row__text) */
.points__text {
  font-size: 21px;
  line-height: 1.55;
  font-weight: 300;
}
.points__photo {
  width: 100%;
  height: auto;
}
@media (max-width: 960px) {
  .points {
    grid-template-columns: 1fr;
    row-gap: 75px;
  }
  .points__photo {
    order: -1;
  }
  .points__list li {
    padding-left: 20px;
  }
  .points__text {
    font-size: 16px;
    line-height: 1.45;
  }
}

/* Square photo on the left, centred title and text on the right */
.media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  align-items: center;
}
.media__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.media__text {
  text-align: center;
}
.media__title {
  margin: 0 auto;
  font-size: 42px;
  line-height: 1.23;
  font-weight: 600;
}
.media__lead {
  margin-top: 47px;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 300;
}
@media (max-width: 960px) {
  .media {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }
  .media__title {
    font-size: 30px;
  }
  .media__lead {
    margin-top: 47px;
    font-size: 16px;
    line-height: 1.45;
  }
}

.page-head__text--large {
  font-size: 26px;
}
@media (max-width: 960px) {
  .page-head__text--large {
    font-size: 20px;
  }
}
.section--tight-top {
  padding-top: 30px;
}

/* Work with us: large intro text and the partner form */
.join-intro {
  padding: 188px 0 54px;
}
.join-intro__eyebrow {
  text-align: center;
}
.join-intro__text {
  max-width: 740px;
  margin: 0 auto;
  font-size: 42px;
  line-height: 1.25;
  font-weight: 400;
}
.join-form {
  padding: 45px 0 105px;
}
.join-form .form {
  max-width: 760px;
  margin: 0 auto;
}
.form__label {
  display: block;
  padding-bottom: 5px;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 300;
}
.join-form input,
.join-form textarea {
  border-color: var(--ink);
  background: #fff;
}
.join-form .form__submit {
  text-align: center;
}
.join-form .btn {
  border-radius: 0;
}
@media (max-width: 960px) {
  .join-intro {
    padding: calc(var(--header-h) + 80px) 0 40px;
  }
  .join-intro__text {
    font-size: 34px;
  }
}
@media (max-width: 640px) {
  .join-intro__text {
    font-size: 28px;
  }
}
@media (max-width: 480px) {
  .join-intro__text {
    font-size: 25px;
  }
}
.join-form .form__success {
  max-width: 760px;
  margin: 0 auto;
}
