/* AW WEB – brand + palettes */
:root {
  --bg-deep: #0c0c0d;
  --bg-elevated: #151517;
  --surface: #1a1a1d;
  --text: #eeeae6;
  --text-muted: #bdb0bc;
  --accent-rose: #c9a090;
  --accent-rose-dim: #8f6f62;
  --accent-teal: #4b8f8c;
  --ink: #2b193d;
  --indigo: #2c365e;
  --border: rgba(201, 160, 144, 0.22);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --radius: 12px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --max: 1120px;
  --glow-line: linear-gradient(
    90deg,
    rgba(201, 160, 144, 0.02) 0%,
    rgba(238, 234, 230, 0.28) 18%,
    rgba(238, 234, 230, 0.48) 50%,
    rgba(238, 234, 230, 0.28) 82%,
    rgba(201, 160, 144, 0.02) 100%
  );
  --glow-drop:
    0 1px 0 rgba(255, 248, 241, 0.22),
    0 8px 20px rgba(201, 160, 144, 0.16),
    0 14px 28px rgba(238, 234, 230, 0.05);
  --glow-line-shadow:
    0 0 8px 0 rgba(238, 234, 230, 0.22),
    0 6px 16px rgba(201, 160, 144, 0.18);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg-deep: #f3ece4;
  --bg-elevated: #fff8f1;
  --surface: #fffdfb;
  --text: #221e1b;
  --text-muted: #555049;
  --accent-rose: #8f5f50;
  --accent-rose-dim: #6f463b;
  --accent-teal: #1f5f5c;
  --border: rgba(98, 70, 58, 0.3);
  --shadow: 0 20px 55px rgba(86, 69, 60, 0.18);
  --glow-line: linear-gradient(
    90deg,
    rgba(201, 160, 144, 0.04) 0%,
    rgba(255, 248, 241, 0.45) 20%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 248, 241, 0.45) 80%,
    rgba(201, 160, 144, 0.04) 100%
  );
  --glow-drop:
    0 1px 0 rgba(255, 255, 255, 0.5),
    0 8px 18px rgba(201, 160, 144, 0.14),
    0 12px 24px rgba(143, 95, 80, 0.05);
  --glow-line-shadow:
    0 0 8px 0 rgba(255, 255, 255, 0.4),
    0 6px 14px rgba(201, 160, 144, 0.16);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

@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;
  }

  .skip-link {
    transition: none;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  color-scheme: inherit;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent-teal);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-rose);
}

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

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

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--surface);
  color: var(--text);
  border: 2px solid var(--accent-teal);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transform: translateY(-120%);
  transition: transform 0.15s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--accent-teal);
  outline-offset: 2px;
}

#main:focus {
  outline: none;
}

#main:focus-visible {
  outline: 3px solid var(--accent-teal);
  outline-offset: 4px;
}

a:focus-visible,
button:focus-visible,
.theme-toggle:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid var(--accent-teal);
  outline-offset: 3px;
}

main a:not(.btn):not(.logo-link):not(.nav-list a),
footer.site-footer .legal-list a,
.cookie-text a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.nav-list a:focus-visible,
.logo-link:focus-visible {
  outline-offset: 4px;
}

/* Layout */
.shell {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(12, 12, 13, 0.98) 0%, rgba(12, 12, 13, 0.88) 100%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(238, 234, 230, 0.14);
  box-shadow: var(--glow-drop);
}

header.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  pointer-events: none;
  background: var(--glow-line);
  box-shadow: var(--glow-line-shadow);
}

html[data-theme="light"] header.site-header {
  background: linear-gradient(180deg, rgba(246, 239, 232, 0.97) 0%, rgba(246, 239, 232, 0.9) 100%);
  border-bottom-color: rgba(201, 160, 144, 0.35);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.2em;
  font-weight: 600;
}

.logo-link > span {
  display: none;
}

.logo-link:hover {
  color: var(--accent-rose);
}

