/* Special Occasion — editorial how-to
   Tokens from design.md. 8px scale. Desktop 1440 / mobile 390. */

:root {
  --paper: #f7f3ec;
  --ink: #1c1917;
  --ink-soft: #57534e;
  --blush: #c9a39a;
  --sage: #8a9a86;
  --champagne: #e8dcc8;
  --terracotta: #b5654a;
  --line: #e7e0d6;
  --card: #fffcf8;
  --sage-deep: #6f7f6b;

  --font-display: "Fraunces", "Source Serif 4", Georgia, serif;
  --font-ui: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;

  --wrap: 1120px;
  --article: 700px;
  --sidebar: 280px;
  --header-h: 72px;
  --space: 8px;
  --ease: 180ms ease;
  --radius: 0;
  --shadow: 0 8px 28px rgba(28, 25, 23, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(28, 25, 23, 0.012) 3px,
      rgba(28, 25, 23, 0.012) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 3px,
      rgba(28, 25, 23, 0.012) 3px,
      rgba(28, 25, 23, 0.012) 4px
    );
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

img.soc-photo {
  filter: sepia(0.08) saturate(0.88) contrast(0.97);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--sage-deep);
}

button,
input,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

::selection {
  background: var(--champagne);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

.soc-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.soc-skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.soc-skip-link:focus {
  top: 16px;
}

.soc-wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.soc-wrap--narrow {
  width: min(680px, calc(100% - 48px));
}

.soc-wrap--legal {
  width: min(660px, calc(100% - 48px));
}

/* Type */

.soc-eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  line-height: 1.3;
}

.soc-eyebrow--blush {
  color: var(--blush);
}

.soc-page-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: clamp(2rem, 1.4rem + 2vw, 3.15rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.soc-page-title + .soc-lede,
.soc-page-title + .soc-intro {
  margin-top: 16px;
}

.soc-section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.soc-lede,
.soc-intro {
  font-size: 1.05em;
  color: var(--ink-soft);
  max-width: 42rem;
}

.soc-dek {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.soc-byline {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-soft);
}

.soc-prose {
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink);
}

.soc-prose p + p {
  margin-top: 18px;
}

.soc-prose h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.65rem;
  letter-spacing: -0.015em;
  margin: 40px 0 16px;
}

.soc-prose h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  margin: 32px 0 12px;
}

.soc-prose a {
  color: var(--sage-deep);
}

/* Header */

.soc-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(247, 243, 236, 0.94);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid var(--line);
}

.soc-site-header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.soc-header-panel {
  display: contents;
}

.soc-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
  color: var(--ink);
  line-height: 1;
}

.soc-logo:hover {
  color: var(--ink);
}

.soc-logo__mark {
  display: block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--sage-deep);
}

.soc-logo__word {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.soc-logo__tag {
  display: none;
}

.soc-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.soc-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.soc-nav a:hover,
.soc-nav a.soc-is-active {
  color: var(--sage-deep);
  border-bottom-color: var(--sage);
}

.soc-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  width: 268px;
  padding: 0 12px 0 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
}

.soc-search:focus-within {
  border-color: var(--sage);
}

.soc-search svg {
  flex-shrink: 0;
  color: var(--ink-soft);
}

.soc-search input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  outline: none;
}

.soc-search input::placeholder {
  color: #8a847c;
}

.soc-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 0;
  cursor: pointer;
  padding: 0;
}

.soc-nav-toggle span,
.soc-nav-toggle span::before,
.soc-nav-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
  transition: transform var(--ease), top var(--ease), background var(--ease);
}

.soc-nav-toggle span::before,
.soc-nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.soc-nav-toggle span::before {
  top: -5px;
}

.soc-nav-toggle span::after {
  top: 5px;
}

.soc-is-open .soc-nav-toggle span {
  background: transparent;
}

.soc-is-open .soc-nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

.soc-is-open .soc-nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

.soc-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-h);
  z-index: 30;
  background: rgba(28, 25, 23, 0.18);
}

