/*
 * Pristine Restroom Rentals
 * One stylesheet for the whole site, written for phones first.
 * Colors come from the logo (evergreen ink) and the trailers (brushed aluminum). Type is Barlow, drawn from
 * California's highway signs and license plates; headings use its semi-condensed width.
 */

/* Fonts (self-hosted, Barlow, SIL Open Font License; see /fonts/OFL.txt) */
@font-face {
  font-family: "Barlow";
  src: url("/fonts/barlow-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("/fonts/barlow-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("/fonts/barlow-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("/fonts/barlow-semi-condensed-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("/fonts/barlow-semi-condensed-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #15231b;
  --pine: #1c3527;
  --green: #17803f;
  --green-dark: #146b35;
  --leaf: #e3f1e7;
  --silver: #eef1ef;
  --line: #d5dcd7;
  --input-line: #98a69e;
  --text: #28322d;
  --muted: #5a6761;
  --gold: #e7a21a;
  --error: #b00020;
  --focus: #146b35;
  --focus-on-dark: #ffd166;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Barlow Semi Condensed", "Barlow", "Arial Narrow", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: 16px;
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}
figure {
  margin: 0;
}
a {
  color: var(--green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--ink);
}
h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  text-wrap: balance;
}
h1 {
  margin: 0;
}
h2 {
  margin: 1.5em 0 0.5em;
  font-size: clamp(1.75rem, 1.45rem + 1.3vw, 2.375rem);
}
h3 {
  margin: 1.3em 0 0.4em;
  font-size: 1.4rem;
  font-weight: 600;
}
p,
ul,
ol {
  margin: 0 0 1em;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.hero :focus-visible,
.closing :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--focus-on-dark);
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
}
.skip-link:focus {
  left: 8px;
}
.icon {
  flex: none;
  width: 22px;
  height: 22px;
}
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--gold);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 22px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}
.button-book {
  background: var(--green);
  color: #fff;
}
.button-book:hover {
  background: var(--green-dark);
  color: #fff;
}
.button-call {
  background: var(--ink);
  color: #fff;
}
.button-call:hover {
  background: var(--pine);
  color: #fff;
}
.button-light {
  background: #fff;
  color: var(--ink);
}
.button-light:hover {
  background: var(--leaf);
  color: var(--ink);
}
.button-small {
  min-height: 44px;
  padding: 8px 16px;
  font-size: 1.05rem;
}
.button[aria-disabled="true"] {
  opacity: 0.75;
  cursor: wait;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0 12px;
  max-width: 1320px;
  min-height: 64px;
  margin: 0 auto;
  padding: 8px var(--gutter);
}
.site-logo {
  display: block;
}
.logo-img {
  display: block;
  width: auto;
  height: 40px;
}
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  text-decoration: none;
}
.header-phone:hover {
  background: var(--green-dark);
  color: #fff;
}
.header-phone-number {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.header-book {
  display: none;
}
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: currentColor;
}
.menu-toggle-bars {
  position: relative;
}
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle-bars::before {
  top: -7px;
}
.menu-toggle-bars::after {
  top: 7px;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bars {
  background: transparent;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Main navigation: a panel under the header on phones and tablets */
.main-nav {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 8px calc(var(--gutter) * -1) -8px;
  border-top: 1px solid var(--line);
}
.js .main-nav {
  display: none;
}
.js .main-nav.is-open {
  display: block;
  max-height: calc(100vh - 64px);
  padding-bottom: 72px; /* clear of the call bar on phones */
  overflow-y: auto;
}
.menu,
.sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu > li > a {
  display: block;
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}
.sub-menu {
  padding: 4px 0 8px;
  border-bottom: 1px solid var(--line);
  background: var(--silver);
}
.sub-menu a {
  display: block;
  padding: 10px var(--gutter) 10px calc(var(--gutter) + 16px);
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}
.menu a:hover,
.menu a[aria-current="page"],
.current-menu-item > a {
  color: var(--green-dark);
}

/* Home: photo hero with the booking card */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--pine);
  color: #dfe8e2;
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-photo picture,
.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% 85%;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(14, 30, 21, 0.72), rgba(14, 30, 21, 0.5) 50%, rgba(14, 30, 21, 0.78));
}
.hero-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 28px var(--gutter) 36px;
}
.hero-rating {
  margin: 0 0 14px;
}
.hero-rating a {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.hero-rating a:hover span {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero h1 {
  max-width: 15ch;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(2.5rem, 1.7rem + 3.4vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.hero-lede {
  max-width: 34em;
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.5;
}
.hero .book-card {
  margin-top: 26px;
}

/* The booking card (home hero and the sidebar) */
.book-card {
  padding: 20px 20px 22px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 26px 50px -22px rgba(4, 16, 10, 0.6);
  color: var(--text);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 6px 14px 6px 11px;
  border-radius: 999px;
  background: var(--leaf);
  color: var(--green-dark);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}
.status-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  animation: status-pulse 2.4s ease-out infinite;
}
@keyframes status-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(23, 128, 63, 0.45);
  }
  70%,
  100% {
    box-shadow: 0 0 0 9px rgba(23, 128, 63, 0);
  }
}
.book-card-title {
  margin: 0 0 6px;
  font-size: 1.9rem;
}
.book-card-text {
  margin: 0 0 18px;
  color: var(--muted);
}
.book-card-actions {
  display: grid;
  gap: 10px;
  margin: 0;
}

/* Sections */
.section {
  padding: 56px 0;
}
.section-tint {
  background: var(--silver);
}
.section-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section-head {
  max-width: 640px;
  margin-bottom: 28px;
}
.section-head h2 {
  margin: 0 0 8px;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}
.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 24px;
  max-width: none;
}
.section-head-row p {
  font-weight: 600;
}

