/* Adorn Studio & Design. Colours come from the studio's teal sign. */
:root {
  --teal: #18808A;
  --teal-deep: #0F5E66;
  --paper: #FFFFFF;
  --ink: #1E2A2C;
  --muted: #5C6B6D;
  --sand: #EFE8DF;
  --line: #DCE3E3;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Hind Vadodara", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }

a { color: var(--teal-deep); text-underline-offset: 3px; }
a:hover { color: var(--teal); }

:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 3px; }
.hero-band :focus-visible,
.site-footer :focus-visible { outline-color: #FFFFFF; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 4px;
  z-index: 10;
}
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-solid { background: var(--teal); color: #FFFFFF; }
.btn-solid:hover { background: var(--teal-deep); color: #FFFFFF; }
.btn-ghost { border-color: var(--teal); color: var(--teal-deep); background: var(--paper); }
.btn-ghost:hover { background: #E8F2F3; color: var(--teal-deep); }
.btn-white { background: #FFFFFF; color: var(--teal-deep); }
.btn-white:hover { background: #E8F2F3; color: var(--teal-deep); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.75); color: #FFFFFF; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero: the studio's sign, set large */
.hero-band { background: var(--teal); color: #FFFFFF; }

.site-header {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 76px;
}
.brand {
  font-family: var(--serif);
  font-size: 21px;
  color: #FFFFFF;
  text-decoration: none;
  margin-right: auto;
}
.brand:hover { color: #FFFFFF; }
.nav { display: flex; gap: 28px; }
.nav a { color: #FFFFFF; text-decoration: none; font-weight: 500; }
.nav a:hover { color: #FFFFFF; text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: end;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 88px;
}

.lockup {
  display: inline-grid;
  justify-items: end;
  justify-self: start;
  font-weight: 400;
}
.lockup-mark {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(96px, 17vw, 228px);
  line-height: 0.82;
  letter-spacing: -0.02em;
}
.lockup-sub {
  font-family: var(--sans);
  font-size: clamp(13px, 1.6vw, 20px);
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  margin-top: 0.9em;
  margin-right: -0.34em; /* the last letter's tracking would push it off the right edge */
}

.hero-copy { max-width: 30em; }
.tagline {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.25;
}
.lead {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.9);
}
.hero-copy .actions { margin-top: 28px; }

/* Sections */
.section { padding-top: 96px; }
.section h2 {
  font-family: var(--serif);
  font-variation-settings: "opsz" 14; /* lower contrast than the sign, so hairlines and hyphens stay visible */
  font-size: 44px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--teal-deep);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
.text-link { font-weight: 600; white-space: nowrap; }

/* Gallery */
.gallery { columns: 3 280px; column-gap: 16px; }
.shot {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: var(--sand);
  cursor: zoom-in;
  break-inside: avoid;
}
.shot img { width: 100%; }

/* Services */
.services {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 56px;
}
.services-intro p { margin-top: 18px; max-width: 26em; }
.muted { color: var(--muted); }

.service-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
}
.service-list li { border-top: 1px solid var(--line); padding: 20px 0 24px; }
.service-list h3 {
  font-family: var(--serif);
  font-variation-settings: "opsz" 14;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}
.service-list p { margin-top: 6px; color: var(--muted); }

/* Visit */
.visit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  grid-template-areas: "info photo" "map map";
  gap: 40px 56px;
  padding-bottom: 96px;
}
.visit-info { grid-area: info; }
.storefront { grid-area: photo; }
.map { grid-area: map; }

.details { margin-top: 28px; display: grid; gap: 18px; }
.details div {
  display: grid;
  grid-template-columns: 7.5em minmax(0, 1fr);
  gap: 16px;
}
.details dt { color: var(--muted); }
.visit .actions { margin-top: 32px; }

.storefront img { width: 100%; border-radius: 4px; }
.storefront figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); }

.map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: 4px;
  background: var(--sand);
}

/* Footer */
.site-footer { background: var(--teal-deep); color: #FFFFFF; }
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 28px;
  font-size: 15px;
}
.footer-links { display: flex; gap: 24px; }
.site-footer a { color: #FFFFFF; }

/* Photo viewer */
.viewer {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: 94vw;
  max-height: 92vh;
}
.viewer::backdrop { background: rgba(8, 40, 44, 0.9); }
.viewer img { max-width: 94vw; max-height: 82vh; width: auto; margin-inline: auto; }
.viewer-close { display: flex; margin: 14px auto 0; }
.viewer[open] { animation: viewer-in 160ms ease-out; }
@keyframes viewer-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .viewer[open] { animation: none; } }

/* Call and WhatsApp bar, phones only */
.mobile-bar { display: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 64px; }
  .services { grid-template-columns: 1fr; gap: 28px; }
  .visit { grid-template-columns: 1fr; grid-template-areas: "info" "photo" "map"; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 17px; padding-bottom: 76px; }
  .site-header { display: none; } /* the big lockup already names the studio */
  .hero { padding-top: 56px; }
  .gallery { columns: 2; column-gap: 10px; }
  .shot { margin-bottom: 10px; }
  .tagline { font-size: 25px; }
  .section { padding-top: 72px; }
  .section h2 { font-size: 36px; }
  .service-list { grid-template-columns: 1fr; }
  .visit { padding-bottom: 72px; }
  .details div { grid-template-columns: 1fr; gap: 2px; }
  .map iframe { height: 300px; }
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--paper);
    border-top: 1px solid var(--line);
  }
}
