/* Contact page — page-specific styles (shared design system lives in /styles.css) */
/* ---- Inner-page section scaffolding (Squarespace 7.1 section heights) ---- */
.sh-small  { --min-h: 33vh;  --cw-pad: 3.3vmax; }
.sh-medium { --min-h: 66vh;  --cw-pad: 6.6vmax; }
.sh-large  { --min-h: 100vh; --cw-pad: 10vmax; }
.sh-custom { --min-h: 0px;   --cw-pad: 0px; }
.first-section { padding-top: var(--header-height); }

/* paragraph-3 ("small") text */
p.small { font-size: calc(-0.12vmax + 1rem); }
.c-accent { color: var(--accent); }
.txt a [class^="c-"] { text-decoration: inherit; }

/* text block with a navy background card */
.txt-card { background: var(--black); border-radius: 20px; }
.txt-card > .txt { padding: 8%; }

/* content-fit images: position inside the block per breakpoint */
main .img-block.fit img { object-position: var(--fpm, 50% 50%); }
@media (min-width: 768px) { main .img-block.fit img { object-position: var(--fpd, 50% 50%); } }

/* current page in the desktop nav: 1px underline */
.header-nav-item--active a {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 1px 1px;
  background-position: 0 calc(100% - .1em);
  background-repeat: repeat-x;
}

/* live text blocks: headings keep a 2rem bottom margin before following copy */
.txt :is(h1, h2, h3, h4) { margin-bottom: 2rem; }

/* live body copy is set in "Montserrat" alone, so glyphs it lacks (→) fall
   back to the browser default face, not Helvetica */
main p { font-family: "Montserrat"; }
/* empty rich-text paragraphs keep one line (Squarespace preserves them) */
main p:empty::before { content: "\200b"; }

/* ---- Contact form (Squarespace form block, site form style) ---- */
.form-block {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--white);
  border-radius: 20px;
  color: var(--black);
  font-family: "Montserrat";
  font-size: 16px; line-height: 24px;
}
.form-wrapper { padding: 4% 6%; }
.contact-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.contact-form legend { display: block; padding: 0; }
.contact-form .title { display: block; padding: 0 0 4px; line-height: 24px; }
.contact-form label.title { display: flex; align-items: center; column-gap: .5255em; }
.contact-form .required {
  font-size: calc(-0.12vmax + 1rem);
  line-height: 1.5em;
  opacity: .7;
}
.form-item.name { display: flex; column-gap: 10px; }
.form-item.name .field { flex: 1 1 0; min-width: 0; }
.field, .form-item.field { margin: 0 0 20px; }
.contact-form .caption { display: block; font-size: 12px; }
.contact-form .caption-text {
  display: flex; flex-wrap: wrap; align-items: center; column-gap: .5255em;
  margin-top: 4px; padding-bottom: 2px;
  font-size: calc(-0.12vmax + 1rem); line-height: 1.5em;
}
.contact-form .caption-text .required { font-size: inherit; line-height: 1; }
.contact-form input, .contact-form textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 25.84px;
  background: rgba(238, 244, 247, .8);
  color: var(--black);
  font: 16px/24px "Montserrat", sans-serif;
  outline: none;
  -webkit-appearance: none; appearance: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: rgba(38, 59, 80, .5); }
.contact-form textarea { height: 100px; min-height: 100px; resize: vertical; }
.contact-form .field-error {
  margin: 0 0 6px;
  font-size: calc(-0.12vmax + 1rem);
  line-height: 1.5em;
  color: #c4001a;
}
.form-submit-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 15px 80px 15px 20px;
  border: 0;
  border-radius: 300px;
  background: var(--light);
  color: var(--black);
  font-family: "Montserrat";
  font-weight: 500;
  font-size: var(--fs-large);
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: opacity .1s linear;
}
.form-submit-button:hover { opacity: .8; }
.form-submit-button::after {
  content: '';
  position: absolute;
  top: 4px; right: 4px;
  width: 45px; height: 45px;
  background: url(/assets/arrow-dark.png) no-repeat;
  background-size: contain;
}
.form-submission-text { padding: 4% 6%; }
.form-submission-text p { margin: 0; }

