:root {
  --ink: #0d0f12;
  --paper: #ffffff;
  --canvas: #f3f5f4;
  --muted: #5d6670;
  --line: #dce2df;
  --teal: #087f75;
  --teal-dark: #075f58;
  --yellow: #ffcf22;
  --blue: #1769e0;
  --orange: #e06b2f;
  --shell: min(1180px, calc(100% - 40px));
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 99; padding: 10px 14px; background: var(--yellow); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; min-width: 210px; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand span { display: grid; line-height: 1.1; }
.brand b { font-family: "Manrope", sans-serif; font-size: 16px; }
.brand small { margin-top: 5px; color: var(--muted); }
nav { display: flex; align-items: center; gap: 24px; }
nav a { color: #40474f; font-size: 14px; font-weight: 600; }
nav a:hover { color: var(--teal); }
.header-cta { min-height: 42px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: white; font-weight: 700; border-radius: 6px; }
.header-cta svg { width: 18px; }

.hero { min-height: 690px; position: relative; overflow: hidden; background: var(--ink); color: white; }
.hero-visual { position: absolute; inset: 0 0 0 44%; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 35% center; opacity: .84; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #0d0f12 0%, #0d0f12 38%, rgba(13,15,18,.86) 57%, rgba(13,15,18,.2) 100%); }
.hero-content { min-height: 690px; position: relative; display: flex; align-items: center; padding: 88px 0 124px; }
.hero-copy { width: min(720px, 68%); }
.eyebrow { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border: 1px solid currentColor; color: var(--teal); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.hero .eyebrow, .section-dark .eyebrow, .contact-section .eyebrow { color: var(--yellow); }
h1, h2, h3 { margin: 0; font-family: "Manrope", sans-serif; letter-spacing: 0; }
h1 { margin-top: 20px; max-width: 800px; font-size: clamp(48px, 6.3vw, 82px); line-height: .99; }
.hero-copy > p { max-width: 660px; margin: 28px 0 0; color: #d3d8db; font-size: 19px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 52px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 6px; font-weight: 800; cursor: pointer; }
.button svg { width: 19px; height: 19px; }
.button-primary { background: var(--yellow); color: var(--ink); }
.button-primary:hover { background: #ffe16f; }
.button-ghost { border-color: #687076; color: white; }
.button-light { background: white; color: var(--ink); }
.button-dark { background: var(--ink); color: white; }
.button-outline { border-color: #aeb8b4; color: var(--ink); background: transparent; }
.hero-highlights { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 34px; color: #bac3c6; font-size: 13px; }
.hero-highlights span { display: inline-flex; align-items: center; gap: 6px; }
.hero-highlights svg { width: 15px; color: var(--yellow); }

.quick-links { position: relative; z-index: 5; margin-top: -74px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: white; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(13,15,18,.12); }
.quick-grid > a { min-height: 146px; display: grid; grid-template-columns: 48px 1fr 22px; align-items: center; gap: 14px; padding: 24px; border-right: 1px solid var(--line); }
.quick-grid > a:last-child { border-right: 0; }
.quick-grid > a > svg:first-child { width: 40px; height: 40px; padding: 9px; color: white; background: var(--teal); border-radius: 6px; }
.quick-grid > a:nth-child(2) > svg:first-child { background: var(--blue); }
.quick-grid > a:nth-child(3) > svg:first-child { background: var(--orange); }
.quick-grid span { display: grid; }
.quick-grid b { font-family: "Manrope", sans-serif; }
.quick-grid small { margin-top: 5px; color: var(--muted); }
.quick-grid > a > svg:last-child { width: 18px; color: var(--muted); }

.entry-section { padding: 110px 0 30px; }
.entry-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; align-items: start; }
.entry-grid { display: grid; gap: 12px; }
.entry-item { display: grid; grid-template-columns: 48px 1fr auto; column-gap: 18px; padding: 24px; border: 1px solid var(--line); background: white; }
.entry-icon { grid-row: 1 / span 4; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 6px; background: var(--yellow); color: var(--ink); }
.entry-item > span { color: var(--teal); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.entry-item h3 { margin-top: 5px; font-size: 21px; }
.entry-item p { margin: 8px 0 0; color: var(--muted); line-height: 1.5; }
.entry-item .button { grid-column: 3; grid-row: 1 / span 4; align-self: center; min-width: 210px; }

.section { padding: 110px 0; }
.section-heading { max-width: 720px; }
.section-heading h2, .profile-copy h2, .contact-section h2 { margin-top: 18px; font-size: clamp(35px, 4vw, 54px); line-height: 1.08; }
.section-heading p, .contact-section p { margin: 20px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.services-grid { margin-top: 54px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-item { min-height: 310px; padding: 30px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; transition: background .2s ease, transform .2s ease; }
.service-item:hover { background: var(--canvas); transform: translateY(-2px); }
.service-item:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
.service-item::before { content: ""; position: absolute; left: 0; top: 0; width: 5px; height: 54px; background: var(--teal); }
.service-icon { width: 44px; height: 44px; display: grid; place-items: center; background: #e9f4f2; color: var(--teal); border-radius: 6px; }
.service-item h3 { margin-top: 28px; font-size: 21px; }
.service-item p { margin: 13px 0 0; color: var(--muted); line-height: 1.6; }
.service-link { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 7px; color: var(--teal); font-weight: 800; font-size: 14px; }
.service-link svg { width: 16px; }
.accent-yellow::before { background: var(--yellow); } .accent-yellow .service-icon { background: #fff8d7; color: #8b6b00; }
.accent-blue::before { background: var(--blue); } .accent-blue .service-icon { background: #edf3ff; color: var(--blue); }
.accent-orange::before { background: var(--orange); } .accent-orange .service-icon { background: #fff0e9; color: var(--orange); }
.accent-black::before { background: var(--ink); } .accent-black .service-icon { background: #e9eaeb; color: var(--ink); }
.accent-white::before { background: #b6c1bd; } .accent-white .service-icon { background: #f5f6f6; color: #58635f; }

.support-section { background: #eef2f0; }
.plans-grid { margin-top: 54px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan-item { min-height: 510px; padding: 30px; display: flex; flex-direction: column; background: white; border-top: 5px solid var(--teal); }
.plan-item:nth-child(2) { border-top-color: var(--yellow); }
.plan-item:nth-child(3) { border-top-color: var(--orange); }
.plan-head { display: flex; align-items: center; gap: 12px; }
.plan-head > span { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.plan-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 6px; background: #e6f3f1; color: var(--teal); }
.plan-item:nth-child(2) .plan-icon { background: #fff8d7; color: #806500; }
.plan-item:nth-child(3) .plan-icon { background: #fff0e9; color: var(--orange); }
.plan-item h3 { margin-top: 24px; font-size: 25px; }
.plan-item > p { min-height: 78px; margin: 12px 0 0; color: var(--muted); line-height: 1.55; }
.plan-item ul { margin: 22px 0 28px; padding: 20px 0 0; display: grid; gap: 13px; list-style: none; border-top: 1px solid var(--line); }
.plan-item li { display: flex; align-items: flex-start; gap: 9px; line-height: 1.4; }
.plan-item li svg { width: 17px; min-width: 17px; color: var(--teal); }
.plan-item .button { margin-top: auto; width: 100%; padding-inline: 14px; text-align: center; }

.section-dark { background: var(--ink); color: white; }
.section-dark .section-heading p { color: #aeb8bd; }
.portfolio-grid { margin-top: 54px; display: grid; grid-template-columns: 1.35fr .65fr; gap: 16px; }
.portfolio-item { min-height: 310px; display: flex; flex-direction: column; background: #171a1e; border: 1px solid #30363c; overflow: hidden; border-radius: 6px; }
.portfolio-item.featured { grid-row: span 2; }
.portfolio-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: #30363c; }
.portfolio-media { min-height: 220px; overflow: hidden; background: #22282d; }
.featured .portfolio-media { min-height: 276px; }
.portfolio-gallery .portfolio-media:not(.portfolio-media-main) img { object-position: center; }
.portfolio-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .3s ease; }
.portfolio-media:hover img { transform: scale(1.02); }
.portfolio-content { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.portfolio-content > span { color: var(--yellow); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.portfolio-content h3 { margin-top: 10px; font-size: 24px; }
.portfolio-content p { margin: 12px 0 22px; color: #aeb8bd; line-height: 1.55; }
.portfolio-features { margin: 0 0 24px; padding: 18px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; border-top: 1px solid #30363c; list-style: none; color: #d4dadd; font-size: 14px; }
.portfolio-features li { display: flex; align-items: flex-start; gap: 8px; }
.portfolio-features svg { width: 16px; min-width: 16px; color: var(--yellow); }
.text-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; width: fit-content; color: var(--teal); font-weight: 800; }
.section-dark .text-link { color: var(--yellow); }
.text-link svg { width: 17px; }

.method-section { background: var(--canvas); }
.method-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.sticky-heading { position: sticky; top: 116px; }
.method-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #cdd4d1; }
.method-list li { min-height: 146px; display: grid; grid-template-columns: 48px 50px 1fr; gap: 18px; align-items: center; border-bottom: 1px solid #cdd4d1; }
.method-list li > span { align-self: start; padding-top: 28px; color: var(--teal); font-weight: 800; }
.method-icon { width: 46px; height: 46px; display: grid; place-items: center; background: white; border: 1px solid var(--line); border-radius: 6px; color: var(--teal); }
.method-list h3 { font-size: 20px; }
.method-list p { margin: 8px 0 0; color: var(--muted); line-height: 1.5; }

.profile-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: 86px; align-items: center; }
.profile-mark { min-height: 530px; position: relative; display: flex; align-items: flex-end; padding: 40px; overflow: hidden; background: var(--yellow); }
.profile-mark img { position: absolute; width: 78%; right: -8%; top: 4%; opacity: .14; mix-blend-mode: multiply; }
.profile-mark span { position: relative; font-family: "Manrope", sans-serif; font-size: clamp(43px, 5vw, 68px); font-weight: 800; line-height: .95; }
.profile-copy > p, #profile-paragraphs p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.principles { margin: 28px 0; display: grid; gap: 12px; }
.principles span { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.principles svg { width: 19px; color: var(--teal); }

.contact-section { padding: 92px 0; background: var(--teal-dark); color: white; }
.contact-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; }
.contact-section p { color: #d0e2df; }
.contact-actions { display: grid; gap: 12px; grid-template-columns: 1fr 54px; }
.contact-actions .button { grid-column: 1; }
.icon-command { grid-column: 2; grid-row: 1 / span 2; border: 1px solid rgba(255,255,255,.4); background: transparent; color: white; border-radius: 6px; cursor: pointer; }
.icon-command:hover { background: rgba(255,255,255,.1); }

.site-footer { padding: 46px 0; background: #080a0c; color: white; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 22px 50px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 52px; height: 52px; object-fit: contain; background: white; border-radius: 50%; }
.footer-brand div { display: grid; }.footer-brand span { margin-top: 4px; color: #9da7ac; font-size: 13px; }
.social-links { display: flex; gap: 8px; }
.social-links a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #3b4247; border-radius: 6px; }
.social-links a:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.social-links svg { width: 19px; }
.footer-grid p { margin: 0; color: #8f999e; font-size: 12px; }.footer-grid small { color: #8f999e; text-align: right; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 50; padding: 11px 16px; background: var(--ink); color: white; border-radius: 6px; opacity: 0; pointer-events: none; transform: translate(-50%, 14px); transition: .2s ease; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  :root { --shell: min(100% - 28px, 720px); }
  nav { display: none; }
  .hero { min-height: 720px; }
  .hero-visual { inset: 36% 0 0 18%; }
  .hero-shade { background: linear-gradient(180deg, #0d0f12 0%, #0d0f12 43%, rgba(13,15,18,.8) 70%, rgba(13,15,18,.45) 100%); }
  .hero-content { min-height: 720px; align-items: flex-start; padding-top: 72px; }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(44px, 10vw, 68px); }
  .hero-copy > p { font-size: 17px; }
  .hero-highlights { display: none; }
  .quick-links { margin-top: -52px; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-grid > a { min-height: 94px; border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-grid > a:last-child { border-bottom: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .entry-layout { grid-template-columns: 1fr; gap: 40px; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-item { min-height: 0; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item.featured { grid-row: auto; }
  .portfolio-gallery { grid-template-columns: 1fr; }
  .portfolio-gallery .portfolio-media:not(.portfolio-media-main) { display: none; }
  .method-layout, .profile-layout, .contact-layout { grid-template-columns: 1fr; gap: 50px; }
  .sticky-heading { position: static; }
  .profile-mark { min-height: 400px; }
}

@media (max-width: 560px) {
  .header-inner { min-height: 66px; gap: 12px; }
  .brand { min-width: 0; }.brand img { width: 40px; height: 40px; }.brand small { display: none; }.brand b { font-size: 14px; }
  .header-cta { width: 42px; padding: 0; justify-content: center; }.header-cta span { display: none; }
  .hero { min-height: 690px; }.hero-content { min-height: 690px; padding-top: 54px; }
  h1 { font-size: 43px; }
  .hero-copy > p { margin-top: 20px; line-height: 1.5; }
  .hero-actions { display: grid; }.button { width: 100%; }
  .section { padding: 78px 0; }
  .section-heading h2, .profile-copy h2, .contact-section h2 { font-size: 34px; }
  .services-grid { grid-template-columns: 1fr; }
  .entry-section { padding-top: 82px; }
  .entry-item { grid-template-columns: 44px 1fr; padding: 20px; }
  .entry-icon { width: 44px; height: 44px; }
  .entry-item .button { grid-column: 1 / -1; grid-row: auto; margin-top: 18px; width: 100%; min-width: 0; }
  .service-item { min-height: 240px; }
  .featured .portfolio-media { min-height: 230px; }
  .portfolio-features { grid-template-columns: 1fr; }
  .method-list li { grid-template-columns: 34px 42px 1fr; gap: 10px; }
  .method-icon { width: 40px; height: 40px; }
  .profile-mark { min-height: 350px; padding: 28px; }.profile-mark span { font-size: 45px; }
  .contact-actions { grid-template-columns: 1fr 48px; }
  .footer-grid { grid-template-columns: 1fr; }.footer-grid small { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
