@import "tailwindcss";

:root {
  --ivory: #f4f0e7;
  --paper: #fffefc;
  --ink: #11100e;
  --orange: #ff4d16;
  --clay: #b7aa9b;
  --sand: #ded7cb;
  --muted: #6d665e;
  --line: rgba(17, 16, 14, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-geist-sans), Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.24;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}

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

.shell {
  width: min(100% - 112px, 1380px);
  margin-inline: auto;
}

.site-header {
  width: min(100% - 112px, 1380px);
  height: 104px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 20;
}

.logo {
  font-size: clamp(1.7rem, 2.7vw, 2.65rem);
  font-weight: 850;
  letter-spacing: -0.07em;
  width: fit-content;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.4vw, 58px);
}

.desktop-nav a,
.footer-grid div a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 550;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--ink);
  transition: right 220ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  right: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 14px;
  font-weight: 650;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.button span,
.text-link span {
  font-size: 1.35em;
  line-height: 1;
  transition: transform 220ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:hover span,
.button:focus-visible span,
.text-link:hover span,
.text-link:focus-visible span {
  transform: translate(4px, -2px);
}

.button-dark {
  background: var(--ink);
  color: white;
  border-radius: 999px;
}

.nav-cta {
  justify-self: end;
  min-width: 230px;
}

.button-orange {
  background: var(--orange);
  color: white;
  box-shadow: 0 10px 28px rgba(255, 77, 22, 0.18);
}

.button-orange:hover,
.button-orange:focus-visible {
  box-shadow: 0 16px 34px rgba(255, 77, 22, 0.26);
  background: #ed3f0b;
}

.mobile-menu {
  display: none;
}

.hero {
  min-height: calc(100vh - 104px);
  min-height: 790px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(600px, 1.1fr);
  gap: 40px;
  align-items: center;
  padding-block: 32px 58px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  animation: rise-in 650ms cubic-bezier(.22,1,.36,1) both;
}

.eyebrow {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 19px;
  border: 1px solid var(--clay);
  border-radius: 999px;
  font-size: 0.9rem;
}

.eyebrow i {
  width: 13px;
  height: 13px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(255, 77, 22, 0.08);
}

.hero h1 {
  max-width: 720px;
  margin: 28px 0 26px;
  font-size: clamp(4rem, 6.6vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.072em;
  font-weight: 820;
}

.hero h1 em {
  color: var(--orange);
  font-style: normal;
}

.hero-copy > p {
  max-width: 560px;
  margin: 0;
  color: #2f2c28;
  font-size: clamp(1.05rem, 1.25vw, 1.3rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-top: 34px;
}

.hero-actions .button {
  min-width: 270px;
}

.text-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 12px 0 8px;
  border-bottom: 1px solid var(--clay);
  font-weight: 650;
}

.method-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 70px;
  color: #33302c;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.72rem;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.method-line i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.system-visual {
  position: relative;
  min-height: 720px;
  animation: fade-in 700ms 120ms ease both;
}

.grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(var(--sand) 1px, transparent 1px),
    linear-gradient(90deg, var(--sand) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black, transparent 72%);
}

.system-stack {
  position: absolute;
  width: min(390px, 55%);
  top: 4%;
  left: 33%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.system-card {
  position: relative;
  z-index: 2;
  min-height: 135px;
  padding: 17px 19px;
  border: 1px solid var(--sand);
  border-radius: 15px;
  background: rgba(255, 254, 252, 0.94);
  box-shadow: 0 12px 30px rgba(17, 16, 14, 0.08);
  transition: transform 250ms ease, border-color 250ms ease;
  animation: card-in 520ms cubic-bezier(.22,1,.36,1) both;
}

.system-card:nth-child(2) { animation-delay: 90ms; }
.system-card:nth-child(3) { animation-delay: 180ms; }
.system-card:nth-child(4) { animation-delay: 270ms; }

.system-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 77, 22, 0.6);
}

.system-card-head {
  display: grid;
  grid-template-columns: 35px 1fr auto;
  align-items: center;
  gap: 10px;
}

.system-card-head strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.system-card-head small {
  color: var(--muted);
  font-size: 0.66rem;
}

.system-card-head small i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.system-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ece5d9;
  font-weight: 700;
}

.mini-ads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 15px;
}

