:root {
  --soil: #241c0d;
  --soil-deep: #2f2e21;
  --cream: #e8e6dc;
  --paper: #f5f0e5;
  --blue: #40749a;
  --mustard: #c7a94e;
  --brick: #bd5145;
  --pink: #c7a9af;
  --leaf: #75894b;
  --ink: #303024;
  --line-light: rgba(232, 230, 220, 0.42);
  --line-dark: rgba(48, 48, 36, 0.3);
  --display: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  --hand: "Comic Sans MS", "Bradley Hand", cursive;
  --body: "Trebuchet MS", Arial, sans-serif;
  --max: 92rem;
  --pad: clamp(1.2rem, 4vw, 4.8rem);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--cream);
  background: var(--soil);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.08;
  background-image: radial-gradient(rgba(255, 255, 255, 0.45) 0.55px, transparent 0.7px);
  background-size: 6px 6px;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 30;
  padding: 0.65rem 0.9rem;
  color: var(--soil);
  background: var(--cream);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: min(100%, var(--max));
  min-height: 5.4rem;
  margin: 0 auto;
  padding: 1rem var(--pad);
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) auto minmax(13rem, 1fr);
  align-items: center;
  gap: 2rem;
  border-bottom: 2px solid var(--line-light);
}

.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-mark {
  width: 3.2rem;
  height: auto;
  flex: 0 0 auto;
}

.brand-name,
.footer-name {
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2.6rem);
}

nav a,
.footer-links a {
  font-family: var(--hand);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:hover,
.footer-links a:hover,
.scribble-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3rem;
}

.pill-link {
  justify-self: end;
  min-height: 2.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  color: var(--soil);
  background: var(--pink);
  border: 2px solid var(--cream);
  border-radius: 46% 54% 47% 53% / 55% 48% 52% 45%;
  font-family: var(--hand);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transform: rotate(1deg);
}

.hero {
  background-color: #241c0d;
  width: min(100%, var(--max));
  max-width: 100vw;
  min-height: calc(100svh - 5.4rem);
  position: relative;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 3rem) var(--pad) clamp(5rem, 9vw, 8rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-florals {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
  filter: saturate(0.88) contrast(1.05);
}

.hero-florals-mobile {
  display: none;
}

.hero-copy {
  width: min(100%, 53rem);
  min-width: 0;
  max-width: 100%;
  padding: 0;
  text-align: center;
}

.hero-wordmark {
  display: block;
  width: 100%;
  max-width: 48rem;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 1.4rem;
  font-family: var(--hand);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.045em;
}

h1 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(4.1rem, 9vw, 8.75rem);
  line-height: 0.82;
  text-transform: uppercase;
}

h1 > span:first-child {
  display: block;
  padding-block: 0.06em 0.03em;
  transform: rotate(-1deg);
}

.hero-subtitle {
  display: block;
  margin-top: 0.32em;
  color: var(--mustard);
  font-family: var(--hand);
  font-size: 0.29em;
  letter-spacing: 0.08em;
  line-height: 1;
}

.hero-subtitle i {
  color: var(--brick);
  font-style: normal;
}

.hero-intro {
  max-width: 31rem;
  margin: 2.3rem auto 1.8rem;
  color: var(--cream);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 700;
}

.button-row,
.contact-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
}

.hero-copy > .button-row {
  margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
}

.button {
  min-height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 46% 54% 48% 52% / 54% 48% 52% 46%;
  font: 800 0.92rem/1 var(--hand);
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.button:hover:not(.is-disabled),
.pill-link:hover {
  transform: rotate(-1deg) translateY(-2px);
  filter: brightness(1.04);
}

.button:focus-visible,
.pill-link:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 4px;
}

.button-cream {
  color: var(--soil);
  background: var(--cream);
  border-color: var(--cream);
}

.button-dark {
  color: var(--cream);
  background: var(--soil);
  border-color: var(--soil);
}

.button-outline {
  color: var(--soil);
  background: transparent;
  border-color: var(--soil);
}

.scribble-link {
  font-family: var(--hand);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 10rem) var(--pad);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  align-items: start;
  gap: 2rem;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

