/* Rooney Design LLC - minimal editorial system */
/* Themes: bone (default) | ink | linen | paper - preview with ?theme= */

:root,
html[data-theme="bone"] {
  --ground: #f6f1e8;
  --ground-deep: #ebe3d4;
  --ink: #1c1612;
  --ink-soft: #3a322c;
  --muted: #7a7066;
  --navy: #1c1612;
  --accent: #6b3f2a;
  --white: #fffaf4;
}

html[data-theme="ink"] {
  --ground: #f4f4f2;
  --ground-deep: #ebebe8;
  --ink: #0b1220;
  --ink-soft: #2a3140;
  --muted: #6a707c;
  --navy: #0b1220;
  --accent: #1e3a5f;
  --white: #ffffff;
}

html[data-theme="linen"] {
  --ground: #f3f0e6;
  --ground-deep: #e6e2d4;
  --ink: #1a2420;
  --ink-soft: #2e3b35;
  --muted: #6d766f;
  --navy: #1a2420;
  --accent: #3d5a45;
  --white: #fbfaf4;
}

html[data-theme="paper"] {
  --ground: #faf9f6;
  --ground-deep: #f0eee8;
  --ink: #161412;
  --ink-soft: #33302c;
  --muted: #736e68;
  --navy: #161412;
  --accent: #7a1f2b;
  --white: #ffffff;
}

:root {
  /* Derived from theme ink / ground so lines and overlays follow the active theme */
  --line: color-mix(in srgb, var(--ink) 8%, transparent);
  --line-strong: color-mix(in srgb, var(--ink) 16%, transparent);
  --header-bg: color-mix(in srgb, var(--ground) 85%, transparent);
  --nav-drawer-bg: color-mix(in srgb, var(--ground) 98%, transparent);
  --on-ink-45: color-mix(in srgb, var(--ground) 45%, transparent);
  --on-ink-50: color-mix(in srgb, var(--ground) 50%, transparent);
  --on-ink-58: color-mix(in srgb, var(--ground) 58%, transparent);
  --on-ink-62: color-mix(in srgb, var(--ground) 62%, transparent);
  --on-ink-65: color-mix(in srgb, var(--ground) 65%, transparent);
  --on-ink-35: color-mix(in srgb, var(--ground) 35%, transparent);
  --on-ink-30: color-mix(in srgb, var(--ground) 30%, transparent);
  --on-ink-28: color-mix(in srgb, var(--ground) 28%, transparent);
  --on-ink-18: color-mix(in srgb, var(--ground) 18%, transparent);
  --on-ink-16: color-mix(in srgb, var(--ground) 16%, transparent);
  --on-ink-08: color-mix(in srgb, var(--ground) 8%, transparent);
  --on-ink-06: color-mix(in srgb, var(--ground) 6%, transparent);
  --on-ink-05: color-mix(in srgb, var(--ground) 5%, transparent);
  --on-ink-04: color-mix(in srgb, var(--ground) 4%, transparent);
  --nav-h: 4.25rem;
  --max: 68rem;
  --max-narrow: 40rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ground);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.55;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 1.5px solid var(--ink);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  background: var(--ink);
  color: var(--ground);
  padding: 0.5rem 0.85rem;
  z-index: 1000;
  font-size: 0.8125rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--ink);
  text-decoration: none;
  transition: opacity 0.2s ease;
  font-optical-sizing: auto;
}

.logo:hover {
  opacity: 0.5;
}

.logo span {
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.01em;
  opacity: 0.55;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.35rem 0;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover {
  opacity: 0.4;
  color: var(--ink-soft);
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
  opacity: 1;
  border-bottom-color: currentColor;
}

.nav-cta {
  opacity: 1 !important;
  color: var(--accent) !important;
}

.nav-cta:hover {
  opacity: 0.4 !important;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--nav-drawer-bg);
    backdrop-filter: blur(18px);
    padding: 0.75rem var(--gutter) 1.5rem;
    gap: 0;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 0.95rem 0;
    border-bottom: none;
  }

  .nav-cta {
    margin-top: 0.35rem;
  }
}

