/* Visible restyle layer. Same markup, same Manrope, nothing removed.
   Colour system: white is the base. Light beige (the existing ivory) is used for collection bands,
   deep beige only for small accents, navy for structure (header, footer, mastheads, Estate and process bands). */
:root {
  --paper: #f7f4ee;
  --paper-deep: #ebe3d2;
  --tile-gap: 12px;
}

/* Directory cards: photo, then text on paper with a closing rule. */
.directory-card.illustrated-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.directory-card.illustrated-card:hover {
  box-shadow: none;
  transform: none;
}
.illustrated-card .card-copy {
  padding: 20px 0 26px;
  border-top: 0;
  border-bottom: 1px solid #b9ad94;
}

/* Reviews: quotes separated by a rule instead of coloured cards. */
.home-editorial .review-track>figure,.home-editorial .review-track>figure:first-child {
  background: transparent;
  color: var(--navy);
  border: 0;
  border-top: 1px solid var(--navy);
  border-radius: 0;
  min-height: 0;
  padding: 24px 8px 0 0;
}
.home-editorial .review-track>figure .review-stars,.home-editorial .review-track>figure .review-link,.home-editorial .review-track>figure:first-child .review-stars,.home-editorial .review-track>figure:first-child .review-link {
  color: #8a6a35;
}
.home-editorial .review-track figcaption small,.home-editorial .review-track>figure:first-child figcaption small {
  color: #55626b;
}
.home-editorial .review-track .avatar,.home-editorial .review-track>figure:first-child .avatar {
  background: var(--paper-deep);
  color: var(--navy);
}

/* Directory call-to-action on paper. */
.wide-cta {
  background: var(--paper-deep);
  color: var(--navy);
}
.wide-cta h2 {
  color: var(--navy);
}
.wide-cta p {
  color: #3f4a52;
}
.wide-cta .button {
  background: var(--navy);
  color: #fff;
}

/* FAQ: the intro follows the reader while the list scrolls, so the left column is never an empty void. */
@media (min-width:901px) {
  .home-editorial .faq-grid {
    grid-template-columns: minmax(0,4fr) minmax(0,8fr);
    gap: clamp(40px,6vw,96px);
  }
  .home-editorial .faq-intro {
    position: sticky;
    top: 110px;
  }
}
.faq-item summary:hover {
  color: #8a6a35;
}

/* Office: a full-width band that runs straight into the footer. Copy on the left, map flush to the right edge. */
.home-editorial .office-section {
  padding: 0;
  border-top: 1px solid #e0d6c1;
  background: #fff;
}
.home-editorial .office-section .google-office {
  grid-template-columns: minmax(0,5fr) minmax(0,7fr);
  align-items: stretch;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.home-editorial .office-section .google-office>div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 56px clamp(24px,4vw,64px) 56px max(5vw,calc((100vw - 1440px)/2));
}
.home-editorial .office-section .google-office>.map-consent {
  min-height: 460px;
  border-radius: 0;
}
.home-editorial .office-section .map-consent-placeholder {
  min-height: 460px;
}
@media (max-width:900px) {
  .home-editorial .office-section .google-office {
    grid-template-columns: minmax(0,1fr);
  }
  .home-editorial .office-section .google-office>div:first-child {
    padding: 44px 5vw 36px;
  }
  .home-editorial .office-section .google-office>.map-consent,.home-editorial .office-section .map-consent-placeholder {
    min-height: 360px;
  }
}

/* ==========================================================================
   Lines. Keep a rule only where it marks a boundary or a state. Stacks of ruled rows become soft buttons.
   Kept: gold rule under the hero and on top of the footer, logo/brand divider, review top rules, form fields,
   table borders, mega-menu intro rule, active-section marker, footer legal rule.
   ========================================================================== */

/* Decorative or doubled rules: removed */
.text-link,.section-head .text-link,.owner-copy .text-link,.connection-actions .text-link,
.google-office .text-link,.office-preview-copy .text-link {
  border-bottom: 0;
  padding-bottom: 0;
}
.text-link:hover {
  opacity: .72;
}
.eyebrow,.section-head .eyebrow,.owner-copy>.eyebrow,.faq-intro>.eyebrow,.care-inner>div>.eyebrow,.contact-section-heading .eyebrow {
  border-left: 0;
  padding-left: 0;
}
.practice-strip a,.strip-inner a {
  border-left: 0;
}
.hero-note,.home-editorial .other-services,.other-services,.owner-approach,.home-editorial .owner-approach,.office-values {
  border-top: 0;
}
.hero-controls .slide-dots {
  border: 0;
}
.owner-portrait {
  border-bottom: 0;
}
.portrait-label {
  border-left: 0;
}
.home-editorial .office-section {
  border-top: 0;
}
.illustrated-card .card-copy {
  border-bottom: 0;
  padding-bottom: 20px;
}
.wide-cta {
  border-left: 0;
}
.steps li,.home-editorial .care-section .steps li {
  border: 0;
}
.mega-service-link,.mega-panel .mega-service-link {
  border-bottom: 0;
}