body.soc-nav-open .soc-nav-overlay {
  display: block;
}

/* Hero */

.soc-hero {
  padding: 64px 0 72px;
}

.soc-hero__grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 64px;
  align-items: center;
}

.soc-hero__copy .soc-eyebrow {
  margin-bottom: 16px;
}

.soc-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.15rem, 1.4rem + 2.4vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 14ch;
}

.soc-hero__sub {
  margin-top: 20px;
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: 1.05em;
}

.soc-hero__figure {
  margin: 0;
  background: var(--champagne);
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.soc-hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sections */

.soc-section {
  padding: 72px 0;
}

.soc-section--tight {
  padding: 56px 0;
}

.soc-section--alt {
  background: color-mix(in srgb, var(--champagne) 35%, var(--paper));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.soc-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.soc-section__head .soc-eyebrow {
  display: block;
  margin-bottom: 8px;
}

/* Hub cards */

.soc-hub-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.soc-hub-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
  text-decoration: none;
  min-height: 100%;
  transition: transform var(--ease), box-shadow var(--ease);
}

.soc-hub-card:hover {
  color: inherit;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.soc-hub-card__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--champagne);
}

.soc-hub-card__media img,
.soc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.soc-hub-card:hover img,
.soc-card:hover img {
  transform: scale(1.04);
}

.soc-hub-card__body,
.soc-card__body {
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.soc-hub-card h3,
.soc-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.soc-hub-card p,
.soc-card p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

.soc-hub-card__query {
  margin-top: auto;
  padding-top: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blush);
}

/* Article cards */

.soc-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.soc-card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.soc-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
  text-decoration: none;
  transition: transform var(--ease), box-shadow var(--ease);
}

.soc-card:hover {
  color: inherit;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.soc-card__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--champagne);
}

.soc-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.soc-card time,
.soc-read-time {
  font-size: 12px;
  color: var(--ink-soft);
}

/* Pillars */

.soc-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.soc-pillar {
  padding: 8px 8px 0 0;
}

.soc-pillar__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--sage);
  line-height: 1;
  margin-bottom: 12px;
}

.soc-pillar h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.soc-pillar p {
  color: var(--ink-soft);
  font-size: 17px;
}

/* Breadcrumb */

.soc-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.soc-crumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.soc-crumb a:hover {
  color: var(--ink);
}

.soc-crumb span[aria-hidden] {
  color: var(--blush);
}

/* Chips / pills */

.soc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 32px;
}

.soc-chip {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: default;
}

.soc-chip.soc-is-active,
.soc-chip:hover {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--paper);
}

.soc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.soc-pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 0;
  background: color-mix(in srgb, var(--sage) 16%, var(--paper));
  color: var(--sage-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.soc-pill--blush {
  background: color-mix(in srgb, var(--blush) 22%, var(--paper));
  color: #8a5f56;
}

.soc-pill--ink {
  background: var(--champagne);
  color: var(--ink);
}

/* Occasion tiles */

.soc-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0 48px;
}

.soc-tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  text-decoration: none;
  min-height: 148px;
}

.soc-tile:hover {
  color: inherit;
  border-color: var(--sage);
}

.soc-tile h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-top: auto;
}

/* Idea board */

.soc-idea-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 32px 0 48px;
}

.soc-idea-board figure {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0;
  background: var(--champagne);
  position: relative;
}

.soc-idea-board img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.soc-idea-board figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 12px 10px;
  background: linear-gradient(transparent, rgba(28, 25, 23, 0.55));
  color: #fffcf8;
  font-size: 13px;
  font-weight: 600;
}

/* Layout: article + sidebar */

.soc-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--article)) var(--sidebar);
  gap: 56px;
  align-items: start;
  padding: 40px 0 80px;
}

