/* Dockside Developments
   Visual source: Dockside Website.dc.html
   Ink #0E0E0E, copper #B87333, paper #FFFFFF */

:root {
  --ink: #0e0e0e;
  --paper: #ffffff;
  --copper: #b87333;
  --copper-dark: #9e6029;
  --body: #2b2926;
  --muted: #77716a;
  --error: #a3341f;
  --stone: #edebe8;
  --stone-hover: #f4f3f1;
  --footer-muted: #c9c5bf;
  --quote-detail: #d9d6d1;
  --line-dark: #4a4642;
  --max: 1280px;
  --pad: 48px;
  --serif: Newsreader, Georgia, "Times New Roman", serif;
  --display: Fraunces, Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*,
*::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: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--copper);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--copper);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: var(--paper);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

main:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.copper {
  color: var(--copper);
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.rule {
  height: 2px;
  background: var(--ink);
}

.rule-short {
  width: 56px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-intro-narrow {
  max-width: 820px;
}

.page-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 8vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.about-title {
  font-size: clamp(44px, 8vw, 64px);
  line-height: 1;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.header-bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.wordmark {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
}

.wordmark:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: none;
  box-shadow: inset 0 0 0 1px var(--ink);
  padding: 12px 14px;
  cursor: pointer;
  min-height: 44px;
}

.nav-toggle:hover {
  background: var(--ink);
  color: var(--paper);
}

.nav-toggle-bars {
  width: 16px;
  height: 10px;
  display: inline-block;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 16px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 100% / 16px 2px no-repeat;
}

.nav-toggle:hover .nav-toggle-bars,
.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background:
    linear-gradient(var(--paper), var(--paper)) 0 0 / 16px 2px no-repeat,
    linear-gradient(var(--paper), var(--paper)) 0 100% / 16px 2px no-repeat;
}

.nav-toggle[aria-expanded="true"] {
  background: var(--ink);
  color: var(--paper);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px 22px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 500;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 0;
}

.site-nav a:hover {
  color: var(--copper);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--ink);
  color: var(--ink);
  cursor: default;
}

.site-nav a[aria-current="page"]:hover {
  color: var(--ink);
}

.site-nav a.nav-cta {
  background: var(--copper);
  color: var(--paper);
  padding: 12px 18px;
}

.site-nav a.nav-cta:hover {
  background: var(--copper-dark);
  color: var(--paper);
}

/* Buttons */

button,
input,
textarea {
  margin: 0;
}

.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--ink);
}

.btn-solid {
  background: var(--copper);
  color: var(--paper);
  padding: 16px 24px;
}

.btn-solid:hover {
  background: var(--copper-dark);
  color: var(--paper);
}