/* Share buttons: filled, not outlined */
.page-share .share-button,.page-mast .share-button,.visual-mast .share-button,.text-mast .share-button {
  border: 0;
  background: #ffffff1f;
}
.article-share .share-button {
  background: var(--paper-deep,#ebe3d2);
}

/* Footer: contact rows become tiles; only the legal row keeps a rule */
.footer-ledger .fl-reach {
  row-gap: var(--tile-gap);
}
.footer-ledger .fl-reach a,.footer-ledger .fl-reach a:nth-last-child(-n+2),.footer-ledger .fl-reach .fl-phone {
  border: 0;
  border-radius: 6px;
  padding: 14px 16px;
  background: #ffffff14;
}
.footer-ledger .fl-reach a:hover {
  background: #ffffff24;
}
.footer-ledger .fl-reach a:hover span {
  text-decoration: none;
}
.footer-ledger .fl-index {
  border-top: 0;
  padding-top: 8px;
}
.footer-ledger .fl-address {
  border-top: 0;
  padding-top: 0;
  margin-top: 18px;
}

/* Goal finder: tabs and service rows become buttons */
.home-editorial .plan-tabs {
  background: transparent;
  padding: 0;
  gap: var(--tile-gap);
  overflow: visible;
  border: 0;
}
.home-editorial .plan-tabs button,.home-editorial .plan-tabs button:last-child {
  border: 0;
  border-radius: 6px;
  background: #f3eee3;
}
.home-editorial .plan-tabs button[aria-selected=true] {
  background: var(--navy);
  color: #fff;
  box-shadow: none;
}
.plan-services li {
  border-top: 0;
  margin: 0 0 var(--tile-gap);
}
.plan-services li:last-child {
  margin-bottom: 0;
}
.plan-services a {
  padding: 14px 48px 14px 16px;
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
}
.plan-services a>.action-icon {
  right: 16px;
}
.plan-services .plan-service-detail {
  color: #4a5f6b;
}

/* Property panel (navy): link rows become tiles */
.feature-copy .line-list,.home-editorial .feature-copy .line-list {
  gap: var(--tile-gap) 16px;
}
.feature-copy .line-list li,.home-editorial .feature-copy .line-list li:last-child {
  border: 0;
  border-radius: 6px;
  background: #ffffff14;
}
.home-editorial .feature-copy .line-list a {
  padding: 12px 14px;
}

/* Home service rows: long white buttons */
@media (min-width:1101px),(max-width:760px) {
  .home-editorial .service-grid {
    gap: var(--tile-gap);
  }
  .home-editorial .service-card,.home-editorial .service-card:last-child {
    background: #fff;
    border: 0;
    border-radius: 6px;
    padding: 20px 24px;
  }
  .home-editorial .service-card:hover {
    background: #fffdf8;
  }
}
@media (min-width:761px) and (max-width:1100px) {
  .home-editorial .service-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
  }
}
@media (max-width:760px) {
  .home-editorial .service-card,.home-editorial .service-card:last-child {
    padding: 16px;
  }
}

/* Credentials: three tiles */
.credentials.credential-cards {
  display: grid;
  gap: var(--tile-gap);
  border-top: 0;
}
.credentials.credential-cards li {
  border: 0;
  border-radius: 6px;
  background: #f3eee3;
  padding: 12px 16px;
}

/* FAQ: each question is a long button */
.faq-list {
  display: grid;
  gap: var(--tile-gap);
}
.faq-item,.faq-item:last-child {
  border: 0;
  border-radius: 6px;
  background: #fff;
}
.faq-item summary {
  padding: 18px 20px;
}
.faq-answer {
  padding: 0 44px 22px 20px;
}

