/* ==========================================================================
   Sections, in page order. Each rule set starts from the phone layout and
   adds the tablet (720px) and desktop (1024px) layouts in media queries.
   ========================================================================== */

/* ==========================================================================
   1. Hero: Vela from above, the wordmark across the water
   Phone: the photograph fills whatever height the copy leaves, so the first
   screen holds the photograph, the headline and the button. From 720px the copy and wordmark sit over the photograph.
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;

  /* one screen, plus the secondary link and the bottom padding: the button is the last thing that has to fit */
  min-height: calc(100vh + 5.5rem);
  min-height: calc(100svh + 5.5rem);
  background: var(--porcelain);
  color: var(--ink);
}

.hero__media {
  position: relative;
  flex: 1 0 12rem;
  overflow: hidden;
  background: var(--sea);
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 20% 50%;
}

.hero__copy {
  padding: var(--s-3) var(--edge) var(--s-5);
}

.hero h1 {
  font-weight: var(--fw-light);
  font-size: var(--fs-statement);
  line-height: var(--lh-display);
  letter-spacing: var(--track-statement);
  text-wrap: balance;
  max-width: 15em;
}

.hero__copy p {
  margin-top: var(--s-3);
  max-width: 27em;
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  color: var(--ink-2);
}

.hero__actions {
  margin-top: var(--s-4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-2) var(--s-4);
}

.hero__mark {
  display: none;
}

.hero__mark img {
  width: 100%;
  height: auto;
}

@media (min-width: 720px) {
  .hero {
    display: grid;
    grid-template-columns: 46% minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: space-between; /* copy at the top, wordmark at the bottom, however tall the hero grows */
    min-height: clamp(38rem, 100vh, 70rem);
    min-height: clamp(38rem, 100svh, 70rem);
    background: var(--sea);
    color: var(--porcelain);
  }

  .hero__media {
    position: absolute;
    inset: 0;
  }

  .hero__img {
    object-position: 28% 50%;
  }

  .hero__copy {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    max-width: 40rem;
    margin-right: var(--edge);
    padding: clamp(7rem, 22vh, 13rem) 0 0;
    text-shadow: var(--shadow-text);
  }

  .hero__copy p {
    color: inherit;
  }

  .hero__actions {
    flex-flow: row wrap;
    align-items: center;
    text-shadow: none;
  }

  .hero .btn {
    --btn-bg: var(--porcelain);
    --btn-fg: var(--ink);
  }

  .hero__mark {
    display: block;
    position: relative;
    grid-column: 2;
    grid-row: 2;
    margin-right: var(--edge);
    padding-bottom: clamp(3.25rem, 9vh, 6rem);
  }
}

/* ==========================================================================
   2. Story: the day, and who we are
   ========================================================================== */
.story {
  padding: var(--s-5) var(--edge) var(--s-7);
  display: grid;
  row-gap: var(--s-5);
  align-items: start;
}

.story__day {
  font-weight: var(--fw-light);
  font-size: var(--fs-index);
  line-height: var(--lh-index);
  letter-spacing: var(--track-statement);
}

.story__day a {
  text-decoration: none;
  background: linear-gradient(var(--ink), var(--ink)) 100% 92%/0 1px no-repeat;
  transition: background-size 700ms var(--ease-tide);
}

.story__day a:hover,
.story__day a:focus-visible {
  background-size: 100% 1px;
  background-position: 0 92%;
}

.story__intro,
.story__sign {
  align-self: end;
}

.story__figure .frame {
  aspect-ratio: 16/9;
}

@media (min-width: 720px) {
  .story {
    padding-top: var(--s-7);
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--s-3);
  }

  .story__day,
  .story__figure {
    grid-column: 1/-1;
  }

  .story__intro,
  .story__sign {
    grid-column: 1 / span 7;
  }
}

@media (min-width: 1024px) {
  .story__day {
    grid-column: 1 / span 7;
  }

  .story__intro {
    grid-column: 9/-1;
    grid-row: 1;
    padding-bottom: var(--s-baseline);
  }

  .story__figure {
    grid-column: 1 / span 8;
  }

  .story__sign {
    grid-column: 9/-1;
    padding-bottom: var(--s-4);
  }
}

/* ==========================================================================
   3. Two yachts, in proportion
   ========================================================================== */
.yachts {
  background: var(--water);
  padding: var(--s-7) var(--edge);
}

.yachts__head {
  display: grid;
  align-items: end;
  margin-bottom: var(--s-5);
}

.yachts__head .copy {
  margin-top: var(--s-3);
  padding-bottom: var(--s-1);
}

