:root {
  --forest: #1d3b2f;
  --forest-deep: #132820;
  --moss: #5f7f4f;
  --cedar: #b5562b;
  --cedar-dark: #94431f;
  --fog: #f4f2ec;
  --mist: #e7e4da;
  --ink: #1d221f;
  --muted: #5b625d;
  --white: #fff;
  --radius: 14px;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--fog); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cedar); }
h1, h2, h3 { font-family: var(--head); line-height: 1.05; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(3rem, 8vw, 5.5rem); text-transform: uppercase; }
h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); text-transform: uppercase; }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: .14em; color: var(--moss); font-weight: 600; margin-bottom: .4em; }

.btn { display: inline-block; background: var(--cedar); color: var(--white); text-decoration: none; font-weight: 600; padding: .85em 1.6em; border-radius: 999px; border: 2px solid var(--cedar); cursor: pointer; font: 600 1rem var(--body); transition: background .15s, color .15s, transform .15s; }
.btn:hover { background: var(--cedar-dark); border-color: var(--cedar-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: var(--white); border-color: var(--forest); }
.btn-small { padding: .5em 1.1em; font-size: .95rem; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--cedar); outline-offset: 3px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(244, 242, 236, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--mist); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .03em; }
.brand img { width: 44px; height: 44px; }
nav { display: flex; align-items: center; gap: 22px; }
nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
nav a:not(.btn):hover { color: var(--cedar); }

/* hero */
.hero { position: relative; background: linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 100%); color: var(--fog); padding: 72px 0 140px; overflow: hidden; }
.hero .eyebrow { color: #a9c39a; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.lede { font-size: 1.2rem; max-width: 34em; color: #dfe6dc; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero .btn-ghost { color: var(--fog); border-color: var(--fog); }
.hero .btn-ghost:hover { background: var(--fog); color: var(--forest); }
.hero-figure { margin: 0; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 100px; fill: var(--fog); }

/* testimonial */
.testimonial { padding: 40px 0 64px; }
blockquote { margin: 0; text-align: center; }
blockquote p { font-family: var(--head); font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.3; color: var(--forest); }
blockquote footer { color: var(--muted); font-weight: 500; }

/* sections */
.section { padding: 88px 0; }
.section-alt { background: var(--mist); }
.section-dark { background: var(--forest); color: var(--fog); }
.section-dark .eyebrow { color: #a9c39a; }

/* pricing */
.starters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 32px 0 24px; }
.starter { background: var(--white); border-radius: var(--radius); padding: 22px 24px; display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: center; border: 1px solid var(--mist); }
.starter h3 { font-size: 1.35rem; margin: 0; }
.starter p { margin: 0; color: var(--muted); grid-column: 1; }
.starter .price { grid-column: 2; grid-row: 1 / span 2; font-family: var(--head); font-size: 1.8rem; font-weight: 700; color: var(--cedar); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; background: var(--white); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; border: 1px solid var(--mist); }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { padding: 8px 0 8px 28px; position: relative; border-top: 1px solid var(--mist); }
.plan li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px; border-left: 2.5px solid var(--moss); border-bottom: 2.5px solid var(--moss); transform: rotate(-45deg); }
.plan .btn { align-self: flex-start; }
.plan-price { font-family: var(--head); font-size: 2.6rem; font-weight: 700; color: var(--forest); margin: 0; line-height: 1; }
.plan-sub { color: var(--muted); margin: 10px 0 20px; }
.plan-feature { background: var(--forest); color: var(--fog); border-color: var(--forest); transform: translateY(-10px); box-shadow: 0 20px 40px rgba(19, 40, 32, .25); }
.plan-feature .plan-price { color: var(--white); }
.plan-feature .plan-sub { color: #c9d4c5; }
.plan-feature li { border-top-color: rgba(255,255,255,.12); }
.plan-feature li::before { border-color: #a9c39a; }
.tag { position: absolute; top: -13px; left: 28px; background: var(--cedar); color: var(--white); font-size: .8rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }

.ala-head { margin-top: 56px; }
.ala { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin: 0; }
.ala div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed #c8c4b6; }
.ala dt { font-weight: 500; }
.ala dd { margin: 0; color: var(--muted); white-space: nowrap; }

/* work */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.project { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid #d9d5c9; display: flex; flex-direction: column; }
.project img { background: linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 100%); padding: 20px 14px 6px; }
.project-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.project-body h3 { margin-bottom: 2px; }
.project-kind { color: var(--moss); font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
.project-body p:not(.project-kind) { flex: 1; }
.project-body a { font-weight: 600; text-decoration: none; }
.project-body a:hover { text-decoration: underline; }

/* team */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.person { background: var(--white); border-radius: var(--radius); padding: 32px; border: 1px solid var(--mist); }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--forest); color: var(--fog); display: grid; place-items: center; font-family: var(--head); font-size: 2rem; font-weight: 700; margin-bottom: 16px; }
.person h3 { margin-bottom: 0; }
.role { color: var(--moss); font-weight: 600; margin-bottom: 14px; }
.fun { background: var(--fog); padding: 14px 16px; border-radius: 10px; font-size: .95rem; margin: 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: .95rem; }
.contact-form .full, .contact-form button, .form-status { grid-column: 1 / -1; }
.contact-form .opt { color: #a9b8a5; font-weight: 400; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); color: var(--fog); }
.contact-form select option { color: var(--ink); }
.contact-form textarea { resize: vertical; }
.contact-form button { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; min-height: 1.5em; }
.form-status.ok { color: #a9c39a; }
.form-status.err { color: #f2a07b; }

.site-footer { background: var(--forest-deep); color: #9fb09a; padding: 28px 0; font-size: .9rem; }
.site-footer p { margin: 0; }

@media (max-width: 900px) {
  .hero-grid, .contact-grid, .work { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan-feature { transform: none; }
  .hero { padding: 48px 0 110px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  nav a:not(.btn) { display: none; }
  .brand span { font-size: 1.1rem; }
  .starters, .team, .ala, .contact-form { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