.mini-ads span {
  min-height: 48px;
  display: grid;
  grid-template-columns: 35% 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 5px;
  padding: 8px;
  border: 1px solid #e4ded4;
  border-radius: 8px;
}

.mini-ads b { grid-row: 1 / 3; background: #f0e8db; border-top: 3px solid var(--orange); }
.mini-ads em { height: 4px; align-self: center; background: #d8d0c4; border-radius: 5px; }

.mini-site {
  display: grid;
  grid-template-columns: 36% 1fr;
  gap: 13px;
  margin-top: 15px;
}

.mini-site > div {
  min-height: 54px;
  border-radius: 6px;
  background: linear-gradient(145deg, #e1d8c9 40%, #c9bca8 41%);
}

.mini-site span {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mini-site b { width: 100%; height: 5px; background: #d9d0c2; border-radius: 6px; }
.mini-site b:nth-child(2) { width: 84%; }
.mini-site b:nth-child(3) { width: 62%; }
.mini-site em { width: 42%; height: 12px; margin-top: 3px; background: #a99a84; }

.mini-crm {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.mini-crm span {
  height: 8px;
  background:
    radial-gradient(circle at 4px 4px, #d8d0c4 0 4px, transparent 4px),
    linear-gradient(90deg, transparent 18px, #b9ad9c 18px 58%, transparent 58%, transparent 71%, #d8d0c4 71% 100%);
}

.mini-auto {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.mini-auto span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #d8d0c4;
  border-radius: 8px;
  color: #6f6456;
}

.mini-auto b {
  width: 14px;
  border-top: 1px dashed #b8ab98;
}

.flow-line {
  position: absolute;
  z-index: 4;
  left: 50%;
  height: 23px;
  border-left: 2px solid var(--orange);
}

.flow-line::after {
  content: "";
  position: absolute;
  left: -4px;
  bottom: -1px;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(45deg);
}

.flow-1 { top: 135px; }
.flow-2 { top: 292px; }
.flow-3 { top: 449px; }

.signal-card,
.lead-card,
.next-card {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  border: 1px solid var(--clay);
  border-radius: 12px;
  background: rgba(244, 240, 231, 0.88);
  color: #5e554c;
}

.signal-card {
  left: 7%;
  top: 43%;
  width: 82px;
  height: 86px;
}

.signal-card span,
.lead-card span,
.next-card span {
  font-size: 0.67rem;
}

.signal-card i {
  font-size: 1.25rem;
  font-style: normal;
}

.lead-card {
  right: 0;
  top: 38%;
  width: 92px;
  height: 100px;
}

.lead-card i { font-size: 1.4rem; font-style: normal; }

.next-card {
  right: 0;
  top: 61%;
  width: 92px;
  height: 96px;
}

.next-card i { color: var(--orange); font-size: 1.5rem; font-style: normal; }

.signal-path {
  position: absolute;
  left: 18%;
  right: 11%;
  top: 49%;
  border-top: 2px solid var(--orange);
  animation: draw-line 1s 350ms ease both;
  transform-origin: left;
}

.section {
  padding-block: 130px;
}

.kicker {
  margin: 0 0 22px;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.statement {
  padding: 110px 0;
  background: var(--ink);
  color: white;
}

.statement-grid {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr 0.8fr;
  gap: 70px;
  align-items: start;
}

.statement h2,
.section-head h2,
.outcomes h2,
.about h2,
.fit h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.statement-copy p,
.section-head > p:last-child,
.about-lead,
.final-cta .shell > p {
  margin: 0;
  color: #c8c2b8;
  font-size: 1.05rem;
  line-height: 1.7;
}

.light-link {
  margin-top: 26px;
  border-color: #5b5750;
}

.section-head {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr 0.8fr;
  gap: 70px;
  align-items: start;
  margin-bottom: 72px;
}

.section-head > p:last-child {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 370px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  padding: 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 250ms ease, transform 250ms ease;
}

.service-card:hover {
  background: var(--paper);
}

.service-number {
  color: var(--orange);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.75rem;
}

.service-card h3,
.outcome-list h3,
.process-track h3 {
  margin: 54px 0 18px;
  font-size: clamp(1.8rem, 2.7vw, 3rem);
  letter-spacing: -0.045em;
}

.service-card p,
.outcome-list p,
.process-track p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}

.tags span {
  padding: 8px 12px;
  border: 1px solid var(--sand);
  border-radius: 999px;
  font-size: 0.72rem;
}

.outcomes {
  background: #e5ded2;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 11%;
}

.outcome-list {
  border-top: 1px solid var(--line);
}

.outcome-list article {
  display: grid;
  grid-template-columns: 70px 1fr 1fr;
  gap: 24px;
  padding: 33px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.outcome-list span {
  color: var(--orange);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.7rem;
}

.outcome-list h3 {
  margin: 0;
  font-size: 1.35rem;
}

.outcome-list p {
  font-size: 0.9rem;
}

.process-head {
  margin-bottom: 90px;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
}

.process-track article {
  min-height: 310px;
  position: relative;
  padding: 35px 28px 28px 0;
  border-right: 1px solid var(--line);
}

.process-track article:not(:first-child) {
  padding-left: 28px;
}

.process-track article::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}

.process-track span {
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.72rem;
}

.process-track h3 {
  margin-top: 74px;
  font-size: 2rem;
}

.about {
  background: var(--ink);
  color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 10%;
}

.about-mark {
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 45px;
  border: 1px solid #3b3935;
  border-radius: 3px;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
}

.about-mark span {
  color: var(--orange);
  font-size: clamp(11rem, 22vw, 21rem);
  font-weight: 850;
  line-height: 0.8;
  letter-spacing: -0.12em;
}

.about-mark i {
  color: #bdb6ab;
  font-style: normal;
  font-size: 0.82rem;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.about-copy {
  padding-top: 14px;
}

.about-copy h2 {
  max-width: 790px;
}

.about-lead {
  max-width: 680px;
  margin-top: 40px;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 60px;
  border-top: 1px solid #3b3935;
  border-left: 1px solid #3b3935;
}

.proof-grid div {
  min-height: 155px;
  padding: 26px;
  border-right: 1px solid #3b3935;
  border-bottom: 1px solid #3b3935;
}

.proof-grid strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.proof-grid span {
  color: #9e978d;
  font-size: 0.82rem;
  line-height: 1.5;
}

.fit {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 11%;
}

.fit-copy {
  position: sticky;
  top: 60px;
  align-self: start;
}

.fit h2 {
  font-size: clamp(2.7rem, 4.5vw, 5rem);
}

.fit ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.fit li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 24px;
  padding: 31px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.18rem;
  line-height: 1.45;
}

.fit li span {
  color: var(--orange);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.7rem;
}

.final-cta {
  padding: 140px 0;
  background: #ded6c9;
  text-align: center;
}

.final-cta .shell {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta h2 {
  max-width: 1050px;
}

.final-cta .shell > p {
  max-width: 640px;
  margin-top: 28px;
  color: var(--muted);
}

.final-cta .button {
  min-width: 290px;
  margin-top: 40px;
}

.contact-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.contact-note a {
  border-bottom: 1px solid var(--clay);
}

footer {
  padding: 70px 0 34px;
  background: var(--ink);
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-logo {
  font-size: 2rem;
}

.footer-grid > p {
  margin: 6px 0 0;
  color: #9e978d;
}

.footer-grid div {
  display: flex;
  justify-content: flex-end;
  gap: 26px;
}

.footer-grid small {
  grid-column: 1 / -1;
  margin-top: 70px;
  padding-top: 24px;
  border-top: 1px solid #33312e;
  color: #77716a;
}

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

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes draw-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 1180px) {
  .shell,
  .site-header { width: min(100% - 64px, 1380px); }
  .site-header { gap: 24px; }
  .desktop-nav { gap: 25px; }
  .hero {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 10px;
  }
  .hero h1 { font-size: clamp(3.8rem, 6.5vw, 5.4rem); }
  .system-stack { left: 28%; width: 58%; }
  .statement-grid,
  .section-head { grid-template-columns: 0.4fr 1.25fr 0.7fr; gap: 40px; }
}

@media (max-width: 940px) {
  .site-header {
    height: 82px;
    grid-template-columns: 1fr auto;
  }
  .desktop-nav,
  .nav-cta { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary {
    cursor: pointer;
    list-style: none;
    padding: 10px 16px;
    border: 1px solid var(--clay);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 650;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav {
    position: absolute;
    top: 50px;
    right: 0;
    width: 240px;
    display: flex;
    flex-direction: column;
    padding: 14px;
    border: 1px solid var(--sand);
    background: var(--paper);
    box-shadow: 0 18px 45px rgba(17, 16, 14, 0.12);
  }
  .mobile-menu nav a { padding: 12px; }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 60px;
  }
  .hero-copy { max-width: 760px; }
  .system-visual { min-height: 670px; margin-top: 50px; }
  .system-stack { left: 29%; width: min(390px, 55%); }
  .statement-grid,
  .section-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .statement h2,
  .section-head h2 { max-width: 760px; }
  .statement-copy,
  .section-head > p:last-child { max-width: 550px; }
  .outcomes-grid,
  .about-grid,
  .fit { grid-template-columns: 1fr; gap: 70px; }
  .process-track { grid-template-columns: 1fr 1fr; }
  .process-track article { border-bottom: 1px solid var(--line); }
  .fit-copy { position: static; }
  .about-mark { min-height: 430px; }
  .about-mark span { font-size: 17rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid div { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 640px) {
  .shell,
  .site-header { width: min(100% - 36px, 1380px); }
  .logo { font-size: 1.7rem; }
  .hero { padding-top: 42px; }
  .hero h1 {
    margin-top: 24px;
    font-size: clamp(3.3rem, 16vw, 5rem);
    line-height: 0.91;
  }
  .eyebrow { font-size: 0.75rem; padding: 10px 14px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .hero-actions .button { min-width: 0; }
  .text-link { align-self: flex-start; }
  .method-line { margin-top: 48px; gap: 10px; font-size: 0.61rem; }
  .system-visual { min-height: 570px; margin-inline: -18px; overflow: hidden; }
  .system-stack { width: 280px; left: 14%; gap: 15px; }
  .system-card { min-height: 110px; padding: 13px; }
  .system-card-head { grid-template-columns: 28px 1fr auto; }
  .system-icon { width: 27px; height: 27px; }
  .mini-ads,
  .mini-site,
  .mini-crm,
  .mini-auto { margin-top: 10px; }
  .mini-ads span { min-height: 35px; padding: 5px; }
  .card-auto { min-height: 92px; }
  .flow-1 { top: 110px; height: 15px; }
  .flow-2 { top: 235px; height: 15px; }
  .flow-3 { top: 360px; height: 15px; }
  .signal-card { left: 0; top: 43%; width: 57px; height: 68px; }
  .lead-card,
  .next-card { right: -8px; width: 72px; height: 78px; }
  .lead-card { top: 38%; }
  .next-card { top: 62%; }
  .section { padding-block: 90px; }
  .statement { padding-block: 85px; }
  .statement h2,
  .section-head h2,
  .outcomes h2,
  .about h2,
  .fit h2,
  .final-cta h2 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 330px; padding: 30px 24px; }
  .outcome-list article {
    grid-template-columns: 45px 1fr;
  }
  .outcome-list article p {
    grid-column: 2;
  }
  .process-track { grid-template-columns: 1fr; }
  .process-track article,
  .process-track article:not(:first-child) { min-height: 250px; padding: 30px 0; border-right: 0; }
  .process-track article::before { left: 0; }
  .process-track h3 { margin-top: 52px; }
  .about-mark { min-height: 340px; padding: 28px; }
  .about-mark span { font-size: 13rem; }
  .proof-grid { grid-template-columns: 1fr; }
  .fit li { grid-template-columns: 42px 1fr; gap: 12px; font-size: 1rem; }
  .final-cta { padding: 100px 0; }
  .final-cta .button { min-width: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid div { flex-wrap: wrap; gap: 18px; }
}

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

/* Shared inner pages */
.page-hero {
  padding: 100px 0 110px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: 8%;
  align-items: end;
}

.page-hero h1,
.article-header h1 {
  max-width: 1020px;
  margin: 0;
  font-size: clamp(4rem, 7vw, 7.5rem);
  line-height: 0.91;
  letter-spacing: -0.07em;
}

.page-hero h1 em {
  color: var(--orange);
  font-style: normal;
}

.page-hero-grid > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Contact */
.contact-page-grid {
  display: grid;
  grid-template-columns: 0.58fr 1.42fr;
  gap: 10%;
  align-items: start;
}

.contact-page aside {
  position: sticky;
  top: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.contact-details a,
.contact-details > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.contact-details span {
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-expect {
  margin-top: 48px;
  padding: 25px;
  border: 1px solid var(--sand);
  background: rgba(255, 254, 252, 0.55);
}

.contact-expect ol {
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-form-wrap {
  padding: 44px;
  border: 1px solid var(--sand);
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(17, 16, 14, 0.06);
}

.contact-form-wrap h2,
.contact-modal h2 {
  margin: 0 0 36px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px;
}

.contact-form label,
.editor-page label,
.settings-card label,
.enquiry-card label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form label > span,
.editor-page label > span,
.settings-card label > span,
.enquiry-card label > span {
  font-size: 0.73rem;
  font-weight: 650;
  letter-spacing: 0.05em;
}

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

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--clay);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--orange);
}

.contact-form textarea {
  resize: vertical;
}

.full-field {
  grid-column: 1 / -1;
}

.honeypot {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-action {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.form-action button {
  border: 0;
  cursor: pointer;
}

.form-action button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-message {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.form-message.error { color: #a52c18; }
.form-message.success { color: #376239; }

.floating-contact {
  position: fixed;
  z-index: 45;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px 13px 19px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  box-shadow: 0 12px 35px rgba(17, 16, 14, 0.22);
  cursor: pointer;
}

.floating-contact span {
  font-size: 0.76rem;
  font-weight: 650;
}

.floating-contact b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  font-size: 0.9rem;
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  overflow-y: auto;
  background: rgba(17, 16, 14, 0.72);
  backdrop-filter: blur(6px);
}

.modal-backdrop[hidden] {
  display: none !important;
}

.contact-modal {
  position: relative;
  width: min(780px, 100%);
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  padding: 44px;
  background: var(--ivory);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.contact-modal > p:not(.kicker) {
  max-width: 590px;
  margin: -18px 0 30px;
  color: var(--muted);
  line-height: 1.65;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--clay);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 1.4rem;
}

/* Blog index and article */
.featured-post {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 6%;
  align-items: stretch;
  padding-bottom: 90px;
  border-bottom: 1px solid var(--line);
}

.featured-visual,
.post-card-visual,
.article-image {
  background-color: #e3dbcf;
  background-position: center;
  background-size: cover;
}

.featured-visual {
  min-height: 500px;
  display: grid;
  place-items: end start;
  padding: 32px;
  background-image:
    linear-gradient(rgba(17, 16, 14, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 16, 14, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

.featured-visual span {
  color: var(--orange);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 850;
  line-height: 0.82;
  letter-spacing: -0.075em;
}

.featured-post > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-meta {
  margin: 0 0 22px;
  color: var(--orange);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.featured-post h2,
.post-card h2,
.empty-state h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.featured-post > div > p:not(.post-meta),
.post-card > p:not(.post-meta),
.empty-state > p:not(.kicker) {
  color: var(--muted);
  line-height: 1.65;
}

.featured-post .text-link {
  margin-top: 25px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px 24px;
  padding-top: 90px;
}

.post-card {
  display: block;
}

.post-card-visual {
  min-height: 260px;
  display: grid;
  place-items: end start;
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid var(--sand);
  background-image:
    linear-gradient(135deg, transparent 49%, rgba(255,77,22,.8) 50%, transparent 50.5%),
    linear-gradient(rgba(17, 16, 14, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 16, 14, 0.05) 1px, transparent 1px);
  background-size: 100%, 40px 40px, 40px 40px;
}

.post-card-visual span {
  max-width: 80%;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.post-card h2 {
  font-size: 2rem;
}

.post-tags,
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.post-tags span,
.article-tags span {
  padding: 7px 10px;
  border: 1px solid var(--sand);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.68rem;
}

.empty-state {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.empty-state > p:not(.kicker) {
  max-width: 560px;
}

.article-page {
  padding: 110px 0 130px;
}

.article-header {
  max-width: 1080px;
}

.article-header h1 {
  font-size: clamp(3.5rem, 6.5vw, 7rem);
}

.article-excerpt {
  max-width: 790px;
  margin: 34px 0;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.65;
}

.article-byline {
  display: flex;
  gap: 22px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

.article-image {
  min-height: min(62vw, 740px);
  margin-top: 70px;
}

.article-body {
  width: min(100% - 40px, 780px);
  padding-top: 80px;
}

.markdown-content {
  font-size: 1.08rem;
  line-height: 1.85;
}

.markdown-content p {
  margin: 0 0 1.55em;
}

.markdown-content h2 {
  margin: 1.5em 0 0.55em;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.markdown-content h3 {
  margin: 1.55em 0 0.6em;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.markdown-content ul {
  margin: 0 0 1.7em;
  padding-left: 1.35em;
}

.markdown-content li {
  margin-bottom: 0.65em;
}

.markdown-content blockquote {
  margin: 2em 0;
  padding: 0.3em 0 0.3em 1.2em;
  border-left: 4px solid var(--orange);
  font-size: 1.3rem;
  font-weight: 550;
  line-height: 1.55;
}

.markdown-content a {
  border-bottom: 1px solid var(--orange);
}

.markdown-content code {
  padding: 0.16em 0.35em;
  background: #e4ddd1;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.85em;
}

.article-tags {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.post-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 90px;
}

.post-navigation-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.post-navigation-card:hover,
.post-navigation-card:focus-visible {
  background: var(--ink);
  color: white;
  transform: translateY(-4px);
}

.post-navigation-direction,
.post-navigation-category {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-navigation-card:hover .post-navigation-direction,
.post-navigation-card:hover .post-navigation-category,
.post-navigation-card:focus-visible .post-navigation-direction,
.post-navigation-card:focus-visible .post-navigation-category {
  color: #bbb4aa;
}

.post-navigation-card strong {
  max-width: 560px;
  margin: auto 0 24px;
  font-size: clamp(1.55rem, 2.6vw, 2.7rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.post-navigation-next {
  text-align: right;
  align-items: flex-end;
}

.article-cta {
  padding: 100px 0;
  background: var(--ink);
  color: white;
  text-align: center;
}

.article-cta .shell {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.article-cta h2 {
  max-width: 850px;
  margin: 0 0 38px;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

/* Admin */
.admin-login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  background: #efebe4;
}

.admin-login-card {
  width: min(100%, 520px);
  padding: clamp(30px, 6vw, 58px);
  border: 1px solid #d7d0c5;
  background: white;
  box-shadow: 0 24px 70px rgba(17, 16, 14, 0.09);
}

.admin-login-card .logo {
  display: inline-block;
  margin-bottom: 52px;
  color: var(--ink);
}

.admin-login-card h1 {
  margin: 8px 0 16px;
  font-size: clamp(2.8rem, 8vw, 4.6rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.admin-login-card > p:not(.kicker) {
  margin-bottom: 30px;
  color: var(--muted);
  line-height: 1.6;
}

.admin-login-card form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-login-card label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 650;
}

.admin-login-card input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d8d1c6;
  border-radius: 6px;
  background: #fffefa;
}

.admin-login-error {
  margin-bottom: 22px;
  padding: 12px 14px;
  border-left: 3px solid #c43722;
  background: #fff0ed;
  color: #8b2618;
  font-size: 0.82rem;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 245px 1fr;
  background: #efebe4;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 28px 20px;
  background: var(--ink);
  color: white;
}

.admin-sidebar .logo {
  font-size: 1.7rem;
}

.admin-sidebar > p {
  margin: 6px 0 42px;
  color: #878078;
  font-size: 0.72rem;
}

.admin-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.admin-sidebar nav button {
  display: flex;
  justify-content: space-between;
  padding: 13px 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #b9b3ab;
  text-align: left;
  cursor: pointer;
}

.admin-sidebar nav button:hover,
.admin-sidebar nav button.active {
  background: #272521;
  color: white;
}

.admin-sidebar nav button span {
  color: var(--orange);
}

.admin-user {
  margin-top: auto;
  padding: 15px;
  border-top: 1px solid #34312d;
}

.admin-user span,
.admin-user strong,
.admin-user a {
  display: block;
}

.admin-user span {
  color: #77716a;
  font-size: 0.65rem;
}

.admin-user strong {
  margin: 5px 0 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.78rem;
}

.admin-user a {
  color: #9d968e;
  font-size: 0.7rem;
}

.admin-main {
  min-width: 0;
  padding: 42px clamp(24px, 4vw, 70px) 80px;
}

.admin-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.admin-title-row p {
  margin: 0 0 4px;
  color: var(--orange);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.admin-title-row h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.admin-primary {
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--orange);
  color: white;
  font-weight: 650;
  cursor: pointer;
}

.admin-notice {
  position: sticky;
  z-index: 20;
  top: 16px;
  display: flex;
  justify-content: space-between;
  margin: -20px 0 28px;
  padding: 13px 16px;
  border: 1px solid #d3c8b9;
  background: #fff8e8;
  box-shadow: 0 8px 28px rgba(17,16,14,.1);
  font-size: 0.82rem;
}

.admin-notice button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.admin-loading {
  padding: 80px 0;
  color: var(--muted);
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.admin-toolbar input {
  width: min(430px, 100%);
  padding: 12px 14px;
  border: 1px solid #d5cec3;
  border-radius: 8px;
  background: white;
}

.admin-toolbar span {
  color: var(--muted);
  font-size: 0.72rem;
}

.admin-table {
  border: 1px solid #d7d0c5;
  background: white;
}

.admin-table-head,
.admin-table article {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 110px 120px 180px;
  gap: 18px;
  align-items: center;
  padding: 17px 20px;
}

.admin-table-head {
  border-bottom: 1px solid #ded8ce;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.admin-table article {
  border-bottom: 1px solid #eee9e1;
}

.admin-table article:last-child {
  border-bottom: 0;
}

.admin-table article > div:first-child {
  min-width: 0;
}

.admin-table strong,
.admin-table small {
  display: block;
}

.admin-table strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-table small,
.admin-table time {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
}

.status-badge {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: #e8e4dd;
  color: #665f57;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-badge.published,
.status-badge.qualified,
.status-badge.closed { background: #dcebdd; color: #376239; }
.status-badge.scheduled,
.status-badge.contacted { background: #dfe7f3; color: #385675; }
.status-badge.new { background: #fff0dc; color: #9f531d; }
.status-badge.archived { background: #e5e5e5; color: #777; }

.row-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.row-actions button,
.row-actions a {
  padding: 0;
  border: 0;
  background: transparent;
  color: #5b554e;
  font-size: 0.7rem;
  cursor: pointer;
}

.row-actions .danger-link { color: #a23b2a; }

.admin-empty {
  padding: 50px 20px;
  color: var(--muted);
  text-align: center;
}

.editor-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.editor-actions a {
  font-size: 0.78rem;
  text-decoration: underline;
}

.editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  align-items: start;
}

.editor-main,
.editor-panel,
.settings-card,
.enquiry-card {
  padding: 28px;
  border: 1px solid #d7d0c5;
  background: white;
}

.editor-main {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.editor-page input,
.editor-page textarea,
.editor-page select,
.settings-card input,
.settings-card textarea,
.enquiry-card select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d8d1c6;
  border-radius: 6px;
  outline: none;
  background: #fffefa;
}

.editor-page input:focus,
.editor-page textarea:focus,
.editor-page select:focus,
.settings-card input:focus,
.settings-card textarea:focus {
  border-color: var(--orange);
}

.editor-page label small {
  color: var(--muted);
  font-size: 0.63rem;
  text-align: right;
}

.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.format-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 8px;
  border: 1px solid #d8d1c6;
  border-bottom: 0;
  background: #f4f1eb;
}

.format-toolbar button {
  padding: 6px 9px;
  border: 1px solid #d5cec2;
  border-radius: 4px;
  background: white;
  cursor: pointer;
  font-size: 0.67rem;
}

.content-editor textarea {
  min-height: 470px;
  border-radius: 0 0 6px 6px;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.82rem;
  line-height: 1.7;
}

.live-preview {
  border-top: 1px solid #ddd6ca;
}

.live-preview summary {
  padding: 16px 0 0;
  cursor: pointer;
  font-weight: 650;
}

.live-preview .markdown-content {
  padding-top: 18px;
  font-size: 0.9rem;
}

.editor-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.editor-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.editor-panel h2,
.settings-card h2 {
  margin: 0 0 5px;
  font-size: 1.1rem;
}

.settings-help {
  margin: -2px 0 6px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.check-field {
  flex-direction: row !important;
  align-items: center;
}

.check-field input {
  width: auto;
}

.search-preview {
  padding: 15px;
  border: 1px solid #e0dbd2;
  background: #faf9f6;
}

.search-preview small,
.search-preview strong,
.search-preview span,
.search-preview p {
  display: block;
}

.search-preview strong {
  margin: 8px 0 4px;
  color: #174ea6;
  font-size: 0.88rem;
}

.search-preview span {
  color: #197038;
  font-size: 0.65rem;
}

.search-preview p {
  margin: 7px 0 0;
  color: #5f6368;
  font-size: 0.7rem;
  line-height: 1.4;
}

.enquiry-grid,
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.enquiry-card {
  display: flex;
  flex-direction: column;
}

.enquiry-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.enquiry-head time {
  color: var(--muted);
  font-size: 0.65rem;
}

.enquiry-card h2 {
  margin: 23px 0 5px;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.enquiry-company {
  margin: 0 0 20px !important;
  color: var(--muted);
  font-size: 0.76rem;
}

.enquiry-card > p:not(.enquiry-company) {
  flex: 1;
  color: #4f4a44;
  line-height: 1.6;
}

.enquiry-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 18px 0;
  font-size: 0.8rem;
}

.enquiry-contact a {
  text-decoration: underline;
}

.settings-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.settings-wide {
  grid-column: 1 / -1;
}

.preview-bar {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  justify-content: space-between;
  padding: 12px 24px;
  background: var(--orange);
  color: white;
  font-size: 0.75rem;
}

.preview-bar a {
  text-decoration: underline;
}

.access-denied {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
}

.access-denied > div {
  max-width: 720px;
}

.access-denied h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.access-denied .button {
  margin-top: 25px;
}

@media (max-width: 1000px) {
  .page-hero-grid,
  .contact-page-grid,
  .featured-post {
    grid-template-columns: 1fr;
  }
  .page-hero-grid { gap: 35px; }
  .contact-page-grid { gap: 55px; }
  .contact-page aside { position: static; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .featured-post { gap: 45px; }
  .editor-grid { grid-template-columns: 1fr; }
  .editor-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .seo-panel { grid-column: 1 / -1; }
  .admin-table-head,
  .admin-table article { grid-template-columns: minmax(220px, 1fr) 100px 160px; }
  .admin-table-head span:nth-child(3),
  .admin-table article time { display: none; }
}

@media (max-width: 760px) {
  .page-hero { padding: 70px 0 80px; }
  .page-hero h1 { font-size: clamp(3.4rem, 15vw, 5.5rem); }
  .contact-form-wrap,
  .contact-modal { padding: 28px 20px; }
  .form-grid,
  .post-grid { grid-template-columns: 1fr; }
  .form-action { flex-direction: column; align-items: stretch; }
  .featured-visual { min-height: 360px; }
  .featured-post { padding-bottom: 60px; }
  .post-grid { padding-top: 60px; }
  .article-page { padding-top: 70px; }
  .article-header h1 { font-size: clamp(3.2rem, 14vw, 5.5rem); }
  .post-navigation { grid-template-columns: 1fr; margin-top: 70px; }
  .post-navigation > span { display: none; }
  .post-navigation-card { min-height: 220px; padding: 26px 22px; }
  .post-navigation-next { text-align: left; align-items: flex-start; }
  .floating-contact span { display: none; }
  .floating-contact { padding: 8px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar {
    position: static;
    height: auto;
    padding: 16px;
  }
  .admin-sidebar > p,
  .admin-user { display: none; }
  .admin-sidebar nav {
    flex-direction: row;
    overflow-x: auto;
    margin-top: 14px;
  }
  .admin-sidebar nav button { flex: 0 0 auto; gap: 12px; }
  .admin-main { padding: 28px 16px 60px; }
  .admin-title-row { align-items: flex-start; flex-direction: column; }
  .admin-table-head { display: none; }
  .admin-table article {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .admin-table article .row-actions { grid-column: 1 / -1; }
  .editor-sidebar,
  .enquiry-grid,
  .settings-grid,
  .two-fields { grid-template-columns: 1fr; }
  .settings-wide,
  .seo-panel { grid-column: auto; }
}