h2 {
  max-width: 15ch;
  margin-bottom: 0;
  font-size: clamp(2.8rem, 5.6vw, 6rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.services {
  color: var(--soil);
  background: var(--paper);
}

.offerings-heading {
  grid-template-columns: 1fr;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.8rem);
}

.service-card {
  min-height: 23rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  border: 3px solid var(--soil);
  box-shadow: 8px 8px 0 var(--soil);
}

.service-card:nth-child(1) {
  color: var(--cream);
  background: var(--leaf);
  transform: rotate(-1deg);
}

.service-card:nth-child(2) {
  background: var(--mustard);
  transform: translateY(1rem) rotate(1deg);
}

.service-card:nth-child(3) {
  background: var(--blue);
  transform: rotate(-0.7deg);
}

.service-number {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font: 700 0.82rem var(--hand);
}

.service-card h3 {
  margin: auto 0 1rem;
  font-size: clamp(2.2rem, 3.6vw, 4rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.service-card p {
  margin-bottom: 0;
  font-weight: 600;
}

.work {
  background: var(--soil);
}

.work-heading {
  grid-template-columns: 1fr;
  align-items: end;
}

.work-heading h2 {
  max-width: 12ch;
}

.work-heading > p {
  max-width: 34rem;
  margin: 0 0 0.45rem;
  color: rgba(232, 230, 220, 0.76);
  font-size: 1.05rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.portfolio-placeholder,
.portfolio-item {
  margin: 0;
  min-height: 29rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 1.4rem;
  color: var(--soil);
  background: var(--cream);
  border: 2px solid var(--cream);
}

.portfolio-item {
  z-index: 21;
  isolation: isolate;
}

.portfolio-placeholder:nth-child(4) {
  color: var(--soil);
  background: var(--leaf);
  transform: rotate(-0.5deg);
}

.portfolio-placeholder:nth-child(5) {
  background: var(--pink);
  transform: translateY(1rem) rotate(0.8deg);
}

.portfolio-placeholder:nth-child(6) {
  background: var(--brick);
  transform: rotate(-0.8deg);
}

.portfolio-placeholder span {
  max-width: 11rem;
  font: 900 clamp(1.8rem, 3vw, 3.25rem)/0.95 var(--display);
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.portfolio-placeholder small {
  margin-top: 0.8rem;
  font: 700 0.78rem var(--hand);
  text-transform: uppercase;
}

.portfolio-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}

.portfolio-caption {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1rem;
  color: var(--soil);
  background: var(--cream);
  font-style: normal;
}

.portfolio-caption strong,
.portfolio-caption span {
  display: block;
}

.about {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 8rem);
  color: var(--soil);
  background: var(--mustard);
}

.about-stamp {
  width: min(100%, 29rem);
  justify-self: center;
}

.about-stamp img {
  width: 100%;
  height: auto;
}

.about-copy h2 {
  margin-bottom: 2rem;
}

.about-copy > p:not(.eyebrow) {
  max-width: 43rem;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 600;
}

.pricing {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
  background: var(--blue);
}

.pricing-copy h2 {
  max-width: 13ch;
  margin-top: 1rem;
}

.pricing-copy > p:not(.eyebrow) {
  max-width: 34rem;
  margin: 1.5rem 0 2rem;
  font-weight: 600;
}

.pricing .payment-card {
  margin-top: 0;
}

.inquire {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 7vw, 8rem);
  color: var(--soil);
  background: var(--paper);
}

.inquire-intro > p:not(.eyebrow) {
  max-width: 34rem;
  margin-top: 1.6rem;
  font-weight: 600;
}

.contact-buttons {
  justify-content: flex-start;
  margin-top: 2rem;
}

.payment-card {
  margin-top: 3rem;
  padding: 1.35rem;
  color: var(--cream);
  background: var(--soil);
  border: 3px solid var(--soil);
  box-shadow: 7px 7px 0 var(--pink);
  transform: rotate(-0.6deg);
}

.payment-label {
  margin-bottom: 0.4rem;
  color: var(--mustard);
  font: 700 0.78rem var(--hand);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.payment-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.65rem;
  text-transform: uppercase;
}

.payment-card p:not(.payment-label) {
  color: rgba(232, 230, 220, 0.76);
}

.text-payment {
  font-family: var(--hand);
  font-weight: 700;
  text-underline-offset: 0.3rem;
  text-transform: uppercase;
}

.is-disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.inquiry-form {
  padding: clamp(1.5rem, 3vw, 3rem);
  background: var(--pink);
  border: 3px solid var(--soil);
  box-shadow: 10px 10px 0 var(--soil);
  transform: rotate(0.4deg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  margin-bottom: 1.2rem;
  font: 800 0.9rem var(--hand);
  text-transform: uppercase;
}

.optional {
  font-weight: 400;
  text-transform: none;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.85rem 0;
  color: var(--soil);
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--soil);
  border-radius: 0;
  font: 600 1rem var(--body);
}

textarea {
  padding: 0.8rem;
  background: rgba(245, 240, 229, 0.38);
  border: 2px solid var(--soil);
  resize: vertical;
}

::placeholder {
  color: #575647;
  opacity: 1;
}

.submit-button {
  width: 100%;
}

.form-status {
  min-height: 1.5rem;
  margin: 0.9rem 0 0;
  color: var(--soil);
  font-weight: 700;
}

.text-handoff {
  margin-top: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 2px solid var(--ink);
  background: var(--cream);
}

.text-handoff[hidden] {
  display: none;
}

.text-handoff p {
  margin: 0 0 0.85rem;
}

.prepared-message {
  min-height: 10rem;
  margin-bottom: 0.85rem;
  background: #fffdf6;
}

.text-handoff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.text-handoff-actions .button {
  flex: 1 1 11rem;
  text-align: center;
}

.text-handoff .copy-status {
  margin: 0.75rem 0 0;
  min-height: 1.4em;
}

footer {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 2rem var(--pad);
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 2px solid var(--line-light);
}

footer > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem 1.3rem;
}

.footer-links {
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    padding-top: 0.7rem;
    border-top: 1px solid var(--line-light);
  }

  .site-header > .pill-link {
    grid-column: 2;
    grid-row: 1;
  }

  .hero-florals {
    object-position: center bottom;
    opacity: 0.72;
  }

  .section-heading,
  .work-heading,
  .pricing,
  .about,
  .inquire {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 17rem;
  }

  .service-card:nth-child(2) {
    transform: rotate(0.5deg);
  }

  .portfolio-placeholder,
  .portfolio-item {
    min-height: 22rem;
  }

  .portfolio-placeholder:nth-child(5) {
    transform: rotate(0.5deg);
  }

  .about-stamp {
    width: min(100%, 28rem);
  }
}