/* =========================================================================
   Book an intro (27 Oct 2026): one full-width white card, details left and the Calendly
   scheduler right (the frame idea from designbyency.com, in Waters' styling: no browser bar,
   no shadow, round portrait, cyan underline)
   ========================================================================= */
.book-wrap { position: relative; width: min(var(--sqs-site-max-width), calc(100% - var(--sqs-site-gutter) * 2)); margin: 0 auto; padding: 6vmax 0 0; }
.book-card { display: grid; grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); border-radius: 20px; background: var(--white); overflow: hidden; }
.book-copy { display: flex; flex-direction: column; gap: 1.5rem; padding: 3rem 2.5rem; border-right: 1px solid rgba(38, 59, 80, .12); }
.book-copy h2 { margin: 0; color: var(--black); }
.book-lead { margin: 0; font-size: var(--fs-large); line-height: 1.5; color: var(--black); }
.book-person { display: flex; align-items: center; gap: 1.1rem; margin: .5rem 0 0; }
.book-person img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; background: var(--light); }
.book-person figcaption { display: flex; flex-direction: column; gap: .15rem; padding-left: 1rem; border-left: 3px solid var(--accent); }
.book-person strong { font-size: var(--fs-large); color: var(--black); }
.book-person span { color: #686868; }
.book-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.book-facts li { padding: .45rem 1rem; border-radius: 300px; background: var(--light); font-size: .85rem; font-weight: 500; color: var(--black); }
.book-alt { margin: auto 0 0; }
.book-alt a { font-weight: 600; color: var(--black); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.book-cal { height: 720px; }
.book-frame { display: block; width: 100%; height: 100%; border: 0; }
#book, #message { scroll-margin-top: calc(var(--header-height) + 1rem); }
@media (max-width: 991px) {
  .book-card { grid-template-columns: minmax(0, 1fr); }
  .book-copy { padding: 2rem 1.75rem 1.5rem; border-right: 0; border-bottom: 1px solid rgba(38, 59, 80, .12); }
  .book-alt { margin-top: 0; }
  .book-cal { height: 820px; }
}
@media (max-width: 767px) {
  .book-wrap { width: calc(100% - var(--sqs-mobile-site-gutter) * 2); padding-top: 10vw; }
  .book-card { border-radius: 15px; }
  .book-copy { padding: 1.75rem 1.4rem 1.4rem; }
}
/* 27 Oct 2026: Waters treatment: cyan border, navy textured details panel, calendar on white */
.book-card { border: 4px solid var(--black); }
.book-copy { position: relative; isolation: isolate; border-right: 0; background: var(--black); color: var(--white); }
.book-copy::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url(/assets/bg/navy-texture.jpg) center / cover no-repeat; opacity: .9; }
.book-copy h2, .book-lead, .book-person strong { color: var(--white); }
.book-person span { color: rgba(255, 255, 255, .7); }
.book-person img { box-shadow: 0 0 0 3px var(--accent); }
.book-facts li { background: var(--white); color: var(--black); }
.book-alt a { color: var(--white); }
@media (max-width: 991px) { .book-copy { border-bottom: 0; } }

/* 27 Oct 2026: Calendly's own inline widget sizes the scheduler to its content (data-resize),
   so no fixed-height frame and no empty white space; tighter details panel on phones */
.book-cal { height: auto; min-height: 640px; }
.book-frame.calendly-inline-widget { width: 100%; min-width: 320px; height: 680px; }
@media (max-width: 991px) { .book-cal { height: auto; min-height: 560px; } }
@media (max-width: 767px) {
  .book-copy { gap: 1rem; padding: 1.5rem 1.25rem; }
  .book-copy h2 { font-size: calc(var(--fs-h2) * .85); }
  .book-lead { font-size: 1rem; }
  .book-person { margin: 0; gap: .9rem; }
  .book-person img { width: 60px; height: 60px; }
  .book-person strong { font-size: 1rem; }
  .book-person span { font-size: .9rem; }
  .book-person figcaption { padding-left: .8rem; }
}