/* Layout */
main {
  padding-top: var(--nav-h);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(6rem, 13vw, 10.5rem) 0;
}

.section--tight {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section--band {
  background: var(--ground-deep);
}

.section--ink {
  background: var(--ink);
  color: var(--ground);
}

.section--ink a {
  color: var(--ground);
}

.eyebrow {
  display: block;
  font-family: var(--font);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.eyebrow--spaced {
  margin-top: 3rem;
}

.wrap--narrow {
  max-width: 38rem;
}

.section--ink .eyebrow {
  color: var(--on-ink-45);
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: inherit;
  font-optical-sizing: auto;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.85rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 300;
  line-height: 1.14;
  margin-bottom: 1.5rem;
  max-width: 20ch;
}

h3 {
  font-size: 1.05rem;
  font-weight: 450;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}

.lede {
  font-family: var(--font);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 31rem;
  line-height: 1.65;
}

.section--ink .lede {
  color: var(--on-ink-62);
}

.stack > * + * {
  margin-top: 1.25rem;
}

.stack p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 38rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 400;
  font-size: 0.6875rem;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1.1rem 1.9rem;
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease,
    box-shadow 0.25s ease;
}

.btn:hover {
  opacity: 1;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

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

.btn-secondary {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.btn-secondary:hover {
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.section--ink .btn-primary {
  background: var(--ground);
  color: var(--ink);
}

.section--ink .btn-primary:hover {
  background: var(--white);
  color: var(--accent);
}

.section--ink .btn-secondary {
  color: var(--ground);
  box-shadow: inset 0 0 0 1px var(--on-ink-28);
}

.section--ink .btn-secondary:hover {
  box-shadow: inset 0 0 0 1px var(--ground);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.75rem;
}

/* Hero */
.hero {
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(4.5rem, 11vw, 8rem);
  position: relative;
}

.hero-grid {
  display: grid;
  gap: clamp(3rem, 7vw, 5rem);
  align-items: end;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }
}

.wordmark {
  font-family: var(--serif);
  font-size: clamp(3.25rem, 12vw, 8rem);
  font-weight: 350;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: var(--ink);
  margin-bottom: 2.25rem;
  text-transform: none;
  font-optical-sizing: auto;
}

.wordmark span {
  display: block;
  font-family: var(--font);
  font-weight: 400;
  opacity: 0.4;
  font-size: 0.22em;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-top: 0.75em;
  line-height: 1;
  font-style: normal;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ink);
  overflow: hidden;
  min-height: 240px;
}

.hero-visual .geo {
  position: absolute;
  pointer-events: none;
}

.hero-visual .geo-a {
  inset: 0;
  background: linear-gradient(
    165deg,
    transparent 55%,
    var(--on-ink-05) 55%
  );
}

.hero-visual .geo-b {
  top: 14%;
  left: 12%;
  right: 28%;
  bottom: 32%;
  border: 1px solid var(--on-ink-18);
}

.hero-tag {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  color: var(--on-ink-65);
  font-size: 0.8125rem;
  line-height: 1.5;
  z-index: 2;
  max-width: 20rem;
}

.hero-tag strong {
  display: block;
  font-family: var(--font);
  color: var(--ground);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.6875rem;
  margin-bottom: 0.5rem;
}

/* Hero photograph (home) */
.hero-visual--photo {
  margin: 0;
  aspect-ratio: auto;
  height: min(100vw, 60vh);
  height: min(100vw, 60svh);
  min-height: 0;
  background: var(--ground-deep);
}

.hero-visual--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}

@media (max-width: 899px) {
  .hero--photo {
    padding-top: 0;
  }

  .hero-visual--photo {
    order: -1;
    margin: 0 calc(-1 * var(--gutter));
  }
}

@media (min-width: 900px) {
  .hero--photo {
    overflow-x: hidden;
    overflow-x: clip;
  }

  .hero-visual--photo {
    align-self: stretch;
    height: auto;
    min-height: 32rem;
    margin-right: calc(-1 * (max(0px, (100vw - var(--max)) / 2) + var(--gutter)));
  }

  .hero-visual--photo img {
    object-position: 50% 62%;
  }
}

@media (min-width: 1600px) {
  .hero-visual--photo {
    min-height: min(46rem, calc(100vh - var(--nav-h) - 9rem));
  }

  .hero-visual--photo img {
    object-position: 50% 60%;
  }
}

/* Quiet image wells */
.image-well {
  aspect-ratio: 16 / 9;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
}

.image-well--tall {
  aspect-ratio: 3 / 4;
  margin: 0;
}

.image-well .geo {
  position: absolute;
  pointer-events: none;
}

.image-well .well-label {
  position: absolute;
  bottom: 1.15rem;
  left: 1.15rem;
  font-family: var(--font);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-ink-45);
}

