/* The annotated refinements: a usable drawer, a quieter introduction and a photographic footer. */

/* Navigation drawer. */
.consolidated #site-menu {
  inset: 0 0 0 auto;
  margin: 0 0 0 auto;
  width: min(600px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  padding: 32px 44px;
  background: #293238;
  color: #fff;
  overflow: auto;
}
.consolidated #site-menu[open] { display: grid; grid-template-rows: auto 1fr auto; gap: 30px; }
.consolidated #site-menu::backdrop { background: #17232280; backdrop-filter: blur(6px); }
#site-menu .menu-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
#site-menu .menu-logo { order: 1; display: block; flex-shrink: 0; }
#site-menu .menu-logo .brand-logo { width: 180px; height: auto; }
#site-menu .close-menu { order: 2; position: static; min-width: 44px; min-height: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: end; gap: 12px; }
#site-menu .close-menu span { margin: 0; }
.consolidated #site-menu .main-nav { align-self: center; display: flex; width: 100%; max-width: none; margin: 0; gap: 0; }
.consolidated #site-menu .main-nav a { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; padding: 22px 0; border-bottom: 1px solid #ffffff30; font-size: clamp(30px,3.4vw,44px); letter-spacing: -1px; line-height: 1.18; }
.consolidated #site-menu .main-nav a > span { font-size: 25px; flex-shrink: 0; }
.consolidated #site-menu .menu-footer { display: flex; flex-direction: column; align-items: start; gap: 16px; padding-top: 24px; border-top: 1px solid #ffffff30; }
.consolidated #site-menu .menu-footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.consolidated #site-menu .menu-footer .menu-contact-link { width: 100%; justify-content: space-between; font-size: 20px; }

/* A short account of the project, with the actual retreat photograph beside it. */
.consolidated .faith-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,400px); gap: clamp(40px,7vw,100px); align-items: center; padding-block: 64px; background: #fff; }
.consolidated .faith-intro::before { display: none; }
.consolidated .faith-story { width: 100%; max-width: 550px; }
.consolidated .faith-intro h2 { font-size: clamp(34px,3.6vw,48px); line-height: 1.12; margin: 0 0 28px; letter-spacing: -1.2px; max-width: 12em; }
.consolidated .faith-story > p { font-size: 18px; line-height: 1.75; margin: 0 0 18px; }
.consolidated .faith-intro figure { margin: 0; width: 100%; max-width: 400px; justify-self: end; }
.consolidated .faith-intro figcaption { padding-top: 12px; font-size: 12px; line-height: 1.6; color: #65706c; }
.faith-intro .brand-name { white-space: nowrap; }
.presentation-link { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; margin-top: 10px; font-size: 15px; }
.presentation-play { display: grid; place-items: center; width: 44px; height: 44px; padding-left: 2px; border: 1px solid #65706c; border-radius: 50%; font-size: 12px; }
.presentation-link:hover .presentation-play { color: #fff; background: var(--ink); border-color: var(--ink); }

/* One footer contains the contact information, navigation and Dune collaboration. */
.consolidated .site-footer { padding: 0; color: var(--ink); background: #f3f2ed; }
.site-footer .footer-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,300px); grid-template-rows: auto 1fr; column-gap: clamp(40px,5vw,72px); row-gap: 24px; padding-top: 36px; padding-bottom: 36px; }
.site-footer .footer-brand { grid-column: 1; grid-row: 1; justify-self: start; display: inline-flex; color: inherit; }
.site-footer .footer-brand .brand-logo { width: 210px; max-width: 100%; height: auto; }
.site-footer .footer-info { grid-column: 1; grid-row: 2; align-self: start; display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); column-gap: 38px; }
.site-footer .footer-links { display: flex; flex-direction: column; align-items: start; gap: 14px; }
.site-footer .footer-links a { min-height: 44px; display: inline-flex; align-items: center; font-size: 18px; line-height: 1.5; }
.site-footer .footer-write { position: relative; min-width: 0; }
.site-footer .footer-write h2 { font-size: 23px; line-height: 1.3; letter-spacing: -.4px; margin-bottom: 16px; }
.site-footer .footer-write p { font-size: 14px; line-height: 1.7; margin-bottom: 22px; max-width: 300px; }
.site-footer .footer-write a { display: flex; align-items: center; min-height: 44px; font-size: 13px; overflow-wrap: anywhere; }
.site-footer .footer-write .footer-email { text-decoration: underline; text-underline-offset: 5px; }
.site-footer .footer-picture { grid-column: 2; grid-row: 1 / 3; width: 100%; margin: 0; align-self: start; }
.site-footer .footer-picture > img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 45%; }
.site-footer .footer-picture figcaption { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 6px 16px; padding-top: 16px; font-size: 12px; line-height: 1.5; }
.site-footer .footer-picture figcaption a { min-height: 32px; }
.site-footer .footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 22px; padding-bottom: max(24px,env(safe-area-inset-bottom)); border-top: 1px solid #cdd3ca; font-size: 12px; }
.site-footer .footer-legal > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.site-footer .footer-legal a { min-height: 44px; display: inline-flex; align-items: center; }
.site-footer a:hover { color: #537d78; }
.section-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }

