@font-face {
  font-family: Lora;
  src: url("assets/lora-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: Lora;
  src: url("assets/lora-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #171923;
  --heading: #393637;
  --muted: #544843;
  --copper: #ad411e;
  --accent: #c54e26;
  --line: #eecfc1;
  --paper: #fff8f4;
  --display: Lora, Georgia, "Times New Roman", serif;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.5 var(--sans);
}

h1, h2, p { margin: 0; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 3;
  inset: 0 auto auto 1rem;
  padding: .6rem 1rem;
  background: white;
  transform: translateY(-120%);
}

.skip-link:focus { transform: translateY(.5rem); }

.wrap {
  width: min(calc(100% - 3rem), 83.5rem);
  margin-inline: auto;
}

.wide-wrap {
  width: min(calc(100% - 3rem), 91.75rem);
  margin-inline: auto;
}

.header-shell {
  background: linear-gradient(100deg, #f6e6e1, #f9eae6 46%, #f1e2df);
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.125rem;
}

.brand {
  display: inline-flex;
  gap: .75rem;
  align-items: center;
  width: max-content;
  line-height: 1.12;
}

.brand strong {
  display: block;
  font-size: 1.72rem;
  letter-spacing: -.04em;
}

.brand small { font-size: .87rem; }

.brand-mark {
  position: relative;
  display: inline-block;
  width: 2.7rem;
  height: 2.5rem;
}

.brand-mark i {
  position: absolute;
  inset: .05rem .6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffbd9d, #df6f4b 46%, #b74728 80%, #f39167);
  box-shadow: inset 0 1px 1px #fff9;
}

.brand-mark i:nth-child(2) { transform: rotate(59deg); }
.brand-mark i:nth-child(3) { transform: rotate(-59deg); }

.brand-mark::after {
  position: absolute;
  z-index: 1;
  inset: .61rem .8rem;
  border-radius: 45%;
  background: #fff0e8;
  content: "";
  transform: rotate(32deg);
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.75rem);
}

.site-nav a {
  position: relative;
  padding-block: .8rem;
  font-size: .92rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.site-nav a[aria-current="page"]::after {
  position: absolute;
  inset: auto 0 .4rem;
  height: 2px;
  background: var(--accent);
  content: "";
}

.site-nav a:hover { color: var(--copper); }

.intro {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 12%, #fff1eb 0%, transparent 56%),
    linear-gradient(106deg, #f3e2dc, #fae9e3 52%, #f1e2df);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
  min-height: 26.5rem;
  padding: 1.4rem 0 2.55rem 1.875rem;
}

.hero-copy { width: min(100%, 34rem); }

h1, .section-intro h2 {
  color: var(--heading);
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .95;
}

h1 {
  font-size: clamp(2.7rem, 3.15vw, 3.35rem);
}

h1 em, .section-intro h2 em { color: var(--accent); }

.hero-description {
  max-width: 28rem;
  margin-top: .75rem;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.4;
}

.hero-actions, .about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1rem;
  margin-top: 1.15rem;
}

.button {
  display: inline-flex;
  min-height: 2.65rem;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: .55rem 1.65rem;
  border: 1px solid transparent;
  border-radius: 10rem;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}

.button-primary {
  border-color: #a6452a;
  background: linear-gradient(#c75c39, #b54a2d);
  box-shadow: inset 0 1px 0 #fcb2928c;
  color: white;
}

.button-primary:hover { background: #a94429; }

.button-arrow {
  display: inline-block;
  font-size: 1.1em;
  transform: rotate(-45deg);
}

.button-secondary {
  border-color: #c26b50;
  background: #fff5f0b3;
  color: #3e251d;
}

.button-secondary:hover { background: #fff8f4; }

.circle-arrow {
  display: grid;
  width: 1.15rem;
  height: 1.15rem;
  place-items: center;
  border: 1px solid #e5a88c;
  border-radius: 50%;
  background: #fff8f3;
  font-size: 1.15rem;
  line-height: .75;
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1.7rem;
  margin: 1.65rem 0 0;
  padding: 0;
  list-style: none;
}

.benefits li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
  font-weight: 600;
}

.benefit-icon {
  display: inline-grid;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  color: var(--accent);
  font-size: 1.45rem;
  line-height: 1;
}

.layers { text-shadow: 0 .17rem var(--accent); }

.bars {
  display: inline-flex;
  align-items: end;
  justify-content: center;
  gap: 2px;
  padding-bottom: 2px;
}

.bars i {
  width: 4px;
  height: .5rem;
  border: 1px solid currentColor;
  border-radius: 1px;
}

.bars i:nth-child(2) { height: .75rem; }
.bars i:nth-child(3) { height: 1rem; }

.hero-art {
  position: absolute;
  z-index: -1;
  inset: 0 -3.2rem 0 auto;
  width: 65%;
  background: url("assets/automation-hero.webp") right center / auto 133% no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 92%, transparent),
    linear-gradient(180deg, transparent, #000 7%, #000 94%, transparent);
  mask-composite: intersect;
}

.services {
  padding: .9rem 0 2rem;
  background:
    radial-gradient(ellipse at 35% 25%, #fff7f2, transparent 69%),
    linear-gradient(115deg, #fcf0ec, #f6e7e0);
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr .98fr;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.1rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .2rem;
  color: var(--copper);
  font-size: .96rem;
  font-weight: 700;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.5rem;
  height: 2px;
  background: var(--accent);
  content: "";
}

.section-intro h2 { font-size: clamp(2.7rem, 3.35vw, 3.65rem); }

.section-intro h2 em {
  position: relative;
  display: inline-block;
}

.section-intro h2 em::after {
  position: absolute;
  right: 48%;
  bottom: -.82rem;
  left: 2%;
  height: .85rem;
  border-top: 4px solid #f1a781;
  border-radius: 55% 65% 0 0;
  content: "";
  transform: rotate(-1.4deg);
}

.section-summary {
  max-width: 39rem;
  padding-left: clamp(1rem, 3vw, 3rem);
  border-left: 1px solid #dbab99;
  font-size: clamp(1.05rem, 1.45vw, 1.5rem);
  line-height: 1.33;
}

.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.08fr);
  align-items: start;
  gap: .95rem .85rem;
}

.service-card {
  border: 1px solid #fffaf8;
  border-radius: 1.6rem;
  background: linear-gradient(145deg, #fff8f4bf, #fff0e6ba);
  box-shadow: 0 9px 15px #93432322, inset 0 1px 0 #fff9;
}

.service-card summary {
  display: grid;
  min-height: 6.9rem;
  grid-template-columns: minmax(3.85rem, 36%) minmax(0, 1fr) auto;
  align-items: center;
  gap: .43rem;
  padding: 0 .8rem 0 .65rem;
  border-radius: inherit;
  cursor: pointer;
  list-style: none;
}

.service-card summary::-webkit-details-marker { display: none; }
.service-card summary:hover { background: #fff9f56e; }

.service-icon {
  display: block;
  width: 100%;
  max-width: 8rem;
  aspect-ratio: 1;
  justify-self: center;
  margin-block: -.3rem;
  background: url("assets/service-icons.webp") var(--icon-x, 0%) var(--icon-y, 0%) / 400% 200% no-repeat;
}

.icon-crm, .icon-api { --icon-x: 33.3333%; }
.icon-rag, .icon-web { --icon-x: 66.6667%; }
.icon-voice, .icon-media { --icon-x: 100%; }
.icon-chat, .icon-api, .icon-web, .icon-media { --icon-y: 100%; }

.service-title {
  color: #1d1613;
  font: 700 clamp(1.09rem, 1.5vw, 1.5rem)/1.04 var(--serif);
  letter-spacing: -.035em;
}

.service-arrow {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid #f6d3c0;
  border-radius: 50%;
  background: #fffaf6;
  box-shadow: 0 2px 3px #9b492523;
  color: var(--accent);
  font-size: 1.45rem;
  line-height: 1;
}

.service-card[open] .service-arrow { transform: rotate(90deg); }

.service-card p {
  padding: 0 1.1rem 1rem;
  color: var(--muted);
  font-size: .96rem;
}

.interior {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background: linear-gradient(135deg, #fff8f4, #f7e6df);
}

.interior main { flex: 1; }

.page-content {
  padding: clamp(2.75rem, 7vw, 6rem) 0 clamp(3rem, 8vw, 7rem);
}

.page-content h1 {
  margin-top: 0;
  font-size: clamp(3rem, 6.8vw, 6.25rem);
}

.page-lede {
  max-width: 36rem;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.info-panel {
  max-width: 46rem;
  margin-top: 1.75rem;
  padding: clamp(1.15rem, 3vw, 2rem);
  border: 1px solid white;
  border-radius: 1.4rem;
  background: #fff9f5b8;
  box-shadow: 0 6px 24px #93432313;
}

.info-panel h2 {
  color: var(--heading);
  font: 600 1.6rem/1.15 var(--serif);
}

.info-panel p { margin-top: .55rem; color: var(--muted); }

.booking-note {
  max-width: 46rem;
  margin-top: 1rem;
  padding: .75rem 1rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 .5rem .5rem 0;
  background: #f9e4d9;
  color: var(--muted);
}

.booking-note strong { color: var(--copper); }

.booking-link { margin-top: 1.25rem; }

.project-gallery, .booking-options, .about-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.project-gallery {
  max-width: 67rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
}

.project-group {
  grid-column: 1 / -1;
  max-width: none;
}

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

.project-examples h3 {
  margin: 0;
  font-size: 1.05rem;
}

.booking-options { max-width: 46rem; }

.about-panels { max-width: 67rem; }

.project-gallery .info-panel, .booking-options .info-panel, .about-panels .info-panel { margin-top: 0; }

.about-details { margin: .9rem 0 0; }
.about-details dt { font-weight: 600; }
.about-details dd { margin: .2rem 0 0; color: var(--muted); }
.about-details dd + dt { margin-top: .9rem; }

.project-gallery img, .project-gallery video {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: .65rem;
}

.contact-list {
  display: grid;
  max-width: 55rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-list .info-panel { margin-top: 0; }

.contact-list a {
  color: var(--copper);
  overflow-wrap: anywhere;
  text-underline-offset: .18em;
}

.site-footer {
  padding-block: 1rem;
  color: var(--muted);
  font-size: .8rem;
}

.site-footer span { margin-inline: .2rem; color: var(--copper); }

@media (max-width: 76rem) {
  .hero { padding-left: .85rem; }
  .hero-art { right: -3.75rem; width: 70%; background-size: cover; background-position: center 42%; }
  .service-card summary { grid-template-columns: minmax(3.1rem, 29%) minmax(0, 1fr) auto; }
  .service-arrow { width: 1.9rem; height: 1.9rem; }
  .card-break { display: none; }
}

@media (max-width: 62rem) {
  .site-header { grid-template-columns: 1fr auto; }
  .hero { min-height: 25rem; padding-left: 0; }
  .hero-copy { max-width: 26rem; }
  .hero-art { right: -3.25rem; width: 72%; mask-image: linear-gradient(90deg, transparent 8%, #000 37%, #000 89%, transparent); }
  .benefits { gap: .45rem .85rem; }
  .benefits li { gap: .25rem; font-size: .77rem; }
  .section-intro h2 { font-size: clamp(2.2rem, 4.9vw, 3rem); }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card summary { grid-template-columns: minmax(3.2rem, 28%) minmax(0, 1fr) auto; }
  .service-title { font-size: clamp(1.15rem, 2.65vw, 1.5rem); }
}

@media (max-width: 45rem) {
  .wrap, .wide-wrap { width: calc(100% - 2rem); }
  .site-header { grid-template-columns: 1fr; justify-items: center; gap: .25rem; padding-top: .8rem; }
  .site-nav { width: 100%; gap: clamp(.75rem, 4vw, 1.85rem); }
  .site-nav a { font-size: clamp(.8rem, 3.2vw, .92rem); }
  .hero { min-height: 0; flex-direction: column; align-items: flex-start; padding: 1.55rem 0 0; }
  .hero-copy { max-width: unset; }
  .hero h1 { font-size: clamp(2.35rem, 8.7vw, 3.5rem); }
  .desktop-break { display: none; }
  .hero-art {
    position: relative;
    inset: auto;
    align-self: center;
    width: calc(100% + 2rem);
    height: clamp(12.5rem, 57vw, 21rem);
    margin-top: .65rem;
    background-position: center 49%;
    mask-image: linear-gradient(180deg, transparent, #000 17%, #000 86%, transparent);
  }
  .hero-description { font-size: 1rem; }
  .benefits { margin-top: 1.15rem; }
  .button { padding-inline: 1rem; font-size: .85rem; }
  .section-intro { grid-template-columns: 1fr; gap: 1.35rem; margin-bottom: 1.25rem; }
  .section-summary { padding: 0; border: 0; }
  .services { padding-top: 1.15rem; }
  .service-card { border-radius: 1.1rem; }
  .service-card summary { min-height: 5.4rem; gap: .25rem; padding-inline: .35rem .5rem; }
  .service-card p { padding-inline: .75rem; }
}

@media (max-width: 31rem) {
  .services-grid, .contact-list { grid-template-columns: 1fr; gap: .65rem; }
  .service-card summary { grid-template-columns: 5.4rem minmax(0, 1fr) auto; padding-inline: .4rem .85rem; }
  .service-title { font-size: 1.25rem; }
}
