:root {
  --color-surface: #fffcf8;
  --color-text: #171615;
  --color-muted: #716c66;
  --color-subtle: #918b84;
  --color-fine-print: #a09a93;
  --color-accent-top: #63c2e6;
  --color-accent-middle: #58b9df;
  --color-accent-bottom: #4fb2d8;
  --color-accent-hover-top: #45abd4;
  --color-accent-hover-middle: #329cc9;
  --color-accent-hover-bottom: #258ab7;
  --color-instagram: #e1306c;
  --radius-cta: 16px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
    "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-width: 440px;
  --intro-font-size-mobile: 20px;
  --intro-font-size-tablet: 21px;
  --intro-font-size-desktop: 22px;
  --intro-line-height-mobile: 1.42;
  --intro-line-height-tablet: 1.4;
  --intro-line-height-desktop: 1.38;
  --intro-measure-mobile: 100%;
  --intro-measure-tablet: 40ch;
  --intro-measure-desktop: 43ch;
  --intro-font-size: var(--intro-font-size-mobile);
  --intro-line-height: var(--intro-line-height-mobile);
  --intro-measure: var(--intro-measure-mobile);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--serif);
  font-kerning: normal;
  font-variant-ligatures: common-ligatures contextual;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  display: flex;
  flex-direction: column;
  width: min(100%, var(--page-width));
  min-height: 100svh;
  margin: 0 auto;
  padding: 27px clamp(24px, 7vw, 31px) 31px;
  overflow: hidden;
  background: var(--color-surface);
  border-radius: 0;
}

.masthead {
  position: relative;
  display: grid;
  flex: 0 0 82px;
  justify-items: center;
  align-items: start;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
}

.brand {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  text-decoration: none;
  transform-origin: center top;
  will-change: opacity, transform;
}

.brand:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 3px;
}

.scissors-orientation {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  pointer-events: none;
  transform: rotate(90deg);
}

.scissors {
  position: relative;
  display: block;
  width: 24px;
  height: 19.5px;
  object-fit: contain;
  pointer-events: none;
  transform-origin: 48.59% 48.25%;
  will-change: transform;
}

.content-layout {
  display: grid;
  gap: 108px;
}

.scissor-shape {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 48.59% 48.25%;
}

.intro {
  margin: 1px 0 0;
  width: 100%;
  max-width: var(--intro-measure);
}

.intro h1 {
  margin: 0;
  font-size: var(--intro-font-size);
  font-weight: 400;
  line-height: var(--intro-line-height);
  letter-spacing: 0;
  text-wrap: pretty;
}

.instagram-link {
  display: inline-flex;
  width: 0.78em;
  height: 0.78em;
  margin-left: 0.2em;
  color: var(--color-subtle);
  line-height: 0;
  opacity: 0.64;
  text-decoration: none;
  transform-origin: center;
  vertical-align: -0.06em;
  transition:
    color 180ms ease,
    opacity 260ms ease,
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.instagram-link svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.instagram-link path {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 3;
  transition:
    fill 260ms ease,
    stroke 260ms ease;
}

.instagram-link:hover,
.instagram-link:focus-visible {
  color: var(--color-instagram);
  opacity: 1;
  transform: translateY(-0.04em) scale(1.06);
}

.instagram-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.intro-line {
  display: block;
  line-height: inherit;
  overflow: hidden;
}

.intro-line-inner {
  display: inline-block;
  line-height: inherit;
  will-change: opacity, transform;
}

.word {
  display: inline-block;
  will-change: opacity, transform;
}

.services {
  margin: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(24px, 1fr) auto minmax(24px, 1fr);
  align-items: center;
  gap: 14px;
  color: var(--color-subtle);
}

.section-heading h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading span {
  height: 1px;
  background: currentColor;
  opacity: 0.58;
  transform: translateY(2px);
}

.section-heading span:first-child {
  transform-origin: right center;
}

.section-heading span:last-child {
  transform-origin: left center;
}

.service-list {
  display: grid;
  gap: 25px;
  margin: 38px 0 0;
  font-size: 21px;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.service-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
}

.service-list dt,
.service-list dd {
  margin: 0;
}

.service-list dd {
  font-style: italic;
  font-variant-numeric: tabular-nums;
}

.service-notes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 12px 0 0;
  padding: 0;
  color: var(--color-fine-print);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.2;
  list-style: none;
}

