/*
Theme Name: Radolinski Boutique
Theme URI: https://radolinski.pl
Author: Szymon Radoliński
Author URI: https://radolinski.pl
Description: Butikowy motyw dla osobistego studia Szymona Radolińskiego. Jeden klient, jeden projekt. Dojrzała paleta atramentu i kości słoniowej, akcenty ember + gold, typografia Bricolage Grotesque + Inter.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: radolinski-boutique
Tags: boutique, portfolio, custom-menu, featured-images, threaded-comments, translation-ready
*/

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,700;12..96,800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --ink:        #0F0A0B;
  --ink-2:      #1A0F11;
  --ink-soft:   #2A1F22;

  --bone:       #F5EFE6;
  --bone-2:     #EFE6D8;
  --paper:      #FBF6EE;
  --paper-2:    #F8F2E8;

  --ember-300:  #F0876B;
  --ember-500:  #D44613;
  --ember-700:  #9C2E07;
  --ember-900:  #4A1404;

  --moss-300:   #A8B580;
  --moss-500:   #5A6E3C;
  --moss-700:   #3B4A24;

  --gold:       #C9A24A;
  --gold-soft:  #E5CB87;

  --line:       rgba(15,10,11,.10);
  --line-soft:  rgba(15,10,11,.06);
  --line-inv:   rgba(245,239,230,.12);

  --f-display:  'Bricolage Grotesque', ui-serif, Georgia, serif;
  --f-body:     'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono:     'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius:     20px;
  --radius-sm:  12px;
  --radius-xl:  32px;

  --ease-snap:  cubic-bezier(.2,.9,.2,1.25);
  --ease-out:   cubic-bezier(.16,1,.3,1);

  --shadow-soft: 0 24px 60px -24px rgba(15,10,11,.25);
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--f-display); font-weight: 800; letter-spacing: -.02em; margin: 0; line-height: 1.02; }
p { margin: 0 0 1rem; }
ul, ol { padding: 0; margin: 0; }
::selection { background: var(--ember-500); color: var(--paper); }

/* ==========================================================================
   Layout
   ========================================================================== */
.wrap { width: min(1240px, 92vw); margin-inline: auto; }
.wrap-lg { width: min(1440px, 96vw); margin-inline: auto; }
.wrap-sm { width: min(880px, 92vw); margin-inline: auto; }
.row { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 80;
  padding: 14px 0;
  backdrop-filter: saturate(160%) blur(14px);
  background: rgba(251, 246, 238, .78);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--f-display); font-weight: 800; font-size: 22px;
  letter-spacing: -.02em; color: var(--ink);
}
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 800; font-size: 17px; letter-spacing: -.04em;
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; right: -3px; bottom: -3px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--ember-500); border: 2px solid var(--paper);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text small {
  font-family: var(--f-mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: .22em; opacity: .55; margin-top: 4px; font-weight: 500;
}

.nav-menu {
  display: flex; align-items: center; gap: .15rem; list-style: none;
}
.nav-menu a {
  padding: .55rem .95rem; border-radius: 999px;
  font-weight: 500; font-size: 15px;
  transition: background .25s, color .25s;
}
.nav-menu a:hover { background: rgba(212, 70, 19, .08); color: var(--ember-700); }
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a { background: var(--ink); color: var(--paper); }

.nav-actions { display: flex; align-items: center; gap: .8rem; }

.availability-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .85rem; border-radius: 999px;
  background: rgba(90, 110, 60, .12);
  color: var(--moss-700);
  font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .18em;
  border: 1px solid rgba(90, 110, 60, .24);
}
.availability-pill::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--moss-500);
  box-shadow: 0 0 0 4px rgba(90, 110, 60, .15);
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1 } 50% { transform: scale(1.4); opacity: .55 } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.4rem; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1;
  transition: transform .2s var(--ease-out), background .2s, color .2s, box-shadow .25s, border-color .2s;
  will-change: transform;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--ink); color: var(--paper);
  box-shadow: 0 4px 14px rgba(15, 10, 11, .18);
}
.btn-primary:hover { background: var(--ink-2); box-shadow: 0 8px 22px rgba(15, 10, 11, .26); }
.btn-primary:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(15, 10, 11, .2); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ember {
  background: var(--ember-500); color: var(--paper);
  box-shadow: 0 4px 14px rgba(212, 70, 19, .28);
}
.btn-ember:hover { background: var(--ember-700); box-shadow: 0 8px 22px rgba(212, 70, 19, .34); }
.btn-ember:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(212, 70, 19, .25); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); }

