:root {
  --black: #000;
  --ink: #111;
  --white: #fff;
  --silver: #c9c9c9;
  --silver-dark: #a7a7a7;
  --text-muted: #4a4a4a;
  --rule: #dcdcdc;
  --tint: #f4f4f4;
  --heading: "Gilda Display", Georgia, "Times New Roman", serif;
  --text: "Newsreader", Georgia, "Times New Roman", serif;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(64px, 10vw, 128px);
  --header-height: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 400;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.5rem);
}

p {
  margin: 0;
}

p + p {
  margin-top: 1em;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 20;
  padding: 12px 16px;
  background: var(--white);
  color: var(--ink);
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

.label {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.on-black .label {
  color: var(--silver);
}

.lead {
  max-width: 38em;
  font-size: 1.06rem;
}

/* Buttons */

.button {
  display: inline-block;
  padding: 15px 28px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-family: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.button:hover {
  background: var(--white);
  color: var(--ink);
}

.on-black .button {
  border-color: var(--silver);
  background: var(--silver);
  color: var(--black);
}

.on-black .button:hover {
  background: transparent;
  color: var(--white);
}

.text-link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-underline-offset: 6px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--black);
  color: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
}

.brand {
  display: flex;
  flex: none;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

/* Monogram only, as the logo's small lettering would not be legible at this size. */
.brand-mark {
  flex: none;
  width: 70px;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.brand-name {
  color: var(--silver);
  font-family: var(--heading);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  line-height: 1.5;
  text-transform: uppercase;
}

.brand-name span {
  display: block;
}

.nav-toggle {
  display: none;
  padding: 10px 0;
  border: 0;
  background: none;
  color: var(--white);
  font-family: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  text-underline-offset: 8px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--silver);
  text-decoration: underline;
}

.site-nav .nav-quote {
  display: inline-block;
  padding: 11px 18px;
  border: 1px solid var(--silver-dark);
}

.site-nav .nav-quote:hover,
.site-nav .nav-quote[aria-current="page"] {
  background: var(--silver);
  color: var(--black);
  text-decoration: none;
}

/* Phone number in the header: the full number on wide screens, "Call" on phones. */
.header-call {
  margin-left: auto;
  color: var(--silver);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-call:hover {
  color: var(--white);
}

.header-call-short {
  display: none;
}

/* Six menu items and the phone number need room, so the menu folds away below 1180px. */
@media (max-width: 1180px) {
  :root {
    --header-height: 72px;
  }

  .js .nav-toggle {
    display: block;
  }

  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 8px var(--gutter) 32px;
    background: var(--black);
    border-top: 1px solid #2a2a2a;
  }

  .js .site-nav.is-open {
    display: block;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .js .header-inner {
    flex-wrap: nowrap;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-bottom: 12px;
  }

  .js .site-nav ul {
    padding-bottom: 0;
  }

  .site-nav li {
    width: 100%;
  }

  .site-nav a {
    display: block;
    padding: 14px 0;
    font-size: 0.88rem;
  }

  .site-nav .nav-quote {
    display: block;
    margin-top: 16px;
    padding: 15px 18px;
    text-align: center;
  }
}

@media (min-width: 1181px) {
  .header-call {
    order: 2;
    margin-left: 0;
  }

  .site-nav {
    margin-left: auto;
  }
}

@media (max-width: 480px) {
  .header-inner {
    gap: 16px;
  }

  /* On small phones the company name wraps so the header fits. */
  .brand {
    flex: 0 1 auto;
    min-width: 0;
    gap: 10px;
  }

  .brand-mark {
    width: 56px;
  }

  .header-call-long {
    display: none;
  }

  .header-call-short {
    display: inline;
  }
}

/* Sections */

.section {
  padding-block: var(--section);
}

.section-tint {
  background: var(--tint);
}

.on-black {
  background: var(--black);
  color: var(--white);
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(36px, 6vw, 64px);
}

.section-head .lead {
  margin-top: 20px;
}

/* Home hero */

.hero {
  padding-block: clamp(48px, 8vw, 104px) clamp(72px, 10vw, 128px);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.hero .lead {
  margin-top: 28px;
  color: #e4e4e4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
  margin-top: 40px;
}

.hero-logo {
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  /* The header already carries the monogram, so the first screen on a phone goes to the message. */
  .hero-logo {
    display: none;
  }
}

/* Inner page heading */

.page-head {
  padding-block: clamp(56px, 8vw, 104px);
}

.page-head .lead {
  margin-top: 24px;
  color: #e4e4e4;
}

/* Text beside a photo */

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.split .lead {
  margin-top: 24px;
}

.split-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: grayscale(1);
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Service summary rows on the home page */

.rows {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
  list-style: none;
}

.rows > li {
  border-bottom: 1px solid var(--rule);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 8px 40px;
  align-items: baseline;
  padding-block: 26px;
  text-decoration: none;
  transition: padding-left 0.2s;
}

.service-row:hover {
  padding-left: 12px;
}

.service-row p {
  color: var(--text-muted);
}

@media (max-width: 700px) {
  .service-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.after-rows {
  margin-top: 36px;
}

/* Our standard */

.standard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 56px) clamp(32px, 5vw, 64px);
}

@media (max-width: 960px) {
  .standard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.standard-grid h3 {
  margin-bottom: 10px;
}

.standard-grid p {
  color: var(--text-muted);
}

@media (max-width: 700px) {
  .standard-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* How it works */

.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

.how-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  /* Keeps both gloved hands in frame. */
  object-position: 70% center;
  filter: grayscale(1);
}

.steps {
  display: grid;
  gap: clamp(32px, 4vw, 44px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  color: var(--silver-dark);

  font-family: var(--text);
  font-size: 1.5rem;
  line-height: 1.4;
}

.steps h3 {
  margin-bottom: 10px;
}

.steps p {
  color: #e4e4e4;
}

@media (max-width: 860px) {
  .how-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .how-photo {
    max-width: 340px;
  }
}

/* Areas */

.area-names {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.area-names li {
  padding-block: 18px;
  border-top: 1px solid var(--rule);
  font-family: var(--heading);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  line-height: 1.2;
}

@media (max-width: 760px) {
  .area-names {
    grid-template-columns: minmax(0, 1fr);
  }
}

.area-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 8px 40px;
  align-items: baseline;
  padding-block: 28px;
}

.area-row p {
  color: var(--text-muted);
}

@media (max-width: 700px) {
  .area-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Services page */

.service {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 28px clamp(40px, 7vw, 96px);
  padding-block: clamp(48px, 7vw, 80px);
  border-top: 1px solid var(--rule);
  scroll-margin-top: var(--header-height);
}

.service-photo + .service {
  border-top: 0;
  padding-top: 0;
}

.service h2 {
  margin-bottom: 20px;
}

.service p {
  color: var(--text-muted);
}

.service-photo {
  width: 100%;
  aspect-ratio: 21 / 9;
  margin-block: 8px clamp(48px, 7vw, 80px);
  object-fit: cover;
  object-position: center 60%;
  filter: grayscale(1);
}

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

.check-list li {
  padding-block: 11px;
  border-bottom: 1px solid var(--rule);
}

.check-list li:first-child {
  padding-top: 0;
}

@media (max-width: 760px) {
  .service {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-photo {
    aspect-ratio: 3 / 2;
  }
}

/* Closing call to action */

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 64px;
}

.cta-text {
  max-width: 36rem;
}

.cta-text p {
  margin-top: 16px;
  color: var(--text-muted);
}

/* Contact page */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: start;
}

.contact-email {
  font-family: var(--heading);
  font-size: 1.1rem;
  overflow-wrap: anywhere;
  text-underline-offset: 5px;
}

.contact-block + .contact-block {
  margin-top: 44px;
}

.contact-block .label {
  margin-bottom: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
}

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

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field .optional {
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #8a8a8a;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1rem;
  line-height: 1.5;
}

.field select {
  appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: 0;
}

.form-foot {
  margin-top: 32px;
}

.form-note {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-status {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 2px solid var(--ink);
  background: var(--tint);
}

.form-status[hidden] {
  display: none;
}

/* Hidden spam trap for Formspree: people never see it, bots fill it in. */
.form-trap {
  position: absolute;
  left: -9999px;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-foot .button {
    width: 100%;
  }
}

/* Footer */

.site-footer {
  padding-block: clamp(48px, 7vw, 72px) 32px;
  background: var(--black);
  color: var(--silver);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 3fr));
  gap: 36px 48px;
}

.footer-contact {
  margin-top: 16px;
  overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.footer-title {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  padding-block: 3px;
}

.site-footer a {
  text-underline-offset: 4px;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-email {
  overflow-wrap: anywhere;
}

.footer-base {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #2a2a2a;
  font-size: 0.8rem;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Breadcrumb trail above inner page headings */

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  color: var(--silver);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.breadcrumb li + li::before {
  content: "/";
  margin-inline: 10px;
  color: var(--silver-dark);
}

.breadcrumb a {
  text-underline-offset: 4px;
}

.page-head .hero-actions {
  margin-top: 32px;
}

.page-head .lead a {
  text-underline-offset: 4px;
}

/* A short, direct answer at the top of a page */

.answer {
  max-width: 46rem;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.answer h2 {
  margin-bottom: 18px;
}

.answer p {
  font-size: 1.12rem;
}

.text-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px clamp(40px, 7vw, 96px);
  padding-top: clamp(40px, 6vw, 64px);
  border-top: 1px solid var(--rule);
}

.text-columns h2,
.link-columns h2 {
  margin-bottom: 16px;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}

.text-columns p {
  color: var(--text-muted);
}

.link-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px clamp(40px, 7vw, 96px);
}

.link-columns p + p {
  margin-top: 1em;
}

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

.link-list li {
  padding-block: 9px;
  border-bottom: 1px solid var(--rule);
}

.link-list a {
  text-underline-offset: 4px;
}

.split-text {
  align-items: start;
}

.split-text p {
  color: var(--text-muted);
}

.split-text h2 {
  margin-bottom: 18px;
}

.h2-follow {
  margin-top: 48px;
}

.service-more {
  margin-top: 20px;
}

.service h2 a {
  text-decoration: none;
}

.service h2 a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.area-links a {
  text-decoration: none;
}

.area-links a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

@media (max-width: 760px) {
  .text-columns,
  .link-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Questions and answers that open and close */

.faq-list {
  max-width: 52rem;
  border-top: 1px solid var(--rule);
}

.faq {
  border-bottom: 1px solid var(--rule);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  color: var(--silver-dark);
  font-size: 1.5rem;
  line-height: 1;
}

.faq[open] summary::after {
  content: "\2212";
}

.faq summary h3 {
  font-size: clamp(1.15rem, 2vw, 1.3rem);
}

.faq-answer {
  padding-bottom: 24px;
  color: var(--text-muted);
}

.faq-answer a {
  text-underline-offset: 4px;
}

/* Company details on the About page */

.details {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  margin: 0;
  border-top: 1px solid var(--rule);
}

.details dt,
.details dd {
  margin: 0;
  padding-block: 12px;
  border-bottom: 1px solid var(--rule);
}

.details dt {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.details dd {
  overflow-wrap: anywhere;
}

/* Long-form text: privacy policy and terms */

.prose {
  max-width: 46rem;
}

.prose h2 {
  margin: 44px 0 14px;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}

.prose ul {
  margin: 1em 0;
  padding-left: 1.2em;
}

.prose li + li {
  margin-top: 0.5em;
}

.prose ul + p {
  margin-top: 1em;
}

.form-privacy {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .service-row {
    transition: none;
  }
}
