/* Quick Wins — site styles
   Inspiration: apple.com, stripe.com, linear.app
*/

@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable-Italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter Display";
  src: url("../fonts/InterDisplay-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter Display";
  src: url("../fonts/InterDisplay-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter Display";
  src: url("../fonts/InterDisplay-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-dark: #000000;
  --text: #1d1d1f;
  --text-soft: #6e6e73;
  --text-faint: #86868b;
  --text-on-dark: #f5f5f7;
  --text-on-dark-soft: #a1a1a6;
  --accent: #0071e3;
  --accent-hover: #147ce5;
  --accent-press: #006edb;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.16);
  --line-dark: rgba(255, 255, 255, 0.12);
  --nav-h: 52px;
  --max: 980px;
  --max-wide: 1120px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: "Inter Display", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.04);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.47;
  letter-spacing: -0.011em;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
}

.skip:focus {
  top: 0.75rem;
}

/* ---------- Layout ---------- */

.wrap {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.wrap-wide {
  width: min(var(--max-wide), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.section {
  padding: clamp(4.5rem, 10vw, 8.5rem) 0;
}

.section-tight {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.band-alt {
  background: var(--bg-alt);
}

.band-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}

/* Subtle grid motif */

.grid-bg,
.band-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 15%, transparent 72%);
  pointer-events: none;
}

.hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-visual .grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 42%, #000 10%, transparent 68%);
}

.hero-visual .glow {
  position: absolute;
  width: 60vw;
  height: 40vw;
  left: 20%;
  top: 8%;
  background: radial-gradient(ellipse, rgba(0, 113, 227, 0.07), transparent 65%);
  filter: blur(10px);
}

/* ---------- Type ---------- */

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: inherit;
}

.display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  font-size: clamp(3.15rem, 9.2vw, 6.35rem);
}

.display-sm {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.02;
  font-size: clamp(2.15rem, 5.4vw, 3.6rem);
}

.eyebrow {
  display: block;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 590;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 1rem;
}

.band-dark .eyebrow {
  color: var(--text-on-dark-soft);
}

.lead {
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--text-soft);
  font-weight: 400;
}

.lead-tight {
  max-width: 34em;
}

.center {
  text-align: center;
}

.center .lead-tight,
.center .kicker-block {
  margin-inline: auto;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.muted {
  color: var(--text-soft);
}

.fine {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-soft);
  letter-spacing: -0.01em;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid var(--line);
}

/* Blur lives on a pseudo-element so the fixed mobile menu is not trapped inside the header */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.03em;
}

.logo:hover {
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text);
  font-size: 12.5px;
  font-weight: 450;
  letter-spacing: -0.01em;
  text-decoration: none;
  padding: 0.2rem 0;
  opacity: 0.88;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  opacity: 1;
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  font-weight: 590;
}

.nav-links .btn {
  margin-left: 0.4rem;
  height: 28px;
  padding: 0 12px;
  font-size: 12px;
}

.nav-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  border-radius: 8px;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  position: absolute;
  left: 12px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle span {
  top: 19px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  left: 0;
}

.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}
body.menu-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 980px;
  background: var(--accent);
  color: #fff !important;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  text-decoration: none !important;
  border: 0;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.btn:hover {
  background: var(--accent-hover);
}

.btn:active {
  background: var(--accent-press);
  transform: scale(0.98);
}

.btn-light {
  background: #fff;
  color: var(--text) !important;
}

