:root {
  --ink: #252525;
  --muted: #828282;
  --line: #e5e3df;
  --paper: #fff;
  --soft: #f7f5f2;
  --accent: #765b08;
  --accent-hover: #e2b42b;
  --max: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
}

a {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

a:hover,
a:focus-visible {
  color: #111;
}

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

h1,
h2,
h3,
h4,
.serif {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.2;
}

p {
  margin: 0 0 1.35rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  background: white;
  padding: .5rem 1rem;
}

.hero {
  position: relative;
  min-height: clamp(365px, 48vw, 660px);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .68) 0%, rgba(255, 255, 255, .42) 44%, rgba(255, 255, 255, .08) 74%);
}

.hero--main {
  background-image: url("images/hero-main.jpg");
}

.hero--home::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .55) 46%, rgba(255, 255, 255, .12) 76%);
}

.hero--cuts {
  background-image: url("images/hero-cuts.jpg");
}

.hero--colour {
  background-image: url("images/hero-colour.jpg");
}

.hero--hair-left {
  background-image: url("images/hero-left-looking-hair.jpg");
}

.hero--wedding {
  background-image: url("images/hero-wedding.jpg");
}

.topbar {
  z-index: 2;
  border-bottom: 1px solid rgba(0, 0, 0, .09);
  background: rgba(255, 255, 255, .5);
}

.topbar-inner {
  max-width: var(--max);
  min-height: 98px;
  margin: 0 auto;
  padding: 10px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  margin-right: auto;
}

.brand img {
  width: 100px;
  height: 78px;
  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.menu > li {
  position: relative;
}

.menu > li > a {
  display: block;
}

.menu a {
  color: #1f1f1f;
  padding: 18px 0;
}

.menu a.current,
.menu a:hover {
  color: var(--accent);
}

.dropdown {
  position: absolute;
  z-index: 3;
  left: -22px;
  top: 100%;
  width: 245px;
  list-style: none;
  background: rgba(255, 255, 255, .98);
  border: 1px solid var(--line);
  margin: 0;
  padding: 12px 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 160ms ease, visibility 160ms ease;
}

.dropdown li + li {
  border-top: 1px solid var(--line);
}

.dropdown a {
  display: block;
  font-size: 11px;
  padding: 10px 0;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px;
  font-size: 25px;
  line-height: 1;
}

.hero-title {
  flex: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 48px 32px 58px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.hero-title h1 {
  margin: 0;
  color: #111;
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 400;
  letter-spacing: -.025em;
  text-shadow: 0 2px 18px rgba(255, 255, 255, .55);
}

.hero-title > p {
  max-width: 560px;
  margin: 18px 0 0;
  color: #242424;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
  text-shadow: 0 1px 14px rgba(255, 255, 255, .68);
}

.hero-copy {
  display: block;
  align-self: stretch;
  max-width: var(--max);
  padding-top: clamp(80px, 12vw, 150px);
}

.hero-copy h1 {
  max-width: 720px;
}

.hero-copy p:not(.eyebrow) {
  max-width: 510px;
  margin-top: 18px;
  color: #242424;
  font-size: 18px;
  text-shadow: 0 1px 14px rgba(255, 255, 255, .68);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.content-section {
  padding: 70px 32px;
}

.content-section--soft {
  background: var(--soft);
}

.content-section--cta {
  background: #2b2926;
  color: white;
}

.content-section--cta a {
  color: white;
}

.content-section--cta .button {
  background: white;
  color: #2b2926;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-inner h2 {
  margin: 0 0 22px;
  font-size: clamp(30px, 3.5vw, 44px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr);
  gap: 58px;
  align-items: start;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.card {
  background: white;
  border: 1px solid var(--line);
  padding: 28px;
}

.card h3 {
  margin: 0 0 14px;
  font-size: 25px;
}

.card a {
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 32px 72px;
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(230px, .85fr);
  gap: 66px;
}

.article {
  min-width: 0;
  font-size: 16px;
}

.lead {
  font-size: 20px;
}

.article h2 {
  margin: 0 0 22px;
  font-size: 34px;
}

.article img.portrait {
  margin: 26px 0 14px;
  width: min(247px, 100%);
}

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

.services li {
  border-bottom: 1px solid var(--line);
}

.services a {
  display: block;
  padding: 18px 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.anchor-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 42px;
}

.anchor-links a {
  border: 1px solid var(--line);
  padding: 8px 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.service-section {
  scroll-margin-top: 95px;
  margin: 0 0 46px;
}

.service-section h2 {
  margin: 0 0 14px;
}

.callout {
  margin-top: 44px;
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 28px;
}

.callout h2 {
  margin-top: 0;
}

.price-list {
  width: min(550px, 100%);
  border-collapse: collapse;
  font-size: 16px;
}

.price-list td {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.price-list td:last-child {
  text-align: right;
  white-space: nowrap;
}

.price-list .group td {
  border: 0;
  padding-top: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.sidebar {
  border-left: 1px solid var(--line);
  padding-left: 34px;
}

.widget {
  margin: 0 0 34px;
}

.widget h2 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin: 0 0 13px;
  color: #444;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.phone {
  font-size: 25px;
  font-family: Georgia, "Times New Roman", serif;
}

.map-embed {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--soft);
  aspect-ratio: 4 / 3;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 10px 22px;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.button:hover {
  background: var(--accent-hover);
  color: #111;
}

.button--light {
  background: rgba(255, 255, 255, .86);
  color: #1f1f1f;
}

.button--light:hover {
  background: white;
}

.gallery {
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.gallery img {
  aspect-ratio: 3 / 4;
  width: 100%;
  object-fit: cover;
}

.feature-image {
  margin: 0 0 33px;
  width: 100%;
}

.contact-form {
  min-width: 0;
  max-width: 600px;
  display: grid;
  gap: 16px;
}

.contact-form label {
  color: #4c4c4c;
  font-size: 13px;
  letter-spacing: .06em;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid #d5d2cc;
  background: #fbfaf8;
  padding: 11px 12px;
  font: inherit;
}

.contact-form textarea {
  min-height: 190px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
}

.post-meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 24px;
}

.site-footer {
  background: #f6f5f2;
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 35px 32px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #777;
  font-size: 13px;
}

.social {
  display: flex;
  gap: 18px;
}

@media (max-width: 840px) {
  .topbar-inner {
    min-height: 78px;
    padding: 7px 20px;
  }

  .brand img {
    width: 82px;
    height: auto;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    z-index: 2;
    top: 78px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid var(--line);
    padding: 12px 22px 18px;
  }

  .nav.open {
    display: block;
  }

  .menu {
    display: block;
  }

  .menu a {
    display: block;
    padding: 10px 0;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    width: auto;
    padding: 0 0 0 18px;
    background: transparent;
  }

  .hero {
    min-height: clamp(300px, 64vw, 440px);
  }

  .hero-title {
    padding: 35px 20px;
  }

  .page {
    display: block;
    width: auto;
    margin: 0 20px;
    padding: 38px 0 48px;
  }

  .content-section {
    padding: 45px 20px;
  }

  .split,
  .cards {
    display: block;
  }

  .split > * + *,
  .card + .card {
    margin-top: 28px;
  }

  .feature-image,
  .contact-form {
    width: 100%;
    max-width: 100%;
  }

  .form-note {
    overflow-wrap: anywhere;
  }

  .sidebar {
    border-left: 0;
    border-top: 1px solid var(--line);
    margin-top: 42px;
    padding: 33px 0 0;
  }

  .footer-inner {
    display: block;
    padding: 28px 20px;
  }

  .social {
    margin-top: 13px;
  }
}
