/* ============================================================
   Dimov Location Blocks
   One stylesheet for every location page. Every selector is scoped
   under .dtl and every class carries the dtl- prefix, so neither the
   theme, Bootstrap nor the Elementor kit can collide with it.
   Design source: LocationSpec/philadelphia/source-mockup.html
   ============================================================ */
.dtl{
  --dtl-abyss:#070C3D;
  --dtl-ultramarine:#0F1FAD;
  --dtl-ultramarine-lift:#1B2ED0;
  --dtl-ultramarine-deep:#0B1480;
  --dtl-mist:#EDF0FA;
  --dtl-paper:#FFFFFF;
  --dtl-butter:#FFFBAC;
  --dtl-green:#007E24;
  --dtl-ink:#0A1230;
  --dtl-ink-soft:#4A5272;
  --dtl-line:#D7DDF0;
  --dtl-serif:"Newsreader",Georgia,"Times New Roman",serif;
  --dtl-sans:"Public Sans","Helvetica Neue",Arial,sans-serif;
  --dtl-pad-band:clamp(62px,7.5vw,112px);
  --dtl-gutter:clamp(20px,4vw,40px);
  --dtl-radius:10px;

  position:relative;
  font-family:var(--dtl-sans);
  font-size:clamp(1rem,.97rem + .18vw,1.0625rem);
  font-weight:400;
  line-height:1.65;
  letter-spacing:normal;
  color:var(--dtl-ink);
  text-align:left;
  -webkit-font-smoothing:antialiased;
}

/* ---------- Resets against theme + kit ----------
   The site inlines "h1..h6{font-family:granville !important}" on every page (MAIN CSS IMPORT),
   so heading font-family declarations here must carry !important too. */
.dtl *,.dtl *::before,.dtl *::after{box-sizing:border-box}
.dtl h1,.dtl h2,.dtl h3{margin:0;padding:0;font-family:inherit!important;font-weight:700;line-height:1.2;letter-spacing:normal;text-transform:none;color:inherit;text-wrap:balance}
.dtl p,.dtl ul,.dtl li,.dtl address{margin:0;padding:0;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;color:inherit;letter-spacing:inherit}
.dtl ul{list-style:none}
.dtl li::before{content:none}
.dtl address{font-style:normal}
.dtl img{max-width:100%;height:auto;display:block;border:0;box-shadow:none}
.dtl a{color:inherit;font-family:inherit}
.dtl a:hover,.dtl a:focus{color:inherit}
.dtl svg{display:inline-block;vertical-align:middle}

/* Elementor: these widgets are full bleed and butt against each other */
.e-con>.elementor-element[class*="elementor-widget-dtl_"],
.elementor-element[class*="elementor-widget-dtl_"]{--kit-widget-spacing:0px;margin:0;width:100%;max-width:100%}