.btn-light:hover {
  background: #f5f5f7;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 1.85rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--accent);
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.text-link .arrow {
  font-weight: 400;
  transition: transform 0.2s var(--ease);
}

.text-link:hover .arrow {
  transform: translateX(2px);
}

.band-dark .text-link {
  color: #2997ff;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(4.75rem, 14vh, 8.75rem) 0 clamp(5.5rem, 16vh, 9.5rem);
  text-align: center;
}

.hero .display {
  margin-bottom: 1.15rem;
}

.hero .lead {
  max-width: 38rem;
  margin-inline: auto;
}

.section-follow {
  padding-bottom: clamp(3.25rem, 6vw, 5rem);
}

.page-hero {
  padding: clamp(3.75rem, 10vh, 6.5rem) 0 clamp(3rem, 7vh, 4.5rem);
  text-align: left;
}

.page-hero .lead {
  max-width: 28em;
  margin-top: 1.1rem;
}

/* ---------- Cards / splits ---------- */

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.tile {
  padding: 0.25rem 0.15rem;
}

.tile .num {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 590;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  margin-bottom: 1.15rem;
}

.tile h3 {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}

.tile p {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.5;
}

.rule-top {
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.split h2 {
  max-width: 8em;
}

.statement {
  position: relative;
  z-index: 1;
}

.statement .display-sm {
  max-width: 12em;
}

.statement .lead {
  color: var(--text-on-dark-soft);
  margin-top: 1.35rem;
  max-width: 28em;
}

/* Audience pills */

.pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.pill {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.75rem 1.6rem 1.7rem;
}

.pill h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.pill p {
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.5;
}

/* Placeholder blocks */

.placeholder-flag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 590;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.band-dark .placeholder-flag {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-on-dark-soft);
}

.placeholder-card {
  border: 1px dashed var(--line-strong);
  border-radius: 22px;
  padding: 2rem 1.85rem;
  background: rgba(255, 255, 255, 0.55);
}

.placeholder-card blockquote {
  margin: 0.85rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--text-faint);
}

.placeholder-card .attr {
  margin-top: 1rem;
  color: var(--text-faint);
  font-size: 14px;
}

/* CTA band */

.cta-band h2 {
  margin-bottom: 0.85rem;
}

/* ---------- Footer ---------- */

.footer {
  margin-top: auto;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 2.75rem 0 2.4rem;
  color: var(--text-soft);
  font-size: 12.5px;
  letter-spacing: -0.01em;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.15rem;
}

.footer .logo {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 0.55rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.35rem;
}

.footer-nav a {
  color: var(--text-soft);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--text);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer a[href^="mailto"] {
  color: var(--text-soft);
}

/* ---------- Services ---------- */

.service-list {
  display: flex;
  flex-direction: column;
}

.service-row {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.5rem;
  padding: 2.6rem 0;
  border-top: 1px solid var(--line);
}

.service-row:last-child {
  border-bottom: 1px solid var(--line);
}

.service-row h2 {
  font-size: clamp(1.6rem, 3vw, 2.05rem);
  margin-bottom: 0.7rem;
}

.service-row p {
  color: var(--text-soft);
  max-width: 38em;
}

/* ---------- About ---------- */

.bio {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 38em;
}

.legal-box {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 15px;
}

/* ---------- Blog ---------- */

.post-list {
  display: flex;
  flex-direction: column;
}

