:root {
  --black: #111111;
  --ink: #111111;
  --muted: #5f6257;
  --canvas: #f4f0e8;
  --soft: #f3efe7;
  --warm: #eadfce;
  --panel: #ffffff;
  --line: #e3d8c7;
  --sage: #68765b;
  --clay: #a66a43;
  --sand: #e3d8c7;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: "Aptos", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font-body);
  line-height: 1.45;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: geometricPrecision;
}

main {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 260px 1fr 200px;
  align-items: center;
  gap: 28px;
  min-height: 96px;
  padding: 24px clamp(26px, 6vw, 92px);
  background: rgba(244, 240, 232, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: block;
  width: 214px;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 3.4vw, 54px);
}

.site-nav a {
  position: relative;
  color: var(--black);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.site-nav a.active::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  content: "";
  background: var(--sage);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid var(--black);
  border-radius: 4px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.header-cta,
.button-dark {
  color: #fff;
  background: var(--black);
}

.button-light {
  color: var(--black);
  background: var(--canvas);
}

.button-light:hover,
.text-link:hover,
.service-grid a:hover,
.project-copy a:hover,
.site-footer a:hover {
  color: var(--sage);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--canvas);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--black);
}

.hero,
.section,
.site-footer {
  padding-right: clamp(26px, 6vw, 92px);
  padding-left: clamp(26px, 6vw, 92px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(460px, 1.18fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  min-height: 560px;
  padding-top: 66px;
  padding-bottom: 72px;
  background: var(--canvas);
  overflow: hidden;
}

.hero-copy {
  padding-bottom: 30px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 30px;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5.45vw, 5.6rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 700;
}

.project-copy h3,
.calendar-card h3 {
  font-family: var(--font-body);
}

.eyebrow,
.section-kicker {
  margin-bottom: 20px;
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-copy p:not(.eyebrow),
.section p,
.project-copy p,
.site-footer p,
.site-footer small,
.site-footer a {
  color: var(--muted);
}

.hero-copy p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 0;
  color: #3f3f3f;
  font-size: 1.04rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

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

.hero-device {
  position: relative;
  display: grid;
  align-items: center;
  padding: clamp(16px, 2vw, 28px);
  background: linear-gradient(135deg, var(--sand), var(--canvas));
  border: 1px solid var(--sand);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.055);
}

.real-laptop-hero {
  position: relative;
  width: min(790px, 100%);
  aspect-ratio: 3 / 2;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d7cbb9;
  background: var(--sand);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.08);
}

.real-laptop-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.section {
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: clamp(56px, 7vw, 88px);
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading.inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading.center {
  text-align: center;
}

.text-link {
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
}

.services {
  background: var(--canvas);
}

.services .section-heading h2 {
  max-width: 760px;
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
}

.service-grid article {
  display: grid;
  align-content: space-between;
  min-height: 0;
  padding: 28px;
  background: #fffdf9;
  border: 1px solid var(--line);
}

.service-grid article:not(.service-feature) {
  min-height: 190px;
}

.service-grid h3 {
  max-width: 260px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 400;
  line-height: 1.04;
}

.service-feature {
  grid-row: span 3;
  min-height: 520px !important;
  padding: clamp(34px, 5vw, 56px) !important;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.88), rgba(17, 17, 17, 0.72)),
    linear-gradient(135deg, var(--sage), var(--clay)) !important;
  color: #fff;
}

.service-feature span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-feature h3 {
  max-width: 520px;
  margin-top: auto;
  color: #fff;
  font-size: clamp(2.45rem, 5vw, 4.25rem);
}

.service-feature p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.service-feature a {
  color: #fff;
}

.service-grid p {
  margin-bottom: 28px;
  line-height: 1.68;
}

.service-grid a,
.page-card a {
  color: var(--black);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.service-grid .service-feature a {
  color: #fff;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.project-grid.single-project {
  grid-template-columns: minmax(280px, 1080px);
}

.project-card {
  overflow: hidden;
  background: #fffdf9;
  border: 1px solid var(--line);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.045);
}

.featured-build {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1fr);
}

.project-image {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 250px;
  padding: 30px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.project-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-image::before {
  position: absolute;
  inset: 18px 18px auto;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.4);
}

.project-image::after {
  position: absolute;
  right: -12%;
  bottom: -22%;
  width: 58%;
  height: 72%;
  content: "";
  background: radial-gradient(circle, rgba(255, 255, 255, 0.24), transparent 64%);
}

.project-photo {
  color: #fff;
  background: #121212;
}

.project-photo::before {
  z-index: 1;
  background: rgba(255, 255, 255, 0.38);
}

.project-photo::after {
  inset: 0;
  z-index: 1;
  width: auto;
  height: auto;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.52)),
    linear-gradient(90deg, rgba(104, 118, 91, 0.34), transparent 64%);
}

.project-image span {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-image strong {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  line-height: 1.05;
}

.project-photo span,
.project-photo strong {
  z-index: 3;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.46);
}