/* Photo tiles: trailers and uses */
.trailer-grid,
.use-grid {
  display: grid;
  gap: 36px 24px;
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}
.tile-photo {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: var(--silver);
}
.tile-photo img {
  display: block;
  width: 100%;
}
.tile-title {
  margin: 16px 0 6px;
  font-size: 1.5rem;
}
.tile-title a {
  color: var(--ink);
  text-decoration: none;
}
.tile-title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.tile-text {
  margin: 0 0 14px;
  color: var(--muted);
}
.tile-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin: 0;
}
.tile-more {
  font-weight: 600;
}

/* Home: inside photo and how it works */
.split {
  display: grid;
  gap: 32px;
  align-items: center;
}
.split-photo img {
  display: block;
  width: 100%;
  border-radius: 14px;
}
.split-text h2 {
  margin-top: 0;
}
.steps-title {
  margin: 28px 0 16px;
}
.steps {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.steps li {
  position: relative;
  min-height: 36px;
  padding-left: 52px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -3px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 36px;
  text-align: center;
}

/* Reviews */
.review-grid,
.review-list {
  display: grid;
  gap: 20px;
}
.review {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.review-text {
  margin: 12px 0 16px;
  font-size: 1.1rem;
  line-height: 1.6;
}
.review-text p {
  margin: 0;
}
.review-name {
  color: var(--ink);
  font-weight: 600;
}
.review-source {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
}
.review-placeholder .review-text,
.review-placeholder .review-name {
  color: var(--muted);
}

/* Home: where we deliver */
.area-links {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.area-links li {
  border-bottom: 1px solid var(--line);
}
.area-links a {
  display: block;
  padding: 16px 0;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
}
.area-links a:hover {
  color: var(--green-dark);
}

/* Closing band (every page but Book Now) */
.closing {
  background: var(--pine);
  color: #d5e0d9;
}
.closing-inner {
  display: grid;
  gap: 24px;
  align-items: center;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 48px var(--gutter);
}
.closing h2 {
  margin: 0 0 8px;
  color: #fff;
}
.closing p {
  margin: 0;
}
.closing-phone {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}
.closing-phone:hover {
  color: #fff;
}
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Inner pages: title band, content and sidebar */
.page-head {
  border-bottom: 1px solid var(--line);
  background: var(--silver);
}
.page-head-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 24px var(--gutter) 28px;
}
.page-title {
  max-width: 22ch;
  font-size: clamp(2.1rem, 1.6rem + 2vw, 3.1rem);
}
.breadcrumbs {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumbs li + li::before {
  content: "/";
  margin: 0 8px;
  color: var(--input-line);
}
.content-area {
  display: grid;
  gap: 40px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 32px var(--gutter) 56px;
}
.main-column {
  min-width: 0;
  max-width: 720px;
}
.entry-content {
  font-size: 1.08rem;
}
.entry-content::after {
  content: "";
  display: table;
  clear: both;
}
.entry-content > :first-child,
.entry > :first-child {
  margin-top: 0;
}
.entry-content li {
  margin-bottom: 0.4em;
}
.last-updated {
  color: var(--muted);
  font-size: 0.95rem;
}
.photo-frame {
  margin: 0 0 24px;
}
.photo-frame img {
  display: block;
  width: 100%;
  border-radius: 12px;
}
.spec-table {
  width: 100%;
  margin: 0 0 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
}
.spec-table th,
.spec-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.spec-table tr:last-child > * {
  border-bottom: 0;
}
.spec-table tbody th {
  width: 38%;
  background: var(--silver);
  color: var(--ink);
  font-weight: 600;
}
.spec-table thead th {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}
.book-this {
  margin: 36px 0;
  padding: 24px;
  border-radius: 16px;
  background: var(--leaf);
}
.book-this-title {
  margin: 0 0 16px;
  font-size: 1.6rem;
}
.book-this-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}
.area-list li {
  padding: 2px 0;
}
.sidebar {
  display: grid;
  gap: 32px;
  align-content: start;
}
.sidebar .book-card {
  border: 1px solid var(--line);
  box-shadow: 0 18px 36px -24px rgba(4, 16, 10, 0.45);
}
.widget-title {
  margin: 0 0 10px;
  font-size: 1.35rem;
}
.widget-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.widget-list li {
  border-bottom: 1px solid var(--line);
}
.widget-list a {
  display: block;
  padding: 11px 0;
  font-weight: 600;
  text-decoration: none;
}
.widget-review .review {
  padding: 20px;
}
.widget-review .review-text {
  font-size: 1rem;
}

/* Book Now form */
.book-form {
  max-width: 600px;
  margin-top: 12px;
}
.form-section {
  margin-top: 40px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.form-row {
  margin: 0 0 20px;
}
.form-dates {
  display: grid;
  gap: 0 16px;
}
@media (min-width: 560px) {
  .form-dates {
    grid-template-columns: 1fr 1fr;
  }
}
.form-row label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 600;
}
.label-note {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
}
.field-hint {
  display: block;
  margin: -2px 0 6px;
  color: var(--muted);
  font-size: 0.9rem;
}
.book-form input[type="text"],
.book-form input[type="tel"],
.book-form input[type="date"],
.book-form input[type="number"],
.book-form select,
.book-form textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid var(--input-line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: 1.05rem;
  line-height: 1.4;
}
.book-form textarea {
  min-height: 120px;
  resize: vertical;
}
.book-form input.input-short {
  width: 160px;
}
.book-form input:focus,
.book-form select:focus,
.book-form textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(23, 128, 63, 0.28);
  outline-offset: 0;
}
.book-form .has-error input,
.book-form .has-error select,
.book-form .has-error textarea {
  border-color: var(--error);
  box-shadow: inset 0 0 0 1px var(--error);
}
.field-error {
  display: block;
  margin-top: 6px;
  color: var(--error);
  font-size: 0.95rem;
  font-weight: 600;
}
.field-error:empty {
  display: none;
}
.error-summary {
  margin: 0 0 24px;
  padding: 16px 20px 6px;
  border: 2px solid var(--error);
  border-radius: 12px;
  background: #fdf2f3;
}
.error-summary[hidden] {
  display: none;
}
.error-summary-title {
  margin: 0 0 8px;
  color: #8c0019;
  font-size: 1.2rem;
}
.error-summary-list {
  margin: 0 0 10px;
  padding-left: 20px;
}
.error-summary-list a {
  color: #8c0019;
  font-weight: 600;
}
.form-extra {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.cf-turnstile {
  margin: 0 0 12px;
}
.form-submit {
  margin: 0 0 10px;
}
.form-submit .button {
  min-width: 220px;
}
.form-consent {
  color: var(--muted);
  font-size: 0.95rem;
}
.thanks-message {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #b9c7bf;
  font-size: 1rem;
}
.site-footer a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}
.site-footer a:hover {
  text-decoration-color: #fff;
}
.footer-inner {
  display: grid;
  gap: 32px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 48px var(--gutter) 28px;
}
.footer-logo {
  display: block;
  width: 204px;
  height: auto;
  margin-bottom: 16px;
}
.footer-title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.2rem;
}
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-menu a {
  display: inline-block;
  padding: 5px 0;
}
.footer-phone a {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
}
.site-info {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.site-info p {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px var(--gutter);
  color: #93a49a;
  font-size: 0.9rem;
}
.site-info a {
  margin-left: 6px;
}

/* Phones: call and book buttons fixed to the bottom of the screen */
.mobile-call-bar {
  display: none;
}

@media (max-width: 699px) {
  body {
    padding-bottom: 66px;
    padding-bottom: calc(66px + env(safe-area-inset-bottom));
  }
  .mobile-call-bar {
    display: flex;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 -8px 20px rgba(16, 33, 24, 0.08);
  }
  .mobile-call-bar a {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    border-radius: 10px;
    color: #fff;
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
  }
  .mobile-call {
    background: var(--ink);
  }
  .mobile-call-bar {
    transition: transform 0.2s ease-out, visibility 0s;
  }
  .call-bar-hidden .mobile-call-bar {
    visibility: hidden;
    transform: translateY(100%);
    transition: transform 0.2s ease-out, visibility 0s linear 0.2s;
  }
  .mobile-book {
    background: var(--green);
  }
}

@media (min-width: 700px) {
  :root {
    --gutter: 24px;
  }
  .header-book {
    display: inline-flex;
    min-height: 48px;
    padding: 10px 20px;
    font-size: 1.1rem;
  }
  .logo-img {
    height: 44px;
  }
  .hero-inner {
    padding: 56px var(--gutter) 64px;
  }
  .hero-text,
  .hero .book-card {
    max-width: 560px;
  }
  .book-card {
    padding: 26px 28px 28px;
  }
  .book-card-actions {
    grid-template-columns: 1fr 1fr;
  }
  .sidebar .book-card-actions {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 80px 0;
  }
  .trailer-grid,
  .use-grid,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .area-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 24px;
    border-top: 0;
  }
  .area-links li {
    border-top: 2px solid var(--ink);
    border-bottom: 0;
  }
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-head-inner {
    padding: 40px var(--gutter) 44px;
  }
  .alignright {
    float: right;
    width: 320px;
    margin: 6px 0 20px 32px;
  }
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .closing-inner {
    grid-template-columns: 1fr auto;
    padding: 64px var(--gutter);
  }
}