.fleet {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
}

.yacht {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  row-gap: 0;
}

.yacht--vela {
  margin-top: var(--s-6);
}

.yacht__art {
  align-self: end;
  transition:
    opacity 600ms var(--ease-settle),
    transform 900ms var(--ease-tide);
}

.yacht__art img {
  width: 100%;
  height: auto;
}

/* Dimension line: the yacht's length, drawn like a naval architect's measure */
.measure {
  position: relative;
  height: 1.75rem;
  margin-top: var(--s-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.measure::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--ink);
  transform-origin: center;
  transition: transform 1400ms var(--ease-tide);
}

.measure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-inline: 1px solid var(--ink);
  transition: opacity 500ms var(--ease-settle) 900ms;
}

.measure span {
  position: relative;
  background: var(--water);
  padding-inline: var(--s-1-5);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  transition: opacity 600ms var(--ease-settle) 700ms;
}

/* On a phone the yachts stack, and Cala is drawn at 45/65 of Vela's width to keep them in scale */
.yacht--cala .yacht__art,
.yacht--cala .measure {
  width: 69%;
}

.yacht__body {
  margin-top: var(--s-4);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-3);
  align-content: start;
}

.yacht__name {
  font-weight: var(--fw-light);
  font-size: var(--fs-yacht);
  line-height: var(--lh-name);
  letter-spacing: var(--track-name);
}

.yacht__for {
  font-size: var(--fs-lead);
  line-height: var(--lh-compact);
}

.yacht__specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-hair) var(--s-3);
}

.yacht__price {
  display: grid;
  gap: var(--s-hair);
}

.yacht__price .from {
  font-weight: var(--fw-light);
  font-size: var(--fs-h3);
  line-height: var(--lh-snug);
  letter-spacing: var(--track-heading);
}

.yacht__photo {
  margin-top: var(--s-2);
}

.yacht__photo .frame {
  aspect-ratio: 3/2;
}

.yacht__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-3);
  align-items: center;
}

.fleet__shared {
  margin-top: var(--s-6);
}

@media (min-width: 720px) {
  .yachts__head {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--s-3);
    margin-bottom: var(--s-6);
  }

  .yachts__head .h2 {
    grid-column: 1/-1;
  }

  .yachts__head .copy {
    grid-column: 1 / span 9;
  }

  .fleet {
    grid-template-columns: 45fr 65fr;
    column-gap: var(--gap-fleet);
  }

  .yacht--vela {
    margin-top: 0;
  }

  .yacht--cala .yacht__art,
  .yacht--cala .measure {
    width: auto;
  }

  .yacht__body {
    margin-top: var(--s-5);
  }

  .fleet__shared {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--s-3);
  }

  .fleet__shared p {
    grid-column: 1 / span 7;
  }
}

@media (min-width: 1024px) {
  .yachts__head .h2 {
    grid-column: 1 / span 7;
  }

  .yachts__head .copy {
    grid-column: 9/-1;
    margin-top: 0;
  }
}

/* With a mouse, the yacht you point at (or tab to) steps forward and the other recedes */
@media (hover: hover) {
  .fleet:has(.yacht:hover) .yacht:not(:hover) .yacht__art,
  .fleet:has(.yacht:focus-within) .yacht:not(:focus-within) .yacht__art {
    opacity: 0.42;
  }

  .yacht:hover .yacht__art,
  .yacht:focus-within .yacht__art {
    transform: translateX(-0.6rem);
  }
}

/* ==========================================================================
   4–6. The day: swim, suite, lunch
   ========================================================================== */
.day-head {
  padding-inline: var(--edge);
}

.day-head .h2 {
  max-width: 13em;
}

/* Swim */
.swim {
  --water-cut: 30%;

  background: linear-gradient(
    var(--water) 0,
    var(--water) var(--water-cut),
    var(--porcelain) var(--water-cut)
  );
}

.swim .day-head {
  padding-top: var(--s-6);
  padding-bottom: var(--s-5);
}

.swim__band {
  aspect-ratio: 4/3;
}

.swim__band img {
  object-position: 20% 60%;
}

.swim__body {
  padding: var(--s-6) var(--edge) var(--s-7);
  display: grid;
  row-gap: var(--s-5);
  align-items: start;
}

.swim__voice {
  padding-top: var(--s-1);
}

.swim__under .frame {
  aspect-ratio: 16/9;
}

.swim__isles {
  align-self: end;
}

.isles__list {
  margin: var(--s-3) 0 0;
  padding: 0;
  list-style: none;
}