@media (max-width: 1000px) {
 .site-footer .footer-layout { grid-template-columns: minmax(0,1fr) minmax(0,260px); column-gap: 32px; row-gap: 24px; }
 .site-footer .footer-info { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 24px; }
 .site-footer .footer-links { gap: 4px; }
 .site-footer .footer-picture { align-self: start; }
 .consolidated .faith-intro { grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: 42px; }
 .consolidated .faith-intro h2 { font-size: 36px; }
 .consolidated .faith-story > p { font-size: 16px; }
}
@media (max-width: 700px) {
 .consolidated #site-menu { width: min(500px,100vw); padding: 24px; }
 #site-menu .menu-logo .brand-logo { width: 155px; }
 #site-menu .close-menu { font-size: 12px; }
 .consolidated #site-menu .main-nav a { font-size: 32px; min-height: 78px; padding-block: 18px; }
 .consolidated .faith-intro { padding-block: 44px; gap: 32px; }
 .consolidated .faith-intro h2 { font-size: 32px; margin-bottom: 22px; }
 .consolidated .faith-story > p { font-size: 16px; }
 .site-footer .footer-layout { padding-top: 36px; padding-bottom: 36px; display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; }
 .site-footer .footer-brand { grid-column: 1; grid-row: 1; }
 .site-footer .footer-brand .brand-logo { width: 190px; }
 .site-footer .footer-info { grid-column: 1; grid-row: 2; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 32px; }
 .site-footer .footer-picture { grid-column: 1; grid-row: 3; width: min(100%,300px); align-self: start; justify-self: start; }
 .site-footer .footer-legal { align-items: start; }
}
@media (max-width: 560px) {
 .consolidated .hero-copy h1 { font-size: clamp(30px,8vw,43px); letter-spacing: .2px; overflow-wrap: normal; }
 .consolidated .faith-intro { display: grid; grid-template-columns: minmax(0,1fr); gap: 28px; }
 .consolidated .faith-intro figure { grid-row: 1; justify-self: start; max-width: 360px; }
 .consolidated .faith-story { grid-row: 2; }
 .consolidated .faith-intro h2 { max-width: none; }
 .site-footer .footer-info { grid-template-columns: minmax(0,1fr); gap: 24px; }
 .site-footer .footer-links { flex-direction: row; flex-wrap: wrap; gap: 6px 22px; }
 .site-footer .footer-links a { font-size: 15px; min-height: 36px; }
 .site-footer .footer-write h2 { font-size: 26px; }
 .site-footer .footer-write a { font-size: 14px; }
 .site-footer .footer-picture figcaption { display: block; }
 .site-footer .footer-picture figcaption span, .site-footer .footer-picture figcaption a { display: block; }
 .site-footer .footer-picture figcaption a { padding-top: 8px; }
}
@media (max-height: 500px) and (min-width: 561px) {
 .consolidated #site-menu { padding: 16px 28px; }
 .consolidated #site-menu[open] { gap: 12px; }
 .consolidated #site-menu .main-nav a { min-height: 54px; padding-block: 10px; font-size: 28px; }
 .consolidated #site-menu .menu-footer { padding-top: 10px; gap: 4px; }
 .consolidated #site-menu .menu-footer .menu-contact-link { font-size: 17px; }
}

