/* ==========================================================================
   Aluma Media — design tokens
   ========================================================================== */

:root {
  /* color — sampled/derived from real brand assets */
  --ink: #0b0a08;
  --ink-soft: #17140f;
  --ink-elevated: #1f1b14;
  --ink-line: #2c2820;

  --parchment: #ebe4d8;
  --parchment-soft: #e1d8c8;
  --parchment-elevated: #f5f1e8;
  --parchment-line: #cabf9f;

  --gold: #c7a05f;
  --gold-bright: #ecd9a6;
  --gold-deep: #8c6f3e;

  --mauve: #b79a87;

  --text-ink: #f4efe4;
  --text-ink-muted: #a89c85;
  --text-parchment: #201b13;
  --text-parchment-muted: #6b6153;

  /* type */
  --font-display: "Fraunces", "Iowan Old Style", ui-serif, Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-label: "Jost", var(--font-body);

  /* layout */
  --maxw: 1200px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --radius-sm: 3px;
  --radius-md: 8px;

  /* shadow — layered, color-tinted */
  --shadow-elevated:
    0 1px 1px rgba(15, 12, 6, 0.06),
    0 10px 28px -12px rgba(15, 12, 6, 0.28);
  --shadow-gold:
    0 1px 0 rgba(236, 217, 166, 0.35),
    0 10px 30px -10px rgba(199, 160, 95, 0.45);

  /* motion */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

body {
  background: var(--ink);
  color: var(--text-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Atmosphere — global light backdrop
   A cone of light anchored at the top of the page (echoing the "A" mark),
   fixed behind the whole scroll, widening and brightening as you scroll —
   like a ceiling lamp's beam spreading toward the floor.
   ========================================================================== */

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--ink);
}

.atmosphere__wash {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(34% 30% at 50% 0%, rgba(236, 217, 166, 0.22) 0%, rgba(199, 160, 95, 0.1) 42%, transparent 72%);
  animation: beam-breathe 7s ease-in-out infinite;
}

.atmosphere__beam {
  position: absolute;
  inset: -20% 0 0 0;
  background: radial-gradient(
    ellipse calc(6vw + var(--scroll, 0) * 26vw) 130vh at 50% 0%,
    rgba(236, 217, 166, calc(0.34 + var(--scroll, 0) * 0.16)) 0%,
    rgba(199, 160, 95, calc(0.16 + var(--scroll, 0) * 0.1)) 38%,
    transparent 72%
  );
  filter: blur(120px);
}

.atmosphere__pool {
  position: absolute;
  left: 50%;
  bottom: -14vh;
  width: calc(22vw + var(--scroll, 0) * 34vw);
  height: 30vh;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(236, 217, 166, 0.32) 0%, transparent 72%);
  filter: blur(130px);
  opacity: calc(0.25 + var(--scroll, 0) * 0.4);
}

.atmosphere__grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