.logo-img {
  width: 48px;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

.theme-toggle {
  margin-left: auto;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  min-height: 44px;
  min-width: 44px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  background: var(--surface);
  border-color: var(--accent-rose);
}

/* Nav */
.nav-toggle {
  display: none;
  position: relative;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.65rem 0.85rem;
  min-height: 44px;
  min-width: 44px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: var(--glow-drop);
}

.nav-toggle::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: var(--glow-line);
  box-shadow: var(--glow-line-shadow);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-list a {
  color: var(--text-muted);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.15rem;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--accent-rose);
}

@media (max-width: 900px) {
  .theme-toggle {
    order: 2;
    margin-left: 0;
    font-size: 0.72rem;
    padding: 0.45rem 0.75rem;
    min-height: 44px;
    min-width: 44px;
  }

  .logo-img {
    width: 42px;
  }

  .nav-toggle {
    order: 3;
    display: block;
  }

  .nav-list {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 2;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid rgba(238, 234, 230, 0.14);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--glow-drop);
    gap: 0;
  }

  .nav-list::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 0;
    height: 1px;
    pointer-events: none;
    background: var(--glow-line);
    box-shadow: var(--glow-line-shadow);
  }

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

  .nav-list li {
    border-bottom: 1px solid var(--border);
  }

  .nav-list li:last-child {
    border-bottom: 0;
  }

  .nav-list a {
    display: block;
    padding: 0.75rem 0;
  }
}

/* Hero */
.home-logo-hero {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0 0.25rem;
}

.home-logo-hero-img {
  display: block;
  width: min(78vw, 640px);
  max-height: 360px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

@media (max-width: 900px) {
  .home-logo-hero {
    padding: 0.85rem 0 0.25rem;
  }

  .home-logo-hero-img {
    width: min(92vw, 480px);
    max-height: 240px;
  }
}

.hero {
  padding: clamp(2rem, 6vw, 4rem) 0 clamp(4rem, 10vw, 7rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(201, 160, 144, 0.15), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-rose);
  margin-bottom: 1rem;
}

h1,
.h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, #eeeae6 0%, #c9a090 45%, #a28f9d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[data-theme="light"] h1,
html[data-theme="light"] .h1 {
  background: linear-gradient(135deg, #2e2622 0%, #7f5043 50%, #5f453c 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

/* Buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: var(--glow-drop);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: var(--glow-line);
  box-shadow: var(--glow-line-shadow);
}

.btn:focus-visible {
  outline: 2px solid var(--accent-teal);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(145deg, #d4a896 0%, #9e735f 100%);
  color: #0c0c0d;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--glow-drop), 0 12px 28px rgba(0, 0, 0, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  color: #0c0c0d;
  box-shadow: var(--glow-drop), 0 16px 32px rgba(201, 160, 144, 0.22);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-rose);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: rgba(201, 160, 144, 0.08);
  color: var(--text);
  box-shadow:
    0 1px 0 rgba(255, 248, 241, 0.3),
    0 10px 22px rgba(201, 160, 144, 0.22);
}

html[data-theme="light"] .btn-ghost {
  background: rgba(143, 95, 80, 0.06);
  border-color: rgba(98, 70, 58, 0.4);
  color: #70473b;
}

html[data-theme="light"] .btn-ghost:hover {
  background: rgba(143, 95, 80, 0.14);
  color: #412f29;
}

/* Sections */
section.block {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

section.block.alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

section.block.light {
  background: var(--bg-elevated);
  color: var(--text);
}

section.block.light h2,
section.block.light h3,
section.block.light .h2 {
  color: var(--text);
}

section.block.light p,
section.block.light li {
  color: var(--text-muted);
}

h2,
.h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--text);
}

h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--accent-rose);
}

p {
  margin: 0 0 1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem 2rem;
  margin-top: 2rem;
}