.post-item {
  display: block;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.post-item:last-child {
  border-bottom: 1px solid var(--line);
}

.post-item:hover {
  text-decoration: none;
}

.post-item h2 {
  font-size: 1.55rem;
  margin: 0.55rem 0 0.5rem;
  color: var(--text);
}

.post-item:hover h2 {
  color: var(--accent);
}

.post-item p {
  color: var(--text-soft);
  max-width: 40em;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  color: var(--text-faint);
  font-size: 13px;
}

.article {
  padding-bottom: clamp(4.5rem, 10vw, 8rem);
}

.article-header {
  padding: clamp(3.5rem, 9vh, 5.75rem) 0 2rem;
}

.article-header h1 {
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  letter-spacing: -0.04em;
  max-width: 16em;
  margin: 0.65rem 0 0.9rem;
}

.article-body {
  max-width: 38em;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
}

.article-body h2 {
  font-size: 1.28rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin: 2.15rem 0 0.8rem;
}

.article-body ul {
  margin: 0 0 1.25rem;
  padding-left: 1.2em;
}

.article-body li {
  margin: 0 0 0.5rem;
  line-height: 1.55;
}

.article-body li:last-child {
  margin-bottom: 0;
}

.article-body .placeholder-note {
  background: var(--bg-alt);
  border-radius: 16px;
  padding: 1rem 1.15rem;
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 1.75rem;
}

/* ---------- Contact / forms ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.25rem, 6vw, 4.5rem);
  align-items: start;
}

.contact-points {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.contact-points li {
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

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

.contact-points .label {
  display: block;
  font-size: 12px;
  font-weight: 590;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.3rem;
}

.contact-points a {
  color: var(--text);
  font-weight: 500;
}

.form {
  display: grid;
  gap: 1rem;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  letter-spacing: -0.011em;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

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

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}

.form-note {
  font-size: 13px;
  color: var(--text-soft);
}

.form-success {
  display: none;
  background: var(--bg-alt);
  border-radius: 16px;
  padding: 1.15rem 1.2rem;
  font-size: 15.5px;
}

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

.form.is-sent .form-fields {
  display: none;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal.is-in,
html.is-static .reveal {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .text-link .arrow,
  .btn {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

br.break-desktop { display: none; }
br.break-mobile { display: block; }
@media (min-width: 861px) {
  br.break-desktop { display: block; }
  br.break-mobile { display: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .trio,
  .pills,
  .split,
  .contact-grid,
  .service-row,
  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .split h2 {
    max-width: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem var(--pad) 2rem;
    gap: 0;
    overflow: auto;
  }

  body.menu-open .nav-links {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a {
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 1.5rem;
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: -0.03em;
    padding: 1rem 0;
    opacity: 1;
  }

  .nav-links .btn {
    margin: 1.25rem 0 0;
    height: 44px;
    padding: 0 20px;
    font-size: 17px;
    width: auto;
  }

  .nav-links li.nav-cta {
    border-bottom: 0;
  }

  .hero {
    text-align: left;
    padding-top: 3.5rem;
  }

  .hero .lead {
    margin-inline: 0;
  }

  .hero .btn-row {
    justify-content: flex-start !important;
  }

  .hero {
    padding-bottom: 3.75rem;
  }

  .service-row {
    gap: 0.65rem;
    padding: 2rem 0;
  }

  .footer-top {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .display {
    font-size: clamp(2.45rem, 11.1vw, 3.05rem);
  }

  .btn-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .center .btn-row {
    align-items: center;
  }
}


/* ---------- Photography ---------- */

.hero--photo {
  min-height: min(86vh, 800px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark);
  overflow: hidden;
}

.hero--photo .hero-visual {
  pointer-events: none;
}

.hero--photo .hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 42%;
}

.hero--photo .hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.42) 46%, rgba(0, 0, 0, 0.62) 100%);
}

.hero--photo .wrap {
  position: relative;
  z-index: 1;
}

.hero--photo .lead {
  color: rgba(245, 245, 247, 0.86);
}

.hero--photo .text-link {
  color: #f5f5f7;
}

.hero--photo .text-link:hover {
  color: #fff;
}

.page-visual,
.article-cover {
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  width: min(var(--max), calc(100% - var(--pad) * 2));
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-alt);
}

.page-visual {
  width: min(var(--max-wide), calc(100% - var(--pad) * 2));
}

.page-visual img,
.article-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.service-row {
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2.4rem, 5vw, 3.75rem) 0;
}

.service-row:nth-child(even) .service-visual {
  order: -1;
}

.service-copy .num {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 0.85rem;
}

.service-visual {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-alt);
}

.service-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.post-item {
  display: grid;
  grid-template-columns: minmax(10.5rem, 13.5rem) 1fr;
  gap: 1.15rem 1.75rem;
  align-items: center;
}

.post-thumb {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-alt);
}

.post-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.post-item h2 {
  margin-top: 0.35rem;
}

@media (max-width: 860px) {
  .hero--photo {
    min-height: min(78vh, 640px);
    text-align: left;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .service-row:nth-child(even) .service-visual {
    order: 0;
  }

  .service-visual img,
  .page-visual img,
  .article-cover img {
    aspect-ratio: 16 / 10;
  }

  .post-item {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    padding: 1.75rem 0;
  }

  .post-thumb img {
    aspect-ratio: 16 / 9;
  }
}