@keyframes beam-breathe {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere__wash {
    animation: none;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ==========================================================================
   Type scale
   ========================================================================== */

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

em,
.italic {
  font-style: italic;
  color: var(--gold);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 1.4em;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.section--light .eyebrow,
.section--parchment .eyebrow {
  color: var(--gold-deep);
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-ink-muted);
  max-width: 46ch;
}

.section--light .lede,
.section--parchment .lede {
  color: var(--text-parchment-muted);
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */

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

.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

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

.section--parchment {
  background: var(--parchment);
  color: var(--text-parchment);
}

.section--parchment h1,
.section--parchment h2,
.section--parchment h3 {
  color: var(--text-parchment);
}

.section--parchment p {
  color: var(--text-parchment-muted);
}

.divider {
  border: 0;
  border-top: 1px solid var(--parchment-line);
  margin-block: clamp(2.5rem, 5vw, 4rem);
}

.section--ink .divider {
  border-top-color: var(--ink-line);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1rem 1.9rem;
  border-radius: var(--radius-sm);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring), background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: #1a1408;
  box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(236, 217, 166, 0.5), 0 16px 36px -10px rgba(199, 160, 95, 0.55);
}

.btn--ghost {
  border: 1px solid var(--ink-line);
  color: var(--text-ink);
  background: rgba(244, 239, 228, 0.03);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

.section--parchment .btn--ghost {
  border-color: var(--parchment-line);
  color: var(--text-parchment);
  background: rgba(32, 27, 19, 0.02);
}

.section--parchment .btn--ghost:hover {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}

.btn--dark {
  background: var(--ink);
  color: var(--text-ink);
  border: 1px solid var(--ink-line);
}

.btn--dark:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  color: var(--gold-bright);
}

/* ==========================================================================
   Intro splash — logo mark + wordmark, full viewport ahead of the nav.
   The nav is position:sticky, so placing it right after this 100vh section
   makes it arrive on its own once the visitor scrolls past the splash.
   ========================================================================== */

.intro {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 2.1rem);
  padding: var(--gutter);
  text-align: center;
}

.intro__mark {
  width: clamp(56px, 13vw, 176px);
  height: auto;
  filter: drop-shadow(0 0 46px rgba(199, 160, 95, 0.4));
  animation: intro-in 1.2s var(--ease-spring) both;
}

.intro__word {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: intro-in 1.2s 0.15s var(--ease-spring) both;
}

.intro__cue {
  position: absolute;
  bottom: clamp(1.8rem, 4vw, 3rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-ink-muted);
  animation: intro-in 1.2s 0.5s var(--ease-spring) both;
}

.intro__cue-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(var(--gold), transparent);
  transform-origin: top;
  animation: cue-pulse 2.4s ease-in-out infinite;
}

@keyframes intro-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cue-pulse {
  0%, 100% {
    transform: scaleY(0.35);
    opacity: 0.35;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.4rem;
  background: rgba(11, 10, 8, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease, background-color 0.4s ease;
}

.nav.is-scrolled {
  border-bottom-color: var(--ink-line);
  background: rgba(11, 10, 8, 0.92);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-label);
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-ink);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 2.6rem);
}

.nav-links a {
  position: relative;
  font-family: var(--font-label);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-ink-muted);
  padding-block: 0.3rem;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--gold);
  transition: right 0.4s var(--ease-spring);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text-ink);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  right: 0;
}

.nav-cta {
  display: none;
}

@media (min-width: 720px) {
  .nav-cta {
    display: inline-flex;
  }
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  width: 20px;
  height: 1px;
  background: var(--text-ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.nav-links {
  display: none;
}

@media (min-width: 720px) {
  .nav-links {
    display: flex;
  }
}

.nav-links[data-open="true"] {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.5rem var(--gutter) 2rem;
  background: var(--ink);
  border-bottom: 1px solid var(--ink-line);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: transparent;
  padding-block: clamp(6rem, 14vw, 10rem) clamp(5rem, 11vw, 8rem);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  max-width: 48rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: center;
}

.hero__content .eyebrow {
  justify-content: center;
}

.hero__content h1 {
  max-width: 18ch;
}

.hero__content .lede {
  max-width: 42ch;
}

.hero__content .hero-actions {
  justify-content: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.6rem;
}

/* page hero (smaller, used on services/work/contact) */

.page-hero {
  padding-block: clamp(4rem, 9vw, 6rem) clamp(2.5rem, 6vw, 4rem);
}

.page-hero h1 {
  margin-top: 1.1rem;
  max-width: 20ch;
}

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

/* ==========================================================================
   Facts grid (Our Focus / Our Approach / Where We're Headed)
   ========================================================================== */

.facts {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.8rem;
  grid-template-columns: 1fr;
}

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

.fact {
  background: var(--parchment-elevated);
  border-top: 2px solid var(--gold);
  padding: 1.8rem 1.6rem 2rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-elevated);
  transition: transform 0.4s var(--ease-spring);
}

.fact:hover {
  transform: translateY(-4px);
}

.fact-index {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
}

.fact h3 {
  margin-top: 0.7rem;
}

.fact p {
  margin-top: 0.6rem;
  color: var(--text-parchment-muted);
  font-size: 0.95rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

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

/* quote band */

.quote-band {
  background: var(--ink);
  color: var(--text-ink);
  padding: clamp(3rem, 7vw, 5rem) var(--gutter);
  border-radius: var(--radius-md);
  text-align: center;
}

.quote-band p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 400;
  line-height: 1.4;
  max-width: 42ch;
  margin-inline: auto;
}

/* ==========================================================================
   Service cards (home preview + services page)
   ========================================================================== */

.grid-services {
  display: grid;
  gap: 1.6rem;
  margin-top: 2.8rem;
  grid-template-columns: 1fr;
}

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

.card {
  position: relative;
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.9rem;
  overflow: hidden;
  transition: transform 0.45s var(--ease-spring), border-color 0.45s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(236, 217, 166, 0.1) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-spring);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-deep);
}

