/* All desktop refinements stay inside this query to preserve mobile layouts. */
@media screen and (min-width: 1024px) {
  :root {
    --max: 1280px;
  }

  body {
    font-family: "Avenir Next", "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.55;
  }

  .wrap {
    width: min(var(--max), calc(100% - 80px));
  }

  .topbar .wrap {
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 28px;
    padding: 16px 0;
  }

  .topbar .wrap > span {
    font-size: clamp(1.5rem, 2.1vw, 1.875rem);
    letter-spacing: .025em;
    text-align: left;
  }

  .top-social-links {
    flex-shrink: 0;
    gap: 16px;
    font-size: 14px;
  }

  .nav {
    padding: 12px 0;
  }

  .links {
    align-items: center;
    gap: 8px 28px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
  }

  .links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
  }

  .links a:hover,
  .links a[aria-current="page"] {
    border-bottom-color: var(--red);
  }

  .hero {
    min-height: 0;
    padding: 44px 0 40px;
  }

  .hero h1,
  .work-content h1 {
    max-width: 1000px;
    margin: 12px 0 18px;
    font-size: clamp(2.75rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.035em;
    text-wrap: balance;
  }

  .hero p {
    max-width: 72ch;
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
  }

  .eyebrow,
  .section-name {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.5;
  }

  .button,
  .consultation-link,
  .inquiry-submit {
    min-height: 46px;
    padding: 11px 18px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
  }

  .button {
    margin-top: 0;
  }

  .button-row {
    gap: 12px;
    margin-top: 24px;
  }

  .back {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.5;
  }

  section {
    padding: 52px 0;
  }

  .section-head {
    grid-template-columns: minmax(0, .42fr) minmax(0, .58fr);
    align-items: end;
    gap: 40px;
    margin-bottom: 28px;
  }

  .section-head h2,
  .content h2,
  .experience h2,
  .contact-grid h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.625rem);
    line-height: 1.15;
    letter-spacing: -.025em;
    text-wrap: balance;
  }

  .section-head p,
  .content p,
  .project-copy p {
    font-size: 16px;
    line-height: 1.6;
  }

  .section-head p {
    margin: 0;
  }

  .home-page .hero {
    display: block;
    padding: 0;
  }

  .home-page .hero .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    column-gap: clamp(36px, 4vw, 60px);
    padding: 48px 0;
  }

  .home-page .hero .eyebrow {
    display: none;
  }

  .home-page .hero h1 {
    grid-column: 1;
    grid-row: 1;
    max-width: none;
    margin: 0;
    font-size: clamp(3.25rem, 4.6vw, 4.25rem);
    line-height: 1.05;
  }

  .home-page .hero-quote {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 0;
    padding-left: 18px;
    font-size: 24.3px;
    line-height: 1.5;
  }

  .home-page .hero-quote cite {
    margin-top: 10px;
    font-size: 16.2px;
    letter-spacing: .08em;
  }

  .home-page .hero .wrap > p {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    max-width: none;
    margin-top: 24px;
    font-size: 22.95px;
  }

  .home-page .hero .button-row {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
  }

  .home-page .projects {
    padding: 40px 0;
  }

  .project,
  .project:nth-child(even) {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    min-height: 0;
  }

  .project-copy,
  .portfolio-page .project-copy {
    padding: clamp(28px, 3vw, 40px);
  }

  .project h3 {
    margin: 10px 0 14px;
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -.025em;
  }

  .home-page .project-copy .tag {
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: .1em;
  }

  .project-copy p {
    margin: 0;
  }

  .scope {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 20px;
  }

  .scope span {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 10px;
    font-size: 13px;
    line-height: 1.35;
  }

  .photo-note {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.5;
  }

  .content,
  .experience,
  .contact-grid,
  .footer-grid {
    gap: 40px;
  }

  .content {
    grid-template-columns: minmax(0, .4fr) minmax(0, .6fr);
  }

  .content > *,
  .project > *,
  .footer-grid > * {
    min-width: 0;
  }

  .content p {
    margin-bottom: 16px;
  }

  .details {
    margin-top: 24px;
  }

  .detail {
    padding: 16px 0;
  }

  .service,
  .standard,
  .option {
    min-height: 0;
    padding: 24px;
  }

  .service h3,
  .option h3 {
    margin: 18px 0 10px;
    font-size: 22px;
    line-height: 1.2;
  }

  .standard h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.3;
  }

  .standard p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
  }

  .services-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  .services-page main {
    flex: 1;
  }

  .services-page footer {
    margin-top: auto;
  }

  .work-page-heading h1 {
    margin: 0;
    font-size: clamp(2.75rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.035em;
    text-wrap: balance;
  }

  .work-content {
    width: min(var(--max), calc(100% - 80px));
    padding: 28px 0 44px;
  }

  .work-content h1 {
    margin: 8px 0 26px;
  }

  .work-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    align-items: stretch;
    gap: 20px;
    border-top: 0;
  }

  .service-category {
    min-width: 0;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
  }

  .service-category h2 {
    font-size: 18px;
    font-weight: 700;
  }

  .service-button {
    min-height: 76px;
    padding: 18px 20px;
    border-radius: 6px;
    background: #fff;
    font-family: inherit;
  }

  .service-button[aria-expanded="true"] {
    color: var(--ink);
  }

  .service-panel {
    padding: 0 24px 22px;
  }

  .service-panel ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px 22px;
    font-size: 15px;
    line-height: 1.5;
  }

  .service-panel li {
    margin: 0;
  }

  .work-content > .consultation-link {
    display: inline-flex;
    margin-top: 24px;
  }

  .walkthrough-checklist h2 {
    margin-bottom: 20px;
    font-size: 32px;
  }

  .walkthrough-checklist ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
  }

  .walkthrough-disclosure {
    border-radius: 6px;
  }

  .walkthrough-disclosure summary {
    min-height: 64px;
    padding: 18px 20px;
    border-radius: 6px;
    font-size: 17px;
    font-weight: 700;
  }

  .walkthrough-checklist summary {
    min-height: 92px;
  }

  .walkthrough-disclosure p {
    padding: 18px 20px;
    font-size: 16px;
    line-height: 1.6;
  }

  .service-details {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    margin-top: 24px;
  }

  .service-detail {
    padding: 18px 22px;
  }

  .service-detail span {
    margin-top: 8px;
    font-size: 20px;
    line-height: 1.4;
  }

  .notice {
    margin-top: 28px;
    padding: 22px 24px;
  }

  .notice h3 {
    font-size: 18px;
    line-height: 1.3;
  }

  .notice p {
    max-width: 100ch;
    font-size: 16px;
    line-height: 1.6;
  }

  .consultation-page .hero,
  .faq-page .hero {
    padding: 32px 0;
  }

  .consultation-page .hero h1,
  .faq-page .hero h1 {
    margin: 8px 0 14px;
    font-size: clamp(2.5rem, 3.6vw, 3.125rem);
    line-height: 1.1;
    letter-spacing: -.03em;
  }

  .faq-page .hero h1 {
    margin: 0;
  }

  .consultation-page .hero .wrap,
  .inquiry-primary .inquiry-wrap,
  .consultation-contact > .wrap {
    max-width: 1080px;
  }

  .inquiry-primary .inquiry-section {
    padding: 24px 0 0;
  }

  .inquiry-primary .inquiry-wrap {
    padding-top: 0;
  }

  .inquiry-primary .inquiry-heading h2 {
    font-size: 28px;
    line-height: 1.2;
  }

  .inquiry-primary .inquiry-form {
    margin-top: 16px;
    padding: 24px;
    border-radius: 6px;
  }

  .inquiry-primary .inquiry-form-grid,
  .inquiry-address-fields {
    gap: 16px 24px;
  }

  .inquiry-field input,
  .inquiry-field select,
  .inquiry-field textarea {
    min-height: 46px;
    border-radius: 4px;
    font-size: 16px;
  }

  .inquiry-field textarea {
    min-height: 110px;
  }

  .inquiry-primary .inquiry-actions,
  .inquiry-note {
    margin-top: 20px;
  }

  .consultation-contact {
    padding: 24px 0 40px;
  }

  .faq-page .faq-content {
    padding: 32px 0 44px;
  }

  .faq-page .faq-content > .wrap {
    max-width: 1120px;
  }

  .faq-page .faq-search {
    padding: 22px 24px;
    margin-bottom: 24px;
    border-radius: 6px;
  }

  .faq-search-help {
    margin-bottom: 14px;
    font-size: 15px;
  }

  .faq-page .faq-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .faq-search input {
    min-height: 46px;
    padding: 11px 14px;
    border-radius: 4px;
  }

  .faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
    border-top: 0;
  }

  .faq-item {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
  }

  .faq-item summary {
    align-items: center;
    min-height: 76px;
    padding: 16px 20px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
  }

  .faq-item summary::after {
    flex-shrink: 0;
    font-size: 24px;
    line-height: 1;
  }

  .faq-item p {
    padding: 0 20px 20px;
    font-size: 16px;
    line-height: 1.6;
  }

  .faq-page .faq-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 24px;
    margin-top: 24px;
    padding: 24px;
  }

  .faq-cta h2 {
    grid-column: 1;
    margin: 0;
  }

  .faq-cta p {
    grid-column: 1;
    margin: 0;
    font-size: 16px;
  }

  .faq-cta .button {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
  }

  .faq-direct-contact {
    max-width: none;
  }

  .faq-direct-contact-links {
    gap: 0 28px;
  }

  .faq-direct-contact-links a {
    font-size: 15px;
  }

  .faq-direct-contact-links a:last-child {
    flex-basis: auto;
  }

  .contact {
    font-size: 16px;
    line-height: 1.6;
  }

  .contact p {
    padding: 14px 0;
  }

  .office-map {
    margin-top: 24px;
  }

  footer,
  .portfolio-page footer,
  .faq-page footer {
    padding: 28px 0;
  }

  .home-page footer {
    padding: 44px 0 24px;
  }

  .home-page .footer-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  }

  .footer-grid h2 {
    margin: 0 0 20px;
    font-size: clamp(1.875rem, 2.6vw, 2.375rem);
    line-height: 1.2;
    letter-spacing: -.025em;
    text-wrap: balance;
  }

  .home-page footer .contact p {
    margin: 0;
    padding: 0 0 16px;
  }

  .social-links {
    gap: 12px 18px;
    font-size: 14px;
  }

  .home-page footer .social-links {
    margin-top: 24px;
  }

  .copyright {
    margin-top: 28px;
    padding-top: 18px;
  }
}
