:root {
  font-family: Georgia, "Times New Roman", serif;
  color: #141d23;
  background: #faf9f6;
  color-scheme: light;
  --gutter: clamp(1.25rem, 5vw, 6rem);
  --sans: system-ui, sans-serif;
}
* { box-sizing: border-box }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column }
h1, h2, p { margin: 0 }
.masthead { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .45rem 1rem; padding: 1rem var(--gutter) }
.wordmark { font-size: clamp(2rem, 3.2vw, 3.3rem); line-height: 1; letter-spacing: -.06em }
.masthead p { font-size: clamp(.94rem, 1.4vw, 1.4rem) }
.gateway { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) }
.panel { position: relative; isolation: isolate; overflow: hidden }
.panel__image, .panel::before { position: absolute; inset: 0; width: 100%; height: 100% }
.panel__image { object-fit: cover; object-position: center bottom; z-index: -2; transition: transform .6s ease }
.panel::before { content: ''; z-index: -1 }
.panel--craft { color: #fff; background: #101517 }
.panel--craft::before { background: linear-gradient(165deg, #090e12b8 12%, #090e1280 47%, transparent 82%) }
.panel--it { background: #eef2f3 }
.panel--it::before { background: linear-gradient(165deg, #fafaf7eb 0%, #f7f8f6bb 40%, transparent 80%) }
.panel__content { padding: clamp(3rem, 7vh, 6rem) var(--gutter) clamp(11rem, 26vh, 22rem) }
.byline { font: 650 1rem/1.5 var(--sans); display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-bottom: clamp(1rem, 2.4vh, 2rem) }
.company { color: #ffae67; border-left: 1px solid currentColor; padding-left: .65rem; font-size: .82em; letter-spacing: .12em }
h2 { font-size: clamp(2.5rem, 5.2vw, 6.25rem); letter-spacing: -.055em; line-height: .98; overflow-wrap: break-word }
.services { margin: 1rem 0 1.6rem; font: 400 clamp(1rem, 1.35vw, 1.4rem)/1.45 var(--sans); max-width: 39ch }
.services p + p { margin-top: .65em }
.cta { display: inline-flex; align-items: center; min-height: 2.8rem; padding: .8rem 1.35rem; background: #ac4700; color: white; text-decoration: none; font: 650 1rem/1.3 var(--sans); border-radius: 3px }
.cta::after { content: ''; position: absolute; inset: 0 }
.cta:focus-visible { outline: 3px solid currentColor; outline-offset: 4px }
.panel:has(.cta:focus-visible) { outline: 4px solid #fb982f; outline-offset: -5px }
.panel--it .cta { background: #183f5d }
footer { text-align: center; font: 400 .8125rem/1.5 var(--sans); color: #495562; padding: .875rem }
@media (hover: hover) { .panel:has(.cta):hover .panel__image { transform: scale(1.025) } .panel:has(.cta):hover .cta { text-decoration: underline; text-underline-offset: .22em } }
/* Keep the family directory split down the middle, including on phones. */
@media (max-width: 760px) {
  .masthead { padding: .8rem clamp(.8rem, 3.2vw, 1.5rem) }
  .panel { display: flex; flex-direction: column }
  .panel__content { padding: clamp(1.4rem, 5svh, 3rem) clamp(.65rem, 2.8vw, 1.35rem) 0; overflow-wrap: anywhere }
  .panel__image {
    position: relative; inset: auto; order: 1; width: 100%; height: auto;
    min-height: 9rem; max-height: 44svh; flex: 1 1 11rem;
    object-fit: cover; object-position: 70% 94%; margin-top: auto;
    mask-image: linear-gradient(transparent, black 28%);
  }
  .panel--it .panel__image { object-position: 65% bottom }
  .panel::before { display: none }
  .byline {
    display: block; min-height: 3em; margin-bottom: .85rem;
    font-size: clamp(.875rem, 2.9vw, 1rem); line-height: 1.45;
  }
  .company { display: block; padding: 0; border: 0; font-size: .875rem }
  h2 { font-size: clamp(1.4rem, 5.3vw, 2.5rem); line-height: 1.06; letter-spacing: -.045em }
  .services { margin: .85rem 0 1.1rem; line-height: 1.4; max-width: 28ch; hyphens: auto }
  .cta { padding: .7rem clamp(.4rem, 1.4vw, .8rem); max-width: 100%; font-size: .9375rem; text-align: center }
}
@media (prefers-reduced-motion: reduce) { .panel__image { transition: none } .panel:has(.cta):hover .panel__image { transform: none } }
@media (forced-colors: active) { .panel__image { display: none } .cta { border: 2px solid LinkText } }