.burger {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--paper); align-items: center; justify-content: center;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(72px, 10vw, 144px) 0 clamp(48px, 7vw, 100px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 45% at 12% 18%, rgba(212, 70, 19, .14), transparent 60%),
    radial-gradient(50% 55% at 88% 82%, rgba(201, 162, 74, .14), transparent 60%);
  z-index: -1;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .2em;
  padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.55); backdrop-filter: blur(6px);
  color: var(--ink-soft);
}
.hero-eyebrow .dot { width: 8px; height: 8px; background: var(--ember-500); border-radius: 50%; animation: pulse 1.8s infinite; }

.hero-title {
  font-size: clamp(60px, 11vw, 184px);
  line-height: .9;
  margin: 1.4rem 0 1.6rem;
  letter-spacing: -.035em;
  max-width: 14ch;
}
.hero-title em { font-style: normal; color: var(--ember-500); position: relative; }
.hero-title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.08em;
  height: .12em; background: var(--gold); border-radius: 999px; transform: scaleX(0); transform-origin: left;
  animation: draw 1.2s .4s var(--ease-out) forwards;
}
@keyframes draw { to { transform: scaleX(1); } }

.hero-lead { max-width: 60ch; font-size: clamp(17px, 1.4vw, 22px); color: var(--ink-soft); line-height: 1.55; }
.hero-cta { display: flex; gap: .8rem; margin-top: 1.8rem; flex-wrap: wrap; }

.hero-mark {
  position: absolute; right: -2vw; top: 8%; width: 30vw; max-width: 460px; min-width: 240px;
  filter: drop-shadow(0 40px 60px rgba(15, 10, 11, .22));
  animation: float 7s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
  opacity: .9;
}
@keyframes float { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(-1deg); } }

.hero-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
  padding-top: 2.5rem; margin-top: 3rem;
  border-top: 1px dashed var(--line);
  list-style: none;
}
.hero-meta .k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .55; display: block; }
.hero-meta .v { font-family: var(--f-display); font-size: clamp(24px, 3vw, 40px); font-weight: 800; margin-top: .35rem; display: block; letter-spacing: -.02em; }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  display: flex; gap: 3rem;
  overflow: hidden; padding: 1.4rem 0;
  background: var(--ink); color: var(--paper);
  border-block: 1px solid var(--ink-2);
  font-family: var(--f-display); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(28px, 4.2vw, 64px);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; gap: 3rem; animation: scroll 36s linear infinite; white-space: nowrap; }
.marquee span { display: inline-flex; align-items: center; gap: 3rem; }
.marquee .dot { width: 16px; height: 16px; background: var(--ember-500); border-radius: 50%; }
.marquee .dot.gold { background: var(--gold); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(72px, 9vw, 140px) 0; position: relative; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-bone { background: var(--bone); }
.section-ember { background: var(--ember-500); color: var(--paper); }

.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 2rem;
  margin-bottom: clamp(36px, 5vw, 72px); flex-wrap: wrap;
}
.kicker {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; opacity: .65;
  display: inline-flex; align-items: center; gap: .55rem;
}
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; display: inline-block; }

.h2 { font-size: clamp(42px, 7vw, 104px); max-width: 18ch; line-height: .96; }
.h3 { font-size: clamp(28px, 4vw, 48px); }
.lead { font-size: clamp(18px, 1.55vw, 24px); max-width: 64ch; opacity: .85; line-height: 1.55; }

/* ==========================================================================
   Services
   ========================================================================== */
