/* ALTECA — architectural typography, warm copper, and clean white space. */
:root {
  color-scheme: light;
  --ink: #0b0b0b; --dark: #141414; --paper: #fff;
  --copper: #d6a17b; --copper-ink: #875032;
  --text: #222; --muted: #60605e; --line: #dededb; --line-dark: #363632;
  --gutter: clamp(1.25rem, 4.8vw, 5rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7.5rem; }
body { margin: 0; color: var(--text); background: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
::selection { background: #d6a17b; color: #0b0b0b; }
a { color: inherit; text-decoration: none; text-underline-offset: .22em; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #9d5b31; outline-offset: 5px; }
.site-header a:focus-visible, .site-header button:focus-visible, .hero a:focus-visible, .brand-line a:focus-visible, .contact a:focus-visible, .site-footer a:focus-visible { outline-color: #f1ba8c; }
main:focus { outline: none; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
.container { width: min(100% - var(--gutter) * 2, 83rem); margin-inline: auto; }
.skip-link { position: fixed; z-index: 200; top: 1rem; left: 1rem; transform: translateY(-200%); background: var(--paper); color: var(--ink); padding: .8rem 1.2rem; }
.skip-link:focus { transform: none; }
.site-header { position: sticky; z-index: 50; top: 0; background: #080808; color: var(--paper); border-bottom: 1px solid #292722; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: 6rem; }
.brand { display: inline-block; flex: 0 0 auto; width: 11.2rem; }
.brand img { width: 100%; height: auto; }
.navigation { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.35rem, 2.7vw, 3rem); font-size: .875rem; }
.navigation > a:not(.button) { display: inline-flex; align-items: center; min-height: 2.75rem; }
.navigation > a:not(.button):hover { color: var(--copper); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 3.5rem; padding: .95rem 1.45rem; border: 1px solid transparent; border-radius: 2px; font-size: .9375rem; font-weight: 600; line-height: 1.5; transition: background .2s, color .2s, border-color .2s; }
.button span { font-size: 1.2rem; line-height: 1; }
.button-small { min-height: 2.9rem; padding: .7rem 1.1rem; font-size: .875rem; }
.button-copper { background: var(--copper); color: #10100f; }
.button-copper:hover { background: #ebbb97; }
.button-outline { border-color: #8b664c; color: #f7eee7; }
.button-outline:hover { background: var(--copper); border-color: var(--copper); color: var(--ink); }
.menu-toggle { display: none; }
.hero { position: relative; isolation: isolate; color: var(--paper); background: var(--ink); overflow: hidden; }
.hero-art { position: absolute; z-index: -1; inset: 0 0 0 31%; }
.hero-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0b0b0b 0%, rgba(11,11,11,.91) 12%, rgba(11,11,11,.65) 29%, rgba(11,11,11,.05) 64%), linear-gradient(0deg, rgba(11,11,11,.5), transparent 30%); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.hero-layout { min-height: 43.5rem; display: flex; align-items: center; }
.hero-copy { max-width: 40rem; padding-block: 4rem 4.5rem; }
.eyebrow { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.8rem; color: var(--copper-ink); font-size: .75rem; font-weight: 600; line-height: 1.7; letter-spacing: .15em; }
.eyebrow-line { flex-shrink: 0; width: 1.8rem; height: 1px; background: currentColor; }
.hero .eyebrow { color: #e5b99a; max-width: 30rem; }
h1 { color: #fcfcf9; font-weight: 400; font-size: clamp(4.2rem, 6.7vw, 6.4rem); line-height: 1.02; letter-spacing: -.06em; }
h1 em, h2 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.055em; }
h1 em { color: var(--copper); }
.hero-intro { max-width: 25rem; margin-top: 1.9rem; color: #d7d7d2; font-size: 1.0625rem; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 1.8rem; flex-wrap: wrap; margin-top: 2.1rem; }
.call-link { display: block; padding: .2rem 0; font-size: 1rem; letter-spacing: .015em; line-height: 1.5; }
.call-link span { display: block; color: #bfbfbb; font-size: .8125rem; letter-spacing: 0; }
.call-link:hover { color: var(--copper); }
.brand-line { color: #e7e7e2; border-top: 1px solid #292722; border-bottom: 1px solid #292722; }
.brand-line-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5.2rem; }
.slogan { font-size: .875rem; letter-spacing: .11em; }
.slogan span { padding-inline: .6rem; color: var(--copper); }
.quiet-link { display: inline-flex; align-items: center; gap: 1.5rem; font-size: .875rem; min-height: 2.75rem; }
.quiet-link:hover { color: var(--copper); }
.quiet-link span { color: var(--copper); }
.section { padding-block: clamp(4.5rem, 7.5vw, 8rem); }
h2 { font-size: clamp(2.8rem, 4.2vw, 4.5rem); color: var(--ink); font-weight: 400; line-height: 1.08; letter-spacing: -.055em; text-wrap: balance; }
h2 em { color: var(--copper-ink); }
.section-intro > p:not(.eyebrow) { color: var(--muted); margin-top: 1.7rem; max-width: 25rem; }
.services { background: var(--paper); }
.services-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(3rem, 7vw, 7.5rem); align-items: start; }
.services .section-intro { position: sticky; top: 9rem; }
.section-intro .small-note, .small-note { color: var(--muted); font-size: .875rem; line-height: 1.6; }
.services .section-intro .small-note { padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: 22rem; margin-top: 2.5rem; }
.service { display: grid; grid-template-columns: 2.25rem minmax(0,1fr); gap: 1.2rem; padding: 2.1rem 0; border-top: 1px solid var(--line); scroll-margin-top: 7.5rem; }
.service:first-child { border-top: 2px solid var(--ink); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service-index { color: var(--copper-ink); font-size: .875rem; font-variant-numeric: tabular-nums; padding-top: .4rem; }
.service h3 { font-size: clamp(1.65rem, 2.5vw, 2.25rem); font-weight: 400; line-height: 1.25; letter-spacing: -.04em; color: var(--ink); }
.service-content > p { margin-top: 1rem; color: var(--muted); max-width: 35rem; }
.service-content > .service-detail { font-size: .875rem; color: #44443f; margin-top: 1.1rem; }
.surface-list { display: flex; gap: .55rem; flex-wrap: wrap; padding: 0; margin: 1.35rem 0 0; list-style: none; }
.surface-list li { font-size: .875rem; line-height: 1.5; padding: .35rem .65rem; color: #53534e; background: #f5f5f3; border: 1px solid #e7e7e3; }
.text-link { display: inline-flex; align-items: center; gap: 1.6rem; min-height: 2.75rem; margin-top: 1.2rem; font-size: .875rem; font-weight: 600; }
.text-link span { color: var(--copper-ink); font-size: 1.1rem; }
.text-link:hover { color: var(--copper-ink); text-decoration: underline; }
.approach { color: #f7f7f2; background: var(--dark); }
.approach .eyebrow, .contact .eyebrow { color: var(--copper); }
.approach h2, .contact h2 { color: #fbfbf7; }
.approach h2 em, .contact h2 em { color: var(--copper); }
.approach-heading { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: clamp(2rem, 7vw, 7rem); align-items: end; }
.approach-heading > p { color: #c0c0bb; max-width: 29rem; padding-bottom: .25rem; }
.process { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; margin: 4.5rem 0 0; padding: 0; }
.process-top { display: flex; align-items: center; gap: 1.25rem; color: var(--copper); font-size: .875rem; margin-bottom: 1.8rem; }
.process-rule { flex: 1; height: 1px; background: var(--line-dark); }
.process h3 { font-weight: 400; font-size: 1.3rem; line-height: 1.4; letter-spacing: -.025em; margin-bottom: .85rem; }
.process p { color: #b9b9b3; }
.area { background: var(--paper); }
.area-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.area h2 em { font-size: .83em; }
.area-label { font-size: .75rem; letter-spacing: .15em; color: #68685f; margin-bottom: 1rem; }
.cities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 2rem; }
.cities li { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: clamp(1rem, 1.7vw, 1.3rem); line-height: 1.5; letter-spacing: -.015em; }
.area-cities > .small-note { margin-top: 1.5rem; }
.contact { background: var(--ink); color: var(--paper); border-top: 3px solid var(--copper); }
.contact-layout { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.contact h2 { font-size: clamp(2.8rem, 4.7vw, 5rem); }
.contact-copy > p:not(.eyebrow) { color: #bfbfba; max-width: 27rem; margin-top: 1.75rem; }
.project-details { margin-top: 2rem; }
.project-details h3 { font-size: .875rem; font-weight: 400; color: #e8e8e2; }
.project-details ul { list-style: none; padding: 0; margin: .65rem 0 0; color: #bfbfba; font-size: .875rem; }
.project-details li { position: relative; padding-left: 1.05rem; margin-block: .25rem; }
.project-details li::before { content: '—'; position: absolute; left: 0; color: #b78b6b; }
.contact-panel { background: #161615; border: 1px solid #393631; padding: clamp(1.5rem, 3.2vw, 3rem); min-width: 0; }
.contact-label { color: var(--copper); font-size: .75rem; letter-spacing: .14em; }
.contact-phone { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .6rem; margin-top: 1.35rem; font-size: clamp(1.6rem, 2.8vw, 2.7rem); line-height: 1.4; letter-spacing: -.055em; font-variant-numeric: lining-nums; overflow-wrap: anywhere; }
.contact-phone span { font-size: 1.5rem; color: var(--copper); }
.contact-phone:hover { color: var(--copper); }
.contact-helper { margin-top: .45rem; color: #bfbfba; font-size: .875rem; }
.email-option { border-top: 1px solid #383832; padding-top: 1.75rem; margin-top: 1.75rem; }
.email-option > p:first-child { font-size: 1rem; margin-bottom: 1rem; }
.email-option .button { width: 100%; padding-inline: 1rem; }
.email-address { display: inline-block; margin-top: 1.1rem; min-height: 2.75rem; padding-block: .5rem; font-size: .9375rem; overflow-wrap: anywhere; }
.email-address:hover { color: var(--copper); text-decoration: underline; }
.email-note { font-size: .875rem; color: #aeaea7; max-width: 20rem; }
.site-footer { background: #080808; color: #c1c1b9; border-top: 1px solid #292722; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 2rem; }
.footer-brand { width: 10rem; }
.footer-main .slogan { font-size: .8125rem; letter-spacing: .04em; }
.footer-bottom { padding-block: 1.3rem; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid #292722; font-size: .75rem; color: #aaa9a1; }
.footer-bottom small { font-size: inherit; }
.mobile-contact { display: none; }
@media (min-width: 1600px) { .hero-art { left: calc(50% - 20rem); } }
@media (max-width: 1050px) {
  .navigation { gap: 1.3rem; }
  .hero-layout { min-height: 42rem; }
  .hero-copy { max-width: 33rem; }
  .hero .eyebrow { max-width: 25rem; font-size: .75rem; }
  .hero-art { left: 29%; }
  .hero-art::after { background: linear-gradient(90deg, #0b0b0b 0%, rgba(11,11,11,.9) 15%, rgba(11,11,11,.55) 40%, rgba(11,11,11,.15) 75%); }
  .services-layout, .approach-heading { gap: 3rem; }
  .process { gap: 2rem; }
  .contact-layout { gap: 2.5rem; }
  .contact-phone { font-size: 1.85rem; }
}
@media (max-width: 800px) {
  html { scroll-padding-top: 6.2rem; }
  .header-inner { min-height: 5.1rem; flex-wrap: wrap; gap: 0; padding-block: .35rem; }
  .brand { width: 9.6rem; }
  .navigation { flex: 1 0 100%; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; padding: .8rem 0; }
  .js .menu-toggle { display: inline-flex; align-items: center; gap: .75rem; min-width: 5.5rem; min-height: 2.75rem; justify-content: center; padding: .4rem .65rem; background: transparent; border: 1px solid #61513f; color: white; font-size: .875rem; border-radius: 2px; }
  .menu-icon { width: .9rem; height: .55rem; position: relative; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
  .menu-toggle[aria-expanded="true"] .menu-icon { border-bottom-color: transparent; transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { position: absolute; content: ''; width: .9rem; height: 1px; background: currentColor; top: -1px; left: 0; transform: rotate(90deg); }
  .js .navigation { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #101010; border-bottom: 1px solid #62503e; padding: 1rem var(--gutter) 1.5rem; max-height: calc(100svh - 5.2rem); overflow-y: auto; box-shadow: 0 12px 20px #0003; }
  .js .navigation.is-open { display: flex; flex-direction: column; align-items: stretch; gap: .25rem; }
  .navigation > a:not(.button) { padding-block: .5rem; font-size: 1rem; }
  .navigation .button { margin-top: .6rem; }
  .hero { display: flex; flex-direction: column; }
  .hero-layout { order: 0; min-height: 0; width: min(100% - var(--gutter) * 2, 36rem); }
  .hero-copy { max-width: none; padding-block: 3rem 2.8rem; }
  .hero .eyebrow { font-size: .75rem; letter-spacing: .1em; max-width: 30rem; margin-bottom: 1.5rem; }
  h1 { font-size: clamp(3.7rem, 10vw, 5.5rem); }
  .hero-intro { max-width: 28rem; font-size: 1rem; margin-top: 1.45rem; }
  .hero-actions { gap: 1.5rem; margin-top: 1.6rem; }
  .hero-art { position: relative; z-index: 0; inset: auto; order: 1; height: clamp(17rem, 50vw, 25rem); width: 100%; }
  .hero-art img { object-position: center 60%; }
  .hero-art::after { background: linear-gradient(0deg, #0b0b0b70, transparent 45%); }
  .brand-line-inner { min-height: 4.5rem; flex-wrap: wrap; padding-block: .75rem; gap: .3rem 1rem; }
  .slogan { font-size: .8125rem; letter-spacing: .035em; }
  .slogan span { padding-inline: .35rem; }
  .brand-line .quiet-link { font-size: .875rem; }
  h2 { font-size: clamp(2.6rem, 6.5vw, 3.6rem); }
  .services-layout, .area-layout, .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .services .section-intro { position: static; }
  .section-intro > p:not(.eyebrow) { max-width: 32rem; }
  .services .section-intro .small-note { border: none; padding: 0; margin-top: 1rem; max-width: 32rem; }
  .service { grid-template-columns: 1.65rem minmax(0,1fr); gap: 1rem; }
  .service h3 { font-size: 1.8rem; }
  .approach-heading { grid-template-columns: 1fr; gap: 1.8rem; }
  .approach-heading > p { max-width: 33rem; }
  .process { grid-template-columns: 1fr; gap: 2.4rem; margin-top: 3rem; }
  .process-top { margin-bottom: 1rem; }
  .process p { max-width: 34rem; }
  .area h2 em { font-size: .9em; }
  .area-cities { max-width: 34rem; }
  .cities li { font-size: 1.1rem; }
  .contact h2 { font-size: clamp(2.65rem, 7vw, 3.8rem); }
  .contact-panel { max-width: 34rem; padding: 1.6rem; }
  .contact-phone { font-size: clamp(1.7rem, 6vw, 2.6rem); }
  .email-option .button { max-width: 100%; }
  .footer-main { flex-wrap: wrap; gap: 1.3rem; }
  .footer-brand { width: 9.3rem; }
  .footer-main .slogan { order: 3; width: 100%; }
  .footer-bottom { padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px)); }
  .mobile-contact { position: fixed; z-index: 45; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: .82fr 1.18fr; gap: .6rem; padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom, 0px)); background: #101010; border-top: 1px solid #534331; box-shadow: 0 -4px 15px #0002; }
  .mobile-contact a { display: flex; align-items: center; justify-content: center; gap: .6rem; min-width: 0; min-height: 2.8rem; padding: .5rem .6rem; font-size: .875rem; line-height: 1.4; border: 1px solid #746149; color: #fff; text-align: center; overflow-wrap: anywhere; }
  .mobile-contact a span { display: none; }
  .mobile-contact a:last-child { background: var(--copper); color: #101010; border-color: var(--copper); font-weight: 600; }
  .mobile-contact.is-hidden { visibility: hidden; pointer-events: none; }
}
@media (max-width: 420px) {
  .hero .eyebrow { max-width: 20rem; }
  .hero-actions { gap: 1rem; }
  .hero-actions .button { width: 100%; }
  .call-link { display: inline-flex; align-items: baseline; gap: .6rem; }
  .hero-copy { padding-block: 2.5rem; }
  .brand-line .quiet-link { width: 100%; }
  .section { padding-block: 3.8rem; }
  .eyebrow { margin-bottom: 1.4rem; letter-spacing: .12em; }
  .cities { gap: 0 1rem; }
  .cities li { font-size: 1rem; }
  .contact-panel { padding: 1.2rem; }
  .email-option .button { font-size: .875rem; gap: .7rem; }
  .footer-bottom { flex-direction: column; gap: .4rem; }
  .mobile-contact { gap: .4rem; }
}
@media (max-width: 350px) {
  h1 { font-size: 3.4rem; }
  .contact-phone { font-size: 1.6rem; }
  .service { grid-template-columns: 1fr; gap: .5rem; }
  .contact h2 { font-size: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