.dark-preview {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 10, 12, 0.88), rgba(7, 10, 12, 0.48)),
    repeating-linear-gradient(135deg, #26343b 0 18px, #1d282e 18px 36px);
}

.warm-preview {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(21, 16, 13, 0.82), rgba(21, 16, 13, 0.42)),
    linear-gradient(135deg, #6b5d52, #2d2925);
}

.light-preview {
  color: #24324a;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(240, 247, 249, 0.72)),
    linear-gradient(135deg, #eef6f8, #d9e4e8);
}

.project-copy {
  padding: 28px;
}

.project-copy p {
  min-height: 72px;
  margin-bottom: 24px;
}

.featured-build .project-copy {
  display: grid;
  align-content: center;
  padding: clamp(30px, 4vw, 46px);
}

.featured-build .project-copy h3 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
}

.project-summary {
  max-width: 590px;
  min-height: 0 !important;
}

.case-study-points {
  display: grid;
  gap: 1px;
  margin: 4px 0 26px;
  background: var(--line);
  border: 1px solid var(--line);
}

.case-study-points div {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 18px;
  padding: 18px 20px;
  background: #fff;
}

.case-study-points span {
  color: var(--sage);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-study-points p {
  min-height: 0;
  margin: 0;
}

.project-copy a {
  color: var(--black);
  font-weight: 900;
  text-decoration: none;
}

.founder {
  background: var(--canvas);
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1fr);
  gap: clamp(56px, 8vw, 118px);
  align-items: center;
}

.founder-copy h2 {
  margin-bottom: 24px;
}

.founder-copy p {
  max-width: 630px;
  line-height: 1.68;
}

.founder-copy p + p {
  margin-top: 18px;
}

.founder-copy .button {
  margin-top: 24px;
}

.founder-photo {
  display: grid;
  place-items: center;
  min-height: 560px;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid var(--sand);
  border-radius: 0;
  background:
    linear-gradient(180deg, #fffdf9, #f4f0e8);
  overflow: hidden;
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.08);
}

.founder-photo img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 700px;
  border: 1px solid #d8cfbf;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  object-fit: contain;
}

