/* McMillan dimensional surfaces. Load after the existing theme styles.
   Hero camera/rig transforms and all form behavior remain owned by their scripts. */
:root {
  --mc-depth-edge: #d1b58e;
  --mc-depth-shadow: 0 6px 0 #d9c9b2, 0 16px 25px -14px #33231570, 0 28px 55px -35px #3323158c;
  --mc-depth-raised: 0 8px 0 #cfb993, 0 24px 36px -17px #33231585, 0 36px 65px -38px #33231590;
}

/* A solid, raised navigation rail and metal-edged calls to action. */
.site-nav, .com-top {
  background: linear-gradient(115deg, #30292b, #201b1d 65%);
  border-bottom-color: #786046;
  box-shadow: inset 0 -1px 0 #e3bf9021, 0 8px 25px #0b08082e;
}
.mc-btn, .com-cta, .nav-actions .button.gold {
  background: linear-gradient(145deg, #f4dbb5 0%, #e3bf90 50%, #c99d62 100%);
  border: 1px solid #e8c99d;
  box-shadow: inset 0 1px 0 #fff9, inset 0 -2px 0 #a7773d66, 0 4px 0 #987044, 0 10px 20px -8px #0d080b80;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.mc-btn.mc-darkbtn, .com-body .com-submit {
  background: linear-gradient(145deg, #493a31, #292122);
  border-color: #78624b;
  box-shadow: inset 0 1px 0 #d2b28b30, 0 4px 0 #161113, 0 12px 22px -10px #21161366;
}
.mc-ref-link, .com-alt {
  background: linear-gradient(135deg, #ffffff09, #00000012);
  box-shadow: inset 0 1px 0 #e3bf9033, 0 4px 0 #110e0e66, 0 12px 25px -15px #000b;
}
.mc-hero-copy h1 { text-shadow: 0 3px 0 #130e0e80, 0 12px 26px #110c0c55; }
.mc-hero-foot {
  background: linear-gradient(180deg, #302722, #211c1a);
  border-top-color: #826644;
  box-shadow: inset 0 1px 0 #e3bf9030, 0 -12px 35px #120c0c30;
}
#page-home .tr-shortcuts {
  background: linear-gradient(135deg, #3c3028, #282223 75%);
  box-shadow: inset 0 1px 0 #e3bf902b, inset 0 -3px 0 #110d0d55;
}

/* Raised cream surfaces sit above softly shaded section backgrounds. */
#page-home .mc-light {
  background: radial-gradient(ellipse at 85% 0, #fff 0, transparent 62%), linear-gradient(155deg, #f8f3eb, #eae1d4);
  box-shadow: inset 0 1px 0 #fff, inset 0 -18px 32px -30px #5a422f80;
}
#page-home .mc-paper {
  background: radial-gradient(ellipse at 5% 0, #fff 0, transparent 60%), linear-gradient(135deg, #f7f3ec, #eee6db);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 #cebea84d;
}
#page-home .mc-sand {
  background: radial-gradient(ellipse at 12% 20%, #f9f0df, transparent 65%), linear-gradient(135deg, #e9dbc6, #dac8af);
  box-shadow: inset 0 1px 0 #fff9, inset 0 -2px 0 #b69a7233;
}
#page-home .mc-charcoal, #page-home .mc-close {
  background: radial-gradient(ellipse at 88% 15%, #5c43313d, transparent 65%), linear-gradient(135deg, #33282a, #201b1c 70%);
  box-shadow: inset 0 1px 0 #e3bf9033, inset 0 -1px 0 #08050780;
}
.mc-product-grid { gap: 23px; }
#page-home .mc-commercial-directory .mc-product { min-height: 205px; }
.mc-product, .mc-service-links a, .tr-cards > article, .tr-step, .tr-proof-card {
  position: relative;
  border: 1px solid #d6c4a9;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff 0%, #fcf9f4 60%, #eee5d8 100%);
  box-shadow: inset 0 1px 0 #fff, var(--mc-depth-shadow);
}
.mc-product, .mc-service-links a {
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.mc-product { padding: 27px; }
.mc-card-top { margin-bottom: 21px; }
.mc-card-top > span {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 11px;
  border: 1px solid #e1c398;
  background: linear-gradient(145deg, #f5e5cd, #d3ac74);
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 #b49365, 0 8px 12px -7px #6f4a28b3;
  color: #5a3e21;
  font-size: 24px;
}
.mc-feature figure {
  position: relative;
  border: 7px solid #574332;
  border-top-color: #b2936d;
  border-left-color: #8d6f4d;
  border-bottom-color: #30231b;
  border-radius: 18px;
  box-shadow: 0 1px 0 #dfc29580, 10px 15px 0 -5px #100c0d85, 0 32px 45px -18px #000b;
}
.mc-feature figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px #f8dfba42, inset 0 1px 22px #fff1;
  background: linear-gradient(135deg, #ffffff0b, transparent 44%);
}
@media (min-width: 901px) {
  .mc-feature figure { transform: perspective(1300px) rotateY(-5deg) rotateX(2deg); }
}

/* The commercial market wall: clear text identities, not invented carrier logos. */
#page-home .mc-market {
  background: radial-gradient(ellipse at 10% 0, #72513347, transparent 52%), linear-gradient(145deg, #33292b, #211c1d 70%);
  border-block: 1px solid #6a543e;
  box-shadow: inset 0 1px 0 #e8cc9e36, inset 0 -16px 35px -26px #000;
}
#page-home .mc-market h2 { color: #fffaf1; }
#page-home .mc-market h2 em, #page-home .mc-market .mc-kicker { color: #e3bf90; }
#page-home .mc-market .mc-section-intro > p { color: #ded2c4; }
.mc-marketgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 22px;
  padding: 8px 0 16px;
  align-items: stretch;
}
.mc-marketgrid article {
  position: relative;
  min-width: 0;
  min-height: 178px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 27px 22px 24px;
  border: 1px solid #ebd9bd;
  border-bottom-color: #be9b6e;
  border-radius: 13px;
  background: linear-gradient(140deg, #fffdfa 0%, #f4eee3 66%, #e7dac6 100%);
  box-shadow: inset 0 1px 0 #fff, 0 6px 0 #937654, 0 12px 0 -3px #120e0e50, 0 22px 28px -13px #000a;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mc-marketgrid article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 38px;
  height: 3px;
  background: linear-gradient(90deg, #8d6434, #e4c18d);
  border-radius: 0 0 3px 3px;
}
.mc-carrier-mark {
  width: max-content;
  min-width: 58px;
  min-height: 52px;
  display: grid;
  place-items: center;
  padding: 10px 13px;
  margin-bottom: 12px;
  border: 1px solid #78634b;
  border-top-color: #b39a78;
  border-radius: 10px;
  background: linear-gradient(140deg, #514337, #2a2525 75%);
  box-shadow: inset 0 1px 0 #e6c99a42, inset 0 -2px 0 #120e0f50, 0 3px 0 #a28a69, 0 8px 14px -8px #312315b3;
  color: #f2d4a8;
  font: 700 21px/1.1 Manrope, Arial, sans-serif;
  letter-spacing: -.035em;
  text-shadow: 0 1px 1px #0008;
}
.mc-marketgrid article:nth-child(3n + 2) .mc-carrier-mark { background: linear-gradient(140deg, #69523c, #3c3028 75%); }
.mc-marketgrid article:nth-child(3n) .mc-carrier-mark { background: linear-gradient(140deg, #454243, #262426 75%); }
#page-home .mc-marketgrid h3 { color: #3d3127; font-size: 15px; line-height: 1.4; }
#page-home .mc-marketgrid .mc-carrier-name { margin-top: 10px; }
#page-home .mc-marketgrid p { color: #645444; line-height: 1.55; }
.mc-marketgrid a { color: #674319; text-underline-offset: 4px; }
#page-home .mc-market .mc-smallprint { color: #d8c9b7; padding-top: 22px; }
#page-home .mc-market .mc-smallprint a { color: #efd2a6; }

/* Lift the next steps, office information and supporting material off the page. */
.mc-steps { gap: 24px; }
.mc-steps li {
  padding: 25px;
  border: 1px solid #d6c4a9;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff, #f4ecdf);
  box-shadow: inset 0 1px 0 #fff, var(--mc-depth-shadow);
}
.mc-steps li::before {
  position: static;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 19px;
  border: 1px solid #c2a47c;
  border-radius: 50%;
  background: linear-gradient(145deg, #f9ecd7, #d8b889);
  color: #62401f;
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 #b59568;
}
.mc-region-layout > div + div {
  padding: clamp(25px, 3.4vw, 42px);
  background: linear-gradient(140deg, #fffaf1, #eadbc5);
  border: 1px solid #f9efdf;
  border-bottom-color: #bda481;
  border-radius: 17px;
  box-shadow: inset 0 1px 0 #fff, 0 7px 0 #bda17b, 0 25px 34px -20px #5d3b2066;
}
.mc-faq {
  padding: 8px 25px;
  background: linear-gradient(145deg, #fffdfa, #f3ecdf);
  border: 1px solid #d5c4aa;
  border-radius: 15px;
  box-shadow: inset 0 1px 0 #fff, var(--mc-depth-shadow);
}
.mc-faq details:last-child { border-bottom: 0; }
#page-home .tr-original:not(.tr-shortcuts), .tr-reviews {
  background: radial-gradient(ellipse at 90% 10%, #fff 0, transparent 65%), linear-gradient(135deg, #f6f0e6, #eae0d2);
  border-bottom-color: #d4c2a8;
  box-shadow: inset 0 1px 0 #fff8;
}
.tr-cards, .tr-proof-grid, .tr-process { gap: 23px; }
.tr-state-list { gap: 10px; }
.tr-state-item {
  padding: 11px 13px;
  background: linear-gradient(145deg, #fffcf7, #f0e5d5);
  border: 1px solid #d5c3a7;
  border-radius: 7px;
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 #d8c8b2, 0 7px 10px -8px #51361d80;
}

/* The same dimensional language continues onto commercial guides and forms. */
.com-body { background: radial-gradient(ellipse at 95% 30%, #fff9, transparent 65%), #eee6da; }
.com-intro {
  background: radial-gradient(ellipse at 85% 90%, #684d35, transparent 65%), linear-gradient(115deg, #2b2226, #201b1d);
  border-bottom: 1px solid #9a7b53;
  box-shadow: inset 0 -1px 0 #e3bf9030, 0 13px 35px -22px #21150da6;
}
.com-intro h1 { text-shadow: 0 3px 0 #120c0e66, 0 12px 25px #120c0e40; }
.com-form {
  border: 1px solid #d6c4a9;
  border-radius: 17px;
  background: linear-gradient(145deg, #fff, #fcfaf5);
  box-shadow: inset 0 1px 0 #fff, 0 7px 0 #d2bea0, 0 23px 40px -22px #4d321c66;
}
.com-body aside {
  border: 1px solid #d3bb98;
  border-top: 4px solid #a37d4f;
  border-radius: 13px;
  background: linear-gradient(145deg, #f9f0e2, #e4d3b9);
  box-shadow: inset 0 1px 0 #fff9, 0 5px 0 #c6ac86, 0 20px 30px -22px #4d321c88;
}
.com-body :is(input:not([type=checkbox]), select, textarea) {
  border-color: #b6a48c;
  border-radius: 7px;
  background: linear-gradient(180deg, #faf8f4, #fff 12px);
  box-shadow: inset 0 2px 4px #37230c0d, 0 1px 0 #fff;
}
.com-body :is(input, select, textarea):focus-visible { outline: 3px solid #91652e; outline-offset: 2px; }
.com-bottom, body > footer { box-shadow: inset 0 1px 0 #a98a603b, 0 -10px 30px -23px #2c1c18b3; }

@media (hover: hover) and (pointer: fine) {
  .mc-product:hover, .mc-service-links a:hover {
    transform: translateY(-5px);
    border-color: #b49161;
    background: linear-gradient(145deg, #fff, #f7edde);
    box-shadow: inset 0 1px 0 #fff, var(--mc-depth-raised);
  }
  .mc-marketgrid article:hover {
    transform: translateY(-5px);
    box-shadow: inset 0 1px 0 #fff, 0 8px 0 #aa895f, 0 15px 0 -3px #120e0e50, 0 29px 35px -14px #000b;
  }
  .mc-btn:hover, .com-cta:hover { transform: translateY(-2px); }
}
.mc-btn:active, .com-cta:active { transform: translateY(2px); }

@media (max-width: 1080px) {
  .mc-marketgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .mc-marketgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 15px; }
  .mc-marketgrid article { min-height: 160px; padding: 23px 17px 20px; }
  .mc-carrier-mark { font-size: 21px; }
}
@media (max-width: 700px) {
  .mc-product-grid { gap: 20px; }
  #page-home .mc-commercial-directory .mc-product { min-height: 0; padding: 21px 18px; grid-template-columns: 43px 1fr; gap: 0 16px; }
  .mc-card-top { margin-bottom: 0; }
  .mc-card-top > span { display: grid; }
  .mc-steps { gap: 22px; }
  .mc-steps li { padding: 23px; }
  .mc-steps li::before { position: static; }
  .mc-feature figure { border-width: 5px; border-radius: 13px; }
  .mc-faq { padding-inline: 18px; }
  .tr-state-list { gap: 9px; }
}
@media (max-width: 380px) {
  .mc-marketgrid { grid-template-columns: 1fr; }
  .mc-marketgrid article { min-height: 135px; }
  .mc-carrier-mark { min-height: 46px; font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .mc-product, .mc-service-links a, .mc-marketgrid article, .mc-btn, .com-cta, .mc-ref-link { transition: none; }
  .mc-product:hover, .mc-service-links a:hover, .mc-marketgrid article:hover,
  .mc-btn:hover, .com-cta:hover, .mc-btn:active, .com-cta:active { transform: none; }
}

.mc-carrier-footer { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:24px; }
#page-home .mc-carrier-footer .mc-smallprint { padding-top:0; max-width:66ch; }
.mc-carrier-footer .mc-btn { flex-shrink:0; }
@media(max-width:760px) { .mc-carrier-footer { align-items:flex-start; flex-direction:column; gap:18px; } }

/* Official carrier artwork is contained on an inset plaque; original colors retained. */
.mc-carrier-logo { width:100%; height:104px; display:flex; align-items:center; justify-content:center; padding:15px; border:1px solid #d6cdbf; border-radius:9px; background:#fff; box-shadow:inset 0 2px 5px #2116070a,0 1px 0 #fff; }
.mc-marketgrid .mc-carrier-logo img { display:block; width:100%; max-width:205px; height:68px; object-fit:contain; margin:0; }
.mc-carrier-logo--dark { background:#172936; border-color:#344755; box-shadow:inset 0 1px 0 #ffffff15,0 1px 0 #fff; }
#page-home .mc-marketgrid .mc-carrier-name { margin-top:20px; }
.mc-marketgrid article { min-height:205px; }
@media(max-width:760px) { .mc-marketgrid article { padding:20px 14px; } .mc-carrier-logo { height:88px; padding:10px; } .mc-marketgrid .mc-carrier-logo img { height:60px; } }