.isles__list li {
  font-weight: var(--fw-light);
  font-size: var(--fs-isle);
  line-height: var(--lh-isle);
  letter-spacing: var(--track-display);
}

.isles__list li:nth-child(2) {
  padding-left: 0.9em;
}

.isles__list li:nth-child(3) {
  padding-left: 0.35em;
}

.isles__list li:nth-child(4) {
  padding-left: 1.25em;
}

@media (min-width: 720px) {
  .swim {
    --water-cut: 38%;
  }

  .swim__band {
    aspect-ratio: auto;
    height: min(92vh, 62rem);
    margin-inline: var(--edge);
  }

  .swim__band img {
    object-position: 50% 60%;
  }

  .swim__body {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--s-3);
  }

  .swim__text {
    grid-column: 1 / span 6;
  }

  .swim__voice {
    grid-column: 8/-1;
  }

  .swim__under {
    grid-column: 6/-1;
    margin-top: var(--s-3);
  }

  .swim__isles {
    grid-column: 1 / span 5;
    grid-row: 2;
  }
}

@media (min-width: 1024px) {
  .swim__text {
    grid-column: 2 / span 5;
  }
}

/* Suite */
.suite {
  padding: var(--s-5) 0 var(--s-7);
}

.suite .day-head {
  margin-bottom: var(--s-5);
}

.suite__grid {
  padding-inline: var(--edge);
  display: grid;
  row-gap: var(--s-5);
  align-items: start;
}

.suite__photo {
  position: relative;
  margin-right: 12%;
}

.suite__photo .frame {
  aspect-ratio: 3/2;
}

.suite__rose {
  position: absolute;
  width: 58%;
  right: -18%;
  bottom: -20%;
  pointer-events: none;
  filter: drop-shadow(0 12px 10px var(--shadow-ink));
}

.suite__text {
  padding-top: var(--s-5);
}

.suite__voice {
  margin-top: var(--s-2);
}

.suite__daybed {
  width: 64%;
  justify-self: end;
  margin-top: var(--s-2);
}

.suite__daybed .frame {
  aspect-ratio: 1/1;
}

.suite__daybed img {
  object-position: 50% 55%;
}

@media (min-width: 720px) {
  .suite__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--s-3);
  }

  .suite__photo {
    grid-column: 1 / span 7;
    margin-right: 0;
  }

  .suite__rose {
    width: 40%;
    right: -2%;
    bottom: -24%;
  }

  .suite__text {
    grid-column: 8/-1;
    padding-top: var(--s-3);
  }

  .suite__voice {
    grid-column: 2 / span 6;
    align-self: center;
    margin-top: var(--s-6);
  }

  .suite__daybed {
    grid-column: 9/-1;
    width: auto;
    justify-self: auto;
  }
}

@media (min-width: 1024px) {
  .suite__rose {
    width: 44%;
    right: -9%;
  }

  .suite__text {
    grid-column: 9/-1;
    padding-top: var(--s-6);
  }
}

/* Lunch: the table, set like a menu */
.lunch {
  padding: var(--s-6) 0 var(--s-7);
  background: var(--porcelain);
}

.lunch .day-head .h2 {
  max-width: 16em;
}

.lunch__photo {
  margin: var(--s-5) 0 0;
  height: 62svh;
}

.lunch__photo img {
  object-position: 50% 62%;
}

.lunch__text {
  padding: var(--s-6) var(--edge) 0;
  display: grid;
  row-gap: var(--s-4);
}

@media (min-width: 720px) {
  .lunch__photo {
    margin-inline: var(--edge);
    height: min(84vh, 52rem);
  }

  .lunch__text {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--s-3);
  }

  .lunch__text .voice {
    grid-column: 1 / span 6;
  }

  .lunch__text .copy {
    grid-column: 8/-1;
  }
}

/* ==========================================================================
   7. Evening: dinner, the night anchorage, the spa
   ========================================================================== */
.evening {
  padding-top: var(--s-6);
  background: linear-gradient(
    180deg,
    var(--porcelain) 0%,
    var(--blush-1) 30%,
    var(--blush-2) 70%,
    var(--blush-3) 100%
  );
}

.evening__grid {
  padding: var(--s-5) var(--edge) var(--s-6);
  display: grid;
  row-gap: var(--s-5);
  align-items: start;
}

.evening__dinner {
  margin-right: calc(var(--edge) * -1);
}

.evening__dinner .frame {
  aspect-ratio: 3/2;
}

.evening__side {
  display: grid;
  gap: var(--s-5);
}

.evening__still {
  width: 70%;
  justify-self: end;
}

.evening__still .frame {
  aspect-ratio: 4/5;
}