/* Om mig – profilbild */
.about-profile-section {
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.about-profile-grid {
  display: grid;
  grid-template-columns: minmax(220px, min(100%, 380px)) 1fr;
  gap: clamp(1.75rem, 5vw, 3rem);
  align-items: center;
}

.about-portrait {
  margin: 0;
  max-width: 320px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--glow-drop);
}

.about-portrait img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 18%;
}

.about-profile-lede .lead {
  margin-bottom: 1rem;
}

.about-photo-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.about-photo-note code {
  font-size: 0.78em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(201, 160, 144, 0.1);
  border: 1px solid var(--border);
}

@media (max-width: 720px) {
  .about-profile-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
    text-align: center;
  }

  .about-portrait {
    margin-inline: auto;
  }

  .about-photo-note {
    text-align: left;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (max-width: 640px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.included-all {
  margin-top: 1.75rem;
  padding: 1.35rem 1.5rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

.included-all h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.included-all-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 0 1.5rem;
  margin-top: 0.75rem;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.25rem 1.4rem;
}

.price-card .price-size {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-teal);
  font-weight: 700;
}

.price-card h3 {
  margin-bottom: 0.15rem;
}

.price-card .price-tag {
  margin: 0.35rem 0 0.75rem;
}

.price-card .price-includes-title {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.price-card .price-fit {
  margin: auto 0 0;
  padding-top: 0.9rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.price-addons {
  margin-top: 2.5rem;
}

.price-addon-card {
  max-width: 28rem;
}

.price-addon-card h4 {
  margin: 0 0 0.2rem;
}

.price-compare-heading {
  margin-top: 2.5rem;
  margin-bottom: 0;
  font-size: 1.35rem;
}

.price-compare-scroll {
  margin-top: 1rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

.price-compare {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.price-compare th,
.price-compare td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.price-compare thead th {
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
}

.price-compare tbody th {
  color: var(--text);
  font-weight: 600;
  width: 28%;
}

.price-compare td {
  color: var(--text-muted);
}

.price-compare tbody tr:last-child th,
.price-compare tbody tr:last-child td {
  border-bottom: 0;
}

.not-included {
  margin-top: 2rem;
}

.not-included h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}

.not-included ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.not-included li {
  margin-bottom: 0.4rem;
}

.card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: var(--glow-drop);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: var(--glow-line);
  box-shadow: var(--glow-line-shadow);
}

.card:hover {
  border-color: rgba(201, 160, 144, 0.4);
  box-shadow:
    0 1px 0 rgba(255, 248, 241, 0.3),
    0 10px 24px rgba(201, 160, 144, 0.22),
    0 16px 32px rgba(238, 234, 230, 0.08);
}

.card .price-tag {
  font-size: 1.5rem;
  font-family: var(--font-display);
  color: var(--accent-rose);
  margin-top: 0.5rem;
}

.card .price-tag .price-vat {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  margin-top: 0.35rem;
  font-family: var(--font-sans);
}

ul.check {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

ul.check li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

ul.check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-teal);
  font-weight: bold;
}

/* Page title bar */
.page-title {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-title h1 {
  margin-bottom: 0.5rem;
}

.page-title p {
  margin: 0 auto;
  color: var(--text-muted);
  max-width: 40rem;
}

.brief-alt {
  margin-top: 0.75rem !important;
  font-size: 0.92rem;
}

/* Forms */
.contact-page {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-page .form-wrap {
  width: min(100%, 540px);
}

.contact-legal {
  margin: 1.75rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
}

.form-wrap {
  max-width: 540px;
}

.form-card {
  position: relative;
  padding: 1.75rem 1.6rem 1.85rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
  box-shadow: var(--glow-drop);
}

.form-card::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: var(--glow-line);
  box-shadow: var(--glow-line-shadow);
}

label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

input:not([type="checkbox"]):not([type="radio"]),
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1.1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

input:not([type="checkbox"]):not([type="radio"]):focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(75, 143, 140, 0.25);
}

input:not([type="checkbox"]):not([type="radio"]):focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent-teal);
  outline-offset: 2px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: -0.5rem;
  margin-bottom: 1.25rem;
}

