/* Social Currency
   WHITE #F8F7F2 is the ground. LIGHT BROWN #8F857A is the line and the accent.
   BLACK #131313 is for type that has to stay readable.
   DARKER BROWN #5D4A41 is not used on the page.

   Script accent. Sloop Script Pro is the licensed face. Pinyon Script stands in.
   To switch, add the webfont and change only --script:
     @font-face {
       font-family: "Sloop Script Pro";
       src: url("fonts/SloopScriptPro.woff2") format("woff2");
       font-weight: 400;
     }
     --script: "Sloop Script Pro", "Pinyon Script", cursive;
*/

:root {
  --white: #f8f7f2;
  --taupe: #8f857a;
  --ink: #131313;
  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --script: "Pinyon Script", cursive;
  --header: 5.25rem;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-lock {
  overflow: hidden;
}

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

h1,
h2,
h3,
p,
blockquote,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 400;
  color: var(--ink);
  text-wrap: balance;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3.4rem, 8vw, 6.4rem);
}

h2 {
  font-size: clamp(2.6rem, 5vw, 4.15rem);
}

h3 {
  font-size: clamp(1.7rem, 2vw, 2.05rem);
  line-height: 1.15;
  letter-spacing: 0;
}

a {
  color: inherit;
}

::selection {
  background: var(--taupe);
  color: var(--white);
}

:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--taupe);
  padding: 0.55rem 0.9rem;
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding-inline: 1.4rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  margin: 0 0 1.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}

.script {
  font-family: var(--script);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  line-height: 1.15;
}

.btn,
.inquire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--taupe);
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 240ms ease, background-color 240ms ease;
}

@media (hover: hover) {
  .btn:hover,
  .inquire:hover {
    border-color: var(--ink);
  }
}

.text-link,
.inquire-link {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-underline-offset: 0.4em;
  text-decoration-thickness: 1px;
}

/* Floral source is 1080×1920. Drawn at half size (540×960) so a
   2× screen uses the file 1:1 and never upscales it. No blur filter. */

.bg-floral {
  background-color: var(--white);
  background-image:
    linear-gradient(rgba(248, 247, 242, 0.52), rgba(248, 247, 242, 0.52)),
    url("images/floral.webp");
  background-repeat: no-repeat, repeat;
  background-size: 100% 100%, 540px 960px;
  background-position: 0 0, 0 0;
  filter: none;
}

.bg-floral .about-copy {
  background: var(--white);
  padding: 2.25rem 1.75rem 2.4rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--taupe);
}

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

.logo {
  position: relative;
  z-index: 50;
  display: block;
  flex: none;
  line-height: 0;
}

.logo-mark {
  width: 2.05rem;
  height: auto;
}

.nav-toggle {
  position: relative;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--taupe);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav {
  display: none;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-nav.is-open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.4rem;
  position: fixed;
  inset: 0;
  z-index: 30;
  padding: 7rem 2rem 3rem;
  background: var(--white);
}

