/* =========================================================
   Applied Origin — Site Styles
   ========================================================= */

/* ---------- Brand / layout variables ---------- */
:root {
  --ink: #123B5D;
  --ink-2: #2A4963;
  --muted: #5F6B76;
  --line: #DFE4E8;
  --paper: #F8F8F5;
  --soft: #F1F4F6;
  --accent: #245FA6;
  --max: 1180px;
}


/* =========================================================
   Base
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
               BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

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

.wrap {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}


/* =========================================================
   Typography
   ========================================================= */

h1,
h2,
h3 {
  margin: 0 0 18px;
  line-height: 1.06;
  font-weight: 500;
}

h1 {
  font-size: clamp(58px, 7vw, 96px);
  letter-spacing: -0.035em;
}

h2 {
  font-size: 34px;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 20px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.lede {
  max-width: 470px;
  margin: 0 0 30px;
  font-size: 21px;
  color: var(--ink-2);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--accent);
}

.process-grid p,
.cap-card p,
.ventures p,
.prose p {
  font-size: 17px;
  color: var(--muted);
}


/* =========================================================
   Header / navigation
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 248, 245, 0.96);
  border-bottom: 1px solid rgba(15, 26, 40, 0.08);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-brand {
  display: block;
}

.site-brand img {
  width: 260px;
  height: auto;
}

.site-nav {
  display: flex;
  gap: 34px;
  font-size: 15px;
}

.site-nav a {
  padding: 29px 0 25px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
  border-color: var(--accent);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--ink);
}


/* =========================================================
   Hero
   ========================================================= */

.hero {
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  min-height: 550px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 55px 48px 55px 0;
}

.hero-visual {
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* =========================================================
   Shared sections
   ========================================================= */

.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.soft {
  background: var(--soft);
}


/* =========================================================
   Our Process
   ========================================================= */

.process {
  padding-top: 58px;
  padding-bottom: 74px;
}

.process-heading {
  margin-bottom: 40px;
}

.process-heading .eyebrow {
  margin-bottom: 10px;
}

.process-heading h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(28px, 2.7vw, 38px);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 54px;
}

.process-grid article {
  min-width: 0;
}

.process-number {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.process-number span {
  flex: 0 0 auto;
  font-size: 46px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--accent);
}

.process-number i {
  display: block;
  flex: 1;
  height: 1px;
  background: var(--line);
}

.process-grid h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
}

.process-grid h3::before {
  content: "";
  display: block;
  width: 38px;
  height: 2px;
  margin-bottom: 12px;
  background: var(--accent);
}

.process-grid p {
  max-width: 330px;
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}


/* =========================================================
   Capabilities
   ========================================================= */

.capabilities h2 {
  max-width: 620px;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 42px;
}

.cap-card {
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 59, 93, 0.10);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(18, 59, 93, 0.03);
}

.cap-icon-wrap {
  width: 96px;
  height: 96px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 115, 201, 0.06);
  border-radius: 50%;
}

.cap-icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.cap-card h3 {
  margin-bottom: 12px;
}

.cap-card h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 14px;
  background: var(--accent);
}

.cap-card p {
  margin-bottom: 0;
}


/* =========================================================
   Brands & Ventures / Selected Development Services
   ========================================================= */

.ventures {
  background: var(--paper);
}

.ventures-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: start;
}

.ventures-copy h2 {
  max-width: 620px;
}

.ventures-copy .ventures-lede {
  max-width: 650px;
  margin-top: 0;
  font-size: 20px;
  color: var(--ink-2);
}

.ventures-copy .ventures-note {
  font-weight: 500;
  color: var(--accent);
}

.ventures-status {
  padding-left: 46px;
  border-left: 1px solid var(--line);
}

.ventures-status h2 {
  max-width: 420px;
}

.ventures-status p {
  max-width: 440px;
}

/* =========================================================
   WORK PAGE
   Append to /assets/css/site.css
   ========================================================= */

.work-hero {
  border-bottom: 1px solid var(--line);
}

.work-hero-grid {
  display: grid;
  grid-template-columns: 38% 62%;
  min-height: 430px;
}

.work-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 64px 64px 0;
}

.work-hero-copy h1 {
  margin: 14px 0 16px;
  font-size: clamp(64px, 7vw, 96px);
  line-height: .95;
  font-weight: 400;
  letter-spacing: -.045em;
  color: var(--ink);
}

.work-hero-copy .lede {
  max-width: 430px;
  margin: 0;
}