/* Buttons link to the footer contact form (#dimovtax-contact-iframe): glide there and clear the sticky header */
html:has(.dtl){scroll-behavior:smooth}
#dimovtax-contact-iframe{scroll-margin-top:170px}
@media (max-width:767px){#dimovtax-contact-iframe{scroll-margin-top:110px}}
@media (prefers-reduced-motion:reduce){html:has(.dtl){scroll-behavior:auto}}

/* ---------- Layout ---------- */
.dtl .dtl-wrap{width:100%;max-width:1220px;margin-inline:auto;padding-inline:var(--dtl-gutter)}
.dtl .dtl-band{position:relative;padding-block:var(--dtl-pad-band)}
.dtl .dtl-band>.dtl-wrap{position:relative;z-index:2}
.dtl .dtl-band--paper{background:var(--dtl-paper)}
.dtl .dtl-band--mist{background:var(--dtl-mist)}
.dtl .dtl-band--blue{background:var(--dtl-ultramarine);color:#fff}
.dtl .dtl-band--abyss{background:var(--dtl-abyss);color:#fff}
.dtl .dtl-band--tight{padding-block:clamp(40px,4.6vw,64px)}
.dtl .dtl-band--head-only{padding-bottom:clamp(36px,4vw,56px)}

/* Faint ruled texture, like accounting paper, on the flat dark bands */
.dtl .dtl-band--blue::before,.dtl .dtl-band--abyss::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:repeating-linear-gradient(to bottom,rgba(255,255,255,.055) 0 1px,transparent 1px 36px);
}

/* ---------- Photo bands ---------- */
.dtl .dtl-shot{
  position:relative;color:#fff;background-color:var(--dtl-abyss);
  background-image:var(--dtl-img);
  background-size:cover;background-position:center;background-repeat:no-repeat;
}
.dtl .dtl-shot::after{content:"";position:absolute;inset:0;background:var(--dtl-veil);pointer-events:none}
.dtl .dtl-shot>.dtl-wrap{position:relative;z-index:2}
.dtl .dtl-shot--night{--dtl-veil:linear-gradient(102deg,rgba(7,12,61,.97) 0%,rgba(7,12,61,.9) 46%,rgba(7,12,61,.58) 100%)}
.dtl .dtl-shot--ink{--dtl-veil:linear-gradient(180deg,rgba(7,12,61,.94),rgba(7,12,61,.9))}
.dtl .dtl-shot--blue{--dtl-veil:linear-gradient(180deg,rgba(15,31,173,.93),rgba(11,20,128,.9))}
@media (max-width:860px){
  .dtl .dtl-shot--night{--dtl-veil:linear-gradient(180deg,rgba(7,12,61,.95),rgba(7,12,61,.95))}
}
@media (min-width:1000px) and (hover:hover){
  .dtl .dtl-shot--fixed{background-attachment:fixed}
}

/* ---------- Type ---------- */
.dtl .dtl-display{font-family:var(--dtl-serif)!important;font-weight:500;font-size:clamp(2.4rem,1.5rem + 3.9vw,4.3rem);line-height:1.04;letter-spacing:-.021em}
.dtl .dtl-h2{font-family:var(--dtl-serif)!important;font-weight:500;font-size:clamp(1.9rem,1.35rem + 2.4vw,2.95rem);line-height:1.09;letter-spacing:-.015em}
.dtl .dtl-h3{font-family:var(--dtl-sans)!important;font-weight:600;font-size:1.2rem;line-height:1.3;letter-spacing:-.008em}
.dtl .dtl-lead{font-size:clamp(1.06rem,1rem + .4vw,1.22rem);line-height:1.58;color:var(--dtl-ink-soft)}
.dtl .dtl-band--blue .dtl-lead,.dtl .dtl-band--abyss .dtl-lead,.dtl .dtl-shot .dtl-lead{color:rgba(255,255,255,.79)}
.dtl .dtl-muted{color:var(--dtl-ink-soft)}
.dtl .dtl-band--abyss .dtl-muted,.dtl .dtl-shot .dtl-muted{color:rgba(255,255,255,.72)}
.dtl .dtl-shot .dtl-h2,.dtl .dtl-band--blue .dtl-h2,.dtl .dtl-band--abyss .dtl-h2{color:#fff}
.dtl .dtl-section-head{max-width:60ch;margin-bottom:clamp(34px,4vw,56px)}
.dtl .dtl-section-head .dtl-lead{margin-top:18px}
.dtl .dtl-section-head--flush{margin-bottom:0}

/* ---------- Buttons ---------- */
.dtl .dtl-btn{
  display:inline-flex;align-items:center;gap:10px;
  font-family:var(--dtl-sans);font-weight:600;font-size:1rem;line-height:1;letter-spacing:normal;
  padding:17px 26px;border-radius:6px;border:1.5px solid transparent;
  text-decoration:none;cursor:pointer;box-shadow:none;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease;
}
.dtl .dtl-btn--primary,.dtl .dtl-btn--primary:hover,.dtl .dtl-btn--primary:focus{color:#fff}
.dtl .dtl-btn--primary{background:var(--dtl-ultramarine)}
.dtl .dtl-btn--primary:hover{background:var(--dtl-ultramarine-lift)}
.dtl .dtl-btn--butter,.dtl .dtl-btn--butter:hover,.dtl .dtl-btn--butter:focus{color:var(--dtl-abyss)}
.dtl .dtl-btn--butter{background:var(--dtl-butter)}
.dtl .dtl-btn--butter:hover{background:#fff}
.dtl .dtl-btn--ghost,.dtl .dtl-btn--ghost:hover,.dtl .dtl-btn--ghost:focus{color:var(--dtl-ink)}
.dtl .dtl-btn--ghost{border-color:var(--dtl-line);background:transparent}
.dtl .dtl-btn--ghost:hover{background:var(--dtl-mist);border-color:var(--dtl-ink)}
.dtl .dtl-btn--ghost-dark,.dtl .dtl-btn--ghost-dark:hover,.dtl .dtl-btn--ghost-dark:focus{color:#fff}
.dtl .dtl-btn--ghost-dark{border-color:rgba(255,255,255,.42);background:transparent}
.dtl .dtl-btn--ghost-dark:hover{background:rgba(255,255,255,.12);border-color:#fff}
.dtl .dtl-btn-row{display:flex;flex-wrap:wrap;gap:14px}

/* ---------- Hero ---------- */
.dtl .dtl-hero{padding-block:clamp(70px,7.6vw,118px) 0}
.dtl .dtl-hero-inner{max-width:920px}
.dtl .dtl-hero .dtl-display{color:#fff}
.dtl .dtl-hero .dtl-lead{margin-top:24px;max-width:58ch}
.dtl .dtl-hero .dtl-btn-row{margin-top:36px}
.dtl .dtl-hero-where{
  margin-top:26px;display:flex;align-items:center;gap:11px;
  font-size:.97rem;color:rgba(255,255,255,.82);font-weight:500;
}
.dtl .dtl-hero-where svg{color:var(--dtl-butter);flex:0 0 auto}
.dtl .dtl-hero-strip{
  margin-top:clamp(44px,4.8vw,68px);border-top:1px solid rgba(255,255,255,.2);
  display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(20px,3vw,44px);
  padding-block:26px clamp(44px,4.8vw,68px);
}
.dtl .dtl-hero-strip div{font-size:.98rem;color:rgba(255,255,255,.82)}
.dtl .dtl-hero-strip strong{display:block;color:#fff;font-weight:600;margin-bottom:5px}

/* ---------- Full bleed card grids ---------- */
.dtl .dtl-grid-full{--dtl-cell-line:var(--dtl-line);display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--dtl-cell-line);background:var(--dtl-paper)}
.dtl .dtl-grid-full--light{--dtl-cell-line:rgba(255,255,255,.28);background:var(--dtl-ultramarine-deep);color:#fff}
.dtl .dtl-grid-full--four{grid-template-columns:repeat(4,1fr)}
.dtl .dtl-cell{
  position:relative;display:flex;flex-direction:column;
  padding:clamp(30px,3vw,48px);text-decoration:none;color:inherit;
  border-bottom:1px solid var(--dtl-cell-line);
  border-right:1px solid var(--dtl-cell-line);
  transition:background-color .2s ease;
}
.dtl .dtl-grid-full:not(.dtl-grid-full--four) .dtl-cell:nth-child(3n){border-right:0}
.dtl .dtl-grid-full--four .dtl-cell:nth-child(4n){border-right:0}
.dtl .dtl-cell::before{
  content:"";position:absolute;top:-1px;left:0;width:0;height:3px;
  background:var(--dtl-ultramarine);transition:width .28s ease;
}
.dtl .dtl-grid-full--light .dtl-cell::before{background:var(--dtl-butter)}
.dtl a.dtl-cell:hover{background:var(--dtl-mist)}
.dtl a.dtl-cell:hover::before{width:100%}
.dtl .dtl-grid-full--light a.dtl-cell:hover{background:rgba(255,255,255,.1)}
.dtl .dtl-cell .dtl-tag{font-size:.84rem;font-weight:600;color:var(--dtl-ultramarine);margin-bottom:12px}
.dtl .dtl-grid-full--light .dtl-cell .dtl-tag{color:var(--dtl-butter)}
.dtl .dtl-cell h3{margin-bottom:12px}
.dtl .dtl-cell p{font-size:.98rem;color:var(--dtl-ink-soft);margin-bottom:26px;max-width:46ch}
.dtl .dtl-grid-full--light .dtl-cell p{color:rgba(255,255,255,.79)}
.dtl .dtl-cell .dtl-go{margin-top:auto;display:inline-flex;align-items:center;gap:9px;font-weight:600;font-size:.95rem;color:var(--dtl-ultramarine)}
.dtl .dtl-grid-full--light .dtl-cell .dtl-go{color:var(--dtl-butter)}
.dtl .dtl-cell .dtl-go svg{transition:transform .2s ease}
.dtl a.dtl-cell:hover .dtl-go svg{transform:translateX(4px)}

/* ---------- Compact full bleed link row ---------- */
.dtl .dtl-grid-compact{--dtl-cell-line:var(--dtl-line);display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--dtl-cell-line);background:var(--dtl-mist)}
.dtl .dtl-grid-compact a{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:26px clamp(20px,3vw,44px);text-decoration:none;font-weight:600;font-size:1.04rem;
  border-bottom:1px solid var(--dtl-cell-line);border-right:1px solid var(--dtl-cell-line);
  transition:background-color .18s ease,color .18s ease;
}
.dtl .dtl-grid-compact a:nth-child(3n){border-right:0}
.dtl .dtl-grid-compact a:hover{background:var(--dtl-paper);color:var(--dtl-ultramarine)}
.dtl .dtl-grid-compact svg{color:var(--dtl-ultramarine);flex:0 0 auto}

/* ---------- Inline CTA ---------- */
.dtl .dtl-cta-inline{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:28px}
.dtl .dtl-cta-inline h2{font-family:var(--dtl-serif)!important;font-weight:500;font-size:clamp(1.55rem,1.2rem + 1.4vw,2.25rem);line-height:1.15;max-width:23ch;color:#fff}
.dtl .dtl-cta-inline p{margin-top:10px;color:rgba(255,255,255,.8);max-width:48ch}

/* ---------- Split ---------- */
.dtl .dtl-split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(38px,5vw,80px);align-items:center}
.dtl .dtl-split--flip .dtl-split-media{order:2}
.dtl .dtl-split-media img{width:100%;aspect-ratio:4/3.2;object-fit:cover;border-radius:var(--dtl-radius)}
.dtl .dtl-split .dtl-lead{margin-top:20px}
.dtl .dtl-checklist{margin-top:30px;display:grid;gap:14px}
.dtl .dtl-checklist li{display:grid;grid-template-columns:24px 1fr;gap:14px;align-items:start}
.dtl .dtl-checklist svg{margin-top:5px;color:var(--dtl-green);flex:0 0 auto}
.dtl .dtl-split .dtl-btn-row{margin-top:34px}

/* ---------- Three layer motif ---------- */
.dtl .dtl-layers{margin-bottom:clamp(36px,4vw,56px);border-top:1px solid rgba(255,255,255,.24);padding-top:26px}
.dtl .dtl-layers ul{display:grid;gap:13px;max-width:560px}
.dtl .dtl-layers li{display:grid;grid-template-columns:140px 1fr;align-items:center;gap:18px;font-size:.99rem;color:rgba(255,255,255,.86)}
.dtl .dtl-layer-bar{display:block;height:9px;border-radius:2px;background:var(--dtl-butter)}
.dtl .dtl-layers li:nth-child(1) .dtl-layer-bar{width:100%}
.dtl .dtl-layers li:nth-child(2) .dtl-layer-bar{width:70%;background:rgba(255,251,172,.66)}
.dtl .dtl-layers li:nth-child(n+3) .dtl-layer-bar{width:42%;background:rgba(255,251,172,.42)}

/* ---------- Deadlines ---------- */
.dtl .dtl-deadlines{display:grid;grid-template-columns:1fr 1fr;gap:clamp(20px,2.4vw,28px)}
.dtl .dtl-deadline{background:var(--dtl-paper);border:1px solid var(--dtl-line);border-radius:var(--dtl-radius);padding:clamp(28px,3vw,40px)}
.dtl .dtl-deadline .dtl-when{font-family:var(--dtl-serif);font-weight:600;font-size:clamp(1.5rem,1.2rem + 1vw,2rem);color:var(--dtl-ultramarine);line-height:1.1;margin-bottom:16px}
.dtl .dtl-deadline h3{margin-bottom:12px}
.dtl .dtl-deadline p{color:var(--dtl-ink-soft);font-size:.99rem;margin-bottom:22px}
.dtl .dtl-link-out{display:inline-flex;align-items:center;gap:9px;font-weight:600;font-size:.95rem;color:var(--dtl-ultramarine);text-decoration:none;border-bottom:1.5px solid transparent;padding-bottom:2px}
.dtl .dtl-link-out:hover,.dtl .dtl-link-out:focus{color:var(--dtl-ultramarine);border-bottom-color:var(--dtl-ultramarine)}
.dtl .dtl-disclaimer{margin-top:30px;font-size:.9rem;color:var(--dtl-ink-soft);max-width:78ch}

/* ---------- Process ---------- */
.dtl .dtl-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(28px,3.4vw,52px)}
.dtl .dtl-step{border-top:1px solid var(--dtl-line);padding-top:26px}
.dtl .dtl-step .dtl-num{font-family:var(--dtl-serif);font-weight:400;font-size:3rem;line-height:1;color:var(--dtl-ultramarine);display:block;margin-bottom:18px}
.dtl .dtl-step h3{margin-bottom:12px}
.dtl .dtl-step p{color:var(--dtl-ink-soft);font-size:.99rem}

/* ---------- Team ---------- */
.dtl .dtl-team{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(20px,2.4vw,28px)}
.dtl a.dtl-person{display:block;text-decoration:none;color:inherit}
.dtl .dtl-person-photo{display:block;aspect-ratio:4/5;border-radius:var(--dtl-radius);overflow:hidden;background:var(--dtl-mist);margin-bottom:18px}
.dtl .dtl-band--mist .dtl-person-photo{background:var(--dtl-paper)}
.dtl .dtl-person-photo img{width:100%;height:100%;object-fit:cover;object-position:top center;transition:transform .4s ease}
.dtl a.dtl-person:hover .dtl-person-photo img{transform:scale(1.03)}
.dtl .dtl-person h3{margin-bottom:5px;transition:color .18s ease}
.dtl a.dtl-person:hover h3{color:var(--dtl-ultramarine)}
.dtl .dtl-person-role{font-size:.95rem;line-height:1.45;color:var(--dtl-ink-soft)}
.dtl .dtl-team-more{margin-top:clamp(34px,4vw,48px)}

/* ---------- Image ribbon ---------- */
.dtl .dtl-ribbon{display:grid;grid-template-columns:repeat(3,1fr)}
.dtl .dtl-ribbon img{width:100%;height:clamp(200px,24vw,330px);object-fit:cover}

/* ---------- Areas served ---------- */
.dtl .dtl-areas{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(26px,3.2vw,52px)}
.dtl .dtl-area-col h3{color:var(--dtl-butter);font-size:1rem;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.22)}
.dtl .dtl-area-col li{color:rgba(255,255,255,.83);font-size:.98rem;padding-block:3px}
.dtl .dtl-areas-note{margin-top:clamp(34px,4vw,54px);padding-top:26px;border-top:1px solid rgba(255,255,255,.22);max-width:74ch;color:rgba(255,255,255,.79)}

/* ---------- Big map ---------- */
.dtl.dtl-map-band{background:var(--dtl-mist)}
.dtl .dtl-map-full{width:100%;height:clamp(380px,52vh,600px);border:0;display:block;filter:grayscale(.18) contrast(1.02)}
.dtl .dtl-map-panel{
  position:absolute;top:50%;transform:translateY(-50%);
  left:max(var(--dtl-gutter),calc(50% - 610px + var(--dtl-gutter)));
  width:min(390px,calc(100% - var(--dtl-gutter) * 2));
  background:var(--dtl-abyss);color:#fff;padding:34px;border-radius:var(--dtl-radius);
  box-shadow:0 26px 64px rgba(7,12,61,.34);
}
.dtl .dtl-map-panel h2{font-family:var(--dtl-serif)!important;font-weight:500;font-size:1.7rem;line-height:1.12;margin-bottom:16px;color:#fff}
.dtl .dtl-map-panel address{line-height:1.7;color:rgba(255,255,255,.85);margin-bottom:22px}
.dtl .dtl-map-panel .dtl-btn{width:100%;justify-content:center}

/* ---------- Office ---------- */
.dtl .dtl-office{display:grid;grid-template-columns:.92fr 1.08fr;gap:clamp(38px,5vw,76px);align-items:start}
.dtl .dtl-address-block{margin-top:26px;font-size:1.1rem;line-height:1.75;border-left:3px solid var(--dtl-ultramarine);padding-left:20px}
.dtl .dtl-office .dtl-lead{margin-top:26px}
.dtl .dtl-office .dtl-muted{margin-top:16px}
.dtl .dtl-office .dtl-btn-row{margin-top:32px}
.dtl .dtl-office-media{display:grid;gap:18px}
.dtl .dtl-office-media img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:var(--dtl-radius)}
.dtl .dtl-map-small{border:0;width:100%;height:290px;border-radius:var(--dtl-radius);display:block;filter:grayscale(.18)}

/* ---------- Final CTA ---------- */
.dtl .dtl-final .dtl-h2{max-width:21ch;color:#fff}
.dtl .dtl-final .dtl-lead{margin-top:20px;max-width:54ch}
.dtl .dtl-final .dtl-btn-row{margin-top:36px}
.dtl .dtl-final .dtl-muted{margin-top:34px;font-size:.9rem;max-width:74ch}

/* ---------- Accessibility ---------- */
.dtl :focus-visible{outline:3px solid var(--dtl-ultramarine);outline-offset:3px;border-radius:2px}
.dtl .dtl-band--blue :focus-visible,.dtl .dtl-band--abyss :focus-visible,.dtl .dtl-shot :focus-visible,.dtl .dtl-grid-full--light :focus-visible,.dtl .dtl-map-panel :focus-visible{outline-color:var(--dtl-butter)}

@media (prefers-reduced-motion:no-preference){
  .dtl .dtl-rise{opacity:0;transform:translateY(18px);animation:dtl-rise .72s cubic-bezier(.2,.65,.3,1) forwards}
  .dtl .dtl-rise:nth-child(1){animation-delay:.05s}
  .dtl .dtl-rise:nth-child(2){animation-delay:.15s}
  .dtl .dtl-rise:nth-child(3){animation-delay:.25s}
  .dtl .dtl-rise:nth-child(4){animation-delay:.35s}
  @keyframes dtl-rise{to{opacity:1;transform:none}}
}
@media (prefers-reduced-motion:reduce){
  .dtl *,.dtl *::before,.dtl *::after{animation-duration:.001ms !important;transition-duration:.001ms !important}
}
/* The Elementor editor re-renders widgets constantly; never leave them invisible there */
.elementor-editor-active .dtl .dtl-rise{opacity:1;transform:none;animation:none}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1100px){
  .dtl .dtl-grid-full--four{grid-template-columns:repeat(2,1fr)}
  .dtl .dtl-grid-full--four .dtl-cell:nth-child(4n){border-right:1px solid var(--dtl-cell-line)}
  .dtl .dtl-grid-full--four .dtl-cell:nth-child(2n){border-right:0}
}
@media (max-width:1040px){
  .dtl .dtl-grid-full:not(.dtl-grid-full--four),.dtl .dtl-grid-compact,.dtl .dtl-steps,.dtl .dtl-areas{grid-template-columns:repeat(2,1fr)}
  .dtl .dtl-team{grid-template-columns:repeat(2,1fr)}
  .dtl .dtl-grid-full:not(.dtl-grid-full--four) .dtl-cell:nth-child(3n){border-right:1px solid var(--dtl-cell-line)}
  .dtl .dtl-grid-full:not(.dtl-grid-full--four) .dtl-cell:nth-child(2n){border-right:0}
  .dtl .dtl-grid-compact a:nth-child(3n){border-right:1px solid var(--dtl-cell-line)}
  .dtl .dtl-grid-compact a:nth-child(2n){border-right:0}
}
@media (max-width:900px){
  .dtl .dtl-split,.dtl .dtl-office{grid-template-columns:1fr}
  .dtl .dtl-split--flip .dtl-split-media{order:0}
  .dtl .dtl-deadlines{grid-template-columns:1fr}
  .dtl .dtl-map-panel{position:static;transform:none;width:auto;margin:0 var(--dtl-gutter) var(--dtl-gutter);border-radius:0 0 var(--dtl-radius) var(--dtl-radius)}
  .dtl .dtl-map-full{height:clamp(300px,40vh,420px)}
}
@media (max-width:640px){
  /* the :not() selectors repeat the 1040px rule's specificity, otherwise the 3-up grid stays 2-up on phones (bug in the mockup) */
  .dtl .dtl-grid-full,.dtl .dtl-grid-full:not(.dtl-grid-full--four),.dtl .dtl-grid-full--four,.dtl .dtl-grid-compact,.dtl .dtl-steps,.dtl .dtl-hero-strip,.dtl .dtl-areas{grid-template-columns:1fr}
  .dtl .dtl-grid-full .dtl-cell,.dtl .dtl-grid-full:not(.dtl-grid-full--four) .dtl-cell:nth-child(n),.dtl .dtl-grid-full--four .dtl-cell:nth-child(n),.dtl .dtl-grid-compact a:nth-child(n){border-right:0}
  .dtl .dtl-ribbon{grid-template-columns:1fr 1fr}
  .dtl .dtl-ribbon img:first-child{grid-column:1 / -1;height:230px}
  .dtl .dtl-layers li{grid-template-columns:100px 1fr;gap:14px}
  .dtl .dtl-hero-strip{gap:20px}
  .dtl .dtl-btn{width:100%;justify-content:center}
  .dtl .dtl-cta-inline .dtl-btn{width:auto}
  .dtl .dtl-team{gap:24px 14px}
  .dtl .dtl-person .dtl-h3{font-size:1.02rem}
  .dtl .dtl-person-role{font-size:.86rem}
}

/* ============================================================
   COMPONENTS ADDED FOR THE SAN FRANCISCO LAYOUT
   Neutral here; the skin below re-points the tokens.
   ============================================================ */
.dtl .dtl-eyebrow{font-size:.74rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--dtl-ultramarine);margin-bottom:18px}
.dtl .dtl-shot .dtl-eyebrow,.dtl .dtl-band--blue .dtl-eyebrow,.dtl .dtl-band--abyss .dtl-eyebrow{color:#fff}
.dtl .dtl-h2 em{font-style:italic;font-weight:400}

/* Hero with a portrait beside the copy */
.dtl .dtl-hero-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:clamp(36px,5vw,76px);align-items:center}
.dtl .dtl-hero-grid .dtl-hero-inner{max-width:none}
.dtl .dtl-hero-fig{position:relative;align-self:end}
.dtl .dtl-hero-fig img{width:100%;object-fit:cover;border-radius:var(--dtl-radius)}
.dtl .dtl-hero-figlabel{position:relative;z-index:2;padding:14px 18px;background:var(--dtl-abyss);color:#fff;font-weight:700;font-size:1rem}
.dtl .dtl-hero-figlabel span{display:block;font-size:.8rem;font-weight:400;color:rgba(255,255,255,.8)}
.dtl .dtl-hero-strip a{color:#fff;text-decoration:none;font-weight:600}
.dtl .dtl-hero-strip a:hover{color:var(--dtl-butter)}

/* Short rule instead of a text label on a card */
.dtl .dtl-cell .dtl-mark{width:22px;height:4px;border-radius:2px;background:var(--dtl-ultramarine);margin-bottom:20px;transition:width .28s ease}
.dtl .dtl-grid-full--light .dtl-cell .dtl-mark{background:var(--dtl-butter)}
.dtl a.dtl-cell:hover .dtl-mark{width:48px}

/* Photo cards */
.dtl .dtl-photo-band{padding-bottom:clamp(38px,4vw,56px)}
.dtl .dtl-photo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:3px}
.dtl .dtl-photo-grid--3{grid-template-columns:repeat(3,1fr)}
.dtl .dtl-photo-grid--2{grid-template-columns:repeat(2,1fr)}
.dtl .dtl-photo-card{
  position:relative;min-height:530px;display:flex;align-items:flex-end;color:#fff;
  padding:32px 28px;text-decoration:none;background-color:var(--dtl-abyss);
  background-image:var(--dtl-img);background-size:cover;background-position:center;
}
.dtl .dtl-photo-card::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(9,24,42,.02) 5%,rgba(9,24,42,.35) 30%,rgba(9,24,42,.95) 64%)}
.dtl .dtl-photo-card>div{position:relative}
.dtl .dtl-photo-card h3{font-family:var(--dtl-serif)!important;font-weight:600;font-size:1.9rem;line-height:1.13;margin-bottom:16px}
.dtl .dtl-photo-card p{font-size:.95rem;color:#eef3f7}
.dtl .dtl-photo-card .dtl-eyebrow{color:#fff;font-size:.68rem;margin-bottom:14px}
.dtl a.dtl-photo-card:hover h3{text-decoration:underline;text-underline-offset:4px}
.dtl .dtl-photo-note{margin-top:18px;font-size:.78rem;color:var(--dtl-ink-soft)}

/* Client reviews */
.dtl .dtl-reviews{background:var(--dtl-paper);color:var(--dtl-ink);padding:clamp(42px,5vw,58px) 0 0}
.dtl .dtl-reviews-head{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 var(--dtl-gutter) 34px}
.dtl .dtl-reviews-head .dtl-h2{font-size:clamp(2rem,3vw,3rem);line-height:1.15;margin:0}
.dtl .dtl-reviews-link{font-weight:600;text-underline-offset:6px;white-space:nowrap}
.dtl .dtl-reviews-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--dtl-line)}
.dtl .dtl-review{margin:0;padding:34px clamp(24px,2.5vw,40px) 36px;border-right:1px solid var(--dtl-line);display:flex;flex-direction:column}
.dtl .dtl-review:last-child{border-right:0}
.dtl .dtl-stars{color:#ffb24d;font-size:1.12rem;letter-spacing:3px;margin-bottom:22px}
.dtl .dtl-review blockquote{margin:0 0 22px;font-family:var(--dtl-serif)!important;font-size:clamp(1.35rem,1.7vw,1.8rem);line-height:1.3}
.dtl .dtl-review-context{color:var(--dtl-ink-soft);font-size:.93rem;line-height:1.6;margin-bottom:26px}
.dtl .dtl-review figcaption{margin-top:auto;padding-top:20px;border-top:1px solid var(--dtl-line);display:flex;justify-content:space-between;gap:12px;align-items:baseline;font-size:.95rem}
.dtl .dtl-review figcaption span{font-size:.8rem;color:var(--dtl-ink-soft)}
.dtl .dtl-reviews-note{padding:20px var(--dtl-gutter);font-size:.78rem;color:var(--dtl-ink-soft);border-top:1px solid var(--dtl-line)}

/* Opening hours + getting-here list */
.dtl .dtl-hours{margin-top:22px;display:grid;gap:8px;max-width:340px}
.dtl .dtl-hours>div{display:flex;justify-content:space-between;gap:20px;font-size:.97rem;border-bottom:1px solid var(--dtl-line);padding-bottom:7px}
.dtl .dtl-hours span:last-child{color:var(--dtl-ink-soft)}
.dtl .dtl-transit{margin-top:28px;display:grid;gap:12px}
.dtl .dtl-transit li{display:grid;grid-template-columns:22px 1fr;gap:12px;align-items:start;font-size:.98rem}
.dtl .dtl-transit svg{margin-top:5px;color:var(--dtl-green);flex:0 0 auto}
.dtl .dtl-map-panel .dtl-hours-line{font-size:.92rem;color:rgba(255,255,255,.7);margin:-12px 0 22px}

@media (max-width:1080px){
  .dtl .dtl-photo-grid,.dtl .dtl-photo-grid--3{grid-template-columns:repeat(2,1fr)}
  .dtl .dtl-photo-card{min-height:480px}
  .dtl .dtl-reviews-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dtl .dtl-review:nth-child(2n){border-right:0}
  .dtl .dtl-review:nth-child(-n+2){border-bottom:1px solid var(--dtl-line)}
}
@media (max-width:900px){
  .dtl .dtl-hero-grid{grid-template-columns:1fr}
  .dtl .dtl-hero-fig{max-width:360px}
}
@media (max-width:640px){
  .dtl .dtl-photo-grid,.dtl .dtl-photo-grid--3,.dtl .dtl-photo-grid--2{grid-template-columns:1fr}
  .dtl .dtl-photo-card{min-height:450px;padding:30px}
  .dtl .dtl-photo-card h3{font-size:2rem;max-width:18ch}
  .dtl .dtl-reviews-head{align-items:flex-start;flex-direction:column}
  .dtl .dtl-reviews-grid{grid-template-columns:1fr}
  .dtl .dtl-review{border-right:0;border-bottom:1px solid var(--dtl-line)}
  .dtl .dtl-review:last-child{border-bottom:0}
  .dtl .dtl-review blockquote{font-size:1.65rem}
  .dtl .dtl-hero-fig{display:none}
}

/* ============================================================
   SKIN: SAN FRANCISCO + SAN DIEGO  (body class dtl-skin-sf / dtl-skin-sd, from _dtl_skin)
   Same blocks, different palette, type and a few layout choices.
   Source: LocationSpec/sanfrancisco/source-mockup.html
   ============================================================ */
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl{
  --dtl-abyss:#14253f;
  --dtl-ultramarine:#1716ba;
  --dtl-ultramarine-lift:#2929d2;
  --dtl-ultramarine-deep:#10233d;
  --dtl-mist:#f3f5f7;
  --dtl-butter:#ffffff;
  --dtl-green:#008323;
  --dtl-ink:#172235;
  --dtl-ink-soft:#4b5869;
  --dtl-line:#d9e0e5;
  --dtl-serif:"Source Serif 4",Georgia,"Times New Roman",serif;
  --dtl-sans:"Archivo","Helvetica Neue",Arial,sans-serif;
  --dtl-pad-band:clamp(56px,6vw,88px);
  --dtl-radius:4px;
  font-size:17px;line-height:1.65;
}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-display{font-size:clamp(2.8rem,5.1vw,4.9rem);line-height:1.03;letter-spacing:-.045em}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-h2{font-size:clamp(2.1rem,3.4vw,3.4rem);line-height:1.12;letter-spacing:-.02em}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-h3{font-size:1.25rem;font-weight:700}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-h2 em{color:var(--dtl-green)}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-eyebrow{color:var(--dtl-green)}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-band--blue .dtl-eyebrow{color:#dce7f0}

/* Heading left, standfirst right, on a hairline */
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-section-head{
  max-width:none;display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(24px,4vw,64px);align-items:end;
  padding-bottom:clamp(24px,2.6vw,34px);border-bottom:1px solid var(--dtl-line);
}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-section-head .dtl-lead{margin-top:0}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-shot .dtl-section-head,:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-band--blue .dtl-section-head,:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-band--abyss .dtl-section-head{border-bottom-color:rgba(255,255,255,.24)}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-section-head--flush{padding-bottom:0;border-bottom:0}

/* Buttons: the "butter" slot becomes the green primary */
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-btn--butter,:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-btn--butter:hover,:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-btn--butter:focus{background:var(--dtl-green);color:#fff}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-btn--butter:hover{background:#00691c}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-shot .dtl-btn--ghost-dark{background:rgba(14,30,51,.5)}

/* Flat navy bands, no ruled texture */
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-band--blue{background:var(--dtl-abyss)}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-band--blue::before,:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-band--abyss::before{display:none}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-shot--fixed{background-attachment:scroll}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-shot .dtl-lead{color:#fff}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-shot--night{--dtl-veil:linear-gradient(90deg,rgba(14,30,51,.94),rgba(14,30,51,.77) 46%,rgba(14,30,51,.18))}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-shot--ink{--dtl-veil:linear-gradient(90deg,rgba(12,28,47,.86),rgba(12,28,47,.6) 60%,rgba(12,28,47,.2))}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-shot--blue{--dtl-veil:linear-gradient(90deg,rgba(14,30,51,.95),rgba(14,30,51,.7) 50%,rgba(14,30,51,.12))}

/* Hero */
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-hero{padding-block:80px 35px;background-position:center 46%}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-hero-grid{grid-template-columns:1.3fr .7fr;gap:60px}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-hero .dtl-lead{font-size:1.15rem;color:#fff;max-width:53ch}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-hero-fig img{aspect-ratio:4/4.2;border-radius:4px}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-hero-strip{margin-top:44px}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-hero-strip strong{color:#fff;font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px}

/* Cards */
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-cell{padding:32px 30px}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-cell h3{max-width:24ch}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-cell p{font-size:1rem}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-cell .dtl-go{font-size:.9rem}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-cell .dtl-mark{background:var(--dtl-green);margin-bottom:22px}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-cell::before{display:none}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl a.dtl-cell:hover{background:var(--dtl-abyss);color:#fff}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl a.dtl-cell:hover p,:is(.dtl-skin-sf,.dtl-skin-sd) .dtl a.dtl-cell:hover .dtl-go{color:#fff}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl a.dtl-cell:hover .dtl-mark{background:#fff}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-grid-full--light{background:var(--dtl-ultramarine-deep)}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-grid-full--light .dtl-cell,:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-grid-full--light .dtl-cell h3{color:#fff}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-grid-full--light .dtl-cell p{color:#e4ebf2}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-grid-full--light .dtl-cell .dtl-mark{background:#fff}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-grid-full--light .dtl-cell p a{text-underline-offset:4px}

/* Stacked blocks (the deadlines block wearing the SF skin) */
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-deadlines{grid-template-columns:repeat(2,1fr);gap:clamp(18px,2.2vw,26px)}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-deadline{border-radius:3px;border:1px solid var(--dtl-line);border-top:4px solid var(--dtl-green);display:flex;flex-direction:column}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-deadline .dtl-when{font-family:var(--dtl-sans)!important;color:var(--dtl-green);font-size:.77rem;font-weight:700;text-transform:uppercase;letter-spacing:.09em;margin-bottom:14px}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-deadline p+p{margin-top:.9em}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-deadline p{margin-bottom:0}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-deadline .dtl-link-out{margin-top:22px;align-self:flex-start}

/* Numbered steps on a dark band */
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-steps{grid-template-columns:repeat(3,1fr);gap:clamp(22px,2.8vw,40px)}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-band--blue .dtl-step{border-top:1px solid #627084;padding-top:24px}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-band--blue .dtl-step .dtl-num{font-size:3.6rem;font-style:italic;color:#fff;margin-bottom:12px}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-band--blue .dtl-step h3{font-size:1.18rem;color:#fff}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-band--blue .dtl-step p{color:rgba(255,255,255,.8);font-size:.97rem}

/* Team */
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-person-photo{aspect-ratio:1/1;border-radius:28px}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-person h3{font-size:1.08rem}

/* Areas: the copy sits on a panel over the photo */
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-shot--ink .dtl-wrap{background:rgba(14,31,51,.87);padding-block:38px}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-shot--ink .dtl-section-head{margin-bottom:30px}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-area-col h3{color:#fff}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-areas-note{max-width:none}

/* Maps + office */
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-map-panel{border-radius:3px}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-office-media--bg{min-height:430px;display:grid;align-content:end;background-size:cover;background-position:center;background-image:var(--dtl-img)}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-office-media--bg .dtl-map-small{height:250px;border-radius:0}

/* Closing band */
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-final{min-height:510px;display:flex;align-items:center;background-position:center 43%}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-final .dtl-h2{font-size:clamp(2.8rem,4.7vw,4.8rem);max-width:20ch}
:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-final .dtl-muted{color:#e0e7ef}

@media (max-width:1080px){
  :is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-section-head{grid-template-columns:1fr;align-items:start;gap:18px}
  :is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-hero-grid{gap:30px}
}
@media (max-width:900px){
  :is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-deadlines,:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-steps{grid-template-columns:1fr}
  :is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-hero{padding-top:58px}
  /* with the portrait hidden, a side-to-side veil leaves the hero dark on one edge and bright on the other */
  :is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-shot--night{--dtl-veil:linear-gradient(180deg,rgba(14,30,51,.93),rgba(14,30,51,.89))}
  :is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-shot--ink,:is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-shot--blue{--dtl-veil:linear-gradient(180deg,rgba(14,30,51,.93),rgba(14,30,51,.89))}
  :is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-office-media--bg{min-height:480px}
}
@media (max-width:640px){
  /* the mockup's 3.1rem leaves one-word lines and a wide empty column on a phone */
  :is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-display{font-size:clamp(2rem,8.4vw,2.9rem);letter-spacing:-.03em}
  :is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-hero .dtl-lead{font-size:1.06rem}
  :is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-hero-strip{gap:17px}
  :is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-shot--ink .dtl-wrap{padding-block:32px}
  :is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-cell{padding:30px 24px}
  :is(.dtl-skin-sf,.dtl-skin-sd) .dtl .dtl-final{min-height:550px}
}

/* ------------------------------------------------------------
   SAN DIEGO: the San Francisco skin above, with its own hero
   proportions, a three-across photo row and the note panel.
   Source: LocationSpec/sandiego/source-mockup.html
   ------------------------------------------------------------ */
.dtl-skin-sd .dtl .dtl-hero-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);align-items:center}
.dtl-skin-sd .dtl .dtl-hero-grid>div{min-width:0}
.dtl-skin-sd .dtl .dtl-hero-fig{width:100%;align-self:center}
.dtl-skin-sd .dtl .dtl-hero-fig img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:center top}
.dtl-skin-sd .dtl .dtl-photo-card{min-height:470px}

/* Note panel (military tax): dark card inside a white band */
.dtl-skin-sd .dtl .dtl-note-band{padding-block:48px;border-bottom:1px solid var(--dtl-line)}
.dtl-skin-sd .dtl .dtl-note-panel{
  background:var(--dtl-abyss);color:#fff;border-left:5px solid var(--dtl-green);border-radius:6px;
  padding:clamp(28px,3.5vw,48px);gap:clamp(24px,4vw,54px);align-items:center;
}
.dtl-skin-sd .dtl .dtl-note-panel .dtl-eyebrow{color:#bde7ce;margin-bottom:14px}
.dtl-skin-sd .dtl .dtl-note-panel .dtl-h2{color:#fff;font-size:clamp(2rem,3vw,2.85rem)}
.dtl-skin-sd .dtl .dtl-note-panel .dtl-lead{color:#e4ebf2;font-size:1.05rem}
.dtl-skin-sd .dtl .dtl-note-panel .dtl-link-out{color:#fff;border-bottom:1px solid #8394a8;padding-bottom:5px;margin-top:20px}
.dtl-skin-sd .dtl .dtl-note-panel .dtl-link-out:hover{color:#fff;border-bottom-color:#fff}

@media (max-width:900px){
  /* unlike San Francisco, the San Diego portrait stays on phones */
  .dtl-skin-sd .dtl .dtl-hero-grid{grid-template-columns:1fr}
  .dtl-skin-sd .dtl .dtl-hero-fig{display:block;max-width:320px;width:100%;margin:8px auto 0}
}
@media (max-width:640px){
  .dtl-skin-sd .dtl .dtl-hero-fig{display:block}
  .dtl-skin-sd .dtl .dtl-photo-card{min-height:410px}
  .dtl-skin-sd .dtl .dtl-note-band{padding-block:32px}
  .dtl-skin-sd .dtl .dtl-note-panel{padding:26px 22px}
}