.soc-side {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.soc-side-block {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.soc-side-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.soc-side-block h2 {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
}

.soc-side-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.soc-side-block a {
  text-decoration: none;
  font-size: 16px;
  line-height: 1.35;
}

.soc-side-block a:hover {
  text-decoration: underline;
}

.soc-page-head {
  padding: 40px 0 8px;
}

/* Numbered idea cards */

.soc-ideas {
  display: grid;
  gap: 16px;
  margin: 24px 0 8px;
}

.soc-idea {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
}

.soc-idea--photo {
  grid-template-columns: 120px auto 1fr;
  align-items: start;
}

.soc-idea__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--blush);
  line-height: 1;
  width: 2ch;
}

.soc-idea h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.soc-idea p {
  color: var(--ink-soft);
  font-size: 16px;
}

.soc-idea__media {
  width: 120px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0;
  background: var(--champagne);
}

.soc-idea__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Notes / answer box */

.soc-note,
.soc-answer {
  margin: 24px 0;
  padding: 16px 20px;
  background: var(--card);
  border-left: 3px solid var(--sage);
}

.soc-note--warn {
  border-left-color: var(--terracotta);
}

.soc-note h2,
.soc-answer h2 {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 8px;
}

.soc-note--warn h2 {
  color: var(--terracotta);
}

.soc-note p,
.soc-answer p {
  color: var(--ink);
  font-size: 17px;
}

/* FAQ */

.soc-faq {
  margin: 16px 0 40px;
  border-top: 1px solid var(--line);
}

.soc-faq details {
  border-bottom: 1px solid var(--line);
}

.soc-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-weight: 600;
  font-size: 17px;
}

.soc-faq summary::-webkit-details-marker {
  display: none;
}

.soc-faq summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
  margin-top: -4px;
  flex-shrink: 0;
}

.soc-faq details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.soc-faq .soc-faq__body {
  padding: 0 0 18px;
  color: var(--ink-soft);
  font-size: 17px;
}

/* Timeline */

.soc-timeline {
  margin: 24px 0 40px;
  border-left: 2px solid var(--champagne);
  padding-left: 24px;
  display: grid;
  gap: 24px;
}

.soc-tl {
  position: relative;
}

.soc-tl::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage);
}

.soc-tl__time {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}

.soc-tl h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 4px 0;
}

.soc-tl p {
  color: var(--ink-soft);
  font-size: 16px;
}

.soc-tl__dur {
  font-size: 13px;
  color: var(--blush);
}

/* Related */

.soc-related {
  padding: 48px 0 72px;
  border-top: 1px solid var(--line);
}

.soc-related .soc-section__head {
  margin-bottom: 24px;
}

/* Popular list */

.soc-popular {
  list-style: none;
  counter-reset: pop;
  display: grid;
  gap: 12px;
}

.soc-popular li {
  counter-increment: pop;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
}

.soc-popular li::before {
  content: counter(pop, decimal-leading-zero);
  font-family: var(--font-display);
  color: var(--blush);
  font-size: 1rem;
}

.soc-popular a {
  text-decoration: none;
  font-size: 16px;
}

.soc-hub-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 32px 0 0;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.soc-hub-strip a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-decoration: none;
}

/* About */

.soc-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  padding: 16px 0 80px;
}

.soc-about-grid .soc-prose {
  max-width: none;
}

.soc-about-grid figure {
  margin: 8px 0 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--champagne);
}

.soc-about-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

/* Legal */

.soc-legal {
  padding: 40px 0 96px;
}

.soc-legal .soc-eyebrow {
  display: block;
  margin-bottom: 12px;
}

.soc-legal .soc-prose h2 {
  font-size: 1.45rem;
}

.soc-legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 16px;
}

.soc-legal-table th,
.soc-legal-table td {
  text-align: left;
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.soc-legal-table th {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
}

.soc-cookie-bar {
  position: sticky;
  bottom: 0;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 12px 24px;
  background: var(--card);
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}

.soc-cookie-bar[hidden] {
  display: none;
}

/* Forms / buttons */

.soc-form {
  display: grid;
  gap: 16px;
  max-width: 440px;
  margin-top: 28px;
}

.soc-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

.soc-form input,
.soc-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 0;
  padding: 10px 12px;
  color: var(--ink);
}

.soc-form textarea {
  min-height: 140px;
  resize: vertical;
}

