/* Shared navigation */
.header-inner { gap: 30px; }
.header-controls { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.language-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 17px; line-height: 1.5; }
.language-link > span { display: block; width: 28px; height: 1px; background: var(--orange); }
.primary-nav { gap: clamp(17px, 2vw, 29px); margin-left: auto; }
.primary-nav a { letter-spacing: .02em; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 16px; }
.footer-languages, .social-links { display: flex; align-items: center; }
.footer-languages { gap: 4px; }
.footer-languages a { display: grid; place-items: center; min-width: 35px; min-height: 44px; font-size: 17px; }
.social-links { gap: 3px; align-items: center; }
.social-links a { display: grid; place-items: center; width: 44px; height: 44px; transition: color .2s; }
.social-links svg { display: block; width: 31px; height: 31px; }
.social-links a[aria-label="LinkedIn"] svg,
.social-links a[aria-label="Facebook"] svg,
.social-links a[aria-label="X"] svg,
.social-links a[aria-label="Vimeo"] svg { width: 26px; height: 26px; }
.social-links a:hover, .footer-languages a:hover { color: var(--orange); }
.footer-accent { width: 25px; height: 1px; background: var(--orange); }

/* Contact masthead */
.contact-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 620px; overflow: hidden; }
.contact-hero-image, .contact-hero-shade { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.contact-hero-image { object-fit: cover; object-position: center var(--image-focus-y, 52%); }
.contact-hero-shade { z-index: -1; background: linear-gradient(90deg, #080e16d4 0%, #080e1694 43%, #080e161a 82%), linear-gradient(0deg, #080e1659, transparent 60%, #080e1633); }
.contact-hero-content { padding-top: 170px; padding-bottom: 58px; }
.contact-hero h1 { margin-bottom: 25px; font-size: clamp(42px, 4.6vw, 64px); line-height: 1.12; letter-spacing: -.025em; }
.contact-hero-content > p:not(.eyebrow) { max-width: 625px; font-size: 17px; line-height: 1.8; color: #f5f3efe6; }

/* Enquiry layout */
.enquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-visual { position: sticky; top: 116px; min-width: 0; }
.contact-photo { margin: 0; aspect-ratio: .91; overflow: hidden; background: var(--navy); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center var(--image-focus-y, center); }
.contact-visual-caption { display: flex; align-items: center; gap: 20px; margin-top: 23px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.caption-rule { height: 1px; flex: 1; background: var(--line); }
.enquiry-content { min-width: 0; }
.enquiry-content > .eyebrow { color: #a75011; margin-bottom: 12px; }
.enquiry-content h2 { margin-bottom: 18px; font-size: clamp(32px, 2.8vw, 40px); }
.enquiry-intro { color: var(--muted); font-size: 17px; line-height: 1.8; margin-bottom: 28px; }
.enquiry-form { display: flex; flex-direction: column; gap: 13px; }
.form-row--two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.form-field { position: relative; min-width: 0; }
.form-field input, .form-field select, .form-field textarea { display: block; width: 100%; min-width: 0; border: 1px solid #c2bfba; border-radius: 0; padding: 13px 15px; background: transparent; color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.5; box-shadow: none; transition: border-color .2s, background .2s; }
.form-field input, .form-field select { min-height: 52px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #66696d; opacity: 1; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: #a95517; background: #ffffff4d; box-shadow: 0 0 0 1px #a95517; }
.form-field input[type='number'] { appearance: textfield; -moz-appearance: textfield; }
.form-field input::-webkit-outer-spin-button, .form-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.form-field select { appearance: none; padding-right: 44px; cursor: pointer; }
.form-field select:invalid { color: #66696d; }
.select-field > svg { position: absolute; pointer-events: none; width: 22px; height: 22px; top: 15px; right: 15px; }
.form-field textarea { min-height: 168px; padding-bottom: 39px; resize: vertical; }
.details-count { position: absolute; right: 14px; bottom: 11px; padding-left: 10px; background: var(--sand); color: var(--muted); font-size: 17px; line-height: 1.5; pointer-events: none; }
.role-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.role-option { position: relative; min-width: 0; cursor: pointer; }
.role-option > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.role-option > span { display: flex; align-items: center; justify-content: center; min-height: 54px; height: 100%; border: 1px solid #c2bfba; padding: 9px 6px; font-size: 17px; line-height: 1.5; text-align: center; transition: color .2s, border-color .2s, background .2s; }
.role-option input:checked + span { color: var(--sand); background: var(--charcoal); border-color: var(--charcoal); }
.role-option input:focus-visible + span { outline: 2px solid #a95517; outline-offset: 3px; }
.role-option:hover > span { border-color: #a95517; }
.attachment-control { position: relative; display: flex; align-items: center; gap: 17px; min-height: 115px; border: 1px dashed #aaa7a1; padding: 18px; cursor: pointer; transition: border-color .2s, background .2s; }
.attachment-control:hover { border-color: #a95517; background: #ffffff4d; }
.attachment-control:focus-within { outline: 2px solid #a95517; outline-offset: 3px; }
.attachment-icon { flex: 0 0 26px; width: 26px; height: 34px; }
.attachment-title { display: block; font-size: 17px; line-height: 1.5; margin-bottom: 5px; }
.attachment-title > span { color: var(--muted); }
.attachment-note { display: block; font-size: 17px; line-height: 1.6; color: var(--muted); }
.attachment-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.attachment-list { display: flex; flex-direction: column; gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; }
.attachment-item { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; background: #eae7e1; font-size: 17px; line-height: 1.5; }
.attachment-item > span { overflow-wrap: anywhere; min-width: 0; }
.attachment-remove { flex: 0 0 36px; margin-left: auto; width: 36px; height: 36px; border: 0; color: var(--ink); background: transparent; font-size: 24px; line-height: 1; }
.attachment-remove:hover { color: #a75011; }
.consent-fields { display: flex; flex-direction: column; gap: 12px; padding-block: 5px 7px; }
.checkbox-field { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; line-height: 1.6; cursor: pointer; }
.checkbox-field > input { flex: 0 0 19px; width: 19px; height: 19px; margin: 3px 0 0; accent-color: var(--charcoal); cursor: pointer; }
.checkbox-field a, .privacy-open { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.privacy-open:focus-visible { outline: 2px solid #a95517; outline-offset: 3px; }
.privacy-dialog-inner { display: flex; flex-direction: column; min-height: 0; }
.privacy-dialog-body { min-height: 1.5em; overflow-wrap: anywhere; }
.privacy-dialog-body h2, .privacy-dialog-body h3 { margin: 22px 0 10px; font-size: 22px; line-height: 1.3; }
.privacy-dialog-body h2:first-child, .privacy-dialog-body h3:first-child { margin-top: 0; }
.privacy-dialog-body p, .privacy-dialog-body li { font-size: 17px; line-height: 1.8; color: var(--muted); }
.privacy-dialog-body p + p, .privacy-dialog-body ul, .privacy-dialog-body ol { margin-top: 14px; }
.privacy-dialog-body a { text-decoration: underline; text-underline-offset: 3px; }
.privacy-close { align-self: flex-start; margin-top: 28px; }
.enquiry-dialog { position: relative; width: min(610px, calc(100% - 32px)); max-height: 90svh; overflow-y: auto; padding: 42px; border: 1px solid var(--line); color: var(--ink); background: var(--sand); }
.enquiry-dialog::backdrop { background: #09121ccc; backdrop-filter: blur(4px); }
.enquiry-dialog .dialog-close { position: absolute; right: 14px; top: 10px; width: 44px; height: 44px; border: 0; background: none; color: var(--muted); font-size: 30px; line-height: 1; }
.enquiry-dialog .dialog-close:hover { color: #a54b09; }
.enquiry-dialog p { font-size: 17px; line-height: 1.8; color: var(--muted); }
.enquiry-dialog p + p { margin-top: 14px; }
.enquiry-dialog-dear { color: var(--ink); font-size: 18px; line-height: 1.6; margin: 0 0 18px; }
.button--filled { align-self: flex-start; color: var(--sand); border-color: var(--charcoal); background: var(--charcoal); min-height: 52px; font-size: 17px; }
.button--filled:hover { background: var(--navy); border-color: var(--navy); }
.form-error { margin-top: 10px; color: #9c2d20; font-size: 17px; line-height: 1.6; }
.form-status { border-left: 2px solid var(--orange); padding: 12px 16px; background: #ebe7e0; font-size: 17px; line-height: 1.7; }

/* Location and closing banner */
.location-section { padding: 0 0 62px; }
.location-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 35px; align-items: stretch; border-top: 1px solid var(--line); padding-top: 48px; }
.location-heading { align-self: start; }
.location-heading .eyebrow { color: #a75011; }
.location-heading h2 { font-size: clamp(32px, 2.8vw, 40px); margin-bottom: 18px; }
.location-heading > p:not(.eyebrow) { font-size: 17px; color: var(--muted); line-height: 1.8; }
.location-detail { display: flex; align-items: flex-start; gap: 16px; margin-top: calc(1.5em + 15px); padding-left: 28px; border-left: 1px solid var(--line); min-width: 0; }
.location-icon { display: grid; place-items: center; width: 43px; height: 43px; flex: 0 0 43px; color: #af642c; }
.location-icon svg { display: block; width: 35px; height: 35px; }
.location-detail > div { min-width: 0; padding-top: 4px; }
.location-detail h3 { margin: 0 0 8px; font-family: var(--sans); font-size: 17px; font-weight: 500; line-height: 1.5; }
.location-detail p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.location-detail a { overflow-wrap: anywhere; word-break: break-word; }
.marina-map { overflow: hidden; background: #32383d; }
.marina-map iframe { display: block; width: 100%; height: 450px; border: 0; }

@media (max-width: 1100px) {
  .header-controls { margin-left: auto; }
  .menu-open .header-controls .language-link { visibility: hidden; }
  .enquiry-grid { gap: 38px; }
  .role-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .location-grid { grid-template-columns: 1.25fr 1fr 1fr; gap: 22px; }
  .location-detail { padding-left: 18px; gap: 16px; }
  .location-icon { width: 43px; height: 43px; flex-basis: 43px; }
  .location-detail h3, .location-detail p { overflow-wrap: anywhere; }
}
@media (max-width: 900px) {
  .contact-hero { min-height: 590px; }
  .contact-hero h1 { font-size: 52px; line-height: 1.12; letter-spacing: -.022em; }
  .enquiry-grid { grid-template-columns: 1fr; gap: 43px; }
  .contact-visual { position: relative; top: auto; }
  .contact-photo { aspect-ratio: 1.45; }
  .contact-photo img { object-position: center var(--image-focus-y, 45%); }
  .contact-visual-caption { margin-top: 17px; }
  .enquiry-content { max-width: 100%; }
  .role-options { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .location-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .location-heading { grid-column: 1 / -1; }
  .location-detail { margin-top: 0; padding-left: 0; border: 0; }
}
@media (max-width: 700px) {
  .header-controls { gap: 12px; }
  .language-link { gap: 9px; }
  .language-link > span { width: 20px; }
  .menu-open .menu-toggle { top: 26px; }
  .contact-hero { min-height: 100svh; height: 100dvh; }
  .contact-hero-image { object-position: 61% var(--image-focus-y, center); }
  .contact-hero-shade { background: linear-gradient(90deg, #080e16db, #080e1680 85%), linear-gradient(0deg, #080e164d, transparent); }
  .contact-hero-content { padding-top: max(84px, calc(env(safe-area-inset-top, 0px) + 72px)); padding-bottom: 46px; }
  .contact-hero h1 { font-size: clamp(36px, 8.8vw, 48px); margin-bottom: 24px; }
  .contact-hero-content > p:not(.eyebrow) { font-size: 17px; line-height: 1.8; max-width: 400px; }
  .contact-photo { aspect-ratio: 1.05; }
  .contact-photo img { object-position: center var(--image-focus-y, center); }
  .contact-visual-caption { gap: 12px; }
  .contact-visual-caption > span:first-child { max-width: 235px; }
  .enquiry-grid { gap: 38px; }
  .enquiry-content h2 { font-size: 35px; }
  .enquiry-intro { margin-bottom: 25px; }
  .enquiry-form { gap: 12px; }
  .form-row--two { gap: 12px; }
  .form-field input, .form-field select, .form-field textarea { padding-inline: 12px; }
  .form-field select { padding-right: 42px; }
  .role-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .role-option > span { min-height: 52px; }
  .attachment-control { padding: 16px 13px; gap: 12px; }
  .attachment-note { line-height: 1.65; }
  .button--filled { width: 100%; }
  .enquiry-dialog { width: calc(100% - 24px); max-height: calc(100svh - 24px); padding: 52px 22px 24px; }
  .enquiry-dialog-dear { font-size: 17px; }
  .location-section { padding-bottom: 43px; }
  .location-grid { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; }
  .location-heading { grid-column: auto; }
  .location-heading h2 { font-size: 35px; }
  .location-detail { gap: 16px; }
  .location-icon { width: 43px; height: 43px; flex-basis: 43px; }
  .marina-map iframe { height: 320px; }
  .footer-links { justify-content: center; width: 100%; column-gap: 10px; }
  .footer-languages a { min-width: 32px; }
  .footer-accent { width: 18px; }
  .social-links { justify-content: center; gap: 8px; }
  .social-links a { width: 44px; height: 44px; }
}
@media (max-width: 359px) {
  .form-row--two { grid-template-columns: 1fr; }
  .contact-hero h1 { font-size: 34px; }
  .footer-links { gap: 8px; }
  .footer-accent { display: none; }
}
