@font-face {
  font-family: "Google Sans Flex";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/google-sans-flex-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Google Sans Flex";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/google-sans-flex-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --menu-background: #f5f0db;
  --page-background: #fdf9ea;
  /* Keep the centered layout stable when a panel adds vertical scrolling. */
  overflow-y: scroll;
  color-scheme: light;
  font-family: "Google Sans Flex", sans-serif;
  color: #6a603d;
  background: var(--page-background);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.6;
}

.intro {
  --logo-size: 50px;
  --intro-gap: 10px;
  --panel-width: 1100px;

  display: grid;
  grid-template-columns: var(--logo-size) minmax(0, 1fr);
  gap: var(--intro-gap);
  width: max-content;
  min-width: min(calc(var(--panel-width) + var(--logo-size) + var(--intro-gap)), calc(100% - 32px));
  max-width: calc(100% - 32px);
  margin: 72px auto 80px;
}

.intro__brand {
  position: relative;
  display: block;
  width: var(--logo-size);
  height: var(--logo-size);
  border-radius: 50%;
}

.intro__brand:focus-visible {
  outline: 2px solid #3152b4;
  outline-offset: 4px;
}

.intro__logo {
  display: block;
  width: var(--logo-size);
  height: var(--logo-size);
}

.brand-popover {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 3;
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--menu-background);
  box-shadow: 0 6px 18px rgb(106 96 61 / 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  --popover-shown: translate(-50%, 0);
  transform: translate(-50%, -6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}

/* Notch pointing up at the logo. */
.brand-popover::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 2px 0 0;
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
}

.brand-popover img {
  position: relative;
  display: block;
  width: 108px;
  height: 11px;
}

.intro__brand:focus-visible .brand-popover,
.site-header__brand:focus-visible .brand-popover {
  opacity: 1;
  visibility: visible;
  transform: var(--popover-shown);
  transition-delay: 0s;
}

