:root {
  color-scheme: light;
  --paper: #f7f5eb;
  --surface: #fffcf4;
  --ink: #232a21;
  --muted: #545d4e;
  --forest: #202e24;
  --forest-light: #314636;
  --line: #dfded1;
  --accent: #e7cb90;
  --content: 73rem;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
a { color: inherit; }
:focus-visible { outline: 3px solid #aa642d; outline-offset: 4px; }
.hero :focus-visible, .contact :focus-visible, .viewer :focus-visible { outline-color: #ffdc97; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: Georgia, serif; font-weight: normal; line-height: 1.02; letter-spacing: -.042em; }
h1 { font-size: clamp(2.85rem, 5.3vw, 5.5rem); }
h2 { font-size: clamp(2.3rem, 5vw, 4.1rem); }
.wrap { width: min(100% - 4rem, var(--content)); margin-inline: auto; }
.bar { display: flex; justify-content: space-between; align-items: center; gap: .75rem 1.5rem; flex-wrap: wrap; }
.header { padding-block: .85rem; background: var(--paper); }
.header .bar { min-height: 2.85rem; }
.brand { display: inline-flex; align-items: center; font-size: 1.2rem; font-weight: 850; letter-spacing: -.045em; text-decoration: none; }
.brand img { margin-right: .55rem; }
.brand span { color: #536247; }
.header nav { display: flex; align-items: center; gap: clamp(.85rem, 3vw, 2rem); }
.header nav a { display: block; font-size: .94rem; font-weight: 650; text-decoration: none; padding-block: .35rem; }
.header nav a:hover, .header nav a[aria-current] { text-decoration: underline; text-underline-offset: .3em; }
.header-call, .button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; border-radius: .35rem; text-decoration: none; font-weight: 750; }
.header-call { background: var(--forest); color: white; padding: .62rem .95rem; font-size: .87rem; white-space: nowrap; }
.header-call:hover { background: var(--forest-light); }
.header-call > span:first-child { display: none; }
.skip { position: absolute; transform: translateY(-150%); z-index: 3; background: white; padding: .6rem; }
.skip:focus { transform: translateY(0); }
.hero, .gallery-heading { background: var(--forest); color: #fffaf0; }
.hero-layout { display: grid; grid-template-columns: 1fr 1.06fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(2.75rem, 6vw, 6rem); }
.hero h1 em { color: var(--accent); font-style: normal; }
.location { display: flex; align-items: center; gap: .65rem; color: var(--accent); font-size: .9rem; font-weight: 750; letter-spacing: .025em; margin-bottom: 1rem; }
.location::before { content: ""; width: 1.6rem; height: 1px; background: currentColor; }
.hero-intro { color: #e0e5d8; font-size: clamp(1rem, 1.6vw, 1.16rem); max-width: 32rem; margin-block: 1.3rem 1.7rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.3rem; }
.button { min-height: 3rem; background: var(--accent); color: #25271d; padding: .7rem 1rem; }
.button:hover { background: #f5db9f; }
.hero-link { font-weight: 650; text-underline-offset: .3em; }
.hero-link span { margin-left: .25rem; }
.hero-media { position: relative; border-radius: .55rem; overflow: hidden; background: var(--forest-light); }
.hero-media img { width: 100%; height: auto; aspect-ratio: 1.12; object-fit: cover; object-position: 64% center; }
.hero-media figcaption { position: absolute; inset: auto auto .85rem .85rem; padding: .35rem .65rem; color: white; background: #202e24; border-radius: .25rem; font-size: .85rem; }
.section { padding-block: clamp(3rem, 6.3vw, 6rem); }
.section-title { margin-bottom: 1.55rem; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.card { border: 1px solid var(--line); background: var(--surface); border-radius: .55rem; }
.card a { display: block; height: 100%; border-radius: inherit; text-decoration: none; }
.card img, .photos img { width: 100%; aspect-ratio: 1.6; height: auto; object-fit: cover; }
.card img { border-radius: .5rem .5rem 0 0; }
.card-copy { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: .35rem .6rem; padding: 1.05rem 1.15rem 1.3rem; }
.card h3 { font-family: Georgia, serif; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.12; font-weight: normal; letter-spacing: -.025em; }
.card-copy span { display: grid; place-items: center; width: 1.95rem; height: 1.95rem; border-radius: 50%; background: #e8ebdf; color: #283a28; }
.card a:hover .card-copy span { background: var(--forest); color: #fff; }
.card a:hover h3 { text-decoration: underline; text-underline-offset: .15em; }
.card p { grid-column: 1 / -1; color: var(--muted); font-size: .94rem; }
.work { display: grid; grid-template-columns: 1.12fr 1fr; align-items: stretch; margin-bottom: clamp(3rem, 6vw, 5.5rem); background: #e8ebdf; border-radius: .6rem; overflow: hidden; }
.work > img { width: 100%; height: 100%; min-height: 19rem; max-height: 27rem; object-fit: cover; object-position: center 45%; }
.work-copy { align-self: center; padding: clamp(1.5rem, 4.5vw, 4rem); }
.work-copy p { margin-block: .9rem 1.15rem; max-width: 30rem; color: var(--muted); }
.button-outline { background: transparent; border: 1px solid #596955; }
.button-outline:hover { background: var(--surface); }
.contact { color: white; background: var(--forest); }
.contact-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; padding-block: clamp(2.4rem, 6vw, 4rem); }
.contact p { margin-top: .65rem; color: #e0e5d8; }
.contact .button { font-size: 1.15rem; }
.footer { padding-block: 1.35rem; color: var(--muted); }
.footer-phone { font-weight: 700; text-underline-offset: .25em; }
.gallery-heading { padding-block: clamp(2.75rem, 7vw, 5.5rem); }
.gallery-heading p { color: #e0e5d8; margin-top: .8rem; }
.gallery { padding-block: 1.5rem clamp(3rem, 7vw, 6rem); }
.albums { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2.7rem; }
.albums a { padding: .45rem .8rem; border: 1px solid #c9cdbf; background: var(--surface); border-radius: .3rem; text-decoration: none; font-size: .9rem; font-weight: 650; }
.albums a:hover { background: #e8ebdf; }
.album { scroll-margin-top: 1rem; }
.album + .album { margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.album h2 { font-size: clamp(1.8rem, 4.2vw, 3.2rem); margin-bottom: .95rem; }
.photos a { border-radius: .4rem; overflow: hidden; }
.photos a:hover img { filter: brightness(.86); }
.viewer { width: min(100% - 1rem, 66rem); max-height: calc(100dvh - 1rem); padding: .75rem; overflow: auto; border: 0; border-radius: .55rem; background: #1c271e; color: #fffaf0; }
.viewer::backdrop { background: #101711e8; }
.viewer > img { width: 100%; height: min(65dvh, 44rem); object-fit: contain; }
.viewer-top, .viewer-actions { display: flex; align-items: center; justify-content: space-between; gap: .4rem; padding: .3rem 0; }
.viewer button { border: 1px solid #8e9b86; border-radius: .3rem; background: transparent; color: inherit; padding: .55rem .65rem; font: inherit; cursor: pointer; }
.viewer button:hover { background: var(--forest-light); }
.viewer-count { font-size: .86rem; white-space: nowrap; }
@media (max-width: 58rem) {
  .wrap { width: calc(100% - 2.5rem); }
  .hero-layout { gap: 1.65rem; }
  .hero-media img { aspect-ratio: .95; }
}
@media (max-width: 44rem) {
  .hero-layout, .work { grid-template-columns: 1fr; }
  .hero-layout { padding-block: 2.25rem 1.3rem; }
  .hero-media img { aspect-ratio: 1.65; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work > img { min-height: 0; height: 15rem; }
}
@media (max-width: 35rem) {
  .wrap { width: calc(100% - 2rem); }
  .header .bar { column-gap: .6rem; }
  .header nav { order: 1; width: 100%; gap: 1.25rem; border-top: 1px solid var(--line); padding-top: .3rem; }
  .header { padding-bottom: .35rem; }
  .header-call > span:first-child { display: inline; }
  .header-number { display: none; }
  .grid:not(.photos) { grid-template-columns: 1fr; }
  .photos { gap: .65rem; }
}
.hero h1 { text-wrap: balance; }
@media (min-width: 62rem) {
  #brikety .photos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.contact-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: start; gap: clamp(1.6rem, 5vw, 4.5rem); }
.contact-copy p { margin-bottom: 1.2rem; }
.inquiry { padding: clamp(1rem, 3vw, 1.7rem); color: var(--ink); background: var(--surface); border-radius: .55rem; }
.inquiry h3 { font: normal 1.8rem Georgia, serif; margin-bottom: 1rem; }
.inquiry-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem; }
.inquiry label { display: grid; gap: .3rem; margin-bottom: .8rem; font-size: .92rem; font-weight: 650; }
.inquiry input:not([hidden]), .inquiry textarea { width: 100%; padding: .62rem .7rem; border: 1px solid #879382; border-radius: .3rem; background: white; color: var(--ink); font: inherit; font-size: 1rem; font-weight: 400; }
.inquiry textarea { resize: vertical; }
.inquiry p { color: var(--muted); font-size: .88rem; }
.inquiry .button { border: 0; cursor: pointer; margin-top: .75rem; font: inherit; font-weight: 750; }
.inquiry .button:disabled { opacity: .7; cursor: wait; }
.inquiry-status:empty { margin: 0; }
.inquiry :focus-visible { outline-color: #aa642d; }
@media (max-width: 47rem) {
  .contact-inner { grid-template-columns: 1fr; }
}
@media (max-width: 27rem) {
  .inquiry-fields { grid-template-columns: 1fr; gap: 0; }
}
.header .brand img { width: 3.75rem; height: 3.75rem; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; margin-top: 1rem; overflow-wrap: anywhere; }
.contact-links a { text-underline-offset: .25em; }
.analytics-settings { font: inherit; background: none; border: 0; color: inherit; padding: 0; text-decoration: underline; text-underline-offset: .25em; cursor: pointer; }
.analytics-banner:not([hidden]) { position: fixed; z-index: 3; inset: auto auto .85rem .85rem; width: min(31rem, calc(100% - 1.7rem)); padding: 1rem; border: 1px solid var(--line); border-radius: .55rem; background: var(--surface); box-shadow: 0 .4rem 1.6rem #10171126; }
.analytics-banner h2 { font-size: 1.45rem; letter-spacing: -.025em; }
.analytics-banner p { margin-block: .45rem .7rem; font-size: .88rem; }
.analytics-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.analytics-actions button { min-height: 2.45rem; padding: .45rem .7rem; font: inherit; font-size: .88rem; font-weight: 750; cursor: pointer; }
.analytics-actions button[data-analytics="granted"] { border: 1px solid transparent; }
@media (max-width: 35rem) {
  .header .brand img { width: 2.85rem; height: 2.85rem; }
}