.card:hover::before {
  transform: translateX(120%);
}

.card-tag {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--gold-deep);
  color: var(--gold-bright);
  border-radius: 100px;
  margin-bottom: 1.1rem;
}

.card-tag--soon {
  border-color: var(--ink-line);
  color: var(--text-ink-muted);
}

.card h3 {
  color: var(--text-ink);
}

.card p {
  margin-top: 0.7rem;
  color: var(--text-ink-muted);
  font-size: 0.95rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.4rem;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.card-link svg {
  transition: transform 0.3s var(--ease-spring);
}

.card:hover .card-link svg {
  transform: translate(3px, -3px);
}

/* ==========================================================================
   Services page — detail rows
   ========================================================================== */

.service-detail {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  align-items: center;
}

@media (min-width: 860px) {
  .service-detail {
    grid-template-columns: 0.85fr 1.15fr;
  }
  .service-detail--reverse .service-visual {
    order: 2;
  }
}

.service-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, var(--ink-elevated), var(--ink) 70%);
  border: 1px solid var(--ink-line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 30% 20%, rgba(199, 160, 95, 0.25), transparent 70%);
}

.service-visual .glyph {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(3.5rem, 8vw, 6rem);
  color: var(--gold-bright);
  opacity: 0.9;
}

.service-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.service-visual .glyph--badge {
  position: absolute;
  top: 1rem;
  left: 1.2rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.service-index {
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
}

.service-detail h2 {
  margin-top: 0.8rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.service-detail p {
  margin-top: 1rem;
  color: var(--text-parchment-muted);
  max-width: 52ch;
}

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--gold-deep);
  color: var(--gold-deep);
  border-radius: 100px;
}

.status-tag--soon {
  border-color: var(--parchment-line);
  color: var(--text-parchment-muted);
}

.status-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* pricing */

.pricing-grid {
  display: grid;
  gap: 1.6rem;
  margin-top: 1.6rem;
  grid-template-columns: 1fr;
}

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

.pricing-card {
  background: var(--parchment-elevated);
  border: 1px solid var(--parchment-line);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  box-shadow: var(--shadow-elevated);
  display: flex;
  flex-direction: column;
}

.pricing-card--featured {
  border-color: var(--gold-deep);
  position: relative;
}

.pricing-tag {
  font-family: var(--font-label);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.pricing-card h3 {
  margin-top: 0.6rem;
  color: var(--text-parchment);
}

.price {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--text-parchment);
}

.price span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-parchment-muted);
}

.pricing-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex-grow: 1;
}

.pricing-list li {
  display: flex;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--text-parchment-muted);
}

.pricing-list li::before {
  content: "✓";
  color: var(--gold-deep);
  flex-shrink: 0;
}

.pricing-card .btn {
  margin-top: 1.8rem;
  align-self: flex-start;
}