.work-hero-image {
  min-width: 0;
  overflow: hidden;
}

.work-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.work-overview {
  padding-top: 46px;
  padding-bottom: 78px;
}

.work-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .9fr);
  gap: 54px;
  align-items: start;
}

.work-main {
  min-width: 0;
}

.work-section-heading {
  margin-bottom: 22px;
}

.work-section-heading h2 {
  margin: 0;
  font-size: clamp(25px, 2.3vw, 34px);
  line-height: 1.16;
  font-weight: 400;
  letter-spacing: -.025em;
  color: var(--ink);
}

.work-section-heading > span {
  display: block;
  width: 38px;
  height: 2px;
  margin: 13px 0 14px;
  background: var(--accent);
}

.work-section-heading p {
  max-width: 700px;
  margin: 0;
  color: var(--ink-2);
}

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

.work-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
  margin-bottom: 18px;
}

.work-card h3 {
  margin: 0 0 9px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 600;
}

.work-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
}

.work-side {
  padding-left: 46px;
  border-left: 1px solid var(--line);
}

.work-side-section + .work-side-section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.work-side-section > p {
  margin: -3px 0 18px;
  color: var(--ink-2);
  line-height: 1.65;
}

.work-venture-status {
  margin-top: 20px;
  padding: 16px 18px;
  background: rgba(47, 115, 201, 0.055);
  border-left: 3px solid var(--accent);
}

.work-venture-status span,
.work-venture-status strong {
  display: block;
}

.work-venture-status p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}

.work-venture-status span {
  margin-bottom: 3px;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
}

.work-venture-status strong {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--ink);
}

.work-outside .text-link {
  display: inline-block;
  margin-top: 4px;
}

@media (max-width: 920px) {
  .work-layout {
    grid-template-columns: 1fr;
  }

  .work-side {
    padding-left: 0;
    padding-top: 38px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .work-hero-grid {
    grid-template-columns: 1fr;
  }

  .work-hero-copy {
    padding: 52px 0 42px;
  }

  .work-hero-copy h1 {
    font-size: clamp(56px, 17vw, 82px);
  }

  .work-hero-image {
    min-height: 330px;
  }

  .work-card-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .work-card img {
    aspect-ratio: 1.7 / 1;
  }
}




/* =========================================================
   SERVICES PAGE
   ========================================================= */

.services-hero {
  border-bottom: 1px solid var(--line);
}

.services-hero-grid {
  display: grid;
  grid-template-columns: 43% 57%;
  min-height: 430px;
  align-items: stretch;
}

.services-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 64px 64px 0;
}

.services-hero-copy h1 {
  margin: 14px 0 16px;
  font-size: clamp(58px, 6.5vw, 88px);
  line-height: .98;
  font-weight: 400;
  letter-spacing: -.045em;
  color: var(--ink);
}

.services-hero-copy .lede {
  max-width: 520px;
  margin: 0;
}

.services-hero-image {
  min-width: 0;
  overflow: hidden;
}

.services-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.services-overview {
  padding-top: 54px;
}

.services-section-heading {
  margin-bottom: 30px;
}

.services-section-heading h2 {
  margin: 0;
  font-size: clamp(25px, 2.3vw, 34px);
  line-height: 1.16;
  font-weight: 400;
  letter-spacing: -.025em;
  color: var(--ink);
}

.services-section-heading > span {
  display: block;
  width: 38px;
  height: 2px;
  margin: 13px 0 14px;
  background: var(--accent);
}

.services-section-heading p {
  max-width: 720px;
  margin: 0;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.65;
}

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

.service-card {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.service-number {
  display: block;
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .08em;
  color: var(--accent);
}

.service-card h3 {
  max-width: 300px;
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
}

.service-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.65;
}

.services-fit {
  background: var(--soft);
}

.services-fit-grid {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
  gap: 72px;
  align-items: start;
}

.services-fit .services-section-heading {
  margin-bottom: 0;
}

.services-fit-copy {
  max-width: 680px;
}

.services-fit-copy p {
  margin: 0 0 16px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.7;
}

.services-fit-copy .button {
  margin-top: 12px;
}

@media (max-width: 920px) {
  .services-hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .services-hero-copy {
    padding: 58px 0 40px;
  }

  .services-hero-image {
    min-height: 330px;
  }

  .services-fit-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 760px) {
  .services-hero-copy h1 {
    font-size: clamp(50px, 14vw, 72px);
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-number {
    margin-bottom: 18px;
  }
}



/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-hero {
  border-bottom: 1px solid var(--line);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  min-height: 390px;
  align-items: stretch;
}

.contact-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 66px 72px 66px 0;
}