.founder-note {
  display: inline-flex;
  margin-top: 22px;
  margin-bottom: 0;
  padding: 11px 14px;
  border: 1px solid var(--line);
  color: var(--black);
  background: #fffdf9;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.placeholder-photo {
  display: grid;
  place-items: center;
  color: #767676;
  font-weight: 900;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 58% 34%, #d2d2d2 0 62px, transparent 64px),
    linear-gradient(90deg, #f5f5f5 0 32%, #e7e7e7 32% 35%, #f7f7f7 35% 100%);
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(620px, 1fr);
  gap: clamp(34px, 5vw, 74px);
  align-items: start;
  background: var(--canvas);
}

.contact > * {
  min-width: 0;
}

.contact-copy {
  position: sticky;
  top: 132px;
  padding-top: 18px;
}

.contact-copy h2 {
  margin-bottom: 20px;
}

.contact-copy p {
  max-width: 360px;
  line-height: 1.68;
}

.consultation-suite {
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(300px, 0.78fr);
  gap: 0;
  align-items: stretch;
  background: #fffdf9;
  border: 1px solid var(--sand);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.consultation-panel {
  min-width: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.lead-form {
  display: grid;
  gap: 12px;
  border-right: 1px solid var(--line);
}

.panel-header {
  padding: 28px 30px 22px;
  background: linear-gradient(180deg, #f7f2ea, #fffdf9);
  border-bottom: 1px solid var(--line);
}

.panel-header span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-header h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.2;
}

.panel-body {
  display: grid;
  gap: 12px;
  padding: 28px 30px 30px;
}

.bot-field {
  display: none;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lead-form label {
  display: grid;
  gap: 0;
}

.lead-form span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  padding: 13px 14px;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #8a8a8a;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form .button {
  width: 100%;
}

.calendar-card {
  padding: 0;
  background:
    linear-gradient(180deg, #2f3a2b 0 132px, #fffdf9 132px 100%);
}

.calendar-card h3 {
  color: #fff;
  text-align: left;
}

.calendar-card .panel-header {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.calendar-card .panel-header span {
  color: rgba(255, 255, 255, 0.66);
}

.time-heading span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 24px 30px 18px;
  color: var(--black);
  background: #fffdf9;
}

.calendar-head button {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8cfbf;
  border-radius: 4px;
  color: var(--black);
  background: var(--canvas);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.calendar-head button:hover:not(:disabled) {
  border-color: var(--black);
  background: #fff;
  transform: translateY(-1px);
}

.calendar-head strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1;
}

.calendar-head button:disabled {
  cursor: not-allowed;
  opacity: 0.34;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  padding: 0 30px 2px;
  background: #fffdf9;
  text-align: center;
}

.calendar-grid b {
  color: var(--muted);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.calendar-grid button,
.calendar-grid i {
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #9a9a9a;
  font-style: normal;
  font-size: 0.8rem;
}

.calendar-grid button {
  cursor: pointer;
  color: var(--black);
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.calendar-grid button:disabled {
  cursor: not-allowed;
  color: #c6c6c6;
}

.calendar-grid button.available {
  color: #161616;
  background: #f4f0e8;
  border-color: var(--sand);
  font-weight: 900;
}

.calendar-grid button.available:hover {
  background: var(--warm);
  border-color: var(--sage);
  transform: translateY(-1px);
}

.calendar-grid button.selected {
  color: #fff;
  background: var(--sage);
  border-color: var(--sage);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.time-heading {
  padding: 26px 30px 0;
  background: #fffdf9;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 0;
  padding: 0 30px;
  background: #fffdf9;
}

.time-slots button {
  min-height: 46px;
  border: 1px solid #d8cfbf;
  border-radius: 4px;
  color: var(--black);
  background: var(--canvas);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.time-slots button:hover:not(:disabled) {
  border-color: var(--black);
  background: #fff;
  transform: translateY(-1px);
}

.time-slots button:disabled {
  cursor: not-allowed;
  color: #b6b6b6;
  background: #f6f6f6;
}

.time-slots button.selected {
  color: #fff;
  background: var(--sage);
  border-color: var(--sage);
}

.calendar-status {
  min-height: 34px;
  margin: 22px 30px 0;
  padding: 14px 16px;
  border: 1px solid var(--sand);
  border-radius: 4px;
  background: #f7f2ea;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
}

.calendar-status.error {
  color: #9b1c1c;
}

.timezone {
  margin: 18px 30px 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(140px, 0.7fr) minmax(210px, 0.8fr) minmax(210px, 0.8fr);
  gap: clamp(32px, 6vw, 90px);
  padding-top: 54px;
  padding-bottom: 52px;
  background: var(--canvas);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 180px;
  margin-bottom: 22px;
}

.site-footer h2 {
  margin-bottom: 20px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer nav,
.site-footer address {
  display: grid;
  align-content: start;
  gap: 8px;
  font-style: normal;
}

.site-footer a {
  text-decoration: none;
}

.thanks-page {
  min-height: 100vh;
  background: var(--black);
  color: #fff;
}

.thanks {
  display: grid;
  align-items: center;
  min-height: 100vh;
  padding: clamp(28px, 8vw, 92px);
}

.thanks section {
  max-width: 760px;
}

.thanks p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.1rem;
}

.subpage-main {
  overflow: visible;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(300px, 0.58fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: end;
  padding: clamp(64px, 8vw, 112px) clamp(26px, 6vw, 92px);
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

.page-hero p:not(.section-kicker) {
  max-width: 690px;
  color: #3f3f3f;
  font-size: 1.08rem;
  line-height: 1.72;
}

.page-note {
  padding: 32px;
  background: linear-gradient(180deg, var(--soft), #fffdf9);
  border: 1px solid var(--line);
}

.page-note h2 {
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 900;
}

.page-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.page-section {
  padding: clamp(72px, 8vw, 112px) clamp(26px, 6vw, 92px);
}

.page-grid,
.page-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-card {
  min-height: 250px;
  padding: 32px;
  background: #fffdf9;
}

.page-card h2,
.page-card h3 {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.08;
}

.page-card p,
.page-card li {
  color: var(--muted);
  line-height: 1.68;
}

.page-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 230px auto auto;
  }

  .hero,
  .founder,
  .featured-build,
  .page-hero,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .project-grid,
  .page-grid,
  .page-card-grid,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-copy {
    position: static;
    padding-top: 0;
  }

  .featured-build .project-image {
    min-height: 360px;
  }
}

@media (max-width: 800px) {
  .site-header {
    grid-template-columns: auto auto;
    min-height: 82px;
  }

  .brand {
    width: 182px;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.open {
    display: grid;
    grid-column: 1 / -1;
    gap: 0;
    padding-top: 12px;
  }

  .site-nav.open a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .site-nav a.active::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero-device {
    overflow: hidden;
  }

  .real-laptop-hero {
    width: 100%;
    margin-left: 0;
    aspect-ratio: 3 / 2;
  }

  .service-grid,
  .project-grid,
  .page-grid,
  .page-card-grid,
  .site-footer,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section-heading.inline {
    display: grid;
    align-items: start;
  }

  .consultation-suite {
    grid-template-columns: 1fr;
  }

  .lead-form {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 3rem;
    line-height: 1.05;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .project-image {
    min-height: 210px;
  }

  .case-study-points div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .calendar-card {
    padding: 0;
  }

  .panel-header,
  .panel-body,
  .calendar-title,
  .calendar-head,
  .calendar-grid,
  .time-heading,
  .time-slots {
    padding-right: 18px;
    padding-left: 18px;
  }

  .calendar-grid {
    gap: 3px;
  }

  .calendar-status,
  .timezone {
    margin-right: 18px;
    margin-left: 18px;
  }

  .calendar-grid button,
  .calendar-grid i {
    min-height: 28px;
    font-size: 0.74rem;
  }

  .calendar-grid b {
    font-size: 0.56rem;
  }

  .time-slots {
    grid-template-columns: 1fr;
  }
}