.btn-outline {
  padding: 16px 24px;
  box-shadow: inset 0 0 0 1px var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-send {
  padding: 16px 26px;
  align-self: flex-start;
}

.btn-again {
  align-self: flex-start;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 500;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 500;
}

.link-arrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

.link-arrow:hover {
  color: var(--copper);
}

/* Home */

.hero {
  padding-top: 72px;
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 56px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.hero-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 8vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero-title i {
  font-style: italic;
  font-weight: 300;
}

.hero-copy p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
  max-width: 520px;
  text-wrap: pretty;
}

.hero-media {
  min-height: 520px;
  height: 520px;
  background: var(--stone);
}

.hero-media picture,
.project-media picture {
  display: block;
  height: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.what {
  padding-top: 24px;
  padding-bottom: 88px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.section-head h2,
.closing h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.section-head h2 {
  font-size: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 28px;
}

.service-card {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.service-card h3,
.service-title h2,
.project-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
}

.service-card h3 {
  font-size: 24px;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
}

.band {
  background: var(--ink);
  color: var(--paper);
}

.band-inner {
  padding-top: 88px;
  padding-bottom: 88px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.band .rule {
  background: var(--paper);
}

.band-quote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.3;
  max-width: 820px;
  text-wrap: pretty;
}

.band-attr {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.closing {
  padding-top: 88px;
  padding-bottom: 88px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.closing h2 {
  font-size: 44px;
}

/* Interior pages */

.page-section {
  padding-top: 72px;
  padding-bottom: 96px;
}

.about-grid,
.contact-grid {
  display: grid;
  gap: 56px;
}

.about-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}

.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}

.stack-24 {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.role {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.prose {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--body);
  text-wrap: pretty;
}

.portrait-wrap {
  display: flex;
  flex-direction: column;
}

.portrait-wrap picture {
  display: block;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--stone);
}

.portrait {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.stack-40 {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-list {
  display: flex;
  flex-direction: column;
}

.service-row {
  border-top: 1px solid var(--ink);
  padding: 28px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 12px 48px;
}

.service-title {
  display: flex;
  gap: 20px;
  align-items: baseline;
}

.service-row .num {
  font-size: 13px;
}

.service-title h2 {
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.service-body {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  text-wrap: pretty;
}

.service-end {
  height: 1px;
  background: var(--ink);
}

.stack-36 {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter {
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 16px;
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
  border: none;
  cursor: pointer;
}

.filter:hover {
  background: var(--stone-hover);
}

.filter.is-active {
  background: var(--ink);
  color: var(--paper);
  box-shadow: none;
  cursor: default;
}

.filter.is-active:hover {
  background: var(--ink);
  color: var(--paper);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 40px 28px;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-card[hidden] {
  display: none !important;
}

.project-media {
  aspect-ratio: 3 / 2;
  background: var(--stone);
  overflow: hidden;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-type {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.project-card h2 {
  font-size: 26px;
  line-height: 1.15;
}

.project-meta {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--body);
}

.testimonials {
  background: var(--ink);
  color: var(--paper);
}

.testimonials .rule {
  background: var(--paper);
}

.t-list {
  display: flex;
  flex-direction: column;
}

.t-item {
  margin: 0;
  border-top: 1px solid var(--line-dark);
  padding: 32px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
}

.t-item blockquote {
  flex: 3 1 520px;
  min-width: 0;
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.4;
  text-wrap: pretty;
}

.t-meta {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
}

.t-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.t-detail {
  font-size: 15px;
  color: var(--quote-detail);
}

.contact-lines,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-style: normal;
}

.contact-lines {
  font-size: 18px;
  line-height: 1.6;
}

.contact-lines a,
.footer-contact a,
.mast-name {
  color: inherit;
  text-decoration: none;
}

.contact-lines a:hover,
.footer-contact a:hover {
  color: var(--copper);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.optional {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.field input,
.field textarea {
  font: inherit;
  color: inherit;
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding: 10px 0;
  font-size: 17px;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom: 2px solid var(--copper);
  padding-bottom: 9px;
}

.field-error {
  font-size: 13px;
  color: var(--error);
}

.form-status {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--error);
}

.form-status:focus {
  outline: none;
}

.form-status a {
  color: inherit;
}

.thanks {
  border-top: 2px solid var(--ink);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.thanks h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -0.02em;
}

.thanks h2:focus {
  outline: none;
}

.thanks p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.missing {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 72px;
  padding-bottom: 96px;
  max-width: 720px;
}

.missing p {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--body);
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: var(--paper);
}

.footer-inner {
  padding-top: 64px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.mast {
  display: flex;
  flex-direction: column;
  width: min(100%, 460px);
}

.mast-rule {
  height: 1px;
  background: var(--paper);
}

.mast-rule-heavy {
  height: 2px;
}

.mast-name {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  padding: 16px 0 13px;
}

.mast-name:hover {
  color: var(--paper);
}

.mast-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 9px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.mast-place {
  font-weight: 500;
}

.footer-contact {
  font-size: 15px;
  line-height: 1.6;
}

.legal {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--footer-muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-bar {
    flex-wrap: nowrap;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 20px 20px;
    gap: 2px;
    z-index: 20;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
    width: 100%;
  }

  .site-nav a.nav-cta {
    width: auto;
    margin-top: 8px;
    padding: 14px 18px;
  }
}

@media (max-width: 720px) {
  :root {
    --pad: 20px;
  }

  .header-bar {
    padding: 14px var(--pad);
    gap: 12px;
  }

  .wordmark {
    font-size: 20px;
  }

  .hero {
    padding-top: 40px;
    padding-bottom: 40px;
    gap: 32px;
  }

  .hero-title {
    font-size: clamp(42px, 12vw, 56px);
  }

  .hero-media,
  .hero-media img {
    min-height: 320px;
    height: 320px;
  }

  .what {
    padding-bottom: 56px;
  }

  .section-head h2 {
    font-size: 32px;
  }

  .band-inner,
  .closing {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .closing h2 {
    font-size: 32px;
  }

  .page-section {
    padding-top: 40px;
    padding-bottom: 64px;
  }

  .footer-inner {
    padding-top: 40px;
    gap: 32px;
  }

  .mast-name {
    font-size: 28px;
  }
}

@media (max-width: 380px) {
  .wordmark {
    font-size: 17px;
  }

  .mast-meta {
    letter-spacing: 0.14em;
  }
}