.form-success {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(75, 143, 140, 0.15);
  border: 1px solid var(--accent-teal);
  color: var(--text);
  margin-bottom: 1rem;
}

.form-success[hidden] {
  display: none !important;
}

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

.messages-region {
  padding-top: 1rem;
}

.flash {
  margin: 0 0 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.95rem;
}

.flash-success {
  background: rgba(75, 143, 140, 0.15);
  border-color: var(--accent-teal);
  color: var(--text);
}

.flash-error {
  background: rgba(180, 80, 80, 0.12);
  border-color: rgba(180, 80, 80, 0.45);
}

.form-errors,
.field-error {
  font-size: 0.875rem;
  color: #e8a598;
  margin: -0.25rem 0 0.75rem;
}

.field-error {
  margin-top: 0.25rem;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.portfolio-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.portfolio-item .ph {
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, var(--indigo), var(--ink));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.portfolio-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.portfolio-item .meta {
  padding: 1rem 1.25rem 1.35rem;
}

/* Footer */
footer.site-footer {
  margin-top: auto;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem 2rem;
}

footer h3 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-rose);
  margin-bottom: 0.75rem;
}

footer a {
  color: var(--text-muted);
}

footer a:hover {
  color: var(--accent-rose);
}

html[data-theme="light"] footer a {
  color: #4a433d;
}

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

.legal-list li {
  margin-bottom: 0.4rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1rem 1.25rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.35);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner .btn {
  min-height: 44px;
  min-width: 44px;
  padding-inline: 1.25rem;
}

.cookie-text {
  flex: 1 1 280px;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cookie-text a {
  color: var(--accent-teal);
}

body.cookie-offset {
  padding-bottom: 120px;
}

/* Prose (legal) */
.prose {
  max-width: 42rem;
}

.prose.light-page {
  color: var(--text);
}

.prose.light-page h2 {
  color: var(--text);
}

.prose.light-page p,
.prose.light-page li {
  color: var(--text-muted);
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
  font-family: var(--font-sans);
  color: var(--accent-rose);
}

.prose ul {
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.subpricing {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

mark.hl {
  background: rgba(201, 160, 144, 0.15);
  color: var(--accent-rose);
  padding: 0 0.2em;
}

.brief-shell {
  max-width: 760px;
}

.brief-stepper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

.brief-stepper li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  flex: 1;
  position: relative;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: center;
}

.brief-stepper li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.05rem;
  left: calc(50% + 1.2rem);
  right: calc(-50% + 1.2rem);
  height: 2px;
  background: var(--border);
}

.brief-stepper li.is-active,
.brief-stepper li.is-done {
  color: var(--text);
}

.brief-stepper li.is-done::after,
.brief-stepper li.is-active::after {
  background: var(--accent-rose);
}

.brief-step-num {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid var(--border);
  background: var(--bg-elevated);
  z-index: 1;
}

.brief-stepper li.is-active .brief-step-num {
  border-color: var(--accent-rose);
  background: var(--accent-rose);
  color: #1a1210;
}

.brief-stepper li.is-done .brief-step-num {
  border-color: var(--accent-teal);
  background: var(--accent-teal);
  color: #061312;
}

.brief-card {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--glow-drop);
}

.brief-card::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: var(--glow-line);
  box-shadow: var(--glow-line-shadow);
}

.brief-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-rose);
  font-weight: 700;
}

.brief-card h2 {
  margin: 0 0 1.25rem;
  font-size: 1.65rem;
}

.brief-panel {
  display: none;
}

.brief-form:not(.is-ready) .brief-panel,
.brief-form.is-ready .brief-panel.is-active {
  display: block;
}

.brief-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 1.5rem;
}

.brief-fieldset legend {
  display: block;
  width: 100%;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.7rem;
  padding: 0;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.choice-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.choice-tile {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}

.choice-tile input {
  width: auto;
  margin: 0.2rem 0 0;
  accent-color: var(--accent-rose);
  flex-shrink: 0;
}

.choice-tile-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.65rem;
  flex: 1;
  min-width: 0;
}