.well-soft {
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--on-ink-04) 0%,
    transparent 45%,
    var(--on-ink-06) 100%
  );
}

.well-frame {
  top: 20%;
  left: 14%;
  width: 48%;
  height: 48%;
  border: 1px solid var(--on-ink-16);
}

/* Legacy geo class hooks (kept quiet / unused extras ignored) */
.well-grid-lines,
.well-block,
.geo-c,
.geo-d {
  display: none;
}

/* Package cards (open, no chrome grid) */
.card-grid {
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  margin-top: 3rem;
  background: transparent;
  border: none;
}

@media (min-width: 700px) {
  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .card-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card--featured {
  background: var(--ink);
  color: var(--ground);
  padding: 2rem 1.75rem 2rem;
}

.card--featured h3 {
  color: var(--ground);
}

.card--featured .price-note,
.card--featured li {
  color: color-mix(in srgb, var(--ground) 82%, transparent);
}

.card--featured .price {
  color: var(--ground);
}

.card-badge {
  position: absolute;
  top: 1.35rem;
  right: 1.35rem;
  font-family: var(--font);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ground) 70%, transparent);
}

.card h3 {
  font-family: var(--font);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.card .price {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 350;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 0.3rem;
  line-height: 1;
}

.card .price-note {
  font-family: var(--font);
  font-size: 0.6875rem;
  color: var(--muted);
  margin: 0.5rem 0 1.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card ul {
  list-style: none;
  margin: 0 0 1.75rem;
  flex: 1;
  padding-left: 0;
}

.card li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.05rem;
  border-top: none;
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.card li + li {
  margin-top: 0.05rem;
}

.card--featured li {
  border-top-color: transparent;
}

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: var(--accent);
}

.card--featured li::before {
  background: var(--accent);
}

.card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.card--featured .btn-primary {
  background: var(--accent);
  color: var(--white);
}

.card--featured .btn-primary:hover {
  background: var(--ground);
  color: var(--ink);
}

.card--featured .btn-secondary {
  color: var(--ground);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ground) 35%, transparent);
}

/* Promise / feature strip */
.feature-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  margin-top: 3.25rem;
  background: transparent;
  border: none;
}

@media (min-width: 700px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  background: transparent;
  padding: 0;
}

.feature h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: none;
  margin-bottom: 0.75rem;
}

.feature p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 28ch;
  line-height: 1.55;
}

/* Process steps */
.steps {
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.25rem);
  margin-top: 3rem;
  background: transparent;
  border: none;
  counter-reset: step;
}

@media (min-width: 800px) {
  .steps.horizontal {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  background: transparent;
  padding: 0;
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  display: block;
  margin-bottom: 1rem;
  font-weight: 400;
}

.step h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  text-transform: none;
  margin-bottom: 0.45rem;
}

.step p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.process-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 3rem;
  border-top: none;
}

.process-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.process-item:first-child {
  border-top: 1px solid var(--line);
}

.process-num {
  font-family: var(--font);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 400;
  padding-top: 0.2rem;
}

.process-item h3 {
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
  font-weight: 400;
}

