@layer reset, base, layout, components, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p { margin: 0; }
  img { display: block; max-width: 100%; height: auto; }
  a { color: inherit; text-decoration: none; }
  svg { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
}

@layer base {
  :root {
    color-scheme: light;
    --navy: #11115b;
    --ink: #20243f;
    --muted: #626675;
    --teal: #196c60;
    --cream: #f8f7f1;
    --line: #dddfd6;
    --serif: Georgia, "Times New Roman", serif;
    --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--cream);
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
  }
  html { scroll-behavior: smooth; scroll-padding-top: 115px; }
  body { font-size: 16px; line-height: 1.65; }
  h1, h2 { font-family: var(--serif); font-weight: 400; color: var(--navy); letter-spacing: -.045em; }
  h1 { font-size: clamp(3.5rem, 5.7vw, 5.35rem); line-height: 1.06; }
  h2 { font-size: clamp(2.6rem, 4vw, 3.75rem); line-height: 1.12; }
  h3 { font-size: 1.12rem; line-height: 1.4; font-weight: 650; letter-spacing: -.025em; }
  a:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; border-radius: 3px; }
  ::selection { background: #e9ce8f; color: var(--navy); }
  .skip-link { position: fixed; top: -100px; left: 1rem; padding: .65rem 1rem; background: white; z-index: 100; }
  .skip-link:focus { top: 1rem; }
}