.choice-tile-text {
  flex: 1 1 8rem;
}

.choice-tile-hint {
  flex-basis: 100%;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.4;
}

.choice-tile-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.45rem;
  flex-basis: 100%;
  margin-top: 0.15rem;
}

.choice-tile-pages-label {
  flex-basis: 100%;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.page-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  flex-basis: 100%;
}

.page-chip {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
  background: transparent;
}

.choice-tile:has(input:checked) .page-chip {
  border-color: rgba(201, 160, 144, 0.55);
  background: rgba(201, 160, 144, 0.12);
}

.price-pages-note {
  margin: 0.35rem 0 0;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.choice-badge {
  display: inline-block;
  margin-left: auto;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.4;
}

.choice-badge.is-included {
  color: #061312;
  background: rgba(75, 143, 140, 0.28);
}

.choice-badge.is-extra {
  color: #1a1210;
  background: rgba(201, 160, 144, 0.45);
}

.choice-badge.is-quote {
  color: var(--text);
  background: rgba(189, 176, 188, 0.28);
}

.choice-badge.is-unavailable {
  color: var(--text);
  background: rgba(189, 176, 188, 0.22);
}

.choice-tile.is-unavailable {
  opacity: 0.58;
  cursor: not-allowed;
}

.choice-tile.is-unavailable:hover {
  border-color: var(--border);
}

.choice-tile.is-unavailable input {
  cursor: not-allowed;
}

.choice-tile.is-over-budget {
  box-shadow: inset 3px 0 0 #b85c4c;
}

.choice-tile.is-fits-budget:has(input:checked) {
  box-shadow: inset 3px 0 0 var(--accent-teal);
}

.choice-badge.is-fits {
  color: #061312;
  background: rgba(75, 143, 140, 0.28);
}

.choice-badge.is-over-budget {
  color: #1a1210;
  background: rgba(184, 92, 76, 0.4);
}

.brief-budget-note {
  margin: 0.9rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(75, 143, 140, 0.4);
  background: rgba(75, 143, 140, 0.1);
}

.brief-panel > .brief-budget-note {
  margin: 0 0 1.25rem;
}

.brief-budget-note.is-over {
  border-color: rgba(184, 92, 76, 0.55);
  background: rgba(184, 92, 76, 0.12);
}

.brief-budget-note p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text);
}

.brief-budget-note p + p {
  margin-top: 0.55rem;
  font-weight: 600;
}

.choice-tile:hover {
  border-color: rgba(201, 160, 144, 0.55);
}

.choice-tile:has(input:checked) {
  border-color: var(--accent-rose);
  background: rgba(201, 160, 144, 0.1);
}

.choice-tile.is-extra:has(input:checked) {
  box-shadow: inset 3px 0 0 var(--accent-rose);
}

.choice-tile.is-included:has(input:checked) {
  box-shadow: inset 3px 0 0 var(--accent-teal);
}

.brief-help {
  margin: -0.35rem 0 0.75rem;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.45;
}

.brief-package-note {
  margin: 0.9rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(201, 160, 144, 0.55);
  background: rgba(201, 160, 144, 0.12);
}

.brief-package-note p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text);
}

.brief-package-note p + p {
  margin-top: 0.55rem;
  font-weight: 600;
}

.brief-date,
.brief-url {
  margin-top: 0.85rem;
}

.brief-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.brief-form:not(.is-ready) [data-brief-next],
.brief-form:not(.is-ready) [data-brief-back] {
  display: none;
}

.brief-form:not(.is-ready) [data-brief-submit] {
  display: inline-flex;
}

.brief-form.is-ready [data-brief-submit][hidden],
.brief-form.is-ready [data-brief-back][hidden] {
  display: none;
}

@media (max-width: 640px) {
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .brief-step-label {
    font-size: 0.72rem;
  }
}