.contact-hero-copy h1 {
  margin: 14px 0 16px;
  font-size: clamp(58px, 6.5vw, 88px);
  line-height: .98;
  font-weight: 400;
  letter-spacing: -.045em;
  color: var(--ink);
}

.contact-hero-copy .lede {
  max-width: 500px;
  margin: 0;
}

.contact-hero-note {
  position: relative;
  isolation: isolate;
  align-self: center;
  padding: 28px 0 28px 46px;
  border-left: 1px solid var(--line);
}

.contact-hero-note::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -46px;
  bottom: -88px;
  width: 430px;
  height: 390px;
  background: url("/assets/images/spokane-clocktower.png") right bottom / contain no-repeat;
  opacity: .28;
  pointer-events: none;
}

.contact-hero-note > span,
.contact-label {
  display: block;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-hero-note > span {
  margin-bottom: 10px;
}

.contact-hero-note p {
  max-width: 380px;
  margin: 0;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.65;
}

.contact-section {
  padding-top: 56px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
  gap: 86px;
  align-items: start;
}

.contact-section-heading {
  margin-bottom: 20px;
}

.contact-section-heading h2 {
  margin: 0;
  font-size: clamp(25px, 2.3vw, 34px);
  line-height: 1.16;
  font-weight: 400;
  letter-spacing: -.025em;
  color: var(--ink);
}

.contact-section-heading > span {
  display: block;
  width: 38px;
  height: 2px;
  margin: 13px 0 14px;
  background: var(--accent);
}

.contact-intro > p {
  max-width: 560px;
  margin: 0 0 34px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.7;
}

.contact-details {
  border-top: 1px solid var(--line);
}

.contact-detail {
  padding: 20px 0 22px;
  border-bottom: 1px solid var(--line);
}

.contact-label {
  margin-bottom: 8px;
}

.contact-detail a,
.contact-detail p {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.5;
}

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

.contact-email-note {
  margin-top: 6px !important;
  font-size: 14px !important;
  color: var(--muted) !important;
}

.contact-form-wrap {
  min-width: 0;
}

.contact-form {
  position: relative;
}

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

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.form-field textarea {
  min-height: 170px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47,115,201,.08);
}

.contact-submit {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  margin-bottom: 24px;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  background: var(--soft);
  color: var(--ink);
}

.form-status.error {
  border-left-color: #9b3434;
}

@media (max-width: 920px) {
  .contact-hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .contact-hero-copy {
    padding: 58px 0 40px;
  }

  .contact-hero-note {
    margin-bottom: 44px;
    padding: 22px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .contact-hero-note::after {
    right: -52px;
    bottom: -55px;
    width: 360px;
    height: 325px;
    opacity: .34;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }
}

@media (max-width: 760px) {
  .contact-hero-copy h1 {
    font-size: clamp(50px, 14vw, 72px);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}



/* =========================================================
   Interior pages
   ========================================================= */

.page-hero {
  padding: 110px 0 70px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(52px, 6vw, 78px);
}

.prose {
  font-size: 18px;
}

.prose h2 {
  margin-top: 12px;
}

.button {
  display: inline-block;
  margin-top: 14px;
  padding: 13px 18px;
  color: #fff;
  background: var(--ink);
}


/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  padding: 38px 0 24px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 30px;
}

.footer-company {
  margin-bottom: 7px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.footer-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
}

.footer-nav a {
  color: var(--ink-2);
}

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

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .footer-main {
    flex-direction: column;
    gap: 24px;
  }

  .footer-meta {
    flex-direction: column;
    gap: 4px;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 18px 24px;
  }
}


/* =========================================================
   Responsive — tablet
   ========================================================= */

@media (max-width: 980px) {
  .ventures-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 70px 0 50px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .ventures-status {
    padding: 34px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}


/* =========================================================
   Responsive — mobile
   ========================================================= */

@media (max-width: 760px) {
  .wrap {
    width: min(calc(100% - 32px), var(--max));
  }

  .site-brand img {
    width: 220px;
  }

  .nav-toggle {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    gap: 0;
    padding: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

.cap-grid {
  grid-template-columns: 1fr;
  gap: 24px;
}

.process-grid {
  grid-template-columns: 1fr;
  gap: 36px;
}

.process-number span {
  font-size: 40px;
}

.process-grid p {
  max-width: none;
}

  .footer-inner {
    flex-direction: column;
  }
}