@layer layout {
  .container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
  .section { padding-block: 104px; }
  .site-header { position: sticky; top: 0; z-index: 20; background: rgb(248 247 241 / 96%); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
  .header-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; min-height: 102px; }
  .brand { flex-shrink: 0; width: 305px; }
  nav { display: flex; align-items: center; gap: 30px; font-size: .87rem; font-weight: 550; }
  nav > a:not(.button) { transition: color .2s; }
  nav > a:not(.button):hover { color: var(--teal); }
  .hero { padding-top: 58px; }
  .hero-grid { display: grid; grid-template-columns: 1.06fr 1fr; align-items: center; gap: 12px; padding-bottom: 54px; }
  .hero-copy { position: relative; z-index: 1; padding-block: 22px; }
  .hero-art { min-width: 0; }
  .hero-art img { width: 112%; max-width: none; margin-left: -5%; }
  .services-section { background: #fffefa; }
  .section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 64px; margin-bottom: 48px; }
  .section-intro { max-width: 395px; color: var(--muted); padding-bottom: 5px; }
  .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .why-section { background: var(--navy); color: white; padding-block: 94px; }
  .why-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
  .benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 36px; }
  .audience-section { padding-block: 62px; background: #ecefe6; }
  .audience-inner { display: grid; grid-template-columns: 1fr 1.65fr; gap: 60px; align-items: center; }
  .audience-inner h2 { font-size: 2.5rem; }
  .process-section { background: var(--cream); }
  .process-list { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; gap: 32px; }
  .contact-section { padding-bottom: 88px; }
  .contact-panel { display: grid; grid-template-columns: 1.18fr 1fr; gap: 60px; padding: 60px; background: #e8eee6; border: 1px solid #dce4d8; border-radius: 8px; }
  .site-footer { padding-top: 16px; background: #fffefa; }
  .footer-main, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
  .footer-main { padding-block: 36px; }
  .footer-bottom { border-top: 1px solid var(--line); padding-block: 22px; font-size: .75rem; color: var(--muted); }
}

@layer components {
  .eyebrow { font-size: .69rem; font-weight: 650; letter-spacing: .16em; color: var(--teal); margin-bottom: 22px; display: flex; align-items: center; gap: 12px; line-height: 1.6; }
  .eyebrow-line { width: 25px; height: 1px; background: var(--teal); }
  .hero-emphasis { color: var(--teal); font-style: italic; position: relative; white-space: nowrap; }
  .hero-emphasis::after { content: ""; position: absolute; bottom: -7px; left: 0; width: 100%; height: 9px; border-top: 2px solid #c6b477; border-radius: 50%; transform: rotate(-2deg); }
  .hero-subtitle { font-size: 1.1rem; line-height: 1.6; max-width: 420px; font-weight: 550; margin-top: 30px; }
  .hero-description { color: var(--muted); max-width: 460px; margin-top: 14px; font-size: .95rem; }
  .button-group { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
  .button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; background: var(--navy); color: white; border: 1px solid var(--navy); padding: 14px 21px; border-radius: 4px; font-size: .88rem; font-weight: 600; line-height: 1.5; min-height: 50px; transition: background .2s, transform .2s; }
  .button svg { width: 20px; height: 20px; }
  .button:hover { background: #252575; transform: translateY(-2px); }
  .button-small { padding: 11px 17px; min-height: 44px; font-size: .83rem; }
  .button-outline { background: transparent; color: var(--navy); border-color: #c9ccc9; }
  .button-outline:hover { background: #eeeede; }
  .button-arrow { margin-left: 9px; }
  .hero-details { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 27px; color: var(--muted); font-size: .77rem; }
  .hero-details span { display: inline-flex; gap: 7px; align-items: center; }
  .hero-details svg { width: 17px; height: 17px; color: var(--teal); }
  .art-caption { position: relative; background: var(--cream); text-align: center; font-size: .57rem; letter-spacing: .16em; font-weight: 600; margin-top: -10px; color: var(--muted); }
  .art-caption span { color: var(--teal); }
  .service-ribbon { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 30px; border-top: 1px solid var(--line); font-size: .86rem; }
  .service-ribbon > span:not(.ribbon-label) { display: flex; gap: 10px; align-items: center; }
  .service-ribbon svg { width: 21px; height: 21px; color: var(--teal); }
  .ribbon-label { font-size: .78rem; line-height: 1.5; color: var(--muted); padding-right: 30px; border-right: 1px solid var(--line); }
  .ribbon-label strong { color: var(--navy); font-weight: 600; }
  .service-card { border: 1px solid var(--line); border-radius: 5px; padding: 28px; background: #fffefa; transition: border-color .2s, background .2s; }
  .service-card:hover { border-color: #a4bab0; background: #f8faf5; }
  .card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
  .icon-box { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; background: #edf1e9; color: var(--teal); border-radius: 9px; flex-shrink: 0; }
  .icon-box svg { width: 25px; height: 25px; }
  .card-number { font-size: .68rem; color: var(--muted); letter-spacing: .08em; }
  .service-card h3 { margin-bottom: 11px; color: var(--navy); }
  .service-card p { font-size: .88rem; color: var(--muted); line-height: 1.8; }
  .service-card-wide { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; background: #f2f4ec; }
  .service-card-wide h3 { margin-bottom: 5px; }
  .service-card-wide .card-number { margin-left: auto; }
  .services-note { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: .88rem; color: var(--muted); }
  .text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--teal); font-weight: 600; font-size: .85rem; padding-block: 8px; white-space: nowrap; }
  .text-link svg { width: 20px; height: 20px; transition: transform .2s; }
  .text-link:hover svg { transform: translateX(4px); }
  .why-section .eyebrow { color: #c6d4c4; }
  .why-section h2 { color: #fbf8eb; }
  .why-copy > p:not(.eyebrow) { color: #cecede; font-size: .95rem; margin-top: 25px; }
  .care-note { border-top: 1px solid #454578; margin-top: 38px; padding-top: 26px; display: flex; align-items: center; gap: 17px; font-size: .83rem; color: #d1d1e2; }
  .care-note svg { width: 33px; height: 33px; color: #e6c980; }
  .care-note strong { color: white; font-weight: 550; }
  .benefit-number { display: block; color: #e6c980; font-size: .68rem; margin-bottom: 12px; }
  .benefit h3 { font-size: .98rem; color: #fbf8eb; margin-bottom: 8px; }
  .benefit p { font-size: .85rem; color: #cecede; }
  .benefit { padding-top: 20px; border-top: 1px solid #454578; }
  .benefit-wide { grid-column: 1 / -1; }
  .audience-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; }
  .audience-list li { border: 1px solid #cdd6c8; border-radius: 30px; padding: 10px 18px; font-size: .8rem; background: rgb(255 255 255 / 30%); }
  .audience-inner .eyebrow { margin-bottom: 15px; }
  .step-number { width: 54px; height: 54px; border: 1px solid #c8d4c6; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--teal); font-family: var(--serif); font-size: 1.3rem; margin-bottom: 28px; background: var(--cream); }
  .process-list li { position: relative; }
  .process-list li:not(:last-child)::after { content: ""; position: absolute; height: 1px; background: #d5ddcf; top: 27px; left: 74px; width: calc(100% - 54px); }
  .process-list h3 { font-size: 1rem; margin-bottom: 12px; color: var(--navy); }
  .process-list p { font-size: .87rem; color: var(--muted); }
  .contact-copy h2 { font-size: clamp(2rem, 2.8vw, 2.6rem); }
  .contact-copy h2 em { color: var(--teal); }
  .contact-copy > p:not(.eyebrow, .contact-language) { color: var(--muted); max-width: 360px; margin-block: 20px 25px; font-size: .9rem; }
  .contact-language { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .75rem; margin-top: 16px; }
  .contact-language svg { width: 17px; height: 17px; color: var(--teal); }
  .contact-details { font-style: normal; display: flex; flex-direction: column; justify-content: center; }
  .contact-item { display: flex; align-items: center; gap: 18px; padding-block: 23px; border-bottom: 1px solid #cbd7c6; }
  .contact-item:last-child { border-bottom: 0; }
  .contact-icon { width: 43px; height: 43px; border: 1px solid #c6d5bf; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--teal); flex-shrink: 0; }
  .contact-icon svg { width: 20px; height: 20px; }
  .contact-label { display: block; font-size: .6rem; color: var(--muted); font-weight: 650; letter-spacing: .15em; margin-bottom: 5px; }
  .contact-item strong { font-weight: 550; color: var(--navy); font-size: .96rem; overflow-wrap: anywhere; }
  .contact-arrow { margin-left: auto; width: 19px; height: 19px; color: var(--teal); transition: transform .2s; }
  a.contact-item:hover .contact-arrow { transform: translateX(4px); }
  .contact-location { display: block; color: var(--muted); font-size: .77rem; margin-top: 4px; }
  .footer-name { font-weight: 800; font-size: 1.05rem; letter-spacing: -.03em; color: var(--navy); }
  .footer-main > div > p:last-child { color: var(--muted); font-size: .77rem; margin-top: 3px; }
  .footer-main .text-link svg { transform: rotate(-90deg); }
  .footer-main .text-link:hover svg { transform: rotate(-90deg) translateX(4px); }
}

@layer responsive {
  @media (min-width: 1440px) { .hero { padding-top: 68px; } .hero-grid { padding-bottom: 70px; } }
  @media (max-width: 1100px) {
    .container { width: calc(100% - 64px); }
    .brand { width: 265px; }
    nav { gap: 20px; font-size: .8rem; }
    .hero-grid { gap: 0; }
    h1 { font-size: clamp(3.3rem, 6vw, 4.4rem); }
    .hero-description { max-width: 410px; }
    .hero-art img { width: 108%; margin-left: -5%; }
    .service-ribbon { gap: 14px; font-size: .78rem; }
    .ribbon-label { padding-right: 18px; }
    .service-ribbon > span:not(.ribbon-label) { gap: 7px; }
    .why-grid { gap: 55px; }
    .contact-panel { gap: 35px; padding: 40px; }
    .contact-item { gap: 12px; }
    .contact-item strong { font-size: .86rem; }
  }
  @media (max-width: 900px) {
    html { scroll-padding-top: 100px; }
    .header-inner { min-height: 87px; }
    nav .nav-secondary { display: none; }
    .hero { padding-top: 32px; }
    .hero-grid { grid-template-columns: 1.12fr 1fr; }
    .hero-copy .eyebrow { font-size: .59rem; letter-spacing: .1em; }
    h1 { font-size: 3.4rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-art .art-caption { font-size: .47rem; letter-spacing: .06em; }
    .hero .button { padding-inline: 15px; font-size: .8rem; }
    .hero .button-arrow { display: none; }
    .service-ribbon { flex-wrap: wrap; justify-content: center; gap: 18px 30px; }
    .ribbon-label { display: none; }
    .section { padding-block: 76px; }
    .section-heading { gap: 35px; }
    .section-intro { max-width: 310px; font-size: .9rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr; gap: 45px; }
    .why-copy { max-width: 600px; }
    .care-note { margin-top: 24px; }
    .audience-inner { grid-template-columns: 1fr 1.5fr; gap: 30px; }
    .process-list { grid-template-columns: repeat(2, 1fr); gap: 42px; }
    .process-list li:nth-child(2)::after { display: none; }
    .contact-panel { grid-template-columns: 1fr; gap: 24px; }
    .contact-details { display: grid; grid-template-columns: 1fr 1fr; column-gap: 26px; }
    .contact-item:last-child { grid-column: 1 / -1; }
    .contact-item strong { font-size: .92rem; }
    .contact-arrow { display: none; }
  }
  @media (max-width: 640px) {
    .container { width: calc(100% - 40px); }
    html { scroll-padding-top: 90px; }
    .header-inner { min-height: 79px; gap: 12px; }
    .brand { width: min(62%, 255px); }
    nav > a:not(.button) { display: none; }
    nav { gap: 0; }
    .button-small { font-size: .75rem; padding: 10px 13px; }
    .button-small svg { display: none; }
    .hero { padding-top: 27px; }
    .hero-grid { grid-template-columns: 1fr; padding-bottom: 25px; }
    .hero-copy { padding-top: 12px; }
    .hero-copy .eyebrow { font-size: .61rem; letter-spacing: .12em; margin-bottom: 23px; }
    h1 { font-size: clamp(3.3rem, 11.5vw, 4.5rem); }
    .hero-subtitle { margin-top: 25px; max-width: 340px; }
    .hero-description { font-size: .9rem; max-width: 460px; }
    .hero .button { padding: 13px 17px; font-size: .84rem; }
    .button-group { margin-top: 25px; }
    .hero-details { gap: 18px; font-size: .72rem; margin-top: 22px; }
    .hero-art { width: min(100%, 440px); margin-inline: auto; }
    .hero-art img { width: 100%; margin-left: 0; }
    .hero-art .art-caption { font-size: .5rem; letter-spacing: .11em; margin-top: -5px; }
    .service-ribbon { gap: 17px 25px; padding-block: 23px; font-size: .75rem; }
    .service-ribbon svg { width: 18px; height: 18px; }
    .section { padding-block: 62px; }
    h2 { font-size: 2.7rem; }
    .eyebrow { margin-bottom: 17px; font-size: .62rem; }
    .section-heading { display: block; margin-bottom: 30px; }
    .section-intro { max-width: 100%; margin-top: 22px; padding: 0; }
    .services-grid { grid-template-columns: 1fr; gap: 12px; }
    .service-card { padding: 24px; }
    .card-top { margin-bottom: 19px; }
    .service-card h3 { font-size: 1.1rem; }
    .service-card-wide { align-items: flex-start; gap: 16px; }
    .service-card-wide .card-number { display: none; }
    .service-card-wide p { font-size: .84rem; }
    .services-note { align-items: flex-start; flex-direction: column; gap: 6px; font-size: .82rem; }
    .why-section { padding-block: 64px; }
    .why-grid { gap: 34px; }
    .benefits-grid { gap: 26px 20px; }
    .benefit h3 { font-size: .95rem; }
    .benefit p { font-size: .81rem; }
    .why-copy > p:not(.eyebrow) { font-size: .9rem; }
    .audience-section { padding-block: 45px; }
    .audience-inner { grid-template-columns: 1fr; gap: 26px; }
    .audience-inner h2 { font-size: 2.4rem; }
    .audience-list { gap: 9px; }
    .audience-list li { font-size: .75rem; padding: 8px 13px; }
    .process-list { grid-template-columns: 1fr; gap: 0; }
    .process-list li { padding: 0 0 32px 75px; min-height: 110px; }
    .step-number { position: absolute; top: 0; left: 0; width: 48px; height: 48px; margin: 0; }
    .process-list li:not(:last-child)::after { display: block; width: 1px; height: calc(100% - 57px); left: 24px; top: 57px; }
    .process-list li:last-child { padding-bottom: 0; }
    .process-list h3 { padding-top: 2px; margin-bottom: 8px; }
    .contact-section { padding-bottom: 54px; }
    .contact-panel { padding: 30px 24px; gap: 22px; }
    .contact-copy h2 { font-size: clamp(1.9rem, 7.1vw, 2.65rem); }
    .contact-copy .button { padding-inline: 17px; font-size: .8rem; }
    .contact-details { display: flex; }
    .contact-item { gap: 13px; padding-block: 21px; }
    .contact-item strong { font-size: .87rem; }
    .contact-icon { width: 38px; height: 38px; }
    .contact-item > span:nth-child(2) { min-width: 0; }
    .footer-main { padding-block: 28px; }
    .footer-name { font-size: .96rem; }
    .footer-main > div > p:last-child { font-size: .67rem; }
    .footer-main .text-link { font-size: .72rem; gap: 6px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 5px; font-size: .67rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
  }
}