.evening__still img {
  object-position: 30% 50%;
}

.evening__voice {
  padding-block: var(--s-2);
}

.evening__voice .voice {
  max-width: 13em;
}

@media (min-width: 720px) {
  .evening__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--s-3);
  }

  .evening__dinner {
    grid-column: 1 / span 7;
    margin-right: 0;
  }

  .evening__side {
    grid-column: 8/-1;
  }

  .evening__still {
    width: auto;
    justify-self: auto;
  }

  .evening__voice {
    grid-column: 2 / span 7;
    padding-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .evening__dinner {
    grid-column: 1 / span 8;
  }

  .evening__side {
    grid-column: 10/-1;
  }
}

.night {
  position: relative;
  color: var(--porcelain);
  background: linear-gradient(
    180deg,
    var(--blush-3) 0,
    var(--dusk-1) 8rem,
    var(--dusk-2) 15rem,
    var(--dusk-3) 22rem,
    var(--dusk) 28rem,
    var(--dusk) 100%
  );
}

.night__copy {
  padding: var(--night-lead-sm) var(--edge) var(--s-5);
  display: grid;
  row-gap: var(--s-3);
  align-items: end;
}

.night__copy .h2 {
  max-width: 14em;
}

.night__copy p {
  padding-bottom: var(--s-baseline);
  color: var(--porcelain);
}

.night__band {
  position: relative;
  height: 78svh;
}

.night__band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 40%;
  z-index: 1;
  background: linear-gradient(var(--dusk), var(--dusk-clear));
  pointer-events: none;
}

.night__stack {
  position: relative;
}

.night__stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 24% 50%;
}

/* the lights come on with the scroll: the lit photograph rises over the unlit one (script sets its opacity; without script it is simply lit) */
.night__on {
  will-change: opacity;
}

@media (min-width: 720px) {
  .night__copy {
    padding-top: var(--night-lead);
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--s-3);
    row-gap: 0;
  }

  .night__copy .h2 {
    grid-column: 1 / span 8;
  }

  .night__copy p {
    grid-column: 10/-1;
  }

  .night__band {
    height: clamp(30rem, 46vw, 52rem);
  }

  .night__stack img {
    object-position: 30% 50%;
  }
}

.spa {
  background: var(--ink);
  color: var(--on-dark);
  padding: var(--s-7) var(--edge);
  display: grid;
  row-gap: var(--s-5);
  align-items: start;
}

.spa__photo .frame {
  aspect-ratio: 3/2;
}

.spa__text {
  color: var(--on-dark-2);
}

.spa__harbour {
  width: 72%;
}

.spa__harbour .frame {
  aspect-ratio: 4/5;
}

.spa .caption {
  color: var(--on-dark-2);
}

@media (min-width: 720px) {
  .spa {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--s-3);
  }

  .spa .h2 {
    grid-column: 1 / span 6;
  }

  .spa__photo {
    grid-column: 7/-1;
    grid-row: 1 / span 3;
  }

  .spa__text {
    grid-column: 1 / span 5;
  }

  .spa__harbour {
    grid-column: 2 / span 4;
    width: auto;
    margin-top: var(--s-4);
  }
}

/* ==========================================================================
   8. Rates
   ========================================================================== */
.rates {
  padding: var(--s-7) var(--edge);
  display: grid;
  row-gap: var(--s-5);
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--s-3);
}

.rate-table th,
.rate-table td {
  text-align: left;
  vertical-align: baseline;
  padding: var(--s-2-5) var(--s-2) var(--s-2-5) 0;
  border-top: 1px solid var(--line-strong);
}

.rate-table thead th {
  border-top: 0;
  padding-bottom: var(--s-2);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--ink-2);
}

.rate-table tbody th,
.rate-table td {
  font-weight: var(--fw-light);
  font-size: var(--fs-h3);
  letter-spacing: var(--track-heading);
  line-height: var(--lh-snug);
}

.rate-table tbody th {
  width: 22%;
}

.rate-table td {
  font-variant-numeric: tabular-nums;
} /* prices line up in a column */
.rate-table small {
  display: block;
  margin-top: var(--s-hair);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  letter-spacing: 0;
  color: var(--ink-2);
}

.rate-table tbody tr:last-child > * {
  border-bottom: 1px solid var(--line-strong);
}

.rates__lists {
  display: grid;
  row-gap: var(--s-4);
  margin-top: var(--s-3);
}

.rates__col h3 {
  font-weight: var(--fw-medium);
  font-size: var(--fs-body);
  margin-bottom: var(--s-2);
}