.services { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }
.service {
  grid-column: span 6;
  padding: 2.2rem; border-radius: var(--radius-xl);
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.section-bone .service { background: var(--paper-2); }
.service.wide { grid-column: span 12; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.service h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: .65rem; }
.service-num { font-family: var(--f-mono); font-size: 12px; opacity: .5; letter-spacing: .2em; }
.service-body { opacity: .85; max-width: 56ch; }
.service-tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: 1.2rem; list-style: none; }
.tag {
  font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .15em;
  padding: .35rem .7rem; border-radius: 999px; background: rgba(15,10,11,.06);
}
.section-dark .tag { background: rgba(245,239,230,.08); }

/* ==========================================================================
   Process / Steps
   ========================================================================== */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
  counter-reset: s; list-style: none;
}
.step {
  padding: 1.8rem; border-radius: var(--radius);
  border: 1px solid var(--line-inv); background: rgba(245,239,230,.04);
  position: relative;
}
.section:not(.section-dark) .step {
  border-color: var(--line); background: var(--paper);
}
.step::before {
  counter-increment: s; content: "0" counter(s);
  font-family: var(--f-mono); font-size: 12px; opacity: .55; letter-spacing: .2em;
}
.step h4 { font-size: 22px; margin: .8rem 0 .5rem; }
.step p { opacity: .8; font-size: 15px; margin: 0; line-height: 1.55; }

/* ==========================================================================
   Portfolio / Projects
   ========================================================================== */
.projects { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; list-style: none; }
.project {
  grid-column: span 6;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex; align-items: end;
  padding: 2rem;
  color: var(--paper);
  transition: transform .4s var(--ease-out);
  isolation: isolate;
  cursor: pointer;
}
.project:hover { transform: translateY(-6px); }
.project::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--bg, linear-gradient(135deg, var(--ember-500), var(--ember-900)));
  transition: transform .6s var(--ease-out);
}
.project:hover::before { transform: scale(1.04); }
.project::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 40%, rgba(15,10,11,.78));
}
.project-label {
  font-family: var(--f-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .2em; opacity: .85;
}
.project h3 { font-size: clamp(24px, 2.6vw, 36px); margin-top: .4rem; }
.project-tags {
  display: flex; gap: .4rem; margin-top: .9rem; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 11px; opacity: .82;
  text-transform: uppercase; letter-spacing: .15em; list-style: none;
}
.project.size-large { grid-column: span 12; aspect-ratio: 21 / 9; }
.project.size-small { grid-column: span 4; aspect-ratio: 1 / 1; }
.project.size-medium { grid-column: span 6; }

/* ==========================================================================
   Logos wall (clients)
   ========================================================================== */
.logos {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--paper); list-style: none;
}
.logo-cell {
  aspect-ratio: 16/9; display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 800; letter-spacing: -.02em;
  font-size: 22px; color: var(--ink);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  opacity: .55; transition: opacity .25s, color .25s;
}
.logo-cell:hover { opacity: 1; color: var(--ember-500); }
.logo-cell:nth-child(6n) { border-right: 0; }

/* ==========================================================================
   Quotes
   ========================================================================== */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; list-style: none; }
.quote {
  padding: 2.1rem; border-radius: var(--radius-xl);
  background: var(--paper); border: 1px solid var(--line); position: relative;
}
.section-dark .quote { background: rgba(245,239,230,.04); border-color: var(--line-inv); }
.quote p { font-family: var(--f-display); font-weight: 700; font-size: 22px; line-height: 1.3; letter-spacing: -.01em; }
.quote-attr { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--ember-500);
  display: grid; place-items: center; color: var(--paper);
  font-weight: 800; font-family: var(--f-display);
}
.quote-attr .who { font-weight: 600; }
.quote-attr .role { font-size: 13px; opacity: .65; font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .1em; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 920px; margin-inline: auto; }
.faq details { border-top: 1px solid var(--line); padding: 1.4rem 0; }
.section-dark .faq details { border-top-color: var(--line-inv); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.section-dark .faq details:last-child { border-bottom-color: var(--line-inv); }
.faq summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 2rem;
  cursor: pointer;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 2vw, 28px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 32px; transition: transform .25s; line-height: 1; opacity: .65; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .9rem; opacity: .8; max-width: 70ch; line-height: 1.6; }

/* ==========================================================================
   Why us / values
   ========================================================================== */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; list-style: none; }