.process-item p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  max-width: 38rem;
  line-height: 1.55;
}

.callout {
  background: transparent;
  border: none;
  padding: 0;
  margin-top: 3.5rem;
  max-width: 36rem;
}

.callout > strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: none;
  margin-bottom: 0.75rem;
}

.callout p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  max-width: 40rem;
  line-height: 1.55;
}

.callout li strong {
  font-family: var(--font);
  font-weight: 500;
  color: var(--ink);
}

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

.callout li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.05rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.callout li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: var(--accent);
}


/* About / story */

.story-copy {
  max-width: 40rem;
}

.story-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: start;
}

@media (min-width: 800px) {
  .story-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

.story-portrait {
  aspect-ratio: 3 / 4;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.story-portrait .geo {
  position: absolute;
  pointer-events: none;
}

.story-portrait .well-label {
  position: absolute;
  bottom: 1.15rem;
  left: 1.15rem;
  right: 1.15rem;
  font-family: var(--font);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-ink-45);
}

.pull-quote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 350;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 2.25rem 0;
  padding: 0;
  border: none;
  max-width: 26ch;
}

.pull-quote::before {
  content: none;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  background: transparent;
  border: none;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.contact-card {
  background: transparent;
  padding: 0;
}

.contact-card h2 {
  font-family: var(--font);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  max-width: none;
  margin-bottom: 1.5rem;
}

.contact-card address {
  font-style: normal;
  margin: 0 0 1.5rem;
  line-height: 1.75;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-group label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  color: var(--muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  font-family: var(--font);
  font-size: 0.9375rem;
  padding: 0.7rem 0;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.form-group textarea {
  min-height: 7rem;
  resize: vertical;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.9rem;
  line-height: 1.5;
}

/* Contact details */
.contact-line {
  margin: 0 0 2rem;
  font-size: 0.95rem;
}

.stack .about-social,
.about-social {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-social a {
  margin-left: 0.5em;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.contact-label,
.form-hint {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.form-hint {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.8125rem;
  margin: 0.6rem 0 0;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  font-size: 0.875rem;
}

.terms-box {
  background: transparent;
  border: none;
  padding: 0;
  margin-top: 3.5rem;
  max-width: 40rem;
}

.terms-box h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: none;
  margin-bottom: 1.25rem;
}

.terms-box ul {
  list-style: none;
}

.terms-box li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.terms-box li:first-child {
  border-top: 1px solid var(--line);
}

.terms-box li:last-child {
  border-bottom: 1px solid var(--line);
}

.terms-box strong {
  color: var(--ink);
  font-weight: 500;
  margin-right: 0.35rem;
  font-family: var(--font);
}

/* CTA band */
.cta-band {
  padding: clamp(5rem, 11vw, 8rem) var(--gutter);
  text-align: left;
}

.cta-band .wrap {
  max-width: var(--max);
}

.cta-band h2 {
  max-width: 14ch;
}

.cta-band .lede {
  margin: 0 0 2.25rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--on-ink-50);
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 0;
  font-size: 0.8125rem;
}

.footer-wordmark {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(2.5rem, 6vw, 4rem);
  font-family: var(--serif);
  font-size: clamp(2.75rem, 11vw, 7rem);
  font-weight: 350;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: var(--ground);
  border-bottom: none;
}

.footer-wordmark span {
  display: block;
  font-family: var(--font);
  font-size: 0.2em;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.35;
  margin-top: 0.7em;
  font-weight: 400;
  font-style: normal;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.75rem var(--gutter) 2rem;
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 700px) {
  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.site-footer .logo {
  color: var(--ground);
  display: inline-block;
  margin-bottom: 0.85rem;
}

.site-footer .logo span {
  opacity: 0.45;
}

.site-footer a {
  color: var(--on-ink-65);
  text-decoration: none;
}

.site-footer a:hover {
  opacity: 0.5;
  color: var(--ground);
}

.footer-statement {
  max-width: 30ch;
}

.footer-label {
  font-family: var(--font);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-ink-35);
  margin-bottom: 0.9rem;
  font-weight: 400;
}

.footer-nav {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.35rem var(--gutter) 1.85rem;
  border-top: 1px solid var(--on-ink-08);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-ink-30);
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.mt-2 {
  margin-top: 2rem;
}

.text-center {
  text-align: center;
}

.two-col-text {
  display: grid;
  gap: 2rem;
  margin-top: 2.25rem;
}

.two-col-text p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 34ch;
  line-height: 1.6;
}

@media (min-width: 700px) {
  .two-col-text {
    grid-template-columns: 1fr 1fr;
  }
}

.page-hero {
  padding: clamp(4.5rem, 11vw, 8rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}

.page-hero h1 {
  max-width: 15ch;
}

.page-hero .lede {
  margin-top: 1rem;
}

.compare-note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 2rem;
  max-width: 38rem;
  line-height: 1.55;
}

.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

.section-head {
  display: grid;
  gap: 1.15rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 800px) {
  .section-head.split {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 2.5rem;
  }

  .section-head.split .lede {
    justify-self: end;
    text-align: left;
  }
}

/* Split head with the lede aligned to the heading's first line */
.section-head--top {
  row-gap: 0;
}

.section-head--top .lede {
  margin-top: 1.15rem;
}

@media (min-width: 800px) {
  .section-head.split.section-head--top {
    align-items: start;
    row-gap: 0;
  }

  .section-head--top .eyebrow {
    grid-column: 1 / -1;
  }

  .section-head--top .lede {
    margin-top: 0.3rem;
  }
}


/* Work / projects */
.project {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 900px) {
  .project {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.project-meta h2 {
  max-width: 12ch;
}

.project-meta .lede {
  margin-top: 0.75rem;
}

.project-body .two-col-text {
  margin-top: 0;
}

.well-grid {
  display: grid;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

@media (min-width: 700px) {
  .well-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .well-grid > :nth-child(odd):last-child {
    grid-column: 1 / -1;
  }
}

.image-well--project {
  margin: 0;
  aspect-ratio: 4 / 3;
}

.well-frame--offset {
  top: 28%;
  left: 28%;
  width: 42%;
  height: 42%;
}

.project-note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 1.25rem;
  max-width: 40rem;
  line-height: 1.55;
}

/* Press */
.press-feature h2 {
  max-width: 22ch;
}

.press-feature .lede {
  margin-top: 1rem;
}

.press-sep {
  margin: 0 0.75rem;
  color: var(--muted);
}

.press-link-row {
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  margin-top: clamp(2rem, 5vw, 3rem);
  overflow: hidden;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.press-list {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 700px) {
  .press-list {
    grid-template-columns: 1fr 1fr;
  }
}

.press-item h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: none;
  margin-bottom: 0.65rem;
  max-width: 18ch;
}

.press-item p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  max-width: 34ch;
  line-height: 1.55;
  margin-bottom: 0.85rem;
}


.image-well--photo {
  padding: 0;
  background: var(--ground-deep);
}

.image-well--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-well--photo .well-label {
  color: var(--white);
  letter-spacing: 0.2em;
  text-shadow: 0 1px 8px rgba(28, 22, 18, 0.45);
}

/* Refinement overrides */
.card.card--featured .price,
.card.card--featured h3 {
  color: var(--ground);
}

.card.card--featured li,
.card.card--featured .price-note {
  color: color-mix(in srgb, var(--ground) 78%, transparent);
}

.wrap.story-copy {
  max-width: var(--max);
}

.story-copy .stack {
  max-width: 40rem;
}

.stack p.eyebrow {
  font-size: 0.6875rem;
  color: var(--muted);
}

.stack > .eyebrow--spaced {
  margin-top: 3.25rem;
}

.stack > .pull-quote {
  margin: 3rem 0;
}

.stack > .pull-quote + p {
  margin-top: 0;
}

.wrap.wrap--narrow > * {
  max-width: 38rem;
}

.wrap.wrap--narrow {
  max-width: var(--max);
}
