/* Looming Stuudio — typography and white space follow the supplied mockups. */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/open-sans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/open-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329;
}
:root {
  --text: #64635f;
  --dark: #57504d;
  --taupe: #958784;
  --line: #e7e5e2;
  --sidebar-width: 23.25vw;
  --gutter: clamp(18px, 1.6vw, 28px);
  --column-gap: clamp(22px, 2.6vw, 44px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: #fff; font: 400 16px/1.65 'Open Sans', sans-serif; -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--dark); }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; line-height: 1.35; }
h1, h2 { font-size: clamp(26px, 2vw, 34px); }
h3 { font-size: 22px; }
p + p { margin-top: 16px; }
:focus-visible { outline: 2px solid #967c9b; outline-offset: 6px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: -100px; background: white; padding: 12px 20px; z-index: 20; }
.skip-link:focus { top: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; padding: 9px 23px; border: 1px solid transparent; border-radius: 30px; background: var(--dark); color: #fff; font-size: 14px; line-height: 24px; transition: background .2s; }
.button { min-height: 44px; max-width: 100%; }
.button:hover { background: #746661; color: white; }
.button:disabled { opacity: .65; cursor: wait; }
.text-link { border-bottom: 1px solid #aaa09c; padding-bottom: 5px; }
.eyebrow { font-size: 12px; letter-spacing: .13em; text-transform: uppercase; }

/* Fixed desktop identity; gallery scrolls independently beside it. */
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar-width); padding: 4.65vw 2vw 32px 3.4vw; overflow-y: auto; z-index: 5; background: white; }
.brand { display: block; width: clamp(150px, 12vw, 205px); margin: 0 0 48px 5px; }
.brand img { width: 100%; height: auto; }
.identity { font-size: clamp(14px, 1.25vw, 20px); line-height: 1.65; }
.photographer { white-space: nowrap; font-size: clamp(15px, 1.42vw, 24px); letter-spacing: -.03em; }
.photographer strong { font-weight: 700; }
.photographer span { font-weight: 300; }
.specialty { display: block; font-size: inherit; font-weight: 500; line-height: inherit; margin: 6px 0 1px; }
.property-types { font-weight: 300; margin-top: 0; }
.phone-link { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(12px, .92vw, 15px); margin: 7px 0 0 9px; }
.phone-link img { opacity: .85; }
.navigation { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 76px; }
.navigation a { position: relative; font-size: clamp(20px, 1.6vw, 27px); font-weight: 700; line-height: 1.5; }
.navigation a::after { content: ''; display: block; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.navigation a:hover::after, .navigation a[aria-current='page']::after { transform: scaleX(1); }
.page-portfolio .navigation a[aria-current='page'] { display: none; }
.sidebar-bottom { margin-top: 68px; font-size: 11px; color: #8a8781; }
.sidebar-bottom > a { display: inline-block; overflow-wrap: anywhere; }
.social-links { display: flex; gap: 18px; margin-top: 20px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.social-links img { filter: brightness(0); opacity: .45; }
.menu-toggle { display: none; }
.main-content { margin-left: var(--sidebar-width); padding: 4.65vw 2.85vw 0 0; min-height: 100vh; }
.page-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 30px 0; margin-top: 56px; border-top: 1px solid var(--line); font-size: 11px; color: #8a8781; }

/* A portrait beside two landscapes, with a full-width image between groups. */
.portfolio { display: flex; flex-direction: column; gap: var(--gutter); }
.gallery-group { display: grid; grid-template-columns: .92fr 1fr; gap: var(--gutter) var(--column-gap); }
.gallery-photo { display: block; position: relative; overflow: hidden; background: #f4f2ef; cursor: zoom-in; }
.gallery-photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.gallery-photo:hover img { opacity: .94; }
.gallery-group > .portrait { grid-row: span 2; }
.gallery-group > .gallery-photo:not(.portrait) { aspect-ratio: 1.5; }
.gallery-wide .gallery-photo { aspect-ratio: 1.5; }
.gallery-pair { display: grid; grid-template-columns: .92fr 1fr; gap: var(--column-gap); }
.gallery-pair .gallery-photo { aspect-ratio: 1.5; }

/* Native dialog provides keyboard focus containment and Escape handling. */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100vh; height: 100dvh; max-width: none; max-height: none; padding: max(70px, env(safe-area-inset-top)) max(85px, env(safe-area-inset-right)) max(60px, env(safe-area-inset-bottom)) max(85px, env(safe-area-inset-left)); border: 0; margin: 0; color: white; background: #171614; }
.lightbox::backdrop { background: #171614; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; max-width: 100%; width: 100%; height: 100%; min-height: 0; }
.lightbox figure img { width: auto; height: auto; max-height: calc(100vh - 185px); max-height: calc(100dvh - 185px); object-fit: contain; }
.lightbox figcaption { font-size: 13px; color: #d8d4cf; text-align: center; }
.lightbox button { position: absolute; min-width: 44px; min-height: 44px; border: 0; background: none; color: white; padding: 10px; font: 300 42px/1 'Open Sans', sans-serif; touch-action: manipulation; }
.lightbox-close { top: max(12px, env(safe-area-inset-top)); right: max(22px, env(safe-area-inset-right)); }
.lightbox-prev { left: 15px; top: calc(50% - 30px); }
.lightbox-next { right: 15px; top: calc(50% - 30px); }
.lightbox-counter { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-size: 12px; letter-spacing: .1em; }

/* Pricing retains the supplied split taupe panel and the camera cutout. */
.price-intro { text-align: center; padding: 0 24px 54px; }
.price-intro h1 { margin-bottom: 14px; }
.price-intro p { font-size: clamp(14px, 1.18vw, 19px); font-weight: 300; }
.price-intro .button { margin-top: 20px; }
.property-prices { position: relative; display: grid; grid-template-columns: 1.25fr .65fr 1fr; align-items: center; gap: 26px; background: linear-gradient(to right, var(--taupe) 53%, white 53%); padding: 54px 30px 40px; }
.property-price-copy { color: white; }
.property-price-copy h2 { font-size: clamp(23px, 1.9vw, 32px); }
.property-price-copy > p { font-size: 14px; line-height: 1.6; margin-top: 10px; }
.property-price-copy h3 { margin-top: 46px; font-size: 20px; }
.price-list { margin: 20px 0 0; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 26px; font-size: 14px; }
.price-row::after { content: ''; flex: 1 0 12px; order: 1; border-bottom: 1px solid currentColor; opacity: .15; min-width: 12px; }
.price-row dt { min-width: 0; font-weight: 400; }
.price-row dd { flex-shrink: 0; margin: 0; order: 2; white-space: nowrap; font-weight: 600; }
.property-price-copy .price-row { font-size: 12px; margin-bottom: 32px; font-weight: 700; }
.property-price-copy .price-row dt { font-weight: 600; }
.camera-photo { position: relative; width: 150%; margin-left: -25%; z-index: 1; background: #ffffff0a; border-radius: 50%; box-shadow: 0 5px 16px #00000014; padding: 16px; }
.camera-photo img { aspect-ratio: 1.5; object-fit: contain; }
.drone-copy { padding-left: 12px; }
.drone-copy h2 { margin-bottom: 12px; }
.drone-copy p { font-size: 14px; }
.other-prices { padding: 46px 30px 0; }
.other-prices h2 { font-size: 23px; margin-top: 26px; }
.other-prices h2:first-child { margin-top: 0; }

/* Contact reference: quiet heading, booking link, divider, horizontal labels. */
.contact-page { max-width: 1080px; margin: 0 auto; padding: 28px 36px 0; }
.contact-heading { padding-left: 36px; }
.contact-heading h1 { font-size: clamp(38px, 3.4vw, 58px); font-weight: 700; margin-bottom: 18px; }
.contact-person { font-size: clamp(17px, 1.5vw, 24px); font-weight: 300; line-height: 1.55; }
.contact-person strong { font-weight: 700; }
.contact-phone { display: inline-flex; align-items: center; gap: 14px; margin: 12px 0 0 15px; }
.booking-line { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 40px 0 28px; margin-bottom: 52px; border-bottom: 1px solid var(--line); }
.booking-line p { font-size: clamp(15px, 1.3vw, 21px); }
.booking-line .button { white-space: nowrap; }
#contact-form { margin: 0 7%; }
.form-row { display: grid; grid-template-columns: 23% 1fr; gap: 24px; margin-bottom: 16px; }
.form-row label { padding-top: 10px; font-size: 16px; }
input:not([type='hidden']):not([type='checkbox']), textarea { display: block; width: 100%; min-width: 0; font-size: 16px; color: var(--dark); background: white; border: 1px solid #dedddb; border-radius: 4px; padding: 10px 13px; line-height: 26px; box-shadow: inset 0 1px 2px #00000003; }
textarea { resize: vertical; min-height: 100px; }
input:focus, textarea:focus { outline: 2px solid #b4a2b7; outline-offset: 1px; }
.form-actions { margin-left: calc(23% + 18.5px); padding-top: 7px; }
.form-status { font-size: 14px; padding: 13px 16px; margin-top: 16px; border-radius: 4px; }
.form-status:empty { display: none; }
.form-status[data-state='error'] { color: #842f2f; background: #fceeee; }
.form-status[data-state='success'] { color: #235735; background: #eaf5ec; }
.spinner { width: 15px; height: 15px; border: 2px solid #ffffff60; border-top-color: white; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.company-details { display: flex; flex-wrap: wrap; gap: 20px 50px; margin: 70px 7% 0; font-size: 12px; color: #8a8781; }
.company-details p { margin: 0; }

/* About page extends the same photographic, unboxed visual language. */
.about-page { display: grid; grid-template-columns: .95fr 1fr; gap: clamp(28px, 4vw, 70px); align-items: start; }
.about-portrait img { width: 100%; }
.about-copy { padding-top: 20px; }
.about-copy .eyebrow { margin-bottom: 14px; }
.about-copy h1 { font-size: clamp(34px, 3vw, 52px); }
.about-role { font-size: 18px; margin: 8px 0 26px; }
.about-copy > p { font-size: 15px; }
.about-copy h3 { margin: 30px 0 16px; }
.about-copy .about-subheading { margin: 30px 0 16px; font-size: 22px; }
.about-copy .button { margin-top: 28px; }
.partnership { display: grid; grid-template-columns: .95fr 1fr; gap: clamp(28px, 4vw, 70px); align-items: start; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.partnership > .eyebrow { padding-top: 8px; }
.partnership h2 { margin: 0 0 20px; }
.partnership .text-link { display: inline-block; margin-top: 24px; font-size: 14px; }
.preparation { margin: 70px auto 0; max-width: 800px; }
.service-intro { max-width: 820px; margin-bottom: 36px; }
.service-intro h1 { margin-bottom: 16px; }
.service-intro p { font-size: 15px; }
.service-intro .text-link { font-size: 14px; }
.service-intro p span { padding: 0 10px; }
.preparation > p { margin: 14px 0 28px; }
details { border-bottom: 1px solid var(--line); }
summary { padding: 20px 0; font-size: 16px; }
details p { font-size: 14px; padding-bottom: 24px; }
.preparation .button { margin-top: 30px; }
.not-found { padding: 70px 30px; min-height: 65vh; }
.not-found h1 { margin: 15px 0; }
.not-found .button { margin-top: 30px; }

/* Tablet: identity becomes a compact header, keeping photographs prominent. */
@media (max-width: 1100px) {
  :root { --gutter: 18px; --column-gap: 20px; }
  .sidebar { position: relative; width: 100%; inset: auto; padding: 24px 30px; display: flex; align-items: center; justify-content: space-between; overflow: visible; border-bottom: 1px solid #f0eeeb; }
  .brand { width: 118px; margin: 0; }
  .sidebar-content { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - var(--menu-top, 123px)); max-height: calc(100dvh - var(--menu-top, 123px)); padding: 24px 30px max(32px, env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior-y: contain; background: white; border-bottom: 1px solid var(--line); z-index: 5; }
  .sidebar-content.is-open { display: block; }
  .identity { font-size: 16px; }
  .photographer { font-size: 20px; }
  .phone-link { font-size: 14px; }
  .navigation { margin-top: 24px; gap: 8px; }
  .navigation a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0; font-size: 20px; }
  .page-portfolio .navigation a[aria-current='page'] { display: inline-block; }
  .sidebar-bottom { margin-top: 28px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 8px; border: 0; background: none; }
  .menu-toggle span { height: 1px; width: 27px; background: var(--dark); transition: transform .2s; }
  .menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-content { margin-left: 0; padding: 24px 24px 0; min-height: auto; }
  .property-prices { grid-template-columns: 1fr .6fr 1fr; padding: 35px 22px; }
  .property-price-copy .price-row { font-size: 12px; }
  .property-price-copy h3 { margin-top: 30px; }
  .contact-page { padding-top: 16px; }
  .about-copy { padding-top: 0; }
  .about-copy > p { font-size: 14px; }
}
/* Give tablet prices their own columns rather than squeezing three columns. */
@media (min-width: 601px) and (max-width: 1100px) {
  .property-prices { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; padding: 0; background: none; }
  .property-price-copy { grid-column: 1; grid-row: span 2; align-self: stretch; padding: 30px 24px 10px; background: var(--taupe); }
  .property-price-copy .price-row { font-size: 14px; }
  .camera-photo { grid-column: 2; grid-row: 1; width: 80%; margin: 30px auto 0; }
  .drone-copy { grid-column: 2; grid-row: 2; align-self: start; padding: 0 14px 24px; }
  .about-page { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); }
}
/* Phone: one generous photo at a time, the same order as the desktop mockup. */
@media (max-width: 600px) {
  .sidebar { padding: 19px 18px; }
  .brand { width: 100px; }
  .sidebar-content { padding-left: 24px; padding-right: 24px; }
  .main-content { padding: 18px 18px 0; }
  .gallery-group, .gallery-pair { grid-template-columns: 1fr; gap: 18px; }
  .gallery-group > .portrait { grid-row: auto; aspect-ratio: .8; }
  .gallery-group > .portrait img { object-position: center; }
  .gallery-wide .gallery-photo { aspect-ratio: 1.25; }
  .page-footer { display: grid; gap: 10px; padding: 24px 0; margin-top: 36px; }
  .lightbox { padding: max(64px, env(safe-area-inset-top)) max(44px, env(safe-area-inset-right)) max(58px, env(safe-area-inset-bottom)) max(44px, env(safe-area-inset-left)); }
  .lightbox button { font-size: 34px; }
  .lightbox-close { right: max(8px, env(safe-area-inset-right)); }
  .lightbox-prev { left: 0; }
  .lightbox-next { right: 0; }
  .lightbox figcaption { font-size: 11px; }
  .price-intro { padding: 18px 4px 38px; }
  .price-intro p { font-size: 14px; }
  .property-prices { display: block; padding: 0; background: white; }
  .property-price-copy { background: var(--taupe); padding: 30px 24px 10px; }
  .property-price-copy .price-row { font-size: 13px; }
  .property-price-copy .price-row dt { max-width: 75%; }
  .camera-photo { width: 66%; margin: 24px auto; padding: 12px; }
  .drone-copy { padding: 10px 6px 20px; }
  .other-prices { padding: 20px 6px 0; }
  .price-row { font-size: 13px; gap: 8px; }
  .price-row dt { max-width: 72%; }
  .contact-page { padding: 16px 0 0; }
  .contact-heading { padding-left: 4px; }
  .contact-heading h1 { font-size: 40px; }
  .contact-person { font-size: 20px; }
  .booking-line { padding-top: 30px; margin-bottom: 28px; }
  #contact-form { margin: 0; }
  .form-row { display: block; margin-bottom: 20px; }
  .form-row label { display: block; padding: 0 0 8px; font-size: 14px; }
  .form-actions { margin-left: 0; }
  .company-details { margin: 45px 0 0; }
  .about-page, .partnership { grid-template-columns: 1fr; gap: 30px; }
  .about-portrait img { max-height: 520px; object-fit: cover; object-position: top; }
  .about-copy { padding: 0 5px; }
  .about-copy > p { font-size: 15px; }
  .partnership { margin-top: 48px; padding-top: 28px; gap: 16px; }
  .partnership > div:last-child { padding: 0 5px; }
  .preparation { margin-top: 45px; }
}
/* Landscape phones need room for the photo and a scrollable short menu. */
@media (max-height: 500px) and (max-width: 1100px) {
  .sidebar { padding-top: 12px; padding-bottom: 12px; }
  .brand { width: 80px; }
  .lightbox { padding-top: max(46px, env(safe-area-inset-top)); padding-bottom: max(42px, env(safe-area-inset-bottom)); }
  .lightbox figure img { max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