.value {
  padding: 2.1rem; border-radius: var(--radius-xl);
  border: 1px solid var(--line-inv);
}
.section:not(.section-dark) .value { border-color: var(--line); background: var(--paper); }
.value .n { font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; opacity: .55; }
.value h4 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(28px, 3vw, 44px); margin: .65rem 0 .8rem; letter-spacing: -.02em;
}
.value p { opacity: .82; max-width: 50ch; margin: 0; line-height: 1.55; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: start; }
.contact-card {
  padding: 2.2rem; border-radius: var(--radius-xl);
  background: var(--paper); border: 1px solid var(--line);
}
.form-field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.form-field label {
  font-family: var(--f-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .2em; opacity: .7;
}
.form-field input, .form-field textarea, .form-field select {
  font: inherit; padding: .9rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  font-family: var(--f-body);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: 0; border-color: var(--ember-500);
  box-shadow: 0 0 0 4px rgba(212, 70, 19, .14);
}
.form-field textarea { min-height: 140px; resize: vertical; }

.contact-info dt {
  font-family: var(--f-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .2em; opacity: .55; margin-top: 1.4rem;
}
.contact-info dd {
  margin: .35rem 0 0;
  font-size: clamp(18px, 1.5vw, 22px);
  font-family: var(--f-display); font-weight: 700;
}
.contact-info dd a:hover { color: var(--ember-500); }

.company-card {
  margin-top: 2.5rem;
  padding: 1.6rem 1.7rem;
  border-radius: var(--radius);
  border: 1px dashed var(--line);
  background: rgba(15, 10, 11, .02);
}
.company-card .kicker { display: block; margin-bottom: .7rem; }
.company-card .company-name {
  font-family: var(--f-display); font-weight: 800;
  font-size: 20px; letter-spacing: -.01em; margin-bottom: .35rem;
}
.company-card .company-address {
  white-space: pre-line; font-size: 15px; line-height: 1.5; opacity: .85;
}
.company-card .company-nip {
  margin-top: .7rem; font-family: var(--f-mono);
  font-size: 12px; letter-spacing: .12em; color: var(--ember-700);
}

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  padding: clamp(48px, 7vw, 96px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(60% 80% at 80% 18%, rgba(201, 162, 74, .35), transparent 60%),
    linear-gradient(135deg, var(--ink), var(--ink-2));
  color: var(--paper); position: relative; overflow: hidden;
}
.cta-banner h2 { font-size: clamp(40px, 6vw, 96px); max-width: 18ch; }
.cta-banner .row { margin-top: 1.8rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--paper); padding: 80px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 2rem; }
.foot-grid h5 {
  font-family: var(--f-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .25em; opacity: .55; margin: 0 0 .9rem; font-weight: 500;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.foot-grid a { opacity: .85; }
.foot-grid a:hover { color: var(--gold); opacity: 1; }
.foot-manifesto { max-width: 38ch; opacity: .75; line-height: 1.55; }

.foot-legal {
  margin-top: 3rem; padding: 1.3rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(245, 239, 230, .05);
  border: 1px solid var(--line-inv);
}
.foot-legal .kicker { display: block; margin-bottom: .7rem; color: var(--gold); }
.foot-legal-row {
  display: flex; gap: .8rem; flex-wrap: wrap; align-items: center;
  font-family: var(--f-body); font-size: 14px; line-height: 1.45;
}
.foot-legal-name { font-family: var(--f-display); font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.foot-legal-sep { opacity: .3; }
.foot-legal-nip { font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em; color: var(--gold); }

.foot-areas { margin-top: 2.6rem; }
.foot-areas .kicker { display: block; margin-bottom: .9rem; color: var(--gold); }
.foot-areas-count { opacity: .55; font-weight: 400; }
.foot-areas-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: .35rem .4rem; line-height: 1.4;
}
.foot-areas-list a {
  display: inline-block; padding: .25rem .6rem; border-radius: 999px;
  background: rgba(245, 239, 230, .04);
  border: 1px solid rgba(245, 239, 230, .1);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em;
  opacity: .7; text-decoration: none; white-space: nowrap;
}
.foot-areas-list a:hover {
  background: rgba(245, 239, 230, .14); color: var(--gold);
  opacity: 1; border-color: rgba(245, 239, 230, .25);
}

.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; margin-top: 2rem;
  border-top: 1px solid var(--line-inv);
  font-family: var(--f-mono); font-size: 12px; opacity: .65;
  flex-wrap: wrap; gap: 1rem;
}
.foot-logo {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(80px, 14vw, 220px); letter-spacing: -.05em;
  line-height: .85; margin: 2rem 0 1rem;
  display: flex; align-items: center; gap: .15em;
}
.foot-logo .dot {
  width: .2em; height: .2em; border-radius: 50%;
  background: var(--ember-500); display: inline-block;
  align-self: end; margin-bottom: .15em;
}

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero { padding: clamp(80px, 10vw, 160px) 0 clamp(36px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(48px, 9vw, 144px); line-height: .92; letter-spacing: -.035em; }
.page-hero .lead { margin-top: 1.3rem; }
.crumbs {
  font-family: var(--f-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: .2em; opacity: .55; margin-bottom: 1.8rem;
}
.crumbs a:hover { color: var(--ember-500); }

/* ==========================================================================
   Editorial / page content
   ========================================================================== */
.entry-content { font-size: 17px; line-height: 1.7; max-width: 70ch; }
.entry-content h2 { font-size: clamp(28px, 3vw, 40px); margin: 2rem 0 .8rem; }
.entry-content h3 { font-size: clamp(22px, 2.4vw, 30px); margin: 1.6rem 0 .7rem; }
.entry-content p { margin: 0 0 1rem; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2rem 1.2rem; }
.entry-content li { margin-bottom: .35rem; }
.entry-content a { color: var(--ember-700); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--ember-500); }
.entry-content blockquote {
  border-left: 3px solid var(--ember-500);
  padding: .4rem 0 .4rem 1.2rem; margin: 1.6rem 0;
  font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -.01em;
}
.entry-content code {
  font-family: var(--f-mono); font-size: .9em;
  padding: 2px 6px; border-radius: 4px;
  background: rgba(15,10,11,.07); color: var(--ember-700);
}

/* ==========================================================================
   Utility
   ========================================================================== */
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .8rem; border-radius: 999px;
  background: rgba(212, 70, 19, .12); color: var(--ember-700);
  font-size: 13px; font-weight: 500;
}
.section-dark .chip { background: rgba(212, 70, 19, .2); color: var(--ember-300); }
.divider { height: 1px; background: var(--line); margin: 3rem 0; }
.text-gold { color: var(--gold); }
.text-ember { color: var(--ember-500); }

/* ==========================================================================
   404
   ========================================================================== */
.oops {
  min-height: 75vh; display: grid; place-items: center;
  text-align: center; padding: 4rem 0;
}
.oops .huge {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(120px, 24vw, 320px); line-height: .85; letter-spacing: -.05em;
  color: var(--ember-500);
}

/* ==========================================================================
   Scroll progress
   ========================================================================== */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--ember-500), var(--gold));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform .08s linear;
  z-index: 90;
  pointer-events: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .nav-menu, .availability-pill { display: none; }
  .burger { display: inline-flex; }
  .site-header.is-open .nav-menu {
    display: flex; position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; align-items: stretch; padding: 1rem 5vw 1.5rem;
    background: var(--paper); border-bottom: 1px solid var(--line);
    gap: .25rem;
  }
  .hero-mark { top: auto; bottom: -8%; right: -12%; width: 70vw; opacity: .35; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
  .services, .projects { grid-template-columns: 1fr; }
  .service, .service.wide, .project, .project.size-large, .project.size-small, .project.size-medium {
    grid-column: 1 / -1;
  }
  .steps { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .logo-cell:nth-child(6n) { border-right: 1px solid var(--line); }
  .logo-cell:nth-child(3n) { border-right: 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   WordPress required classes
   ========================================================================== */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; opacity: .65; font-family: var(--f-mono); margin-top: .4rem; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); -webkit-clip-path: inset(50%); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px;
  word-wrap: normal !important;
}
.sticky, .gallery-caption, .bypostauthor { display: block; }
