/* ICO San Diego static redesign — no JavaScript */
:root {
  --pine: #143f35;
  --pine-deep: #0b2822;
  --leaf: #4f7854;
  --sage: #dfe7d4;
  --sand: #f4f0e7;
  --paper: #fffdf8;
  --ink: #19322c;
  --mist: #e8eee9;
  --orange: #dd6948;
  --line: #c8d3c5;
  --content: 76rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Avenir Next', Avenir, 'Segoe UI', Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { color: var(--orange); }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.skip-link { position: absolute; left: -999px; top: 1rem; z-index: 9; background: var(--paper); padding: .7rem 1rem; }
.skip-link:focus { left: 1rem; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.nav { width: min(var(--content), calc(100% - (var(--gutter) * 2))); min-height: 5.3rem; margin: auto; display: flex; align-items: center; gap: 2rem; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; color: var(--pine); text-decoration: none; }
.brand img { width: 199px; height: 30px; object-fit: contain; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--pine); font-weight: 700; text-decoration: none; }
.nav-links a[aria-current='page'] { text-decoration: underline; text-decoration-thickness: 2px; }
.shell { width: min(var(--content), calc(100% - (var(--gutter) * 2))); margin: auto; }
.hero { position: relative; color: white; background: var(--pine-deep); overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .46; }
.hero-inner { position: relative; min-height: min(48rem, 82vh); display: grid; align-content: end; padding: clamp(5rem, 13vw, 11rem) 0 clamp(3rem, 7vw, 6rem); }
.hero-copy { width: min(43rem, 100%); }
.hero p { max-width: 39rem; font-size: clamp(1.1rem, 2vw, 1.35rem); }
h1, h2, h3 { color: var(--pine); font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; line-height: 1; margin: 0; }
h1 { color: inherit; font-size: clamp(3.4rem, 8vw, 7.4rem); max-width: 9.5ch; }
h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); max-width: 13ch; }
h3 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
p { margin: 0 0 1rem; }
.lede { color: #365249; font-size: clamp(1.15rem, 2vw, 1.4rem); max-width: 45rem; }
.button { display: inline-block; padding: .85rem 1.15rem; color: white; background: var(--orange); border: 2px solid var(--orange); font-weight: 800; text-decoration: none; }
.button:hover, .button:focus-visible { color: var(--pine-deep); background: #f5a16f; border-color: #f5a16f; }
.button--light { color: var(--pine-deep); background: var(--sage); border-color: var(--sage); }
.button--line { color: var(--pine); background: transparent; border-color: var(--pine); }
.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section--mist { background: var(--mist); }
.section--sage { background: var(--sage); }
.section--pine { color: white; background: var(--pine); }
.section--pine h2, .section--pine h3 { color: white; }
.section-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(18rem, 1.1fr); gap: clamp(2rem, 8vw, 7rem); align-items: start; }
.section-intro .lede { padding-top: .5rem; }
.photo-feature { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 35rem; background: var(--pine); }
.photo-feature img { width: 100%; height: 100%; min-height: 24rem; object-fit: cover; }
.photo-feature-copy { display: grid; align-content: center; padding: clamp(2rem, 7vw, 6rem); color: white; }
.photo-feature-copy h2 { color: white; }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.story { border-top: 5px solid var(--leaf); padding-top: 1.25rem; }
.story p { margin-top: 1rem; }
.partner-row { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1rem, 3vw, 3rem); margin-top: 3rem; }
.partner-row img { width: 9.5rem; max-height: 4.5rem; object-fit: contain; object-position: left center; mix-blend-mode: multiply; }
.partner-row .partner-logo { background: white; padding: .5rem; }
.statements { columns: 2; column-gap: clamp(2rem, 8vw, 7rem); margin-top: 3rem; }
.statements > * { break-inside: avoid; margin-bottom: 2.25rem; }
.page-hero { color: white; background: var(--pine-deep); padding: clamp(4rem, 10vw, 8rem) 0; }
.page-hero h1 { max-width: 12ch; }
.page-hero p { max-width: 40rem; font-size: 1.15rem; }
.content { width: min(48rem, 100%); }
.content h2 { margin: 3.2rem 0 1rem; font-size: clamp(2rem, 4vw, 3.2rem); }
.content h3 { margin: 2rem 0 .75rem; }
.content ul { padding-left: 1.25rem; }
.about-images { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.25rem; margin-top: 4rem; }
.about-images figure { margin: 0; }
.about-images img { width: 100%; height: 100%; min-height: 18rem; object-fit: cover; }
.about-images .stack { display: grid; gap: 1.25rem; }
.gallery-intro { max-width: 46rem; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 3rem; }
.gallery figure { margin: 0; background: var(--mist); overflow: hidden; }
.gallery img { width: 100%; height: 14rem; object-fit: cover; transition: transform .25s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { padding: .55rem .7rem .7rem; font-size: .82rem; color: #466057; }
.contact-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; background: var(--mist); padding: clamp(2rem, 6vw, 5rem); }
.contact-panel img { width: 100%; min-height: 20rem; object-fit: cover; }
.phone-link { display: inline-block; color: var(--pine); font: clamp(2.1rem, 5vw, 4.4rem)/1 var(--serif); letter-spacing: -.04em; }
.notice { border-left: 5px solid var(--orange); padding: 1rem 1.25rem; background: #fff7ed; }
.privacy { padding-bottom: 6rem; }
.privacy h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-top: 2.5rem; }
.site-footer { color: #dbe6df; background: var(--pine-deep); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 2rem; }
.site-footer h2 { color: white; max-width: 11ch; font-size: clamp(2.4rem, 5vw, 4rem); }
.site-footer a { color: white; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: .6rem; }
.legacy-links { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #40665a; font-size: .875rem; }
.legacy-links p { color: #bdd0c5; }
.legacy-links a { margin-right: 1rem; }
.copyright { margin-top: 2rem; font-size: .875rem; color: #bdd0c5; }
@media (max-width: 760px) {
  .nav { flex-direction: column; align-items: flex-start; gap: .75rem; padding: 1rem 0; }
  .nav-links { width: 100%; justify-content: flex-start; gap: .65rem 1rem; font-size: .9rem; }
  .brand img { width: 155px; height: auto; }
  .section-intro, .photo-feature, .contact-panel, .footer-grid { grid-template-columns: 1fr; }
  .photo-feature { min-height: auto; }
  .photo-feature img { max-height: 25rem; }
  .story-grid { grid-template-columns: 1fr; gap: 2rem; }
  .statements { columns: 1; }
  .about-images { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: .55rem; }
  .gallery img { height: 10rem; }
}
@media (max-width: 390px) {
  .nav-links { gap: .5rem .75rem; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 14rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .gallery img { transition: none; } }