@media (min-width: 1000px) {
  .hero-photo::after {
    background: linear-gradient(
      90deg,
      rgba(14, 30, 21, 0.92) 0%,
      rgba(14, 30, 21, 0.82) 40%,
      rgba(14, 30, 21, 0.3) 72%,
      rgba(14, 30, 21, 0.12) 100%
    );
  }
  .hero-inner {
    padding: 80px var(--gutter) 88px;
  }
  .use-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .content-area {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 64px;
    padding: 48px var(--gutter) 80px;
  }
  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    padding: 64px var(--gutter) 32px;
  }
}

/* Wide screens: the menu sits in the header */
@media (min-width: 1200px) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0 20px;
    min-height: 80px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .main-nav,
  .js .main-nav {
    display: block;
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    border-top: 0;
  }
  .menu {
    display: flex;
    justify-content: center;
  }
  .menu-item-home,
  .menu-toggle {
    display: none;
  }
  .menu > li {
    position: relative;
  }
  .menu > li > a {
    padding: 28px 9px;
    border-bottom: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
  }
  .menu > .current-menu-item > a {
    box-shadow: inset 0 -3px 0 var(--green);
  }
  .has-dropdown > a::after {
    content: "";
    display: inline-block;
    margin-left: 6px;
    border: 4px solid transparent;
    border-top-color: currentColor;
    border-bottom-width: 0;
    vertical-align: middle;
  }
  .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -8px;
    z-index: 70;
    min-width: 270px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 36px -14px rgba(16, 33, 24, 0.3);
  }
  .has-dropdown:hover > .sub-menu,
  .has-dropdown:focus-within > .sub-menu {
    display: block;
  }
  .sub-menu a {
    padding: 10px 12px;
    border-radius: 8px;
  }
  .sub-menu a:hover {
    background: var(--silver);
  }
}

@media (min-width: 1360px) {
  .header-phone {
    gap: 8px;
    width: auto;
    height: auto;
    padding: 0 6px;
    border-radius: 0;
    background: none;
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 700;
  }
  .header-phone:hover {
    background: none;
    color: var(--green-dark);
  }
  .header-phone .icon {
    color: var(--green);
  }
  .header-phone-number {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .status-dot {
    animation: none;
  }
  .mobile-call-bar {
    transition: none;
  }
}