.rates__col li {
  padding-block: var(--s-0);
}

.rates__col--note {
  align-self: start;
}

.rates__col--note p + p {
  margin-top: var(--s-2);
}

/* Phone only: each rate row becomes a card, with the season printed above its price */
@media (max-width: 719px) {
  .rate-table thead {
    display: none;
  }

  .rate-table,
  .rate-table tbody,
  .rate-table tr,
  .rate-table th,
  .rate-table td {
    display: block;
    width: 100%;
  }

  .rate-table tbody tr {
    border-top: 1px solid var(--line-strong);
    padding: var(--s-3) 0;
  }

  .rate-table tbody tr:last-child {
    border-bottom: 1px solid var(--line-strong);
  }

  .rate-table tbody tr > *,
  .rate-table tbody tr:last-child > * {
    border: 0;
    padding: var(--s-hair) 0;
  }

  .rate-table td::before {
    content: attr(data-season);
    display: block;
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    letter-spacing: 0;
    color: var(--ink-2);
    margin-bottom: var(--s-0);
  }

  .rate-table tbody th {
    width: 100%;
    margin-bottom: var(--s-1);
  }
}

@media (min-width: 720px) {
  .rates {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--s-3);
  }

  .rates .h2 {
    grid-column: 1 / span 6;
  }

  .rates__intro {
    grid-column: 8/-1;
    align-self: end;
  }

  .rate-table,
  .rates__lists {
    grid-column: 1/-1;
  }

  .rates__lists {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--s-3);
  }

  .rates__col {
    grid-column: span 6;
  }

  .rates__col--note {
    grid-column: 1/-1;
  }
}

@media (min-width: 1024px) {
  .rates__col {
    grid-column: span 4;
  }

  .rates__col--note {
    grid-column: 9/-1;
  }
}

/* ==========================================================================
   9. Enquire
   ========================================================================== */
.enquire {
  background: var(--water);
  padding: var(--s-7) var(--edge);
  display: grid;
  row-gap: var(--s-5);
  align-items: start;
}

.enquire__head .copy {
  margin-top: var(--s-3);
}

.enquire__flag {
  display: none;
  margin-top: var(--s-5);
}

.enquire__flag .frame {
  aspect-ratio: 4/3;
}

.enquire__flag img {
  object-position: 40% 50%;
}

.form {
  display: grid;
  gap: var(--s-3);
}

.field {
  display: grid;
  gap: var(--s-hair);
}

.field label {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: var(--s-1-5) var(--s-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-field);
  background: var(--field-bg);
  font-size: var(--fs-field);
  transition:
    border-color 300ms var(--ease-settle),
    background-color 300ms var(--ease-settle);
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
  line-height: var(--lh-lead);
}

.field select {
  appearance: none;
  background-image: url("../assets/chevron.svg");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: var(--field-icon-room);
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--ink);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
  background: var(--porcelain);
}

.form__send {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-3);
  margin-top: var(--s-1);
}

.form__send p {
  max-width: 26em;
}

.contact {
  display: grid;
  gap: var(--s-4) var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line-strong);
}

.contact h3 {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  margin-bottom: var(--s-hair);
}

.contact a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.contact__status {
  color: var(--ink);
}

@media (min-width: 720px) {
  .enquire {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--s-3);
  }

  .enquire__head,
  .form,
  .contact {
    grid-column: 1/-1;
  }

  .form,
  .contact {
    grid-template-columns: 1fr 1fr;
  }

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

@media (min-width: 1024px) {
  .enquire__head {
    grid-column: 1 / span 5;
  }

  .enquire__flag {
    display: block;
  }

  .form,
  .contact {
    grid-column: 7/-1;
  }
}

/* ==========================================================================
   10. Footer
   ========================================================================== */
.footer {
  padding: var(--s-6) var(--edge) var(--s-4);
  display: grid;
  gap: var(--s-5);
}

.footer__close {
  display: grid;
  align-items: end;
}

.footer__close .btn {
  justify-self: start;
  margin-top: var(--s-3);
}

.footer__mark img {
  width: 100%;
  height: auto;
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-2) var(--s-4);
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  color: var(--ink-2);
}

.footer__base nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-0) var(--s-3);
}

.footer__base a {
  text-decoration: none;
  font-weight: var(--fw-medium);
  color: var(--ink);
}

.footer__base a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

@media (min-width: 720px) {
  .footer__close {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--s-3);
  }

  .footer__close .voice {
    grid-column: 1 / span 7;
  }

  .footer__close .btn {
    grid-column: 10/-1;
    justify-self: end;
    margin-top: 0;
  }
}