/* ==========================================================================
   Work / portfolio
   ========================================================================== */

.grid-work {
  display: grid;
  gap: 1.6rem;
  margin-top: 2.8rem;
  grid-template-columns: 1fr;
}

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

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

.work-card {
  background: var(--parchment-elevated);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--parchment-line);
  box-shadow: var(--shadow-elevated);
  transition: transform 0.4s var(--ease-spring);
}

.work-card:hover {
  transform: translateY(-4px);
}

.work-placeholder {
  aspect-ratio: 16 / 10;
  margin: 0.9rem;
  border: 1px dashed var(--gold-deep);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: repeating-linear-gradient(135deg, transparent, transparent 10px, rgba(140, 111, 62, 0.05) 10px, rgba(140, 111, 62, 0.05) 20px);
}

.work-logo {
  aspect-ratio: 16 / 10;
  margin: 0.9rem;
  border-radius: var(--radius-sm);
  background: #fffdf9;
  border: 1px solid var(--parchment-line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.work-logo img {
  width: 62%;
  height: 62%;
  object-fit: contain;
}

.work-body {
  padding: 0 1.5rem 1.6rem;
}

.work-service {
  font-family: var(--font-label);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.work-body h3 {
  margin-top: 0.5rem;
  font-size: 1.15rem;
  color: var(--text-parchment);
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-parchment-muted);
  border-bottom: 1px solid var(--parchment-line);
  padding-bottom: 0.2rem;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.work-card:hover .work-link {
  color: var(--gold-deep);
  border-color: var(--gold-deep);
}

.work-note {
  margin-top: 3rem;
  font-size: 0.85rem;
  color: var(--text-parchment-muted);
  font-style: italic;
}

/* logo strip on home */

.logo-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.6rem;
}

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

.logo-strip-item {
  aspect-ratio: 3 / 2;
  border: 1px dashed var(--ink-line);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-ink-muted);
  font-family: var(--font-label);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.logo-strip-item:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.logo-strip-item--image {
  padding: 0;
  overflow: hidden;
  border-style: solid;
}

.logo-strip-item--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s var(--ease-spring);
}

.logo-strip-item--image:hover img {
  transform: scale(1.04);
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.8rem;
}

@media (min-width: 760px) {
  .cta-band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

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

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 4rem);
}

.contact-grid > * {
  min-width: 0;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
}

.field label {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-parchment-muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-width: 0;
  background: var(--parchment-elevated);
  border: 1px solid var(--parchment-line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text-parchment);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold-deep);
  outline: none;
  box-shadow: 0 0 0 3px rgba(140, 111, 62, 0.15);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--gold-deep);
  display: none;
}

.form-status.is-visible {
  display: block;
}

.contact-card {
  background: var(--ink);
  color: var(--text-ink);
  border-radius: var(--radius-md);
  padding: 2.4rem;
  height: fit-content;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--ink-line);
}

.contact-row:first-of-type {
  padding-top: 0;
}

.contact-row:last-of-type {
  border-bottom: 0;
}

.contact-row .label {
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-ink-muted);
}

.contact-row .value {
  font-size: 0.98rem;
}

.contact-row .value--placeholder {
  color: var(--text-ink-muted);
  font-style: italic;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: transparent;
  border-top: 1px solid var(--ink-line);
  padding-block: clamp(3rem, 6vw, 4rem) 2rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--ink-line);
}

@media (min-width: 760px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.2rem;
}

.footer-nav a {
  font-family: var(--font-label);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-ink-muted);
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--gold-bright);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-ink-muted);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.6rem;
  font-size: 0.78rem;
  color: var(--text-ink-muted);
}

@media (min-width: 760px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.social-row {
  display: flex;
  gap: 1.1rem;
}

.social-row a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink-line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-spring);
}

.social-row a:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease-spring), transform 0.8s var(--ease-spring);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