@media (hover: hover) {
  .intro__brand:hover .brand-popover,
  .site-header__brand:hover .brand-popover {
    opacity: 1;
    visibility: visible;
    transform: var(--popover-shown);
    transition-delay: 0s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-popover,
  :is(.intro__brand, .site-header__brand):is(:hover, :focus-visible) .brand-popover {
    transform: var(--popover-shown);
  }
}

.intro__content {
  position: relative;
  min-width: 0;
}

.statement {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin: 0;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.24;
}

.statement__button {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 50px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.statement__button--services {
  padding-inline: 15px;
}

.statement__button--services[aria-expanded="true"] {
  background: var(--menu-background);
}

.statement__button--experience {
  --button-padding: 6px;
  margin-left: 8px;
}

.statement__button--3d {
  /* Derinlik = buton yüksekliği (50px): yandan bakınca kesit kare görünür. */
  --prism-half-depth: 25px;
  position: relative;
  padding: 0;
  perspective: 1200px;
}

.statement__prism {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  pointer-events: none;
  transform-style: preserve-3d;
  transform: translateZ(calc(-1 * var(--prism-half-depth)));
}

.statement__face,
.statement__prism::before,
.statement__prism::after {
  position: absolute;
  backface-visibility: hidden;
  background: var(--menu-background);
}

.statement__face--front {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0 var(--button-padding, 10px);
  border-radius: inherit;
  background: var(--page-background);
  transform: translateZ(var(--prism-half-depth));
  transition: background-color 0.2s ease;
}


.statement__face--back {
  inset: 0;
  border-radius: inherit;
  transform: rotateX(180deg) translateZ(var(--prism-half-depth));
}

.statement__face--left,
.statement__face--right {
  top: 0;
  width: calc(2 * var(--prism-half-depth));
  height: 100%;
  background: #d8cfad;
}

.statement__face--left {
  left: 0;
  transform: translateX(-50%) rotateY(-90deg);
}

.statement__face--right {
  right: 0;
  transform: translateX(50%) rotateY(90deg);
}

.statement__prism::before,
.statement__prism::after {
  content: "";
  left: 0;
  width: 100%;
  height: calc(2 * var(--prism-half-depth));
  background: #e6dec1;
}

.statement__prism::before {
  top: 0;
  transform: translateY(-50%) rotateX(90deg);
}

.statement__prism::after {
  bottom: 0;
  transform: translateY(50%) rotateX(-90deg);
}

@keyframes statement-prism-spin {
  from {
    transform: translateZ(calc(-1 * var(--prism-half-depth))) rotateX(0deg);
  }
  to {
    transform: translateZ(calc(-1 * var(--prism-half-depth))) rotateX(360deg);
  }
}

.statement__button:focus-visible {
  outline: 2px solid #3152b4;
  outline-offset: -2px;
}

.statement__word {
  margin-left: 8px;
  white-space: nowrap;
}

.statement__arrow,
.statement__sparkle,
.statement__hourglass {
  display: block;
  flex: none;
}

.statement__arrow {
  width: 18px;
  height: 15px;
  color: #b6ad8c;
}

.statement__sparkle {
  width: 35px;
  height: 34px;
  fill: currentColor;
}

.statement__hourglass {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.noscript-message {
  margin: 16px 0;
  font-size: 14px;
}

/* Panels float over the content below (note, blog) instead of pushing it down; with no top/left they stay right under the menu. */
.panel {
  position: absolute;
  z-index: 30;
  margin-top: 8px;
  border-radius: 16px;
  background: var(--menu-background);
  box-shadow: 0 18px 40px rgb(106 96 61 / 0.16);
}

.panel__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #6a603d;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.panel__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.panel__close:hover {
  background: #ff6d00;
  color: #fff;
}

.panel__close:focus-visible {
  outline: 2px solid #3152b4;
  outline-offset: 2px;
}


.panel--services {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  width: 336px;
  max-width: 100%;
  margin-top: 12px;
  padding: 48px 12px 16px;
  color: #5f5943;
}

.service {
  --service-pad-x: 12px;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 16px var(--service-pad-x);
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

/* Orange icon zone: left padding + icon + half the gap. */
.service::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -1;
  width: calc(var(--service-pad-x) + 28px + 6px);
  border-radius: inherit;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  background: #ff6d00;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.service:hover,
.service:focus-visible {
  background-color: #fff;
}

.service:hover::before,
.service:focus-visible::before {
  opacity: 1;
}

.service:hover .service__icon,
.service:focus-visible .service__icon {
  fill: #fff;
  transform: translateX(calc((6px - var(--service-pad-x)) / 2));
}

.service:focus-visible {
  outline: 2px solid #3152b4;
  outline-offset: 2px;
}

.service__icon {
  display: block;
  flex: none;
  width: 28px;
  height: 28px;
  fill: #ff6d00;
  transition: fill 0.2s ease, transform 0.25s ease;
}

.service__content {
  min-width: 0;
}

.service h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.service p {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

:root:has(dialog[open]) {
  overflow: hidden;
  scrollbar-gutter: stable;
}

.panel--ai {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 100;
  width: min(1100px, calc(100vw - 32px));
  max-height: min(82dvh, 820px);
  margin: 0;
  padding: 0;
  border: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: #d4c9a7 transparent;
  color: #6a603d;
  transform: translate(-50%, -50%);
}

.panel--ai::backdrop {
  background: rgb(42 38 27 / 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.panel--ai > .panel__close {
  position: sticky;
  top: 8px;
  float: right;
  margin: 8px 8px -36px 0;
}

.orchestra {
  --orchestra-ink: #514a35;
  --orchestra-soft: #8e8567;
  --orchestra-line: #e4dcc0;
  padding: 36px;
  color: var(--orchestra-ink);
}

.orchestra__intro {
  max-width: 680px;
  margin-top: 36px;
  padding-right: 36px;
}

.orchestra__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--orchestra-soft);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.orchestra__pulse,
.orchestra-engine__live i,
.orchestra-model i {
  display: inline-block;
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6d00;
  box-shadow: 0 0 0 3px rgb(255 109 0 / 0.12);
}

.orchestra__pulse {
  animation: orchestra-pulse 2s ease-out infinite;
}

.orchestra__title {
  margin: 14px 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.orchestra__title span,
.orchestra-engine__copy h3 span {
  color: #a59a75;
}

.orchestra__summary {
  max-width: 620px;
  margin: 0;
  color: #746c53;
  font-size: 14px;
  line-height: 1.7;
}

.orchestra__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 36px 0 24px;
  padding: 44px 0 0;
  list-style: none;
}

.orchestra__steps::before {
  position: absolute;
  top: 17px;
  right: 12.5%;
  left: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, #ff6d00 0%, #e8c99a 45%, #ff6d00 100%);
  background-size: 200% 100%;
  content: "";
  animation: orchestra-flow 4s linear infinite;
}

.orchestra-step {
  position: relative;
  min-width: 0;
  padding: 18px;
  border: 1px solid #e8e0c8;
  border-radius: 14px;
  background: rgb(255 255 255 / 0.45);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.orchestra-step:hover {
  transform: translateY(-3px);
  border-color: #e6b17c;
  box-shadow: 0 10px 24px rgb(106 96 61 / 0.08);
}

.orchestra-step__number {
  position: absolute;
  top: -44px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #f0c99e;
  border-radius: 50%;
  background: #fffaf0;
  color: #e66200;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 0 0 5px var(--menu-background);
  transform: translateX(-50%);
}

.orchestra-step--build {
  border-color: rgb(255 109 0 / 0.42);
  background: linear-gradient(155deg, #fffaf0, #f8efd9);
  box-shadow: 0 8px 26px rgb(106 96 61 / 0.08);
}

.orchestra-step--build .orchestra-step__number {
  border-color: #ff6d00;
  background: #ff6d00;
  color: #fff;
}

.orchestra-step__eyebrow {
  margin: 0 0 8px;
  color: #a59a75;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.orchestra-step h3 {
  margin: 0 0 12px;
  color: var(--orchestra-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.orchestra-step > p:not(.orchestra-step__eyebrow) {
  margin: 0;
  color: #756d55;
  font-size: 14px;
  line-height: 1.65;
}

.orchestra-step__tag {
  display: inline-flex;
  margin-top: 16px;
  padding: 8px 10px;
  border-radius: 7px;
  background: #f0ead8;
  color: #72694f;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.orchestra-step--build .orchestra-step__tag {
  background: rgb(255 109 0 / 0.1);
  color: #b94f00;
}

.orchestra-step__cycle {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 12px;
  color: #a24b0b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.orchestra-step__cycle span {
  padding: 6px 8px;
  border: 1px solid rgb(255 109 0 / 0.18);
  border-radius: 5px;
  background: #fffaf1;
}

.orchestra-step__cycle i {
  color: #ff6d00;
  font-size: 14px;
  font-style: normal;
  animation: orchestra-cycle 1.5s ease-in-out infinite;
}

.orchestra-step > .orchestra-step__small {
  margin-top: 9px !important;
  color: #8a8061 !important;
  font-size: 14px !important;
}

.orchestra-engine {
  display: grid;
  grid-template-columns: minmax(200px, 0.8fr) minmax(0, 1.5fr);
  align-items: center;
  gap: 24px;
  padding: 26px;
  border: 1px solid #e5dcc0;
  border-radius: 16px;
  background: linear-gradient(115deg, rgb(255 255 255 / 0.58), rgb(245 240 219 / 0.82));
}

.orchestra-engine__copy h3 {
  margin: 12px 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.orchestra-engine__copy > p:not(.orchestra__eyebrow) {
  margin: 0;
  color: #746c53;
  font-size: 14px;
  line-height: 1.7;
}

.orchestra-engine__copy .orchestra-engine__note {
  margin-top: 12px;
  color: #9c9274;
  font-size: 14px;
}

.orchestra-engine__visual {
  display: grid;
  gap: 28px;
  min-width: 0;
}

.orchestra-engine__routing {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  gap: 56px;
  min-height: 270px;
  padding: 0 6px;
}

.orchestra-engine__wires {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.orchestra-engine__wires path {
  fill: none;
  stroke: url(#orchestra-wire);
  stroke-width: 2;
  stroke-dasharray: 5 7;
  animation: orchestra-dash 1.2s linear infinite;
}

.orchestra-engine__wire--mobile {
  display: none;
}

.orchestra-engine__models {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.orchestra-engine__media-routing {
  position: relative;
  padding-top: 56px;
}

.orchestra-engine__media-routing > .orchestra-engine__wires {
  top: -28px;
  height: calc(100% + 28px);
}

.orchestra-engine__media .orchestra-engine__models {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 32px;
}

.orchestra-engine__media .orchestra-model i {
  background: #ff6d00;
  animation: orchestra-pulse 1.8s ease-out infinite;
}

.orchestra-engine__media .orchestra-model:nth-child(2) i {
  animation-delay: 0.3s;
}

.orchestra-engine__media .orchestra-model:nth-child(3) i {
  animation-delay: 0.6s;
}

.orchestra-engine__media .orchestra-model:nth-child(4) i {
  animation-delay: 0.9s;
}

.orchestra-model {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 34px;
  padding: 10px 8px;
  border: 1px solid #e9dfc5;
  border-radius: 8px;
  background: #fffdf6;
  color: #635b44;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.orchestra-model__logo {
  display: block;
  flex: none;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.orchestra-model > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.orchestra-model i {
  width: 5px;
  height: 5px;
  background: #a39a7d;
  box-shadow: none;
}

.orchestra-model:nth-child(2) i {
  background: #ff6d00;
  animation: orchestra-pulse 1.8s ease-out infinite;
}

.orchestra-engine__pedestal {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: center;
  min-width: min(360px, 100%);
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid #dcd1b0;
  border-top: 3px solid #ff6d00;
  border-radius: 9px 9px 12px 12px;
  background: linear-gradient(180deg, #fffdf7, #f4eedc);
  box-shadow: 0 6px 0 #e5dcc2, 0 12px 20px rgb(78 67 37 / 0.12);
}

.orchestra-engine__mark {
  display: block;
  flex: none;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.orchestra-engine__pedestal strong,
.orchestra-engine__pedestal small {
  display: block;
}

.orchestra-engine__pedestal strong {
  font-size: 14px;
  line-height: 1.4;
}

.orchestra-engine__pedestal small {
  margin-top: 3px;
  color: #8b8164;
  font-size: 14px;
}

.orchestra-engine__live {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: #857b5e;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.orchestra-engine__live i {
  width: 5px;
  height: 5px;
  animation: orchestra-pulse 1.8s ease-out infinite;
}

.orchestra-payment {
  margin-top: 20px;
  color: #83795c;
  font-size: 14px;
}

.orchestra-payment summary {
  width: fit-content;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: #c8b991;
  text-underline-offset: 3px;
}

.orchestra-payment p {
  max-width: 780px;
  margin: 12px 0 0;
  color: #756d55;
  font-size: 14px;
  line-height: 1.7;
}

@keyframes orchestra-flow {
  to { background-position: 200% 0; }
}

@keyframes orchestra-dash {
  to { stroke-dashoffset: -24; }
}

@keyframes orchestra-pulse {
  0% { box-shadow: 0 0 0 0 rgb(255 109 0 / 0.26); }
  70%, 100% { box-shadow: 0 0 0 6px rgb(255 109 0 / 0); }
}

@keyframes orchestra-cycle {
  50% { transform: translateX(2px); }
}

@media (max-width: 700px) {
  .panel--ai {
    max-height: min(78dvh, 720px);
  }

  .orchestra {
    padding: 28px 18px 24px;
  }

  .orchestra__intro {
    padding-right: 28px;
  }

  .orchestra__title {
    font-size: clamp(23px, 7vw, 30px);
  }

  .orchestra__summary {
    font-size: 14px;
  }

  .orchestra__steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin: 32px 0 24px;
    padding: 0 0 0 44px;
  }

  .orchestra__steps::before {
    top: 18px;
    bottom: 18px;
    left: 17px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, #ff6d00, #e8c99a 50%, #ff6d00);
    background-size: 100% 200%;
    animation-name: orchestra-flow-vertical;
  }

  .orchestra-step {
    padding: 18px 16px;
  }

  .orchestra-step__number {
    top: 12px;
    left: -44px;
    transform: none;
  }

  .orchestra-step__eyebrow {
    margin-bottom: 6px;
  }

  .orchestra-step h3 {
    font-size: 15px;
  }

  .orchestra-step > p:not(.orchestra-step__eyebrow) {
    font-size: 14px;
  }

  .orchestra-engine {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 20px 16px;
  }

  .orchestra-engine__copy h3 {
    font-size: 19px;
  }

  .orchestra-engine__routing {
    min-height: 400px;
    padding-inline: 0;
  }

  .orchestra-engine__routing .orchestra-engine__models {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .orchestra-engine__wire--desktop {
    display: none;
  }

  .orchestra-engine__wire--mobile {
    display: block;
  }

  .orchestra-model {
    flex-direction: column;
    gap: 6px;
    padding: 10px 4px;
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .orchestra-engine__pedestal {
    min-width: 0;
    width: min(330px, 100%);
    padding-inline: 9px;
  }

  .orchestra-engine__live {
    display: none;
  }
}

@keyframes orchestra-flow-vertical {
  to { background-position: 0 200%; }
}

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

/* Experience: a narrow card centred under its button (left and --notch-x set by script.js → placePanel). */
.panel--experience {
  width: 336px;
  max-width: 100%;
  margin-top: 12px;
  padding: 20px;
  color: #6a603d;
}

:is(.panel--experience, .panel--services)::before {
  position: absolute;
  top: -6px;
  left: var(--notch-x, 50%);
  width: 12px;
  height: 12px;
  border-radius: 2px 0 0;
  background: inherit;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.bio p {
  margin: 0;
}

.bio__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 28px;
}

.bio__avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
}

.bio__name {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.bio__role {
  color: var(--muted, #b6ad8c);
  font-size: 14px;
  font-weight: 500;
}

.bio__lead {
  margin-top: 18px !important;
  font-size: 14px;
  line-height: 1.7;
}

.bio__timeline {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid #ece5c9;
  font-size: 14px;
  font-weight: 500;
  list-style: none;
}

.bio__timeline li {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  column-gap: 12px;
}

.bio__timeline span {
  color: #b6ad8c;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.bio__note {
  margin-top: 16px !important;
  padding: 14px;
  border-radius: 10px;
  background: rgb(255 109 0 / 0.08);
  font-size: 14px;
  line-height: 1.65;
}

.bio__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.bio__tags li {
  padding: 6px 10px;
  border-radius: 999px;
  background: #fdf9ea;
  font-size: 14px;
  font-weight: 500;
}

.bio__links {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}

.bio__link {
  display: inline-block;
  color: #ff6d00;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.bio__link:hover {
  text-decoration: underline;
}

.panel[hidden] {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.statement__button--3d[aria-expanded="true"] .statement__face--front {
  background: var(--menu-background);
}

.statement__button:not(.statement__button--3d).is-guided:not([aria-expanded="true"]),
.statement__button--3d.is-guided .statement__face--front {
  background: var(--menu-background);
}

.statement__button:not(.statement__button--3d),
.statement__face--front {
  transition: background-color 0.2s ease;
}

/* Hover-to-open progress line */
.statement__button {
  position: relative;
}

.statement__button::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 5px;
  left: 10px;
  z-index: 2;
  height: 2px;
  border-radius: 1px;
  background: #ff6d00;
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  pointer-events: none;
}

.statement__button.is-dwelling::after {
  opacity: 1;
  transform: scaleX(1);
  transition: transform var(--dwell-duration, 2s) linear;
}

@media (prefers-reduced-motion: no-preference) {
  .statement__button.is-guided .statement__arrow {
    animation: statement-arrow-nudge 550ms ease-in-out 2;
  }
}

@keyframes statement-arrow-nudge {
  50% {
    transform: translateY(4px);
  }
}

@media (hover: hover) {
  .statement__button:not(.statement__button--3d):hover:not([aria-expanded="true"]),
  .statement__button--3d:hover .statement__face--front {
    background: var(--menu-background);
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .statement__button--3d.is-spinning {
    z-index: 1;
  }

  .statement__button--3d.is-spinning .statement__prism {
    animation: statement-prism-spin 900ms cubic-bezier(0.45, 0, 0.55, 1);
  }
}

@media (min-width: 1280px) {
  .statement__button--ai[aria-expanded="true"] {
    border-radius: 8px 8px 0 0;
  }

  .panel--ai {
    margin-top: 0;
  }

}

@media (hover: hover) and (min-width: 1280px) {
  .statement:has(.statement__button--ai[aria-expanded="true"]) .statement__button:hover:not([aria-expanded="true"]) {
    border-radius: 8px 8px 0 0;
  }
}

@media (max-width: 700px) {
  .intro {
    display: block;
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 32px 16px 48px;
  }

  .intro__brand {
    margin: 0 auto 16px;
  }

  /* Popover opens to the right of the centered logo, notch pointing left. */
  .brand-popover {
    --popover-shown: translate(0, -50%);
    top: 50%;
    left: calc(100% + 14px);
    transform: translate(-6px, -50%);
  }

  .brand-popover::before {
    top: 50%;
    left: -6px;
    border-radius: 0 0 0 2px;
    transform: translateY(-50%) rotate(45deg);
  }

  .statement {
    justify-content: center;
    width: 100%;
    text-align: center;
    font-size: clamp(19px, 5.5vw, 25px);
  }

  .statement__button {
    max-width: 100%;
    height: auto;
    min-height: 48px;
    padding-block: 8px;
    white-space: normal;
  }

  .statement__button span {
    min-width: 0;
  }

  .statement__button--services {
    padding-inline: 5px;
  }

  .statement__button--ai {
    --button-padding: 4px;
  }

  .statement__button--3d {
    padding-block: 0;
  }

  .statement__face--front {
    min-height: 48px;
    padding-block: 8px;
  }

}

/* Opening intro */
html.is-intro .intro {
  visibility: hidden;
}

.statement__button > span:not(.statement__prism),
.statement__face--front > span,
.statement__arrow,
.statement__word {
  transition: opacity 0.6s ease;
}

html.is-intro :is(.statement__button > span:not(.statement__prism), .statement__face--front > span, .statement__arrow, .statement__word),
html.is-intro-reveal :is(.statement__button > span:not(.statement__prism), .statement__face--front > span, .statement__arrow, .statement__word) {
  opacity: 0;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 10;
  overflow: hidden;
  background: var(--page-background);
}

.splash__item {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  opacity: 0;
  transform-origin: center;
  will-change: transform, opacity;
}

.splash__sparkle,
.splash__hourglass {
  color: #ff6d00;
  fill: currentColor;
}

.splash__plus {
  color: #b6ad8c;
}

.splash__label {
  font-weight: 500;
  line-height: 1.24;
  white-space: nowrap;
}

/* Story: white note that unfolds under the header after the guide */
.story {
  display: grid;
  grid-template-rows: 1fr;
  margin-top: 24px;
}

.js .story {
  grid-template-rows: 0fr;
  margin-top: 0;
  opacity: 0;
  transition: grid-template-rows 0.8s cubic-bezier(0.65, 0, 0.35, 1), margin-top 0.8s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.5s ease;
}

.js .story.is-open {
  grid-template-rows: 1fr;
  margin-top: 24px;
  opacity: 1;
}

.story__clip {
  min-height: 0;
  overflow: hidden;
}

.story__card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding: 32px 40px 40px 32px;
  border-radius: 16px;
  background: #fff;
  color: #6a603d;
}

.story__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.story__listen {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-block: -6px;
}

.story__listen[hidden] {
  display: none;
}

.story__listen svg {
  color: #ff6d00;
}

.story__title {
  margin: 0;
  color: #b6ad8c;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.story__text {
  max-width: 760px;
  font-size: 19px;
  line-height: 1.7;
}

.story__text p {
  margin: 0 0 20px;
}

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

.story__text--typing {
  cursor: pointer;
}

.story__rest {
  visibility: hidden;
}

/* Frame mode: paragraphs share one grid cell so the frame is as tall as the longest one */
.story__frames {
  display: grid;
  overflow: hidden;
}

.story__frames p {
  grid-area: 1 / 1;
  margin: 0;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.45s;
}

.story__frames p:not(.is-current) {
  visibility: hidden;
  opacity: 0;
  transform: translateY(14px);
}

.story__frames p.is-past {
  transform: translateY(-14px);
}

/* Closing frame: only the last sentence keeps its space, pulling the message box up */
.story__frames.is-closing p:not(.is-current) {
  display: none;
}

.story__frames p.is-current {
  transition-delay: 0s;
}

/* Message box stays hidden until the narration ends or is paused */
.message[hidden] {
  display: none;
}

.message.is-revealed {
  animation: story-more-in 0.5s ease both;
}

@keyframes story-more-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

/* Note card: first, large item of the blog strip. Starting it pulls the card out and the posts slide in. */
.post-card.post-card--note {
  flex-basis: 324px;
  transition: flex-basis 0.8s cubic-bezier(0.65, 0, 0.35, 1), margin-right 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.post-card.post-card--note.is-leaving {
  flex-basis: 0;
  margin-right: calc(var(--track-gap) * -1);
  pointer-events: none;
}

.post-card--note .note-card {
  transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.post-card--note.is-leaving .note-card {
  opacity: 0;
  transform: scale(0.9);
}

/* While the note card leads the strip, the featured post waits at normal size, then grows into the big slot. */
.post-card--featured {
  transition: flex-basis 0.8s cubic-bezier(0.65, 0, 0.35, 1) 0.2s;
}

.blog-strip__track:has(.post-card--note:not(.is-leaving, [hidden])) .post-card--featured {
  flex-basis: 300px;
}

/* Figma: 324×378 */
.note-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 324 / 378;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.note-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(106, 96, 61, 0) 45%, rgba(106, 96, 61, 0.55) 72%, rgba(58, 51, 28, 0.92) 100%);
  pointer-events: none;
}

.post-card .note-card__photo {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  outline: 0;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.note-card:hover .note-card__photo {
  transform: scale(1.04);
}

.note-card__label {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.note-card__play {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ff6d00;
  color: #fff;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.note-card:hover .note-card__play {
  background: #e66200;
  transform: scale(1.06);
}

.note-card__title {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
}

.note-card:focus-visible {
  outline: 2px solid #3152b4;
  outline-offset: 3px;
}

/* While the card waits, the mouse pointer becomes a "Başlat" button outside the menu */
.note-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(106, 96, 61, 0.18);
  color: #6a603d;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(var(--cursor-x, -200px), var(--cursor-y, -200px)) translate(-17px, -17px) scale(0.6);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.note-cursor.is-active {
  opacity: 1;
  transform: translate(var(--cursor-x), var(--cursor-y)) translate(-17px, -17px);
  transition: opacity 0.2s ease, transform 0s;
}

.note-cursor__play {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ff6d00;
  color: #fff;
}

html.is-note-cursor,
html.is-note-cursor * {
  cursor: none !important;
}

/* Portrait travelling from the card to the avatar */
.note-flight {
  position: fixed;
  z-index: 40;
  overflow: hidden;
  pointer-events: none;
}

.note-flight img,
.story__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 5%;
}

/* Slight zoom that still keeps the whole head (hair to chin) inside the circle; the flight animates to this scale */
.story__avatar {
  display: block;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px #ece5c9;
}

.story__avatar img {
  transform: scale(1.1);
  transform-origin: 50% 40%;
}

.story__avatar.is-waiting {
  visibility: hidden;
}

/* Audio player: minimal frame, line-aura level visualisation drawn on canvas */
.player {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 22px;
  padding: 8px 16px 8px 8px;
  border: 1px solid #ece5c9;
  border-radius: 14px;
}

.player[hidden] {
  display: none;
}

.player__toggle {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #ff6d00;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.player__toggle:hover {
  background: #e66200;
}

.player__toggle:focus-visible,
.player__seek:focus-visible {
  outline: 2px solid #3152b4;
  outline-offset: 2px;
}

.player__icon-pause,
.player.is-playing .player__icon-play {
  display: none;
}

.player.is-playing .player__icon-pause {
  display: block;
}

.player__track {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 40px;
}

.player__wave {
  display: block;
  width: 100%;
  height: 100%;
}

.player__seek {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 6px;
  opacity: 0;
  cursor: pointer;
}

.player__time {
  flex: none;
  color: #b6ad8c;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.player__read {
  flex: none;
  padding: 8px 12px;
  border: 1px solid #ece5c9;
  border-radius: 10px;
  background: transparent;
  color: #6a603d;
  font: inherit;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.player__read:hover {
  border-color: #d9d0ad;
  background: #fdf9ea;
}

.player__read:focus-visible {
  outline: 2px solid #3152b4;
  outline-offset: 2px;
}

.story__text.is-full {
  animation: story-more-in 0.5s ease both;
}

.story__text:focus {
  outline: none;
}

.story__caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-right: -2px;
  vertical-align: -0.15em;
  background: #ff6d00;
  animation: story-caret 1s steps(1) infinite;
}

@keyframes story-caret {
  50% {
    opacity: 0;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 700px) {
  .story__card {
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 0 14px;
    padding: 20px 20px 26px;
  }

  /* Avatar sits beside the title; the rest spans the full width */
  .story__body {
    display: contents;
  }

  .story__body > :not(.story__head) {
    grid-column: 1 / -1;
  }

  .story__head {
    margin-bottom: 0;
  }

  .story__avatar {
    width: 44px;
    height: 44px;
  }

  .player {
    margin-top: 16px;
  }

  .story__text.is-full {
    margin-top: 16px;
  }

  .story__text {
    font-size: 17px;
  }

  .player {
    gap: 10px;
    padding-right: 12px;
  }

  .player__time {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .story {
    transition: none;
  }

  .story__frames p,
  .message.is-revealed,
  .note-card__photo,
  .note-cursor,
  .post-card--note,
  .post-card--featured {
    transition: none;
    animation: none;
  }

  .story__caret {
    animation: none;
  }
}

/* Message box under the story */
.message {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-top: 28px;
  padding: 12px;
  border-radius: 16px;
  background: var(--page-background);
}

.message__input {
  flex: 1;
  min-height: 52px;
  padding: 12px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #6a603d;
  font: inherit;
  font-size: 17px;
  line-height: 1.6;
  resize: vertical;
}

.message__input::placeholder {
  color: #b6ad8c;
}

.message__input:focus-visible,
.phone__country:focus-visible,
.phone__number:focus-visible {
  outline: 2px solid #3152b4;
  outline-offset: 0;
}

.message__send,
.modal__submit,
.modal__whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 24px;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.message__send,
.modal__submit {
  background: #ff6d00;
  color: #fff;
}

.message__send:hover:not(:disabled),
.modal__submit:hover {
  background: #e66200;
}

.message__send:disabled {
  opacity: 0.4;
  cursor: default;
}

.message__send:focus-visible,
.modal__submit:focus-visible,
.modal__whatsapp:focus-visible,
.modal__close:focus-visible {
  outline: 2px solid #3152b4;
  outline-offset: 2px;
}

/* Modals */
.modal {
  width: min(440px, calc(100% - 32px));
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #fff;
  color: #6a603d;
  box-shadow: 0 24px 60px rgb(106 96 61 / 0.25);
}

.modal::backdrop {
  background: rgb(253 249 234 / 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal[open] {
  animation: modal-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal[open]::backdrop {
  animation: backdrop-in 0.3s ease;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
}

@keyframes backdrop-in {
  from {
    opacity: 0;
  }
}

.modal__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 36px 32px 28px;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #6a603d;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.modal__close:hover {
  background: #ff6d00;
  color: #fff;
}

.modal__title {
  margin: 0;
  padding-right: 28px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

.modal__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}

.phone {
  position: relative;
  display: flex;
  border-radius: 12px;
  background: var(--page-background);
}

.phone__country,
.phone__number {
  height: 52px;
  border: 0;
  background: transparent;
  color: #6a603d;
  font: inherit;
  font-size: 17px;
}

.phone__country {
  flex: none;
  width: 112px;
  border-right: 1px solid #ece5c9;
  border-radius: 12px 0 0 12px;
  color: transparent;
  cursor: pointer;
  appearance: none;
}

.phone__country option,
.phone__country optgroup {
  color: #6a603d;
}

/* Visible label over the native select, so the closed state shows only flag + code. */
.phone__code {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 112px;
  height: 52px;
  padding: 0 14px;
  color: #6a603d;
  font-size: 17px;
  white-space: nowrap;
  pointer-events: none;
}

.phone__code::after {
  content: "";
  width: 7px;
  height: 7px;
  margin: -3px 0 0 auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.phone__number {
  flex: 1;
  min-width: 0;
  padding: 0 14px;
  border-radius: 0 12px 12px 0;
}

.phone__number::placeholder {
  color: #b6ad8c;
}

.modal__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.7;
  text-align: left;
}
.modal__consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: #ff6d00;
}
.modal__consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.modal__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.modal__submit:disabled {
  opacity: 0.6;
  cursor: wait;
}
.modal__error {
  margin: -6px 0 0;
  color: #c43d00;
  font-size: 14px;
}

.modal__or {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #b6ad8c;
  font-size: 14px;
}

.modal__or::before,
.modal__or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ece5c9;
}

.modal__whatsapp {
  background: var(--menu-background);
  color: #6a603d;
}

.modal__whatsapp:hover {
  background: #25d366;
  color: #fff;
}

.modal--thanks .modal__body {
  align-items: center;
  text-align: center;
}

.modal--thanks .modal__title {
  padding-right: 0;
}

.modal--thanks .modal__submit {
  align-self: stretch;
}

.modal__check {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ff6d00;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .modal[open],
  .modal[open]::backdrop {
    animation: none;
  }
}

@media (max-width: 700px) {
  .message {
    flex-direction: column;
    align-items: stretch;
  }

  .modal__body {
    padding: 28px 20px 24px;
  }
}

/* ==========================================================================
   Shared site components: blog carousel, footer, inner page templates
   ========================================================================== */

:root {
  --shell: min(1160px, calc(100% - 32px));
  /* Logo column + gap: content on every page lines up with the text menu. */
  --content-offset: 60px;
  --accent: #ff6d00;
  --accent-hover: #e66200;
  --muted: #b6ad8c;
  --divider: #ece5c9;
  --image-stroke: #f0ead2;
}

body {
  overflow-x: clip;
}

/* Homepage: blog and footer wait for the note card, then enter one after another (script.js → revealSections). */
.js:not(.is-bot) .blog-strip[data-reveal]:not(.is-revealed) .blog-strip__nav,
.js:not(.is-bot) .site-footer[data-reveal]:not(.is-revealed) {
  visibility: hidden;
}

.js:not(.is-bot) .blog-strip[data-reveal] .blog-strip__nav {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s ease 0.5s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

.js:not(.is-bot) .blog-strip[data-reveal] .post-card {
  --delay: calc(var(--i, 0) * 120ms);
  visibility: hidden;
  opacity: 0;
  transform: translate3d(160px, 60px, 0) rotate(6deg) scale(0.86);
  transform-origin: left bottom;
  transition:
    opacity 0.7s ease var(--delay),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) var(--delay),
    visibility 0s linear var(--delay),
    flex-basis 0.8s cubic-bezier(0.65, 0, 0.35, 1) 0.15s,
    margin-right 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.js:not(.is-bot) .blog-strip[data-reveal] .post-card img {
  clip-path: inset(0 0 100% 0 round 16px);
  transition: clip-path 1.1s cubic-bezier(0.65, 0, 0.35, 1) calc(var(--delay) + 0.1s), transform 0.35s ease, box-shadow 0.35s ease;
}

.js:not(.is-bot) .blog-strip[data-reveal] .post-card h3 {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease calc(var(--delay) + 0.5s), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--delay) + 0.5s), color 0.2s ease;
}

.js:not(.is-bot) .blog-strip[data-reveal].is-revealed .blog-strip__nav,
.js:not(.is-bot) .blog-strip[data-reveal].is-revealed .post-card,
.js:not(.is-bot) .blog-strip[data-reveal].is-revealed .post-card h3 {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.js:not(.is-bot) .blog-strip[data-reveal].is-revealed .post-card img {
  clip-path: inset(0 0 0 0 round 16px);
}

/* Footer: the panel grows up from a thin line, then its content rises row by row. */
.js:not(.is-bot) .site-footer[data-reveal] .site-footer__inner {
  clip-path: inset(48% 4% 48% 4% round 28px);
  transform: translateY(60px);
  transition: clip-path 1.2s cubic-bezier(0.76, 0, 0.24, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.js:not(.is-bot) .site-footer[data-reveal] :is(.site-footer__lead, .site-footer__whatsapp, .site-footer__brand, .site-footer__col, .site-footer__bottom) {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease var(--delay, 0.6s), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0.6s);
}

.js:not(.is-bot) .site-footer[data-reveal] .site-footer__whatsapp { --delay: 0.75s; }
.js:not(.is-bot) .site-footer[data-reveal] .site-footer__brand { --delay: 0.85s; }
.js:not(.is-bot) .site-footer[data-reveal] .site-footer__col--services { --delay: 0.95s; }
.js:not(.is-bot) .site-footer[data-reveal] .site-footer__col:not(.site-footer__col--services) { --delay: 1.05s; }
.js:not(.is-bot) .site-footer[data-reveal] .site-footer__bottom { --delay: 1.15s; }

/* The orange phrase gets a light sweep once the footer is in. */
.js:not(.is-bot) .site-footer[data-reveal] .site-footer__lead span {
  background: linear-gradient(100deg, #ff6d00 40%, #ffc38f 50%, #ff6d00 60%) 100% 0 / 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: background-position 1.6s ease 1.3s;
}

.js:not(.is-bot) .site-footer[data-reveal].is-revealed .site-footer__inner {
  clip-path: inset(0 0 0 0 round 28px);
  transform: none;
}

.js:not(.is-bot) .site-footer[data-reveal].is-revealed :is(.site-footer__lead, .site-footer__whatsapp, .site-footer__brand, .site-footer__col, .site-footer__bottom) {
  opacity: 1;
  transform: none;
}

.js:not(.is-bot) .site-footer[data-reveal].is-revealed .site-footer__lead span {
  background-position: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .js .blog-strip[data-reveal] :is(.blog-strip__nav, .post-card, .post-card img, .post-card h3),
  .js .site-footer[data-reveal] :is(.site-footer__inner, .site-footer__lead, .site-footer__lead span, .site-footer__whatsapp, .site-footer__brand, .site-footer__col, .site-footer__bottom) {
    transition: none !important;
  }
}

/* Crawlers (see the inline script in index.html) get every section at once, without motion. */
.is-bot *,
.is-bot *::before,
.is-bot *::after {
  transition: none !important;
  animation: none !important;
}

:is(.blog-strip, .site-footer, .site-header, .page) :is(a, button):focus-visible {
  outline: 2px solid #3152b4;
  outline-offset: 3px;
}

/* Blog carousel: starts on the content column, bleeds off the right edge. */
.blog-strip {
  --track-start: max(16px, calc((100% - 1160px) / 2 + var(--content-offset)));
  --track-gap: 100px;
  margin: 40px 0 0;
}

/* Homepage: pulled up under the menu (main has 80px bottom margin) so the note card sits 100px below the menu, the same as the gap between cards. */
.blog-strip[data-reveal] {
  margin-top: -44px;
}

.blog-strip__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  width: var(--shell);
  margin: 0 auto 24px;
  padding-left: var(--content-offset);
}

.blog-strip__title {
  margin: 0;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.24;
}

.blog-strip__nav {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.blog-strip__arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--menu-background);
  color: #6a603d;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.blog-strip__arrow:hover:not(:disabled) {
  background: var(--accent);
  color: #fff;
}

.blog-strip__arrow:disabled {
  opacity: 0.4;
  cursor: default;
}

.blog-strip__track {
  display: flex;
  align-items: start;
  gap: var(--track-gap);
  margin: 0;
  padding: 4px 16px 24px var(--track-start);
  overflow-x: auto;
  scroll-padding-inline-start: var(--track-start);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  list-style: none;
  overscroll-behavior-x: contain;
}

.blog-strip__track::-webkit-scrollbar {
  display: none;
}

.post-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
}

.post-card--featured {
  flex-basis: 450px;
}

.post-card a {
  display: grid;
  gap: 30px;
  color: inherit;
  text-decoration: none;
}

.post-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 450 / 313;
  object-fit: cover;
  border-radius: 16px;
  outline: 1px solid var(--image-stroke);
  outline-offset: -1px;
  background: var(--menu-background);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.post-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.post-card__meta {
  display: block;
  margin-top: -16px;
  color: var(--muted);
  font-size: 14px;
}

@media (hover: hover) {
  .post-card a:hover img {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgb(106 96 61 / 0.14);
  }

  .post-card a:hover h3 {
    color: var(--accent);
  }
}

/* Footer */
.site-footer {
  margin-top: 120px;
  padding: 0 16px 16px;
}

.site-footer__inner {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 56px 60px 28px;
  border-radius: 28px;
  background: var(--menu-background);
}

.site-footer__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 48px;
}

.site-footer__lead {
  max-width: 640px;
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.site-footer__lead span {
  color: var(--accent);
}

.site-footer__whatsapp,
.site-header__whatsapp {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.site-footer__whatsapp:hover,
.site-header__whatsapp:hover {
  background: var(--accent-hover);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr 1fr;
  gap: 48px;
  padding: 40px 0;
  border-top: 1px solid var(--divider);
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
}

.site-footer__logo img:first-child {
  width: 40px;
  height: 40px;
}

.site-footer__brand p {
  max-width: 300px;
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.7;
}

.site-footer__col h2 {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__col--services ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-inline: -16px;
}

.site-footer__col--services a {
  display: grid;
  align-content: start;
  gap: 8px;
  height: 100%;
  padding: 18px 16px;
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.site-footer__col--services a:hover {
  background: var(--page-background);
}

.site-footer__col--services strong {
  font-size: 17px;
  font-weight: 500;
}

.site-footer__col--services a:hover strong {
  color: var(--accent);
}

.site-footer__col--services span {
  color: #8f855f;
  font-size: 14px;
  line-height: 1.65;
}

.site-footer address {
  display: grid;
  gap: 14px;
  font-size: 15px;
  font-style: normal;
  line-height: 1.65;
}

.site-footer address a,
.site-footer__social a,
.site-footer__bottom a {
  color: inherit;
  text-decoration: none;
}

.site-footer address a:hover,
.site-footer__social a:hover,
.site-footer__bottom a:hover {
  color: var(--accent);
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 20px !important;
  font-size: 15px;
  font-weight: 500;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
  font-size: 14px;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Inner pages: header with logo + wordmark and two actions instead of the text menu. */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: var(--shell);
  margin: 40px auto 0;
}

.site-header__brand {
  position: relative;
  display: inline-flex;
  border-radius: 25px;
}

.site-header__brand > img {
  width: 50px;
  height: 50px;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header__home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 48px;
  padding: 0 20px;
  border-radius: 24px;
  background: var(--menu-background);
  color: inherit;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.site-header__home:hover {
  background: #ece5c9;
}

.page {
  width: var(--shell);
  margin: 72px auto 0;
  padding-left: var(--content-offset);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 15px;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
}

.breadcrumb a {
  color: #8f855f;
  text-decoration: none;
}

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

.breadcrumb [aria-current] {
  color: #6a603d;
  font-weight: 500;
}

.page__title {
  max-width: 1000px;
  margin: 20px 0 0;
  font-size: clamp(36px, 5.2vw, 64px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.page__lead {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: 20px;
  line-height: 1.7;
}

.page__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 24px 0 0;
  color: #8f855f;
  font-size: 15px;
}

.page__meta a {
  padding: 4px 12px;
  border-radius: 14px;
  background: var(--menu-background);
  color: #6a603d;
  font-weight: 500;
  text-decoration: none;
}

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

.page__figure {
  margin: 48px 0 0;
}

.page__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: cover;
  border-radius: 20px;
  outline: 1px solid var(--image-stroke);
  outline-offset: -1px;
}

.page__figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

/* Long-form text (post content, legal pages, category descriptions) */
.prose {
  max-width: 720px;
  margin-top: 48px;
  font-size: 19px;
  line-height: 1.8;
}

.prose > :first-child,
.prose > .note:first-child {
  margin-top: 0;
}

.prose h2 {
  margin: 56px 0 20px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
  scroll-margin-top: 24px;
}

.prose h3 {
  margin: 40px 0 16px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 24px;
}

.prose ul,
.prose ol {
  padding-left: 24px;
}

.prose li + li {
  margin-top: 8px;
}

.prose li::marker {
  color: var(--accent);
}

.prose a {
  color: inherit;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

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

.prose strong {
  font-weight: 600;
}

.prose blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--accent);
  font-size: 22px;
  line-height: 1.5;
}

.prose blockquote p {
  margin: 0;
}

.prose .note {
  margin: 32px 0;
  padding: 24px 28px;
  border-radius: 16px;
  background: var(--menu-background);
  font-size: 17px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 720px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.tags a {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--divider);
  border-radius: 16px;
  color: inherit;
  font-size: 14px;
  text-decoration: none;
}

.tags a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Share */
.share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  max-width: 720px;
  margin-top: 40px;
  padding: 24px 0;
  border-block: 1px solid var(--divider);
}

.share__label {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.share__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.share__button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--menu-background);
  color: #6a603d;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.share__button:hover {
  background: var(--accent);
  color: #fff;
}

.share__status {
  margin: 0;
  color: #8f855f;
  font-size: 14px;
}

/* Comments */
.comments {
  max-width: 720px;
  margin-top: 64px;
}

.section-title {
  margin: 0;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.24;
}

.comments__list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.comment {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--divider);
}

.comment .comment {
  margin-top: 16px;
  padding-bottom: 0;
  border-bottom: 0;
}

.comment__avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--menu-background);
  font-weight: 500;
}

.comment__avatar--team {
  background: var(--accent);
  color: #fff;
}

.comment__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.comment__name {
  font-weight: 500;
}

.comment__date {
  color: var(--muted);
  font-size: 14px;
}

.comment p {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.6;
}

.comment__reply {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: #8f855f;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.comment__reply:hover {
  color: var(--accent);
}

.comment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
  padding: 28px;
  border-radius: 20px;
  background: #fff;
}

.comment-form h3 {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}

.comment-form .field {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}

.comment-form .field--full,
.comment-form__consent,
.comment-form__footer {
  grid-column: 1 / -1;
}

.comment-form :is(input[type="text"], input[type="email"], textarea) {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--divider);
  border-radius: 12px;
  background: var(--page-background);
  color: #6a603d;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
}

.comment-form textarea {
  min-height: 120px;
  resize: vertical;
}

.comment-form :is(input, textarea):focus {
  border-color: #3152b4;
  outline: none;
}

.comment-form__consent {
  display: flex;
  gap: 10px;
  align-items: start;
  font-size: 14px;
  line-height: 1.5;
}

.comment-form__consent input {
  margin-top: 3px;
  accent-color: var(--accent);
}

.comment-form__consent a {
  color: inherit;
}

.comment-form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 24px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

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

.button--soft {
  background: var(--menu-background);
  color: #6a603d;
}

.button--soft:hover {
  background: #ece5c9;
}

.comment-form__status {
  margin: 0;
  color: #8f855f;
  font-size: 14px;
}

/* Related posts reuse the homepage carousel inside the page column. */
.related {
  margin-top: 96px;
}

.related .blog-strip__head {
  padding-left: var(--content-offset);
}

.blog-strip--uniform .post-card--featured {
  flex-basis: 300px;
}

/* Post: content column + sticky author card (same .bio content as the homepage experience panel). */
.page--post .page__layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) 320px;
  gap: 64px;
  align-items: start;
}

.page--post .page__main {
  min-width: 0;
}

.post-aside {
  position: sticky;
  top: 24px;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  margin-top: 48px;
  padding: 20px;
  border-radius: 16px;
  background: var(--menu-background);
  color: #6a603d;
}

.post-aside .bio__head {
  padding-right: 0;
}

:root:has([data-post-toc]) {
  scroll-behavior: smooth;
}

.page--post .prose :is(h2, h3, h4, h5, h6) {
  scroll-margin-top: 32px;
}

.post-toc {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--divider);
}

.post-toc h2 {
  margin: 0 0 16px;
  color: #8f855f;
  font-size: 14px;
  font-weight: 600;
}

.post-toc ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-toc li {
  padding-left: calc(var(--toc-depth, 0) * 12px);
}

.post-toc a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: inherit;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.post-toc a:hover,
.post-toc a[aria-current="location"] {
  background: var(--page-background);
  color: var(--accent);
}

.post-toc a:focus-visible {
  outline: 2px solid #3152b4;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  :root:has([data-post-toc]) {
    scroll-behavior: auto;
  }
}

/* Legal page */
.page--legal .page__title {
  font-size: clamp(34px, 4.4vw, 52px);
}

.page--legal .page__layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) 260px;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}

.page--legal .prose {
  margin-top: 0;
}

.toc {
  position: sticky;
  top: 24px;
  order: 2;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--menu-background);
}

.toc h2 {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  font-size: 15px;
}

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

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

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.legal-links a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 18px;
  background: var(--menu-background);
  color: inherit;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.legal-links a[aria-current] {
  background: #6a603d;
  color: #fff;
}

.legal-links a:not([aria-current]):hover {
  color: var(--accent);
}

/* Category (service) page */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 1100px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.service-card {
  display: grid;
  align-content: start;
  gap: 10px;
  height: 100%;
  padding: 24px;
  border-radius: 20px;
  background: var(--menu-background);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.service-card:hover {
  background: #ece5c9;
}

.service-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}

.service-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.service-card span {
  margin-top: 6px;
  color: #8f855f;
  font-size: 14px;
}

.pricing-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 48px;
  max-width: 1100px;
  margin-top: 48px;
  padding: 32px;
  border-radius: 20px;
  background: #fff;
}

.pricing-band h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.24;
}

.pricing-band p {
  margin: 8px 0 0;
  font-size: 17px;
  line-height: 1.55;
}

.archive {
  max-width: 1100px;
  margin-top: 96px;
}

.archive__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.filters a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 18px;
  background: var(--menu-background);
  color: inherit;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.filters a[aria-current] {
  background: #6a603d;
  color: #fff;
}

.filters a:not([aria-current]):hover {
  color: var(--accent);
}

.archive__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 40px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.archive__grid .post-card a {
  gap: 20px;
}

.archive__grid .post-card__meta {
  margin-top: -12px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 56px;
}

.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 22px;
  background: var(--menu-background);
  color: inherit;
  font-weight: 500;
  text-decoration: none;
}

.pagination [aria-current] {
  background: #6a603d;
  color: #fff;
}

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

@media (max-width: 1000px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__col--services {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .page--legal .page__layout,
  .page--post .page__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .post-aside {
    position: static;
    max-width: 720px;
    max-height: none;
    overflow-y: visible;
  }

  .toc {
    position: static;
    order: 0;
  }

  .services-grid,
  .archive__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  :root {
    --content-offset: 0px;
  }

  .blog-strip {
    margin-top: 24px;
  }

  .blog-strip[data-reveal] {
    margin-top: -16px;
  }

  .blog-strip__head {
    padding-left: 0;
  }

  .blog-strip {
    --track-gap: 24px;
  }

  .post-card {
    flex-basis: min(64vw, 260px);
  }

  .post-card--featured {
    flex-basis: min(82vw, 340px);
  }

  .post-card.post-card--note {
    flex-basis: min(82vw, 324px);
  }

  .blog-strip__track:has(.post-card--note:not(.is-leaving, [hidden])) .post-card--featured {
    flex-basis: min(64vw, 260px);
  }

  .blog-strip--uniform .post-card--featured {
    flex-basis: min(64vw, 260px);
  }

  .post-card a {
    gap: 16px;
  }

  .post-card h3 {
    font-size: 16px;
  }

  .post-card__meta {
    margin-top: -8px;
  }

  .site-footer {
    margin-top: 72px;
    padding: 0 8px 8px;
  }

  .site-footer__inner {
    padding: 32px 20px 20px;
    border-radius: 22px;
  }

  .site-footer__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding-bottom: 32px;
  }

  .site-footer__whatsapp {
    justify-content: center;
  }

  .site-footer__grid,
  .site-footer__col--services ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer__grid {
    gap: 32px;
    padding: 32px 0;
  }

  .site-footer__col--services {
    grid-column: auto;
    grid-row: auto;
  }

  .site-footer__col--services ul {
    margin-inline: 0;
  }

  .site-footer__col--services a {
    padding: 12px 0;
  }

  .site-footer__col--services a:hover {
    background: none;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: start;
  }

  .site-header {
    margin-top: 20px;
  }

  .site-header__brand > img {
    width: 44px;
    height: 44px;
  }

  .site-header__home,
  .site-header__whatsapp {
    height: 44px;
    padding: 0 16px;
    font-size: 15px;
  }

  .site-header__whatsapp span {
    display: none;
  }

  .site-header__whatsapp {
    width: 44px;
    padding: 0;
    justify-content: center;
  }

  .page {
    margin-top: 40px;
  }

  .page__figure {
    margin-top: 32px;
  }

  .page__figure img {
    border-radius: 16px;
  }

  .prose {
    margin-top: 32px;
    font-size: 17px;
  }

  .prose h2 {
    margin-top: 40px;
    font-size: 24px;
  }

  .comment-form {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
  }

  .related {
    margin-top: 72px;
  }

  .services-grid,
  .archive__grid,
  .pricing-band {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-band {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .post-card img,
  .post-card a:hover img {
    transform: none;
    transition: none;
  }

  .blog-strip__track {
    scroll-behavior: auto;
  }
}
