/* Layout study of the referenced boutique-law-firm template, using CDIP assets. */
:root {
  --cdip-deep: #0d2947;
  --cdip-navy: #143c67;
  --cdip-blue: #275a8d;
  --cdip-pale: #eaf2f9;
  --cdip-rule: #d6e2ec;
}

/* One consistent identity across desktop and mobile. */
.home-page header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  height: 106px;
  margin: 0;
  border-bottom: 1px solid rgb(255 255 255 / 30%);
  background: rgb(8 37 67 / 58%);
  color: #fff;
}
.home-page header .brand,
.home-page header .brandline,
.home-page header nav a { color: #fff; }
.home-page header nav a:hover,
.home-page header nav a[aria-current] { text-decoration-color: #b8d4ee; }
.home-page header .navcontact { background: #fff; color: var(--cdip-deep); }
.home-page header .language-menu summary {
  border-color: rgb(255 255 255 / 46%);
  color: #fff;
  background: rgb(12 45 77 / 40%);
}
.home-page header .language-menu > div a { color: var(--cdip-deep); }
.home-page header .menu { color: #fff; }

/* Full-bleed editorial opening, with the site's own workspace image. */
.home-page .hero {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: min(780px, 91svh);
  padding: 170px clamp(24px, 6vw, 112px) 115px;
  overflow: hidden;
  color: #fff;
  background: var(--cdip-deep);
}
.home-page .hero-panel {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  overflow: hidden;
}
.home-page .hero-panel::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(90deg, rgb(8 32 58 / 95%) 0%, rgb(11 42 73 / 83%) 35%, rgb(15 48 82 / 60%) 67%, rgb(12 42 71 / 46%) 100%),
              linear-gradient(0deg, rgb(9 33 57 / 45%), transparent 45%);
}
.home-page .hero-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% 52%;
  opacity: .72;
}
.home-page .hero-panel .panel-label { display: none; }
.home-page .hero-caption {
  position: absolute;
  right: auto;
  bottom: 38px;
  left: clamp(24px, 6vw, 112px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 22px;
  width: min(850px, calc(100% - 48px));
  padding: 15px 0 0;
  border-top: 1px solid rgb(255 255 255 / 45%);
  border-left: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  backdrop-filter: none;
}
.home-page .hero-caption strong,
.home-page .hero-caption span { color: #fff; }
.home-page .hero-caption strong { font-size: 13px; font-weight: 500; }
.home-page .hero-caption span { font-size: 11px; letter-spacing: .13em; }
.home-page .hero-copy {
  position: relative;
  z-index: 3;
  width: min(100%, 850px);
  max-width: 850px;
}
.home-page .hero .eyebrow { color: #dcecfb; letter-spacing: .19em; }
.home-page .hero .smallrule { background: #dcecfb; }
.home-page .hero h1 {
  max-width: 830px;
  margin: 26px 0;
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(54px, 6vw, 92px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.045em;
}
.home-page .hero h1 em { color: #dcecfb; font-style: italic; }
.home-page .hero-description {
  max-width: 630px;
  color: #ecf5fc;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.6;
}
.home-page .hero-actions { margin-top: 35px; }
.home-page .hero-actions .button { background: #fff; color: var(--cdip-deep); }
.home-page .hero-actions .button:hover { background: #deecf8; }
.home-page .hero-actions .textlink { color: #fff; }
.home-page .audience {
  width: 100%;
  padding: 26px clamp(24px, 6vw, 112px);
  border-bottom: 1px solid var(--cdip-rule);
  background: #f2f7fb;
}

/* Template-inspired practice index: left introduction, right numbered rows. */
#expertise {
  display: block;
  padding: clamp(75px, 7vw, 125px) clamp(24px, 6vw, 112px);
  background: #fff;
}
#expertise .sectionheading {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, .65fr);
  align-items: end;
  gap: 40px;
  margin: 0 0 44px;
}
#expertise .sectionheading h2 {
  margin: 15px 0 25px;
  color: var(--cdip-deep);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(45px, 4.3vw, 67px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.04em;
}
#expertise .sectionheading > p { max-width: 500px; margin-bottom: 5px; }
#expertise .services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--cdip-rule);
  border-bottom: 1px solid var(--cdip-rule);
}
#expertise .service-card,
#expertise .service-card[href="/intellectual-property/"] {
  position: relative;
  display: block;
  min-height: 330px;
  padding: 78px 26px 28px;
  border: 0;
  border-right: 1px solid var(--cdip-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: background .2s;
}
#expertise .service-card:last-child { border-right: 0; }
#expertise .service-card:hover,
#expertise .service-card[href="/intellectual-property/"]:hover {
  background: #f1f7fc;
  transform: none;
}
#expertise .service-card .cardtop {
  position: absolute;
  inset: 30px 26px auto;
  display: flex;
  justify-content: space-between;
  width: auto;
  margin: 0;
  color: var(--cdip-blue);
  font-size: 13px;
  font-weight: 700;
}
#expertise .service-card .cardtop .arrow { font-size: 23px; line-height: 1; }
#expertise .service-card h3 {
  margin: 0 0 8px;
  color: var(--cdip-deep);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(25px, 2.1vw, 34px);
  font-weight: 400;
  line-height: 1.2;
}
#expertise .service-card p { max-width: 620px; margin: 0 0 15px; }
#expertise .service-card .cardmeta {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--cdip-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}

/* Dark vision block, then a single-lawyer introduction. */
.home-page .support {
  padding: clamp(75px, 7vw, 120px) clamp(24px, 6vw, 112px);
  color: #fff;
  background: var(--cdip-deep);
}
.home-page .support .eyebrow,
.home-page .support h2,
.home-page .support p,
.home-page .support-list h3,
.home-page .support-list p,
.home-page .support-list span { color: #fff; }
.home-page .support h2,
.principal h2,
.home-page .translations-feature h2,
.home-page .insight-paths h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -.04em;
}
.home-page .support h2 { font-size: clamp(45px, 4.3vw, 68px); line-height: 1.1; }
.home-page .support h2 em { color: #b9d7ee; }
.home-page .support > div > p:last-child { color: #d1e1ef; }
.home-page .support-list { border-top: 1px solid rgb(255 255 255 / 35%); }
.home-page .support-list > a {
  border-bottom: 1px solid rgb(255 255 255 / 35%);
  background: transparent;
  transition: background .2s;
}
.home-page .support-list > a:hover { background: rgb(255 255 255 / 8%); }
.home-page .support-list p { opacity: .8; }
.principal {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(50px, 8vw, 150px);
  align-items: center;
  padding: clamp(75px, 7vw, 120px) clamp(24px, 6vw, 112px);
  background: #f3f8fc;
}
.principal-visual { min-height: 500px; overflow: hidden; background: #dcebf7; }
.principal-visual img { display: block; width: 100%; height: 500px; object-fit: cover; object-position: center 43%; }
.principal-copy { max-width: 650px; }
.principal h2 { margin: 16px 0 25px; color: var(--cdip-deep); font-size: clamp(42px, 4vw, 64px); line-height: 1.12; }
.principal h2 em { color: var(--cdip-blue); }
.principal p:not(.eyebrow) { color: #3c5773; font-size: clamp(17px, 1.25vw, 20px); line-height: 1.7; }
.principal .textlink { display: inline-block; margin-top: 18px; color: var(--cdip-blue); font-weight: 700; }

.home-page .translations-feature { padding-block: clamp(65px, 6vw, 100px); }
.home-page .insight-paths { padding-block: clamp(70px, 6vw, 105px); }
.home-page .insight-paths h2 { font-size: clamp(42px, 4vw, 62px); }
.home-page .approach { padding-block: clamp(70px, 6vw, 105px); }

/* Interior pages share the same deliberate image-and-copy rhythm. */
.photo-pagehero:not(.legalhero) {
  min-height: 555px;
  padding-top: 75px;
  padding-bottom: 75px;
  background: #edf4fa;
}
.photo-pagehero:not(.legalhero) h1 {
  color: var(--cdip-deep);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.04em;
}
.photo-pagehero:not(.legalhero) .page-art { max-height: 570px; border-radius: 0; }
.detailgrid { padding-block: clamp(70px, 6vw, 105px); }
.detailgrid .sticky h2,
.package-section h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.035em; }
.detailitems article { border-color: var(--cdip-rule); }
.package-section { padding-block: clamp(65px, 6vw, 100px); background: #f4f8fb; }
.package { border-radius: 0; }

@media (max-width: 1700px) {
  .home-page header nav.open { color: var(--cdip-deep); }
  .home-page header nav.open a { color: var(--cdip-deep); }
  .home-page header nav.open .navcontact { color: #fff; background: var(--cdip-deep); }
}

@media (max-width: 1150px) {
  #expertise .sectionheading { grid-template-columns: 1fr; gap: 12px; }
  #expertise .sectionheading > p { max-width: 700px; }
  #expertise .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #expertise .service-card:nth-child(2) { border-right: 0; }
  #expertise .service-card:nth-child(-n + 2) { border-bottom: 1px solid var(--cdip-rule); }
}

@media (max-width: 850px) {
  .home-page .hero { min-height: 640px; padding-top: 155px; padding-bottom: 90px; }
  .home-page .hero-panel { max-width: none; height: 100%; }
  .home-page .hero-art { object-position: 60% center; }
  .home-page .hero-panel::after { background: linear-gradient(90deg, rgb(8 32 58 / 94%), rgb(11 42 73 / 68%)); }
  .home-page .hero-caption { display: none; }
  .principal { grid-template-columns: 1fr; }
  .principal-visual { min-height: 0; max-width: 600px; }
  .principal-visual img { height: 410px; }
  .photo-pagehero:not(.legalhero) { min-height: 0; padding-top: 50px; padding-bottom: 50px; }
}

@media (max-width: 600px) {
  .home-page header { height: 93px; }
  .home-page .hero { min-height: 600px; padding: 135px 22px 65px; }
  .home-page .hero h1 { font-size: clamp(44px, 11vw, 62px); }
  .home-page .hero-description { font-size: 17px; }
  .home-page .hero-actions { display: flex; align-items: flex-start; flex-direction: column; gap: 20px; }
  .home-page .audience { padding: 22px; }
  #expertise { padding: 65px 22px; }
  #expertise .services { grid-template-columns: 1fr; }
  #expertise .sectionheading h2 { font-size: 46px; }
  #expertise .service-card,
  #expertise .service-card[href="/intellectual-property/"] { min-height: 0; padding: 65px 20px 25px; border-right: 0; border-bottom: 1px solid var(--cdip-rule); }
  #expertise .service-card:last-child { border-bottom: 0; }
  #expertise .service-card .cardtop { inset: 24px 20px auto; }
  #expertise .service-card h3 { font-size: 26px; }
  .home-page .support { padding: 70px 22px; }
  .home-page .support h2 { font-size: 46px; }
  .principal { padding: 65px 22px; gap: 35px; }
  .principal-visual img { height: 330px; }
  .principal h2 { font-size: 43px; }
  .photo-pagehero:not(.legalhero) h1 { font-size: 43px; }
}

@media (prefers-reduced-motion: reduce) {
  #expertise .service-card,
  .home-page .support-list > a { transition: none; }
}
.fresh-insights{padding:clamp(70px,7vw,110px) clamp(24px,6vw,112px);background:#f2f7fb}.fresh-insights h2{font:400 clamp(39px,4vw,62px)/1.12 Georgia,serif;color:#0d2947;margin:15px 0 42px}.fresh-article{display:grid;grid-template-columns:180px 1fr;gap:25px;padding:28px 0;border-top:1px solid #cbddeb}.fresh-article time{color:#53718e;font-size:13px}.fresh-article summary{cursor:pointer;font:400 clamp(25px,2.4vw,36px)/1.25 Georgia,serif;color:#0d2947}.fresh-article p{max-width:850px;color:#395978;line-height:1.7}.fresh-body{white-space:pre-line}@media(max-width:600px){.fresh-article{grid-template-columns:1fr;gap:8px}}