/* Article sidebar and callouts: surfaces instead of outlines */
.article-toc,.related-services {
  border: 0;
  background: var(--paper,#f7f4ee);
}
.related-services li+li {
  border-top: 0;
}
.article>ul,.article>ol {
  border: 0;
}
.article-sidebar .sidebar-card {
  border-top: 0;
}
.article .article-emphasis {
  border: 0;
}

/* Contact: channels are soft long buttons; the form card keeps its surface only */
.cc-channels {
  border-top: 0;
}
.cc-row {
  border: 0;
  border-radius: 6px;
  background: var(--paper,#f7f4ee);
  padding: 16px 18px;
  margin-bottom: var(--tile-gap);
}
.cc-note .appointment-note {
  border-top: 0;
}
.cc-form {
  border: 0;
}

.hero .hero-note,.hero .hero-inner .hero-note {
  border-top: 0;
}

/* Estate page: resource and legal links become soft long buttons */
.connection-links li,.connection-links li:last-child {
  border: 0;
  margin: 0 0 var(--tile-gap);
}
.connection-links a {
  border-radius: 6px;
  background: var(--paper,#f7f4ee);
  padding-inline: 16px;
}
.connection-links a:hover {
  background: var(--paper-deep,#ebe3d2);
}

/* Selected work: photo cards keep their photo and caption, not an outline */
.work-gallery .work-card,.work-card {
  border: 0;
}

/* Footer on phones and tablets: one arrangement everywhere below the desktop width.
   Two columns, in reading order: logo | Explore, then Our practice | Our office.
   Copy flows with the column instead of keeping forced line breaks. */
@media (max-width:1000px) {
  .footer-ledger .fl-index {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 32px 24px;
  }
  .footer-ledger .fl-brand,.footer-ledger .fl-visit {
    grid-column: auto;
  }
  .footer-ledger .fl-brand p br,.footer-ledger .fl-place br,.footer-ledger .fl-address br {
    display: none;
  }
  .footer-ledger .fl-logo {
    width: 96px;
    margin-bottom: 14px;
  }
  .footer-ledger .fl-brand p {
    font-size: .875rem;
    line-height: 1.6;
  }
  .footer-ledger .fl-col li+li {
    margin-top: 9px;
  }
  .footer-ledger .fl-col a {
    font-size: .9rem;
  }
  .footer-ledger .fl-place,.footer-ledger .fl-address {
    gap: 10px;
  }
  .footer-ledger .fl-place strong {
    font-size: .9375rem;
  }
  .footer-ledger .fl-address {
    margin-top: 16px;
    font-size: .8125rem;
  }
}
@media (max-width:600px) {
  .footer-ledger .fl-reach a,.footer-ledger .fl-reach a:nth-last-child(-n+2),.footer-ledger .fl-reach .fl-phone {
    padding: 11px 14px;
  }
  .footer-ledger .fl-reach {
    row-gap: var(--tile-gap);
  }
}

@media (max-width:380px) {
  .footer-ledger .fl-place,.footer-ledger .fl-address {
    flex-direction: column;
    gap: 6px;
  }
  .footer-ledger .fl-place strong {
    font-size: .875rem;
  }
}

/* ==========================================================================
   Slider arrows: one shared button. A solid 44px tile with the chevron centred in it;
   hover changes colour only (the icon never shifts), disabled is dimmed.
   Used by the homepage hero banner and the review carousel.
   ========================================================================== */
.slider-arrow,.hero-prev,.hero-next {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: var(--paper-deep,#ebe3d2);
  color: var(--navy);
  filter: none;
  box-shadow: none;
  transition: background-color .2s,color .2s;
}
.slider-arrow:before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 5l7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 5l7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
  transform: none;
  translate: none;
}
.slider-arrow[data-slide-prev]:before,.slider-arrow[data-review-prev]:before {
  margin: 0;
  transform: scaleX(-1);
}
.slider-arrow:hover:not(:disabled),.hero-next:hover:not(:disabled),.hero-prev:hover:not(:disabled) {
  background: var(--navy);
  color: #fff;
}
.slider-arrow:hover:not(:disabled):before,
.slider-arrow[data-slide-prev]:hover:not(:disabled):before,
.slider-arrow[data-review-prev]:hover:not(:disabled):before {
  translate: none;
}
.slider-arrow:disabled {
  opacity: .4;
}
/* Over the hero photograph: translucent navy so the tile reads on both the light and the dark side */
.hero-prev,.hero-next {
  background: #102b3dc7;
  color: #fff;
}

/* Hero caption: white text over a light photograph measured 1.1:1. It gets a navy chip. */
.hero-caption {
  padding: 5px 10px;
  border-radius: 3px;
  background: #102b3dd9;
  color: #fff;
}

/* Touch targets on small screens: at least ~40-44px tall where a control is a lone tap target */
@media (max-width:900px) {
  .menu-toggle {
    min-height: 44px;
  }
  .text-link,.review-link,.channel-primary,.sidebar-card a:not(.button),.other-services a,.social-page,.faq-answer a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
  .footer-ledger .fl-bottom a,.footer-ledger .fl-bottom button {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
}

/* Topbar on phones: the phone number never breaks across lines; the tagline wraps evenly if it must. */
@media (max-width:900px) {
  .topbar .wrap {
    align-items: center;
    gap: 4px 12px;
  }
  .topbar .wrap>span {
    flex: 1 1 0;
    min-width: 0;
    text-wrap: balance;
  }
  .topbar .wrap>div {
    flex: none;
  }
  .topbar a {
    white-space: nowrap;
  }
}