.soc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 0;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.soc-btn--sage {
  background: var(--sage);
  color: #f7f3ec;
}

.soc-btn--sage:hover {
  background: var(--sage-deep);
  color: #f7f3ec;
}

.soc-btn--outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.soc-btn--outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.soc-btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding-inline: 8px;
}

.soc-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Search results */

.soc-search-head {
  padding: 40px 0 8px;
}

.soc-search-count {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 16px;
}

.soc-search-list {
  display: grid;
  gap: 16px;
  padding: 24px 0 80px;
}

.soc-search-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  text-decoration: none;
}

.soc-search-row:hover {
  color: inherit;
  border-color: var(--sage);
}

.soc-search-row img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 0;
}

.soc-search-row h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 6px 0 8px;
}

.soc-search-row p {
  color: var(--ink-soft);
  font-size: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.soc-empty {
  padding: 48px 0 96px;
}

.soc-empty h1 {
  margin-bottom: 12px;
}

/* 404 */

.soc-page-404 {
  padding: 80px 0 120px;
  max-width: 36rem;
}

.soc-page-404 h1 {
  margin: 12px 0 16px;
}

.soc-page-404 .soc-btn-row {
  margin-top: 28px;
}

.soc-page-404 .soc-search {
  width: min(100%, 320px);
  margin-top: 24px;
}

/* Footer */

.soc-site-footer {
  background: color-mix(in srgb, var(--champagne) 40%, var(--paper));
  border-top: 1px solid var(--line);
  padding: 56px 0 0;
  font-size: 16px;
}

.soc-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px 24px;
  padding-bottom: 40px;
}

.soc-footer-brand .soc-logo {
  margin-bottom: 12px;
}

.soc-footer-brand p {
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 28ch;
}

.soc-site-footer h2 {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
}

.soc-site-footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.soc-site-footer a {
  text-decoration: none;
  color: var(--ink);
}

.soc-site-footer a:hover,
.soc-site-footer a.soc-is-current {
  color: var(--sage-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.soc-footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}

/* UI kit */

.soc-kit {
  padding: 48px 0 96px;
}

.soc-kit-swatch {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 16px 0 40px;
}

.soc-kit-swatch div {
  aspect-ratio: 1.4;
  border-radius: 0;
  border: 1px solid var(--line);
  padding: 12px;
  font-size: 12px;
  display: flex;
  align-items: end;
}

.soc-ramp {
  display: grid;
  gap: 8px;
  margin: 16px 0 40px;
}

@media (max-width: 1100px) {
  :root {
    --header-h: 60px;
  }

  .soc-site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .soc-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .soc-header-panel {
    display: none;
  }

  .soc-is-open .soc-header-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    z-index: 41;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    box-shadow: var(--shadow);
  }

  .soc-is-open .soc-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .soc-is-open .soc-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .soc-is-open .soc-search {
    display: flex;
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .soc-hub-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .soc-hero__grid,
  .soc-about-grid,
  .soc-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .soc-side {
    position: static;
  }

  .soc-idea-board {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16.5px;
  }

  .soc-wrap,
  .soc-wrap--narrow,
  .soc-wrap--legal {
    width: calc(100% - 32px);
  }

  .soc-hero {
    padding: 32px 0 40px;
  }

  .soc-hero h1 {
    max-width: none;
  }

  .soc-section {
    padding: 48px 0;
  }

  .soc-hub-grid,
  .soc-card-grid,
  .soc-card-grid--2,
  .soc-pillars,
  .soc-tile-grid,
  .soc-footer-grid {
    grid-template-columns: 1fr;
  }

  .soc-idea--photo {
    grid-template-columns: 1fr;
  }

  .soc-idea__media {
    width: 100%;
    aspect-ratio: 3 / 2;
  }

  .soc-search-row {
    grid-template-columns: 1fr;
  }

  .soc-search-row img {
    height: 180px;
  }

  .soc-kit-swatch {
    grid-template-columns: repeat(2, 1fr);
  }
}