.site-nav.is-open a {
  font-size: clamp(2.2rem, 8vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

@media (min-width: 760px) {
  .nav-toggle {
    display: none;
  }

  .site-nav,
  .site-nav.is-open {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    inset: auto;
    z-index: auto;
    padding: 0;
    background: transparent;
    gap: 1.8rem;
  }

  .site-nav.is-open a,
  .site-nav a {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }
}

/* Hero */

.hero {
  padding: 4.5rem 0 4rem;
}

.display {
  font-size: clamp(2.35rem, 4.8vw, 4.15rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.05;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  padding: 2.35rem 1.85rem 2.5rem;
  text-align: center;
}

.hero-copy .display {
  padding-left: 0.18em;
}

.hero-copy .inquire {
  margin-inline: auto;
}

.slogan {
  margin-top: 1.15rem;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-style: italic;
  letter-spacing: 0;
}

.hero .inquire {
  margin-top: 2.1rem;
}

.hero-figure {
  margin: 3.25rem 0 0;
  max-width: 34rem;
}

.tagline {
  margin-top: 2.25rem;
  font-size: clamp(2rem, 4vw, 2.85rem);
  max-width: 16ch;
}

.preview-grid,
.tiers,
.addon-grid {
  display: grid;
  gap: 1.25rem;
}

.preview {
  border-top: 1px solid var(--taupe);
  padding-top: 1.1rem;
}

.preview h3 {
  font-size: 1.65rem;
}

.preview p {
  margin-top: 0.55rem;
}

.closing {
  text-align: left;
}

.closing .inquire {
  margin-top: 1.75rem;
}

.page-lead .page-intro {
  margin-bottom: 0;
}

.service-photo {
  margin: 0;
}

.tier,
.addon {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.8rem 1.4rem 1.6rem;
  border: 1px solid var(--taupe);
  background: rgba(248, 247, 242, 0.72);
}

.tier h2,
.addon h2,
.preview h3 {
  font-size: clamp(1.75rem, 2.2vw, 2.15rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.tier-prices {
  display: grid;
  gap: 1rem;
  margin-top: auto;
  padding-top: 2rem;
}

.tier-price {
  border-top: 1px solid var(--taupe);
  padding-top: 0.75rem;
}

.tier-price .amount {
  display: block;
  font-style: italic;
  font-size: 1.65rem;
  line-height: 1;
}

.tier-price .amount-note {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.95rem;
}

.addon .price {
  padding-top: 1.6rem;
}

.tiers + .addon-grid {
  margin-top: 1.25rem;
}

.page-lead + .tiers,
.page-lead + .featured {
  margin-top: 4rem;
}

.featured {
  display: grid;
  gap: 1.25rem 2.5rem;
  padding: 2rem 1.5rem;
  border: 1px solid var(--taupe);
  background: rgba(248, 247, 242, 0.72);
}

.featured h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.featured p {
  margin-top: 0.7rem;
  max-width: 38rem;
}

.featured .price {
  margin-top: 0.4rem;
  padding-top: 0;
}

.offer-grid {
  display: grid;
  gap: 1.25rem;
}

.featured + .addon-grid {
  margin-top: 1.25rem;
}

.section-kicker {
  margin: 4rem 0 1.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.frame img,
.band img {
  width: 100%;
  height: auto;
}

.band {
  margin: 0;
  padding: 0 0 1rem;
}

/* Sections */

.section {
  padding-block: 6.5rem;
  border-top: 1px solid var(--taupe);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 3.5rem;
}

.lede {
  margin-top: 1.25rem;
  max-width: 34rem;
  font-size: 1.25rem;
}

.about-grid,
.process-layout,
.apply-layout {
  display: grid;
  gap: 3.5rem;
}

.about-copy p + p {
  margin-top: 1.15rem;
}

.page {
  padding: 4.5rem 0 6rem;
}

.page-intro {
  max-width: 36rem;
  margin-bottom: 3.5rem;
}

.page-intro .lede {
  margin-top: 1.15rem;
}

.stack-actions {
  margin-top: 2.5rem;
}

/* Services */

.service-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.service {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.8rem 1.4rem 1.6rem;
  border: 1px solid var(--taupe);
  background: rgba(248, 247, 242, 0.72);
}

.service h2 {
  font-size: clamp(1.75rem, 2.2vw, 2.15rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.service-index {
  margin-bottom: 1.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.service p {
  margin-top: 0.85rem;
}

.price {
  margin-top: auto;
  padding-top: 2.2rem;
  font-style: italic;
  font-size: 1.65rem;
  line-height: 1;
}

.price-unit {
  margin-left: 0.35rem;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.photo-row {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}

/* Process */

.process {
  display: grid;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  border-top: 1px solid var(--taupe);
  padding-top: 1rem;
}

.step-num {
  display: block;
  margin-bottom: 0.75rem;
  font-style: italic;
  font-size: 1.7rem;
  line-height: 1;
}

.step p {
  margin-top: 0.55rem;
}

/* Form */

.form-card {
  border: 1px solid var(--taupe);
  background: rgba(248, 247, 242, 0.88);
  padding: 1.6rem 1.2rem 1.8rem;
}

.form-section + .form-section {
  margin-top: 2.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--taupe);
}

.form-section h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.1rem, 3vw, 2.7rem);
}

.fields {
  display: grid;
  gap: 1.45rem;
}

.field label,
.field legend {
  display: block;
  padding: 0;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.field label.question,
.field legend.question {
  font-size: 1.28rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.optional {
  margin-left: 0.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  font-size: 1.1rem;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  border: 0;
  border-bottom: 1px solid var(--taupe);
  padding: 0.7rem 0;
  line-height: 1.4;
}

textarea {
  display: block;
  min-height: 8.5rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--taupe);
  line-height: 1.55;
  resize: vertical;
  background: rgba(248, 247, 242, 0.55);
}

::placeholder {
  color: var(--taupe);
  opacity: 1;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  padding-right: 1.5rem;
  cursor: pointer;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 0.15rem;
  top: 50%;
  width: 0.4rem;
  height: 0.4rem;
  margin-top: -0.32rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transform: rotate(45deg);
  pointer-events: none;
}

.field label.choice,
.choice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  margin: 0;
  border-bottom: 1px solid var(--taupe);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

.choice input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.2rem;
  flex: none;
  accent-color: var(--ink);
}

.field-error {
  margin-top: 0.65rem;
  color: var(--ink);
  font-size: 1.05rem;
}

input:user-invalid,
select:user-invalid {
  border-bottom-color: var(--ink);
}

textarea:user-invalid {
  border-color: var(--ink);
}

input:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px var(--white) inset;
}

.form-actions {
  margin-top: 2.25rem;
}

.form-note {
  max-width: 34rem;
  margin-top: 0.9rem;
  font-size: 1.05rem;
}

/* Footer */

.site-footer {
  background: var(--white);
  color: var(--ink);
  border-top: 1px solid var(--taupe);
  padding: 3rem 0 2rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  align-items: baseline;
}

.footer-links a {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 500;
  text-underline-offset: 0.3em;
}

.footer-links a[href^="mailto:"] {
  letter-spacing: 0;
  text-transform: none;
  font-style: italic;
  font-size: 1.05rem;
}

.email-placeholder {
  font-style: italic;
  font-size: 1.15rem;
}

.fine {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--taupe);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.fine-flush {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* Quiet pages */

.quiet-page {
  padding: 14vh 0 16vh;
  min-height: calc(100svh - 16rem);
}

.quiet-page h1.script {
  font-size: clamp(3.6rem, 8vw, 5.6rem);
}

.quiet-page .lede {
  margin: 1.4rem 0 2rem;
  max-width: 28rem;
}

@media (min-width: 760px) {
  .wrap {
    padding-inline: 2.75rem;
  }

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

  .photo-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .form-card {
    padding: 2.4rem 2.2rem 2.5rem;
  }

  .choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
    border-bottom: 1px solid var(--taupe);
  }

  .choice-row .choice {
    border-bottom: 0;
  }
}

@media (min-width: 980px) {
  .hero {
    padding: 5.5rem 0 4.5rem;
  }

  .hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.72fr);
    gap: 4rem;
    align-items: end;
  }

  .hero-figure {
    margin: 0;
  }

  .preview-grid,
  .tiers,
  .addon-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .offer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem 1.75rem;
  }

  .offer-grid .preview:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 1.75rem;
    align-items: baseline;
    padding-bottom: 0.35rem;
  }

  .offer-grid .preview:first-child p {
    margin-top: 0;
  }

  .featured {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .featured .price {
    margin-top: 0;
    text-align: right;
  }

  .section {
    padding-block: 8.5rem;
  }

  .about-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.85fr);
    gap: 6rem;
    align-items: start;
  }

  .process-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.7fr);
    gap: 4.5rem;
    align-items: start;
  }

  .process {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
  }

  .apply-layout {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.2fr);
    gap: 5rem;
    align-items: start;
  }

  .apply-intro {
    position: sticky;
    top: 7rem;
  }
}

@media (max-width: 759px) {
  html.no-js .nav-toggle {
    display: none;
  }

  html.no-js .site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.2rem;
    width: 100%;
    padding-bottom: 0.8rem;
  }

  html.no-js .header-inner {
    flex-wrap: wrap;
  }
}

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

  .btn,
  .inquire {
    transition: none;
  }
}

.hero-copy {
  animation: fade 900ms ease both;
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

section[id] {
  scroll-margin-top: 6rem;
}