.service-notes li::before {
  content: "*";
  display: inline-block;
  margin-right: 3px;
}

.service-notes li {
  white-space: nowrap;
}

.booking {
  position: relative;
  margin-top: 42px;
  padding-top: 0;
}

.book-button {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 50px;
  margin: 0 auto;
  padding: 0 20px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 38%);
  border-radius: var(--radius-cta);
  background: linear-gradient(
    180deg,
    var(--color-accent-top) 0%,
    var(--color-accent-middle) 52%,
    var(--color-accent-bottom) 100%
  );
  box-shadow: 0 8px 20px rgb(32 97 177 / 20%);
  color: white;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  transition:
    background 240ms ease,
    box-shadow 240ms ease,
    filter 240ms ease;
  cursor: pointer;
}

.book-button::after {
  position: absolute;
  inset: -45% -35%;
  background: linear-gradient(
    115deg,
    transparent 34%,
    rgb(255 255 255 / 18%) 44%,
    rgb(255 255 255 / 44%) 50%,
    rgb(255 255 255 / 16%) 56%,
    transparent 66%
  );
  content: "";
  opacity: 0;
  transform: translateX(-80%) skewX(-8deg);
  transition:
    opacity 420ms ease,
    transform 1450ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Designed and built by aaraalto. */

.book-button span {
  position: relative;
  z-index: 1;
}

.book-button:hover::after {
  opacity: 1;
  transform: translateX(80%) skewX(-8deg);
}

.book-button:hover,
.book-button:focus-visible {
  background: linear-gradient(0deg, var(--color-accent-hover-bottom) 0%, var(--color-accent-hover-middle) 52%, var(--color-accent-hover-top) 100%);
  box-shadow: 0 10px 24px rgb(37 138 183 / 28%);
  filter: saturate(1.08) contrast(1.04);
}

.book-button:focus-visible {
  outline: 3px solid #171615;
  outline-offset: 4px;
}

.book-button:active {
  transform: translateY(1px);
}

.booking-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(22px, 5vw, 44px) 16px;
  background: var(--color-surface);
  color: var(--color-text);
}

.booking-shell {
  width: min(100%, 960px);
  display: grid;
  gap: 14px;
  align-items: start;
}

.booking-header h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 16pt;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
}

.booking-back {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--color-text);
  opacity: 0.82;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.booking-back img {
  display: block;
  width: 25px;
  height: 25px;
}

.booking-back:hover,
.booking-back:focus-visible {
  opacity: 1;
  transform: translateX(-2px);
}

.booking-back:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 4px;
}

.booking-frame {
  width: 100%;
  padding: clamp(10px, 2vw, 16px);
  overflow: hidden;
  border: 1px solid rgb(23 22 21 / 14%);
  border-radius: var(--radius-cta);
  background: #fff;
  box-shadow: 0 12px 28px rgb(23 22 21 / 6%);
}

.booking-iframe {
  width: 100%;
  height: min(72svh, 720px);
  min-height: 620px;
  border: 0;
  border-radius: calc(var(--radius-cta) - 6px);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 34px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.1;
  text-align: right;
}

.footer-mark {
  display: block;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  font-size: 17px;
  line-height: 1;
  transform: rotate(-4deg);
  transform-origin: center;
}

.footer-mark:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.footer-copy {
  margin-left: auto;
}

.debug-menu {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10;
  display: grid;
  width: min(320px, calc(100vw - 36px));
  max-height: calc(100svh - 36px);
  gap: 12px;
  padding: 14px;
  overflow: auto;
  border: 1px solid rgb(23 22 21 / 12%);
  border-radius: 8px;
  background: rgb(250 248 244 / 92%);
  box-shadow: 0 18px 50px rgb(23 22 21 / 14%);
  color: var(--color-text);
  font-family: var(--sans);
  font-size: 12px;
  backdrop-filter: blur(14px);
}