@media (max-width: 560px) {
  .brand-name {
    display: none;
  }

  .site-header {
    gap: 0.8rem;
  }

  .site-header nav {
    gap: 0.55rem;
  }

  .site-header nav a {
    font-size: 0.78rem;
    letter-spacing: 0.01em;
  }

  .pill-link {
    font-size: 0.8rem;
  }

  .hero {
    width: 100%;
    max-width: 100vw;
    min-height: 0;
    padding: 1.1rem 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-florals {
    display: none;
  }

  .hero-florals-mobile {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 0;
    display: block;
    width: var(--floral-edge);
    height: 100%;
    background-image: url('./assets/sugarbush-mobile-side-florals-v2.png');
    background-size: 400% 160%;
    background-repeat: no-repeat;
    opacity: 0.94;
    filter: saturate(0.94) contrast(1.04);
    pointer-events: none;
  }

  .hero-florals-edge-left {
    left: 0;
    background-position: left center;
  }

  .hero-florals-edge-right {
    right: 0;
    background-position: right center;
  }

  .hero-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
    max-width: 100%;
    padding: 0.65rem 0 0;
    transform: none;
  }

  h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(1.8rem, 10.5vw, 3.4rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
    white-space: normal;
  }

  h1 > span:first-child {
    max-width: 100%;
    white-space: nowrap;
  }

  .hero-subtitle {
    font-size: 0.4em;
    white-space: normal;
  }

  .hero-intro {
    width: 100%;
    max-width: 22rem;
    margin-block: 1.55rem 1.2rem;
    overflow-wrap: anywhere;
  }

  .button-row {
    width: 100%;
    flex-direction: column;
    gap: 0.55rem;
  }

  .hero-copy > .button-row {
    margin-top: 1.75rem;
  }

  .button-row .scribble-link {
    order: 1;
  }

  .button-row .button {
    order: 2;
  }

  .button-row .button,
  .button-row .scribble-link {
    max-width: 100%;
    text-align: center;
    white-space: normal;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