/* Retreat enquiries use the visitor's mail application. */
.consolidated .retreat-contact { position: relative; display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.3fr); gap: clamp(40px,7vw,96px); border-top: 1px solid #d9dfd8; padding-block: 80px; }
.retreat-contact-copy h2, .consolidated .retreat-contact-copy h1 { font-size: clamp(34px,3.6vw,48px); line-height: 1.15; margin-bottom: 24px; }
.retreat-contact-copy p { max-width: 340px; font-size: 18px; line-height: 1.7; margin-bottom: 28px; }
.retreat-contact-copy > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; overflow-wrap: anywhere; }
.retreat-contact-form { min-width: 0; }
.contact-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.contact-field { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.contact-wide { grid-column: 1 / -1; }
.contact-field label, .contact-manual label { margin: 0; font-size: 14px; line-height: 1.5; }
.contact-field input, .contact-field select, .contact-field textarea, .contact-manual textarea { width: 100%; min-width: 0; min-height: 50px; margin: 0; padding: 12px 14px; border: 1px solid #abb6af; border-radius: 0; background: #fff; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.5; }
.contact-field textarea, .contact-manual textarea { resize: vertical; }
.contact-field input:hover, .contact-field select:hover, .contact-field textarea:hover { border-color: #4d6861; }
.contact-field textarea::placeholder { color: #64736c; opacity: 1; }
.contact-submit { display: inline-flex; justify-content: space-between; align-items: center; gap: 48px; min-height: 56px; margin-top: 28px; padding: 15px 24px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: 16px; }
.contact-submit:hover { background: #425b54; border-color: #425b54; }
.contact-submit > span { font-size: 23px; line-height: 1; }
.retreat-contact-form .contact-note { margin: 16px 0 0; max-width: 480px; font-size: 12px; color: #596860; line-height: 1.65; }
.retreat-contact-form .contact-status { font-size: 14px; margin: 20px 0 0; }
.contact-status:empty { display: none; }
.contact-fallback { padding-top: 20px; }
.contact-fallback > p { font-size: 13px; margin-bottom: 8px; }
.contact-fallback > a, .contact-fallback > button { display: inline-flex; align-items: center; min-height: 44px; margin-right: 20px; padding: 0; border: 0; background: none; color: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.contact-manual { margin-top: 20px; }
.contact-manual textarea { margin-top: 8px; font-size: 14px; }
@media (max-width: 760px) {
 .consolidated .retreat-contact { grid-template-columns: minmax(0,1fr); gap: 32px; padding-block: 52px; }
 .retreat-contact-copy p { max-width: 520px; margin-bottom: 12px; font-size: 16px; }
}
@media (max-width: 480px) {
 .contact-fields { grid-template-columns: minmax(0,1fr); gap: 20px; }
 .contact-submit { width: 100%; }
}

/* A surfing memory from the Portugal film, with its original video available. */
.consolidated .ocean-story { display: grid; grid-template-columns: minmax(0,340px) minmax(0,1fr); align-items: center; gap: clamp(40px,8vw,120px); border-top: 1px solid #d9dfd8; }
.ocean-story figure { width: 100%; margin: 0; }
.ocean-film { position: relative; display: block; background: #e8dfcb; }
.ocean-film img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 65%; }
.ocean-film .ocean-play { position: absolute; top: 18px; left: 18px; display: grid; place-items: center; width: 48px; height: 48px; padding-left: 3px; color: white; background: #293238c4; border: 1px solid #ffffffa8; border-radius: 50%; font-size: 13px; }
.ocean-film .ocean-duration { position: absolute; right: 14px; bottom: 14px; padding: 3px 8px; color: #fff; background: #293238c4; font-size: 12px; }
.ocean-story figcaption { font-size: 12px; line-height: 1.6; color: #65706c; padding-top: 12px; }
.ocean-copy h2 { font-size: clamp(34px,3.6vw,48px); margin-bottom: 26px; }
.ocean-copy p { max-width: 530px; font-size: 18px; line-height: 1.75; margin-bottom: 24px; }
@media (max-width: 760px) {
 .consolidated .ocean-story { grid-template-columns: minmax(0,.8fr) minmax(0,1fr); gap: 28px; }
 .ocean-copy h2 { font-size: 32px; }
 .ocean-copy p { font-size: 16px; }
}
@media (max-width: 560px) {
 .consolidated .ocean-story { grid-template-columns: minmax(0,1fr); gap: 28px; }
 .ocean-story figure { max-width: 340px; }
}

/* Final colour and dedicated contact page. */
.consolidated .hero-promo { background: #f3f2ed; color: var(--ink); }
.consolidated .hero-promo:hover { background: #e7e3d9; }
.consolidated.contact-page .retreat-contact { border-top: 0; padding-top: 72px; padding-bottom: 64px; }
@media (max-width: 760px) {
 .consolidated.contact-page .retreat-contact { padding-block: 44px; }
}