.debug-menu[hidden] {
  display: none;
}

.debug-menu__header,
.debug-control {
  display: grid;
  grid-template-columns: 96px 1fr 42px;
  align-items: center;
  gap: 10px;
}

.debug-menu__header {
  color: #4c4843;
}

.debug-menu__header span,
.debug-control output {
  color: #817b74;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.debug-control input {
  width: 100%;
  accent-color: var(--color-accent-middle);
}

@media (max-width: 374px) {
  .masthead {
    flex-basis: 76px;
  }

  .intro h1 {
    font-size: 20px;
    line-height: 1.44;
  }

  .services {
    margin-top: 0;
  }

  .content-layout {
    gap: 78px;
  }

  .service-list {
    gap: 22px;
    margin-top: 32px;
    font-size: 20px;
  }

  .service-notes {
    gap: 10px;
    font-size: 12px;
  }

  .booking {
    margin-top: 34px;
    padding-top: 0;
  }

  .book-button {
    min-height: 48px;
  }

  footer {
    margin-top: auto;
    padding-top: 27px;
    font-size: 14px;
  }
}

@media (min-width: 480px) {
  :root {
    --intro-font-size: var(--intro-font-size-tablet);
    --intro-line-height: var(--intro-line-height-tablet);
    --intro-measure: var(--intro-measure-tablet);
  }

  .site-shell {
    width: 100%;
    padding: 40px clamp(40px, 8vw, 72px) 36px;
  }

  .site-shell > * {
    width: min(100%, 620px);
    margin-right: auto;
    margin-left: auto;
  }

  .masthead {
    flex-basis: 90px;
  }

  .intro {
    margin-top: 0;
  }

  .intro h1 {
    font-size: var(--intro-font-size);
    line-height: var(--intro-line-height);
  }

  .content-layout {
    gap: 96px;
  }

  .section-heading h2 {
    font-size: 15px;
  }

  .service-list {
    font-size: 24px;
  }

  .service-list {
    gap: 28px;
    margin-top: 42px;
  }

  .service-notes {
    font-size: 13px;
  }

  .booking {
    margin-top: 52px;
    padding-top: 0;
  }

  .book-button {
    width: 100%;
    min-height: 52px;
  }
}

@media (min-width: 900px) {
  :root {
    --intro-font-size: var(--intro-font-size-desktop);
    --intro-line-height: var(--intro-line-height-desktop);
    --intro-measure: var(--intro-measure-desktop);
  }

  .site-shell {
    display: flex;
    padding: 52px clamp(72px, 10vw, 160px) 40px;
  }

  .site-shell > * {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .masthead {
    flex-basis: 104px;
  }

  .content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(72px, 8vw, 128px);
  }

  .intro h1 {
    font-size: var(--intro-font-size);
    line-height: var(--intro-line-height);
  }

  .intro {
    align-self: start;
    max-width: var(--intro-measure);
  }

  .services {
    align-self: start;
    margin-top: 0;
  }

  .service-column {
    padding-top: clamp(156px, 19vh, 184px);
  }

  .section-heading h2 {
    font-size: 15px;
  }

  .service-list {
    font-size: 25px;
  }

  .service-notes {
    font-size: 13px;
  }

  .book-button {
    width: 100%;
    min-height: 54px;
    font-size: 17px;
  }

  .booking {
    width: 100%;
    margin-top: 0;
    padding-top: clamp(52px, 7vh, 72px);
  }

  .book-button {
    margin-left: 0;
  }

  footer {
    margin-top: auto;
    padding-top: 0;
  }
}

@media (max-width: 479px) and (max-height: 820px) {
  .masthead {
    flex-basis: 68px;
  }

  .content-layout {
    gap: 64px;
  }

  .booking {
    margin-top: 32px;
    padding-top: 0;
  }

  .book-button {
    min-height: 48px;
  }

  footer {
    margin-top: auto;
    padding-top: 24px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
